Files
quinn-wx/pages/today/index.wxml
2022-11-16 16:49:45 +08:00

40 lines
1.4 KiB
Plaintext

<!--pages/today/index.wxml-->
<view class="top-wrap">
<tab id="category"
tab-data="{{categoryMenu}}"
tab-cur="{{categoryCur}}"
size="{{80}}"
scroll="{{false}}"
bindchange="toggleCategory">
</tab>
</view>
<swiper current="{{categoryCur}}" duration="{{duration}}" bindanimationfinish="animationFinish">
<swiper-item wx:for="{{categoryData}}" wx:key="index">
<scroll requesting="{{item.requesting}}"
end="{{item.end}}"
list-count="{{item.listData.length}}"
has-top="{{true}}"
refresh-size="{{80}}"
bind:refresh="refresh"
bind:more="more">
<view class="cells">
<view class="cell"
wx:for="{{item.listData}}"
wx:key="index"
data-link="{{item.link}}"
bind:longpress="showArticle">
<view class="name">
<checkbox value="{{item.taskId}}" checked="{{item.complete}}"></checkbox>
<rich-text nodes="{{item.title}}"></rich-text>
</view>
<view class="date">{{item.note}}</view>
</view>
</view>
</scroll>
</swiper-item>
</swiper>
<view>
<foot-tab iconList="{{aIconList}}"/>
</view>