huxinglu 4 anni fa
parent
commit
23b4c4e225
3 ha cambiato i file con 9 aggiunte e 9 eliminazioni
  1. +3
    -3
      src/views/command/date/cake.vue
  2. +2
    -2
      src/views/command/date/dateRight.vue
  3. +4
    -4
      src/views/command/quality/qualityRight.vue

+ 3
- 3
src/views/command/date/cake.vue Vedi File

@@ -88,7 +88,7 @@ export default {
});
chart.legend({
position: "right-center",
offsetX: this.$root.$options.filters.filterPx(0.8,this.fontSize),
offsetX: this.$root.$options.filters.filterPx(0.46,this.fontSize),
textStyle: {
fill: "#ffffff",
fontSize: this.$root.$options.filters.filterPx(0.16,this.fontSize),
@@ -98,7 +98,7 @@ export default {
chart
.intervalStack()
.position("totalNum")
.color("name", ["#10BF79", "#0A9EBF", "#065ABF", "#BD2B4A", "#BCBF33"])
.color("code", ["#10BF79", "#0A9EBF", "#065ABF", "#BD2B4A", "#BCBF33",'#9340FF'])
.shape("sliceShape")
.label("totalNum", {
textStyle: {
@@ -106,7 +106,7 @@ export default {
fontSize: this.$root.$options.filters.filterPx(0.16,this.fontSize),
fontWeight: 300
},
offset: this.$root.$options.filters.filterPx(0.42,this.fontSize),
offset: this.$root.$options.filters.filterPx(0.44,this.fontSize),
formatter: (val, item) => {
return parseInt((val/total)*100) + "%";
}

+ 2
- 2
src/views/command/date/dateRight.vue Vedi File

@@ -19,7 +19,7 @@
</div>
<div>
<cake v-if="waterAlarmCategoryList.length>0" :dataList="waterAlarmCategoryList" id="rightPre"
:width="3.89,fontSize | filterPx" :height="2.254,fontSize | filterPx"></cake>
:width="3.89,fontSize | filterPx" :height="2.454,fontSize | filterPx"></cake>
</div>
</div>
<div>
@@ -222,7 +222,7 @@
> div:last-child {
position: relative;
padding: 0 0.2rem;
height: 2.254rem;
height: 2.454rem;
}
}


+ 4
- 4
src/views/command/quality/qualityRight.vue Vedi File

@@ -230,10 +230,6 @@

> div:last-child {
width: 2.6rem;
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
white-space: nowrap;
font-family: PingFangSC-Regular;
font-size: 0.16rem;
color: #ffffff;
@@ -259,6 +255,10 @@
color: #999999;
line-height: 0.2rem;
margin-left: 0.2rem;
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
white-space: nowrap;
}
}
}

Loading…
Annulla
Salva