我的申请增加水印

This commit is contained in:
guoyue 2022-09-27 09:49:30 +08:00
parent 2f752de364
commit 0b401f5741
2 changed files with 600 additions and 526 deletions

View File

@ -1693,7 +1693,7 @@ const videoShowMsg = (index) => {
message.warning(msg) message.warning(msg)
} }
// todo //
const userInfo = ref(null) const userInfo = ref(null)
const handleUser = () => { const handleUser = () => {
getUser().then(res => { getUser().then(res => {
@ -1706,7 +1706,6 @@ const handleUser = () => {
userInfo.value.realNameShow = '西海岸能力超市' + (userInfo.value.deptName || '') + (userInfo.value.realName || ''); userInfo.value.realNameShow = '西海岸能力超市' + (userInfo.value.deptName || '') + (userInfo.value.realName || '');
}).catch(err => { }).catch(err => {
message.warning(err) message.warning(err)
console.log('err----获取用户信息-------->', err);
}) })
} }
</script> </script>
@ -2160,8 +2159,39 @@ video::-webkit-media-controls {
font-weight: bold; font-weight: bold;
opacity: 0.4; opacity: 0.4;
transform: rotate(-25deg); transform: rotate(-25deg);
width: 470px
} }
//
.waterMark-left-top {
left: 50px;
top: 100px;
text-align: left;
}
//
.waterMark-right-top {
right: 50px;
top: 100px;
text-align: right;
}
//
.waterMark-left-bottom {
left: 50px;
bottom: 100px;
text-align: left;
}
//
.waterMark-right-bottom {
right: 50px;
bottom: 100px;
text-align: right;
}
//
.batch-waterMark { .batch-waterMark {
position: absolute; position: absolute;
z-index: 99999999; z-index: 99999999;
@ -2169,55 +2199,35 @@ video::-webkit-media-controls {
font-size: 14px; font-size: 14px;
opacity: 0.4; opacity: 0.4;
transform: rotate(-25deg); transform: rotate(-25deg);
width: 200px;
} }
//
.waterMark-left-top {
left: 100px;
top: 100px;
}
//
.waterMark-right-top {
right: 100px;
top: 100px;
}
//
.waterMark-left-bottom {
left: 100px;
bottom: 100px;
}
//
.waterMark-right-bottom {
right: 100px;
bottom: 100px;
}
//
// //
.batch-waterMark-left-top { .batch-waterMark-left-top {
left: 30px; left: 30px;
top: 50px; top: 50px;
text-align: left;
} }
// //
.batch-waterMark-right-top { .batch-waterMark-right-top {
text-align: right;
right: 30px; right: 30px;
top: 50px; top: 80px;
} }
// //
.batch-waterMark-left-bottom { .batch-waterMark-left-bottom {
left: 30px; left: 30px;
bottom: 50px; bottom: 50px;
text-align: left;
} }
// //
.batch-waterMark-right-bottom { .batch-waterMark-right-bottom {
right: 30px; right: 20px;
bottom: 50px; bottom: 30px;
text-align: right;
} }
</style> </style>