InventoryInfo.wxml
967 Bytes
<!-- components/InventoryInfo/InventoryInfo.wxml -->
<view class="inventory-info-container" wx:if="{{isShowing}}">
<view class="overlay" bindtap="onClose"></view>
<view class="popup">
<view class="popup-header">
<text class="popup-title">{{title}}</text>
</view>
<view class="popup-content">
<view wx:for="{{dataList}}" wx:key="key" class="info-item">
<view class="item">
<view class="key">{{item.label}}:</view>
<view class="value">{{item.value||item.value===0?item.value:'-'}}</view>
</view>
<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>
</view>
</view>
</view>
<view class="popup-footer">
<view class="close-btn" bindtap="onClose">关闭</view>
</view>
</view>
</view>
<!--components/InventoryInfo/InventoryInfo.wxml-->