java-mall-app/unpackage/dist/build/mp-weixin/components/jin-attachment/jin-attachment.wxml
2024-11-01 16:35:40 +08:00

1 line
1.8 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view class="data-v-fb739994"><view class="imgs data-v-fb739994"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="key" wx:key="key"><block wx:if="{{item.type=='image'}}"><view class="single data-v-fb739994" style="{{(styleObj)}}"><image src="{{item.url}}" mode="aspectFit" data-event-opts="{{[['tap',[['previewImg',['$0'],[[['list','',key,'url']]]]]]]}}" bindtap="__e" class="data-v-fb739994"></image><block wx:if="{{mode=='create'&&showProcess}}"><progress percent="{{item.process}}" activeColor="#67C23A" backgroundColor="{{item.process==100||item.process==undefined?'#67C23A':'#F56C6C'}}" stroke-width="3" class="data-v-fb739994"></progress></block><view data-event-opts="{{[['tap',[['deleteItem',[key]]]]]}}" class="del data-v-fb739994" bindtap="__e">×</view></view></block></block><block wx:for="{{list}}" wx:for-item="item" wx:for-index="key" wx:key="key"><block wx:if="{{item.type=='file'}}"><view class="file data-v-fb739994" style="{{(styleObj)}}"><view data-event-opts="{{[['tap',[['downLoad',['$0'],[[['list','',key,'url']]]]]],['longpress',[['deleteItem',[key]]]]]}}" class="noImg data-v-fb739994" bindtap="__e" bindlongpress="__e">{{item.fileName}}</view><block wx:if="{{mode=='create'&&showProcess}}"><progress percent="{{item.process}}" activeColor="#67C23A" backgroundColor="{{item.process==100||item.process==undefined?'#67C23A':'#F56C6C'}}" stroke-width="3" class="data-v-fb739994"></progress></block><view data-event-opts="{{[['tap',[['deleteItem',[key]]]]]}}" class="del data-v-fb739994" bindtap="__e">×</view></view></block></block><block wx:if="{{mode=='create'}}"><view data-event-opts="{{[['tap',[['chooseFile',['$event']]]]]}}" class="single addNew uni-uploader__input-box data-v-fb739994" style="{{(styleObj)}}" bindtap="__e"></view></block></view></view>