crm_second_opening_mini/components/uploadImg/index.wxml

1 line
1.1 KiB
Plaintext

<view class="data-v-25c2bf47"><view class="inp_warp data-v-25c2bf47"><view class="inp_title key data-v-25c2bf47"><text class="{{['data-v-25c2bf47',flag?'b_color':'bo_color']}}">*</text>{{title+":"}}</view><block wx:if="{{isEdit}}"><view class="form_right data-v-25c2bf47"><view class="data-v-25c2bf47">上传图片</view><view class="iconfont icon-arrows_right data-v-25c2bf47"></view></view></block></view><view class="imglist data-v-25c2bf47"><block wx:for="{{imgList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="imgbox data-v-25c2bf47"><block wx:if="{{isEdit}}"><image class="delimg data-v-25c2bf47" src="{{BASE_IMG_URL+'/close.png'}}" data-event-opts="{{[['tap',[['delImg',[index]]]]]}}" bindtap="__e"></image></block><image class="selfimg_img data-v-25c2bf47" src="{{item.file_path}}" data-event-opts="{{[['tap',[['toPriveImg',[index]]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{$root.g0}}"><view data-event-opts="{{[['tap',[['uploadFiles',['$event']]]]]}}" class="imgbox_tow data-v-25c2bf47" bindtap="__e"><image class="selfimg data-v-25c2bf47" src="{{BASE_IMG_URL+'/addfile.png'}}"></image></view></block></view></view>