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.
38 lines
1.5 KiB
38 lines
1.5 KiB
<view class="container"> |
|
<view class="circle"> |
|
<view class="add" bindtap="tocreateAlbum"> |
|
<image src="../../../images/createalbum.png"></image> |
|
<view>新建相册</view> |
|
</view> |
|
|
|
<view class="album"> |
|
<block wx:for="{{albumlist}}" wx:key="albumlist"> |
|
<view class="list" bindtap="toalbumdetail" data-id="{{item.albumId}}"> |
|
<view class="top"> |
|
<image src="{{item.albumLogo}}" class="back" mode='aspectFill' wx:if="{{item.albumLogo}}"></image> |
|
<image src="../../../images/logo.jpg" class="back" mode='aspectFill' wx:else></image> |
|
<view class="ceng"> |
|
<view class="cengleft"> |
|
<image src="../../../images/zan.png" wx:if="{{item.zan=='0'}}"></image> |
|
<image src="../../../images/zaned.png" wx:else></image> |
|
<text class="{{item.zan=='0'?'normal':'zaned'}}">{{item.totalEnjoy}}</text> |
|
</view> |
|
<view class="cengright"> |
|
<image src="../../../images/albumNum.png"></image> |
|
<text>{{item.totalPhoto}}</text> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="title">{{item.albumName}}</view> |
|
</view> |
|
</block> |
|
</view> |
|
</view> |
|
|
|
<!-- 模态框 --> |
|
<modal hidden="{{hidden}}" title="创建相册名字" confirm-text="保存" cancel-text="取消" |
|
bindcancel="cancel" bindconfirm="confirm"> |
|
<input type="text" bindinput="albumName" placeholder="请输入相册名称"/> |
|
</modal> |
|
|
|
</view> |