123456789101112131415161718192021222324252627 |
- <!--pages/myCollection/myCollection.wxml-->
- <view style="border-top: 2rpx solid #11111130;padding: 0 20rpx 20rpx 20rpx">
- <view wx:for="{{ collectionList }}" wx:for-index="index" wx:for-item="item" wx:for-index="index" style="height: 190rpx;border-bottom: 2rpx solid #11111130;" bindtap="toInfo" data-url="{{item.url}}">
- <view wx:if="{{ item.images&&item.images != ''}}" style="height: 100%;width: 100%;display: flex;">
- <view style="width: 70%;height: 100%">
- <view class="title-text" style="margin-top: 5%;height: 50%;font-size: 35rpx;font-weight: 600;">{{ item.title }}</view>
- <view style="height: 40%;display: flex;align-items: center;justify-content: space-between;font-size: 24rpx;color: #cccccc;">
- <view>浏览量 {{ item.viewCount }}</view>
- <view>{{ item.onlineDate }}</view>
- </view>
- </view>
- <view style="width: 30%;height: 100%;display: flex;align-items: center;justify-content: flex-end;">
- <image src="{{ item.images }}" style="height: 140rpx;width: 200rpx;border-radius: 10rpx;"></image>
- </view>
- </view>
- <view wx:else style="height: 100%;width: 100%;display: flex;flex-direction: column;">
- <view class="title-text" style="margin-top: 5%;height: 50%;font-size: 35rpx;font-weight: 600;">{{ item.title }}</view>
- <view style="height: 40%;display: flex;align-items: center;justify-content: space-between;font-size: 24rpx;color: #cccccc;">
- <view>浏览量 {{ item.viewCount }}</view>
- <view>{{ item.onlineDate }}</view>
- </view>
- </view>
- </view>
- </view>
- <view wx:if="{{show}}" style="display: flex;align-items: center;justify-content: center;height: 100vh;">
- <t-empty icon="info-circle-filled" description="暂无数据" />
- </view>
|