From 61183043022f394f33e34f762922ce3fac0e5784 Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 6 Sep 2024 14:41:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=85=E7=94=B5=E6=A0=B7=E5=BC=8F=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/biaopin/dv/weiyang/AppDvWeiyang.vue | 8 +- .../dv/weiyang/comps/chargingPercent.vue | 95 +++++++++++++++++++ ui/lib/styles/common.scss | 2 +- 3 files changed, 102 insertions(+), 3 deletions(-) create mode 100644 project/biaopin/dv/weiyang/comps/chargingPercent.vue diff --git a/project/biaopin/dv/weiyang/AppDvWeiyang.vue b/project/biaopin/dv/weiyang/AppDvWeiyang.vue index c5a78f9e..13e82916 100644 --- a/project/biaopin/dv/weiyang/AppDvWeiyang.vue +++ b/project/biaopin/dv/weiyang/AppDvWeiyang.vue @@ -4,10 +4,11 @@ import SubHeader from "./comps/subHeader.vue"; import IconStaPanel from "./comps/iconStaPanel.vue"; import IconSmallPanel from "./comps/iconSmallPanel.vue"; import ValueUnit from "./comps/valueUnit.vue"; +import ChargingPercent from "./comps/chargingPercent.vue"; export default { name: "AppDvWeiyang", - components: {ValueUnit, IconSmallPanel, IconStaPanel, SubHeader}, + components: {ChargingPercent, ValueUnit, IconSmallPanel, IconStaPanel, SubHeader}, label: "未央最新定制大屏", props: { instance: Function, @@ -85,7 +86,10 @@ export default {
-
+
+
+ +
diff --git a/project/biaopin/dv/weiyang/comps/chargingPercent.vue b/project/biaopin/dv/weiyang/comps/chargingPercent.vue new file mode 100644 index 00000000..0f603185 --- /dev/null +++ b/project/biaopin/dv/weiyang/comps/chargingPercent.vue @@ -0,0 +1,95 @@ + + + + + diff --git a/ui/lib/styles/common.scss b/ui/lib/styles/common.scss index 011d14d5..50564d16 100644 --- a/ui/lib/styles/common.scss +++ b/ui/lib/styles/common.scss @@ -23,7 +23,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts'; } } -@each $v in (6, 8, 10, 12, 14, 16, 20, 24, 27, 32, 48, 56, 64, 80) { +@each $v in (6, 8, 10, 12, 14, 16, 20, 24, 27, 32, 40, 48, 56, 64, 80) { //gap .gap-#{$v} { gap: #{$v}px !important;