From 34177e00afc6a2c9efc5ec1007ce4055bb9239ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?=
<1262327911@qq.com>
Date: Thu, 7 Apr 2022 11:24:40 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E5=AF=BC=E5=87=BA?=
=?UTF-8?q?=E6=B0=B4=E5=8D=B0=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/plugins/naive.ts | 2 ++
.../components/EditRange/index.vue | 21 ++++++++++++++++---
src/views/chart/ContentEdit/index.vue | 10 ++++-----
src/views/chart/HeaderRightBtn/index.vue | 13 +++++++-----
4 files changed, 33 insertions(+), 13 deletions(-)
diff --git a/src/plugins/naive.ts b/src/plugins/naive.ts
index c2e29f76..5c45b144 100644
--- a/src/plugins/naive.ts
+++ b/src/plugins/naive.ts
@@ -93,6 +93,7 @@ import {
NCollapse,
NCollapseItem,
NColorPicker,
+ NWatermark,
NCollapseTransition
} from 'naive-ui';
@@ -190,6 +191,7 @@ const naive = create({
NCollapse,
NCollapseItem,
NColorPicker,
+ NWatermark,
NCollapseTransition
],
});
diff --git a/src/views/chart/ContentEdit/components/EditRange/index.vue b/src/views/chart/ContentEdit/components/EditRange/index.vue
index b084a925..0ae17f90 100644
--- a/src/views/chart/ContentEdit/components/EditRange/index.vue
+++ b/src/views/chart/ContentEdit/components/EditRange/index.vue
@@ -4,8 +4,23 @@
:style="rangeStyle"
@mousedown="mousedownHandleUnStop($event, undefined)"
>
-
+
+
+
@@ -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");
}
diff --git a/src/views/chart/ContentEdit/index.vue b/src/views/chart/ContentEdit/index.vue
index 0df0b617..df2dfce6 100644
--- a/src/views/chart/ContentEdit/index.vue
+++ b/src/views/chart/ContentEdit/index.vue
@@ -32,7 +32,7 @@
:themeSetting="themeSetting"
:themeColor="themeColor"
:style="useSizeStyle(item.attr)"
- >
+ >
@@ -87,17 +87,17 @@ onMounted(() => {