diff --git a/src/plugins/icon.ts b/src/plugins/icon.ts index faef3a20..49ecbddb 100644 --- a/src/plugins/icon.ts +++ b/src/plugins/icon.ts @@ -33,7 +33,8 @@ import { BarChart as BarChartIcon, Layers as LayersIcon, Prism as PrismIcon, - CubeOutline as CubeIcon + CubeOutline as CubeIcon, + ChevronBackOutline as ChevronBackOutlineIcon } from '@vicons/ionicons5' // ionicons5 在这里 @@ -106,7 +107,10 @@ const ionicons5 = { LayersIcon, // 组件详情设置(三棱镜) PrismIcon, - CubeIcon + // 正方体 + CubeIcon, + // 折叠/回退 + ChevronBackOutlineIcon } // https://www.xicons.org/#/ 还有很多 diff --git a/src/styles/common/_dark.scss b/src/styles/common/_dark.scss index 8f7975e1..393c6d8a 100644 --- a/src/styles/common/_dark.scss +++ b/src/styles/common/_dark.scss @@ -5,6 +5,11 @@ $dark: ( color: $--color-text-4, //背景 background-color: $--color-dark-bg-1, + background-color1: $--color-dark-bg-1, + background-color2: $--color-dark-bg-2, + background-color3: $--color-dark-bg-3, + background-color4: $--color-dark-bg-4, + background-color5: $--color-dark-bg-5, //渐变背景 background-image: linear-gradient(120deg, $--color-dark-bg-1 0%, $--color-dark-bg-1 100%), diff --git a/src/styles/common/_light.scss b/src/styles/common/_light.scss index efd66349..d4a4fdae 100644 --- a/src/styles/common/_light.scss +++ b/src/styles/common/_light.scss @@ -4,20 +4,25 @@ $light: ( // 文字颜色 color: $--color-text, // aside 背景 - aside-background_color: $--color-light-fill-1, + aside-background-color: $--color-light-bg-1, //背景 - background_color: $--color-light-fill-3, + background-color: $--color-light-bg-3, + background-color1: $--color-light-bg-1, + background-color2: $--color-light-bg-2, + background-color3: $--color-light-bg-3, + background-color4: $--color-light-bg-4, + background-color5: $--color-light-bg-5, //渐变背景 background-image: - linear-gradient(120deg, $--color-light-fill 0%, $--color-light-fill 100%), + linear-gradient(120deg, $--color-light-bg 0%, $--color-light-bg 100%), // 斑点背景 background-point: ( - linear-gradient($--color-light-fill-1 14px, transparent 0), + linear-gradient($--color-light-bg-1 14px, transparent 0), linear-gradient(90deg, transparent 14px, $--color-dark-bg-5 0) ), //毛玻璃 filter-color: $--filter-color-login-light, // hover 边框颜色 - hover-border-color: $--color-light-fill-1 + hover-border-color: $--color-light-bg-1 ); diff --git a/src/styles/common/style.scss b/src/styles/common/style.scss index 91fb84cc..42cf4b6e 100644 --- a/src/styles/common/style.scss +++ b/src/styles/common/style.scss @@ -22,6 +22,11 @@ transform: translate(-50%, -50%); } +// cursor 小手 +.go-cursor-pointer { + cursor: pointer; +} + // 毛玻璃 .go-background-filter { backdrop-filter: $--filter-blur-base; diff --git a/src/styles/common/var.scss b/src/styles/common/var.scss index 4cbdfc3a..1d26196a 100644 --- a/src/styles/common/var.scss +++ b/src/styles/common/var.scss @@ -11,11 +11,13 @@ $--color-text-3: #c9cdd4; $--color-text-4: #f2f3f5; // 白色 -$--color-light-fill: #fff; -$--color-light-fill-1: #fafafc; -$--color-light-fill-2: #f2f3f5; -$--color-light-fill-3: #e5e6eb; -$--color-light-fill-4: #c9cdd4; +$--color-light-bg: #fff; +$--color-light-bg-1: #fafafc; +$--color-light-bg-2: #f2f3f5; +$--color-light-bg-3: #e5e6eb; +$--color-light-bg-4: #c9cdd4; +$--color-light-bg-5: #bebebe; +$--color-dark-border: #efeff5; // 黑色 $--color-dark-black: #000; diff --git a/src/views/chart/components/ContentBox/index.ts b/src/views/chart/components/ContentBox/index.ts new file mode 100644 index 00000000..97fd8f78 --- /dev/null +++ b/src/views/chart/components/ContentBox/index.ts @@ -0,0 +1,3 @@ +import ContentBox from './index.vue' + +export { ContentBox } diff --git a/src/views/chart/components/ContentBox/index.vue b/src/views/chart/components/ContentBox/index.vue new file mode 100644 index 00000000..0de8a5ea --- /dev/null +++ b/src/views/chart/components/ContentBox/index.vue @@ -0,0 +1,101 @@ + + + + + diff --git a/src/views/chart/components/ContentCharts/index.ts b/src/views/chart/components/ContentCharts/index.ts new file mode 100644 index 00000000..f77cc125 --- /dev/null +++ b/src/views/chart/components/ContentCharts/index.ts @@ -0,0 +1,3 @@ +import ContentCharts from './index.vue' + +export { ContentCharts } diff --git a/src/views/chart/components/ContentCharts/index.vue b/src/views/chart/components/ContentCharts/index.vue new file mode 100644 index 00000000..efcfb596 --- /dev/null +++ b/src/views/chart/components/ContentCharts/index.vue @@ -0,0 +1,20 @@ + + + + + diff --git a/src/views/chart/components/ContentDetails/index.ts b/src/views/chart/components/ContentDetails/index.ts new file mode 100644 index 00000000..93fff8d1 --- /dev/null +++ b/src/views/chart/components/ContentDetails/index.ts @@ -0,0 +1,3 @@ +import ContentDetails from './index.vue' + +export { ContentDetails } diff --git a/src/views/chart/components/ContentDetails/index.vue b/src/views/chart/components/ContentDetails/index.vue new file mode 100644 index 00000000..07452e72 --- /dev/null +++ b/src/views/chart/components/ContentDetails/index.vue @@ -0,0 +1,13 @@ + + + + diff --git a/src/views/chart/components/ContentDraw/index.ts b/src/views/chart/components/ContentDraw/index.ts new file mode 100644 index 00000000..af0391af --- /dev/null +++ b/src/views/chart/components/ContentDraw/index.ts @@ -0,0 +1,3 @@ +import ContentDraw from './index.vue' + +export { ContentDraw } diff --git a/src/views/chart/components/ContentDraw/index.vue b/src/views/chart/components/ContentDraw/index.vue new file mode 100644 index 00000000..aecef13c --- /dev/null +++ b/src/views/chart/components/ContentDraw/index.vue @@ -0,0 +1,25 @@ + + + + + diff --git a/src/views/chart/components/ContentLayers/index.ts b/src/views/chart/components/ContentLayers/index.ts new file mode 100644 index 00000000..e2e64f5f --- /dev/null +++ b/src/views/chart/components/ContentLayers/index.ts @@ -0,0 +1,3 @@ +import ContentLayers from './index.vue' + +export { ContentLayers } diff --git a/src/views/chart/components/ContentLayers/index.vue b/src/views/chart/components/ContentLayers/index.vue new file mode 100644 index 00000000..1cf62ef9 --- /dev/null +++ b/src/views/chart/components/ContentLayers/index.vue @@ -0,0 +1,18 @@ + + + + + diff --git a/src/views/chart/index.vue b/src/views/chart/index.vue index ca6b8528..5c23117f 100644 --- a/src/views/chart/index.vue +++ b/src/views/chart/index.vue @@ -12,8 +12,13 @@ - - + + + + + @@ -24,6 +29,9 @@ import { HeaderPro } from '@/layout/components/HeaderPro' import { HeaderLeftBtn } from './components/HeaderLeftBtn/index' import { HeaderRightBtn } from './components/HeaderRightBtn/index' import { HeaderTitle } from './components/HeaderTitle/index' +import { ContentLayers } from './components/ContentLayers/index' +import { ContentCharts } from './components/ContentCharts/index' +import { ContentDraw } from './components/ContentDraw/index'