You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.6 KiB
28 lines
1.6 KiB
<view class="container"> |
|
<view class="upload" bindtap='upload' wx:if="{{showUpload}}">上传照片</view> |
|
<view class="choosephoto"> |
|
<view class="upload" wx:for="{{uploaderList}}" wx:key="upimag"> |
|
<icon class='ui_uploader_item_icon' bindtap='clearImg' data-index="{{index}}" type="clear" size="20" |
|
color="red" /> |
|
<image bindtap='showImg' data-index="{{index}}" src='{{item}}' mode='aspectFill'></image> |
|
</view> |
|
</view> |
|
<view class="photolist"> |
|
<checkbox-group bindchange="checkboxChange"> |
|
<block wx:for="{{photolist}}" wx:key="photolist"> |
|
<view class="list"> |
|
<checkbox value="{{item.photoId}}" hidden="{{ifremove}}"></checkbox> |
|
<image src="{{item.photoUrl?item.photoUrl:'../../../images/logo.jpg'}}" class="backimg" mode="aspectFill"></image> |
|
<view class="word" hidden="{{!ifremove}}"> |
|
<image src="../../../images/zan.png" wx:if="{{item.enjoy=='0'}}" bindtap="toenjoy" data-id="{{item.photoId}}"></image> |
|
<image src="../../../images/zaned.png" wx:else bindtap="tonoenjoy" data-id="{{item.photoId}}"></image> |
|
<text class="{{item.zan=='0'?'normal':'zaned'}}" >{{item.zannum}}</text> |
|
</view> |
|
</view> |
|
</block> |
|
</checkbox-group> |
|
</view> |
|
<view class="bottom" bindtap="clubPhotoadd" wx:if="{{showList.length>0}}">确定上传</view> |
|
<view class="bottom" bindtap="toedit" wx:if="{{photolist.length>0&&ifremove==true}}">编辑图片</view> |
|
<view class="bottom" bindtap="deletephoto" wx:if="{{photolist.length>0&&ifremove==false}}">删除图片</view> |
|
</view> |