Commit 1fedb081 by zhangxw

联调修改

1 parent 59b5fe5d
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
<view class="cell-title"> <view class="cell-title">
<view class="title-text">盈亏情况</view> <view class="title-text">盈亏情况</view>
<view class="status"> <view class="status">
<image src="{{IMG_URL}}customer/{{infoData.profitAndLoss == 1 ? 'success-icon' : 'warning-icon'}}.png" mode=""/> <image wx:if="{{infoData.profitAndLoss}}" src="{{IMG_URL}}customer/{{infoData.profitAndLoss == 1 ? 'success-icon' : 'warning-icon'}}.png" mode=""/>
<text class="status-text mar-r20">{{ infoData.profitAndLoss == 1 ? '盈利' : '亏损' }}</text> <text class="status-text mar-r20">{{ infoData.profitAndLoss == 1 ? '盈利' : infoData.profitAndLoss == 2 ? '亏损' : '-' }}</text>
</view> </view>
</view> </view>
<view class="section"> <view class="section">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!