<view class="images-list" style="{{('grid-template-columns: repeat('+columns+', 1fr);gap:'+gapNumber+'rpx;')}}"><block wx:for="{{filesList}}" wx:for-item="list" wx:for-index="index" wx:key="index"><view class="add-picture" style="{{('height:'+height+'rpx')}}"><block wx:if="{{canEditor}}"><image class="delete-img" src="/static/delete.png" data-event-opts="{{[['tap',[['deleteImg',[index]]]]]}}" catchtap="__e"></image></block><block wx:if="{{list.fileType=='image'}}"><block><image class="photo-img" src="{{list.tempFilePath}}" data-event-opts="{{[['tap',[['preview',['$0',index],[[['filesList','',index,'tempFilePath']]]]]]]}}" catchtap="__e"></image></block></block><block wx:if="{{list.fileType=='video'}}"><block><video class="photo-img" object-fit="fill" src="{{list.tempFilePath}}"></video></block></block></view></block><block wx:if="{{$root.g0}}"><view data-event-opts="{{[['tap',[['chooseImg',['$event']]]]]}}" class="add-icon" style="{{('height:'+height+'rpx')}}" catchtap="__e"><image class="add-img" src="/static/add.png"></image></view></block></view>