mrr.sj.front/unpackage/dist/dev/mp-weixin/pages/evaluate/components/ali-oss-uploader-2.wxml

1 line
1.8 KiB
Plaintext
Raw 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="ali-oss-uploader data-v-11127efc"><view class="preview-container data-v-11127efc" style="{{('width:'+width)}}"><block wx:if="{{accept=='image/*'}}"><view class="preview-container data-v-11127efc" style="{{('width:'+width)}}"><block wx:for="{{fileList}}" wx:for-item="file" wx:for-index="index" wx:key="index"><view class="preview-item data-v-11127efc"><image class="preview-image data-v-11127efc" src="{{file}}" mode="aspectFill" data-event-opts="{{[['tap',[['handlePreview',[index]]]]]}}" bindtap="__e"></image><block wx:if="{{deletable}}"><view data-event-opts="{{[['tap',[['handleDelete',[index]]]]]}}" class="delete-icon data-v-11127efc" catchtap="__e"> × </view></block></view></block><view class="preview-item data-v-11127efc"><block wx:if="{{$root.g0<maxCount}}"><image class="upload-btn data-v-11127efc" style="{{(btnStyle)}}" src="/static/images/evaluate/upload.png" data-event-opts="{{[['tap',[['handleUpload',['$event']]]]]}}" bindtap="__e"></image></block></view></view></block><block wx:if="{{accept=='video/*'}}"><view class="preview-container data-v-11127efc" style="{{('width:'+width)}}"><block wx:if="{{oneFile}}"><view class="preview-item data-v-11127efc"><image class="preview-image data-v-11127efc" src="{{oneFile+'?x-oss-process=video/snapshot,t_0,f_jpg'}}" mode="aspectFill"></image><block wx:if="{{deletable}}"><view data-event-opts="{{[['tap',[['handleDelete']]]]}}" class="delete-icon data-v-11127efc" catchtap="__e"> × </view></block></view></block><view class="preview-item data-v-11127efc"><block wx:if="{{!oneFile}}"><view data-event-opts="{{[['tap',[['handleUpload',['$event']]]]]}}" class="upload-btn data-v-11127efc" style="{{(btnStyle)}}" bindtap="__e"><block wx:if="{{$slots.button}}"><slot name="button"></slot></block><block wx:else><text class="plus-icon data-v-11127efc">+</text></block></view></block></view></view></block></view></view>