- <view class="upload">
- <view class="list" wx:for="{{list}}" wx:key="index">
- <image class="image" src="{{item.url}}" bindtap="toView" data-item="{{item}}" mode="aspectFill"></image>
- <icon class="icon-small icon" type="cancel" size="23" bindtap="imgDel" data-item="{{item}}" data-index="{{index}}"></icon>
- </view>
- <view class="list list_1" bindtap="imgUpload" wx:if="{{list.length<count}}">
- <text>+</text>
- </view>
- </view>
|