mirror of
https://gitee.com/dromara/go-view.git
synced 2025-09-22 20:39:57 +08:00
29 lines
502 B
Vue
29 lines
502 B
Vue
<template>
|
|
<n-watermark
|
|
id="go-edit-watermark"
|
|
:content="watermarkText"
|
|
cross
|
|
selectable
|
|
:font-size="16"
|
|
:line-height="16"
|
|
:width="500"
|
|
:height="150"
|
|
:x-offset="12"
|
|
:y-offset="80"
|
|
:rotate="-15"
|
|
></n-watermark>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { watermarkText } from '@/settings/designSetting'
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
#go-edit-watermark {
|
|
display: none;
|
|
position: absolute;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
</style> |