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