<view class="data-v-9886c940"><view class="upload-box _div data-v-9886c940"><block wx:if="{{$slots.default}}"><slot></slot></block><block wx:else><view class="_ul data-v-9886c940"><block wx:for="{{showImgList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list_img _li data-v-9886c940" style="{{'width:'+(size+'rpx')+';'+('height:'+(size+'rpx')+';')}}"><block wx:if="{{isMain}}"><view data-event-opts="{{[['tap',[['mainImg',[index]]]]]}}" class="{{['main-btn _div data-v-9886c940',(index==0)?'mian':'']}}" catchtap="__e">主</view></block><view data-event-opts="{{[['tap',[['delImg',[index]]]]]}}" class="iconfont icondelete data-v-9886c940" bindtap="__e"></view><block wx:if="{{!prefixShow}}"><image style="{{'width:'+(size+'rpx')+';'+('height:'+(size+'rpx')+';')}}" src="{{item}}" mode="{{imgMode}}" data-event-opts="{{[['tap',[['viewImg',['$0'],[[['showImgList','',index]]]]]]]}}" bindtap="__e" class="_img data-v-9886c940"></image></block><block wx:if="{{prefixShow}}"><image style="{{'width:'+(size+'rpx')+';'+('height:'+(size+'rpx')+';')}}" src="{{constant.imgUrl+'/'+item}}" mode="{{imgMode}}" data-event-opts="{{[['tap',[['viewImg',['$0'],[[['showImgList','',index]]]]]]]}}" bindtap="__e" class="_img data-v-9886c940"></image></block></view></block><block wx:if="{{showImgList.length<num&&(multiple||showImgList.length==0)}}"><view data-event-opts="{{[['tap',[['chooseImage',['$event']]]]]}}" class="uploadImg _li data-v-9886c940" style="{{'width:'+(size+'rpx')+';'+('height:'+(size+'rpx')+';')}}" bindtap="__e"><view class="iconfont icontupiantianjia data-v-9886c940"></view></view></block></view></block></view></view>