From 2194ca5cd6ccbefdb6a25257fe8513d8b2f95ed5 Mon Sep 17 00:00:00 2001 From: MTrun <1262327911@qq.com> Date: Wed, 5 Jan 2022 18:04:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=B0=E5=A2=9E=20chart=20=E9=A1=B6?= =?UTF-8?q?=E9=83=A8=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/HeaderPro/index.vue | 5 +++ src/plugins/icon.ts | 14 +++++-- src/styles/common/mixins/mixins.scss | 2 +- src/views/chart/index.vue | 17 +++++--- .../layout/components/HeaderLeftBtn/index.ts | 3 ++ .../layout/components/HeaderLeftBtn/index.vue | 39 +++++++++++++++++++ .../layout/components/HeaderRightBtn/index.ts | 3 ++ .../components/HeaderRightBtn/index.vue | 37 ++++++++++++++++++ src/views/project/index.vue | 1 - .../project/items/components/Card/index.vue | 4 +- 10 files changed, 111 insertions(+), 14 deletions(-) create mode 100644 src/views/chart/layout/components/HeaderLeftBtn/index.ts create mode 100644 src/views/chart/layout/components/HeaderLeftBtn/index.vue create mode 100644 src/views/chart/layout/components/HeaderRightBtn/index.ts create mode 100644 src/views/chart/layout/components/HeaderRightBtn/index.vue diff --git a/src/layout/components/HeaderPro/index.vue b/src/layout/components/HeaderPro/index.vue index fee219be..bc69d4d3 100644 --- a/src/layout/components/HeaderPro/index.vue +++ b/src/layout/components/HeaderPro/index.vue @@ -1,9 +1,14 @@ diff --git a/src/plugins/icon.ts b/src/plugins/icon.ts index 8d2be5bf..eab1cbc5 100644 --- a/src/plugins/icon.ts +++ b/src/plugins/icon.ts @@ -7,7 +7,7 @@ import { Trash as TrashIcon, Pencil as PencilIcon, HammerOutline as HammerIcon, - ApertureSharp as ApertureSharpIcon, + DesktopOutline as DesktopOutlineIcon, DownloadOutline as DownloadIcon, Open as OpenIcon, Send as SendIcon, @@ -29,7 +29,9 @@ import { CodeSlash as CodeSlashIcon, Duplicate as DuplicateIcon, DuplicateOutline as DuplicateOutlineIcon, - Fish as FishIcon + Fish as FishIcon, + BarChart as BarChartIcon, + Albums as AlbumsIcon } from '@vicons/ionicons5' // ionicons5 在这里 @@ -73,7 +75,7 @@ const ionicons5 = { // 编辑2(锤子) HammerIcon, // 预览 - ApertureSharpIcon, + DesktopOutlineIcon, // 下载 DownloadIcon, // 导出 @@ -95,7 +97,11 @@ const ionicons5 = { // 语言 LanguageIcon, // 新项目(鱼) - FishIcon + FishIcon, + // 图表 + BarChartIcon, + // 图层 + AlbumsIcon } // https://www.xicons.org/#/ 还有很多 diff --git a/src/styles/common/mixins/mixins.scss b/src/styles/common/mixins/mixins.scss index 88f55771..1041709f 100644 --- a/src/styles/common/mixins/mixins.scss +++ b/src/styles/common/mixins/mixins.scss @@ -10,7 +10,7 @@ } @mixin deep() { - ::v-deep { + :deep { @content; } } diff --git a/src/views/chart/index.vue b/src/views/chart/index.vue index f564af5f..e632f9a0 100644 --- a/src/views/chart/index.vue +++ b/src/views/chart/index.vue @@ -1,11 +1,16 @@