Commit d196f259 by wangzhihui

判空处理

1 parent 6d71c9a8
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<view class="key">{{item.label}}:</view> <view class="key">{{item.label}}:</view>
<view class="value">{{item.value||item.value===0?item.value:'-'}}</view> <view class="value">{{item.value||item.value===0?item.value:'-'}}</view>
</view> </view>
<view class="copy-btn" data-text="{{item.value}}" bindtap="copyText"> <view class="copy-btn" data-text="{{item.value}}" bindtap="copyText" wx:if="{{item.value||item.value===0}}">
<image src="https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/copy.png" class="image"></image> <image src="https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/copy.png" class="image"></image>
</view> </view>
</view> </view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!