|
|
@@ -54,7 +54,7 @@ |
|
|
|
</view> |
|
|
|
<view class="comparesize" v-if="compareFlag&&timepickpickisshow"> |
|
|
|
<text style="margin-right: 10rpx;">对比:{{item.num1}} </text> |
|
|
|
<text :style="{color:item.num2*1>0?'red':'green'}">{{item.num2}}</text> |
|
|
|
<text :style="{color:item.num2*1>0?'red':'green'}">{{index==1?item.num2+'%':item.num2}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@@ -383,7 +383,7 @@ |
|
|
|
this.numlist[1].num1 = data.endFraction; |
|
|
|
this.numlist[2].num1 = Math.floor(data.endSumDuration/60) || 0; |
|
|
|
this.numlist[0].num2 = data.contrastSumCustomer |
|
|
|
this.numlist[1].num2 = data.contrastFraction + '%'; |
|
|
|
this.numlist[1].num2 = data.contrastFraction; |
|
|
|
this.numlist[2].num2 = Math.floor(data.contrastSumDuration/60) || 0; |
|
|
|
} else { |
|
|
|
this.compareFlag = false |
|
|
|