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;