wx-guyantv/pages/history/index.wxml
2024-12-27 17:35:38 +08:00

14 lines
977 B
Plaintext

<view class="px-main text-24 flex flex-col items-center" wx:if="{{list.length}}">
<view class="pb-20 w-full">
<view class="flex flex-wrap items-center py-16 border-0 border-b-2 last:border-b-0 border-solid border-[#eee] " wx:for="{{list}}" wx:key="*this" bind:tap="openDetail" data-item="{{item}}">
<image class="w-48 h-48 py-30 pr-main" src="/static/images/{{item.bookcase?'articleHistory-active':'articleHistory'}}.png" alt="" catch:tap="discoverClick" data-item="{{item}}" data-index="{{index}}" />
<image class="h-158 max-w-200 rounded-16" src="{{item.cover}}" alt="" mode="heightFix" />
<view class="flex-1 pl-main">
<view class="line-clamp-2">{{item.name}}</view>
<view class="line-clamp-1 text-400 mt-20">第 {{item.latest}} 集/{{item.latestid}} 集</view>
</view>
</view>
</view>
<loadmore status="{{loadStatus}}" wx:if="{{list.length > 8}}" />
</view>
<van-empty description="暂时没有历史数据" wx:else />