huxinglu преди 4 години
родител
ревизия
23b4c4e225
променени са 3 файла, в които са добавени 9 реда и са изтрити 9 реда
  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 Целия файл

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

+ 2
- 2
src/views/command/date/dateRight.vue Целия файл

</div> </div>
<div> <div>
<cake v-if="waterAlarmCategoryList.length>0" :dataList="waterAlarmCategoryList" id="rightPre" <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> </div>
<div> <div>
> div:last-child { > div:last-child {
position: relative; position: relative;
padding: 0 0.2rem; padding: 0 0.2rem;
height: 2.254rem;
height: 2.454rem;
} }
} }



+ 4
- 4
src/views/command/quality/qualityRight.vue Целия файл



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

Loading…
Отказ
Запис