修改测试问题
This commit is contained in:
@@ -96,8 +96,8 @@ export default {
|
||||
return {
|
||||
sections: SECTIONS,
|
||||
phaseColors: [
|
||||
{ name: 'A相', color: '#F1B22E' },
|
||||
{ name: 'B相', color: '#2BA471' },
|
||||
{ name: 'A相', color: '#DAA520' },
|
||||
{ name: 'B相', color: '#2E8B57' },
|
||||
{ name: 'C相', color: '#D54941' },
|
||||
],
|
||||
renderData: {
|
||||
@@ -304,7 +304,7 @@ export default {
|
||||
}
|
||||
|
||||
.phase-value-vertical {
|
||||
font-size: 28rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
||||
@@ -83,8 +83,8 @@ export default {
|
||||
return {
|
||||
sections: SECTIONS,
|
||||
phaseColors: [
|
||||
{ name: 'A相', color: '#F1B22E' },
|
||||
{ name: 'B相', color: '#2BA471' },
|
||||
{ name: 'A相', color: '#DAA520' },
|
||||
{ name: 'B相', color: '#2E8B57' },
|
||||
{ name: 'C相', color: '#D54941' },
|
||||
],
|
||||
renderData: {
|
||||
@@ -173,9 +173,9 @@ export default {
|
||||
if (Number.isNaN(num)) return value
|
||||
if (divide) {
|
||||
// return (num / divide).toFixed(2)
|
||||
return num != 0 ? (num / divide).toFixed(2) : num
|
||||
return num != 0 ? (num / divide).toFixed(2) : num.toFixed(2)
|
||||
}
|
||||
return num
|
||||
return num.toFixed(2)
|
||||
},
|
||||
chunkedChildren(children) {
|
||||
const result = []
|
||||
@@ -290,7 +290,7 @@ export default {
|
||||
}
|
||||
|
||||
.phase-value-vertical {
|
||||
font-size: 28rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<view class="xieBo">
|
||||
<view >
|
||||
<uni-load-more status="loading" v-if="loading"></uni-load-more>
|
||||
|
||||
<view v-else>
|
||||
<view v-else class="xieBo">
|
||||
<div class="header-form">
|
||||
<uni-data-select v-model="parity" :localdata="parityOption" @change="initEcharts" style="flex: 1"
|
||||
:clear="false"></uni-data-select>
|
||||
|
||||
@@ -692,7 +692,7 @@ export default {
|
||||
z-index: 2;
|
||||
text-align: center;
|
||||
color: #111;
|
||||
width: 150rpx;
|
||||
width: 180rpx;
|
||||
font-size: 16rpx;
|
||||
opacity: 0.8;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user