mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增导出水印功能
This commit is contained in:
@@ -4,8 +4,23 @@
|
||||
:style="rangeStyle"
|
||||
@mousedown="mousedownHandleUnStop($event, undefined)"
|
||||
>
|
||||
<edit-rule></edit-rule>
|
||||
<n-watermark
|
||||
id="go-edit-watermark"
|
||||
content="GoView 低代码平台"
|
||||
cross
|
||||
selectable
|
||||
:font-size="16"
|
||||
:line-height="16"
|
||||
:width="500"
|
||||
:height="150"
|
||||
:x-offset="12"
|
||||
:y-offset="80"
|
||||
:rotate="-15"
|
||||
style="display: none; width: 100%; height: 100%;"
|
||||
></n-watermark>
|
||||
<slot></slot>
|
||||
<!-- 标尺 -->
|
||||
<edit-rule></edit-rule>
|
||||
<!-- 拖拽时的辅助线 -->
|
||||
<edit-align-line></edit-align-line>
|
||||
</div>
|
||||
@@ -55,7 +70,7 @@ const rangeStyle = computed(() => {
|
||||
@include go(edit-range) {
|
||||
position: relative;
|
||||
transform-origin: left top;
|
||||
@include filter-border-color('hover-border-color');
|
||||
@include filter-bg-color('background-color2');
|
||||
@include filter-border-color("hover-border-color");
|
||||
@include filter-bg-color("background-color2");
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
:themeSetting="themeSetting"
|
||||
:themeColor="themeColor"
|
||||
:style="useSizeStyle(item.attr)"
|
||||
></component>
|
||||
></component>
|
||||
</edit-shape-box>
|
||||
</edit-range>
|
||||
</div>
|
||||
@@ -87,17 +87,17 @@ onMounted(() => {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@include goId('chart-edit-layout') {
|
||||
@include goId("chart-edit-layout") {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
@extend .go-point-bg;
|
||||
@include background-image('background-point');
|
||||
@include goId('chart-edit-content') {
|
||||
@include background-image("background-point");
|
||||
@include goId("chart-edit-content") {
|
||||
border-radius: 10px;
|
||||
margin: 15px;
|
||||
@extend .go-transition;
|
||||
@include fetch-theme('box-shadow');
|
||||
@include fetch-theme("box-shadow");
|
||||
.edit-content-chart {
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
|
||||
Reference in New Issue
Block a user