From 27328e9f452f058c9b0691e94fea411f0b068592 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 27 Jul 2021 16:23:06 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=E9=87=8D=E6=9E=84=E4=BB=AA=E8=A1=A8?= =?UTF-8?q?=E6=9D=BF=E4=B8=BB=E9=A2=98=E8=AE=BE=E7=BD=AE=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=EF=BC=8C=E9=80=82=E9=85=8D=E8=A7=86=E5=9B=BE=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E7=9B=B8=E5=85=B3=E5=8F=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PanelStyle/BackgroundSelector.vue | 2 +- .../PanelBackgroundColorSelector.vue | 73 +++++++++++++++++ .../PanelStyle/PanelColorSelector.vue | 78 +++++++++++++++++++ .../src/views/panel/SubjectSetting/index.vue | 14 ++-- 4 files changed, 159 insertions(+), 8 deletions(-) create mode 100644 frontend/src/views/panel/SubjectSetting/PanelStyle/PanelBackgroundColorSelector.vue create mode 100644 frontend/src/views/panel/SubjectSetting/PanelStyle/PanelColorSelector.vue diff --git a/frontend/src/views/panel/SubjectSetting/PanelStyle/BackgroundSelector.vue b/frontend/src/views/panel/SubjectSetting/PanelStyle/BackgroundSelector.vue index 3c9e9f1477..0dd626b352 100644 --- a/frontend/src/views/panel/SubjectSetting/PanelStyle/BackgroundSelector.vue +++ b/frontend/src/views/panel/SubjectSetting/PanelStyle/BackgroundSelector.vue @@ -12,7 +12,7 @@ {{ $t('chart.color') }} - + diff --git a/frontend/src/views/panel/SubjectSetting/PanelStyle/PanelBackgroundColorSelector.vue b/frontend/src/views/panel/SubjectSetting/PanelStyle/PanelBackgroundColorSelector.vue new file mode 100644 index 0000000000..1e6e1e162e --- /dev/null +++ b/frontend/src/views/panel/SubjectSetting/PanelStyle/PanelBackgroundColorSelector.vue @@ -0,0 +1,73 @@ + + + + + + {{ $t('chart.background') }} + + + + + + + + diff --git a/frontend/src/views/panel/SubjectSetting/PanelStyle/PanelColorSelector.vue b/frontend/src/views/panel/SubjectSetting/PanelStyle/PanelColorSelector.vue new file mode 100644 index 0000000000..79c710b340 --- /dev/null +++ b/frontend/src/views/panel/SubjectSetting/PanelStyle/PanelColorSelector.vue @@ -0,0 +1,78 @@ + + + + + + {{ $t('chart.color') }} + + + + + + + + diff --git a/frontend/src/views/panel/SubjectSetting/index.vue b/frontend/src/views/panel/SubjectSetting/index.vue index 30661989fc..1596a089f1 100644 --- a/frontend/src/views/panel/SubjectSetting/index.vue +++ b/frontend/src/views/panel/SubjectSetting/index.vue @@ -17,17 +17,17 @@ - + - + - + @@ -38,10 +38,10 @@