From d4d20fe514b47c50ba8e31a342eb7ca284b2fb75 Mon Sep 17 00:00:00 2001 From: gaohaifeng Date: Thu, 21 Aug 2025 16:10:29 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=9B=BE=E8=A1=A8):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E6=A0=87=E9=A2=98=E6=A0=B7=E5=BC=8F=E5=B9=B6?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=AD=97=E4=BD=93=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加Alibaba-PuHuiTi-Bold字体文件及样式 为PieCenter和LineDropdown组件添加标题样式 调整SceneDistribution组件的字体大小和颜色 移除PieCenter中未使用的z-index导入 在data.json中添加title字段 --- src/main.ts | 2 + .../MyComponents/LineDropdown/index.vue | 38 +- .../Charts/MyComponents/PieCenter/config.ts | 1 - .../Charts/MyComponents/PieCenter/index.vue | 18 +- .../MyComponents/SceneDistribution/config.ts | 6 +- .../MyComponents/SceneDistribution/data.json | 2 + .../MyComponents/SceneDistribution/index.vue | 347 +++++++++++++++--- src/styles/font/Alibaba-PuHuiTi-Bold.otf | Bin 0 -> 6664636 bytes src/styles/font/font.scss | 6 + 9 files changed, 367 insertions(+), 53 deletions(-) create mode 100644 src/styles/font/Alibaba-PuHuiTi-Bold.otf create mode 100644 src/styles/font/font.scss diff --git a/src/main.ts b/src/main.ts index 4d9a889..44aaec7 100644 --- a/src/main.ts +++ b/src/main.ts @@ -17,6 +17,8 @@ import '@/styles/pages/index.scss' import 'animate.css/animate.min.css' // 引入标尺 import 'vue3-sketch-ruler/lib/style.css' + +import '@/styles/font/font.scss' // 注册图标 addCollection(uimIcons) addCollection(lineMdIcons) diff --git a/src/packages/components/Charts/MyComponents/LineDropdown/index.vue b/src/packages/components/Charts/MyComponents/LineDropdown/index.vue index 0355334..282f794 100644 --- a/src/packages/components/Charts/MyComponents/LineDropdown/index.vue +++ b/src/packages/components/Charts/MyComponents/LineDropdown/index.vue @@ -195,9 +195,10 @@ +
报警趋势
-