优化代码

This commit is contained in:
Your Name 2023-09-14 12:10:59 +08:00
parent dda5fd8d42
commit a339d11ba2

View File

@ -44,6 +44,9 @@
<view class="sub-info-item text-gray text-sm">
<text class="margin-right-xs">单价:{{item.squarePrice}}</text>
</view>
<view class="sub-info-item text-gray text-sm" v-if="item.payerObjName">
<text class="margin-right-xs">房号:{{item.payerObjName}}</text>
</view>
</view>
</view>
</checkbox-group>
@ -81,6 +84,9 @@
<view class="sub-info-item text-gray text-sm" v-if="item.curDegrees">
<text class="margin-right-xs">使用量:{{item.curDegrees-item.preDegrees}}</text>
</view>
<view class="sub-info-item text-gray text-sm" v-if="item.payerObjName">
<text class="margin-right-xs">房号:{{item.payerObjName}}</text>
</view>
<view class="sub-info-item text-gray text-sm">
<text class="margin-right-xs">单价:{{item.squarePrice}}</text>
</view>