Files
quinn-wx/pages/today/index.wxml
2022-11-17 21:09:17 +08:00

47 lines
1.9 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="handleAction">
<view class="name">
<t-checkbox wx:if="{{item.complete}}" borderless data-id="{{item.taskId}}" class="checkedBox" label="{{item.title}}" checked bind:change="changeCheck"/>
<t-checkbox wx:else borderless data-id="{{item.taskId}}" label="{{item.title}}" bind:change="changeCheck"/>
</view>
<view class="remark">
<!--截止时间-->
<!--提醒时间-->
<!--重复-->
<!--任务备注-->
<t-icon name="app"></t-icon><text class="note">{{item.note}}</text>
</view>
</view>
</view>
</scroll>
</swiper-item>
</swiper>
<t-action-sheet id="t-action-sheet" bind:selected="handleSelected" bind:cancel="selectCancel"/>
<view>
<foot-tab iconList="{{aIconList}}"/>
</view>