project init
This commit is contained in:
@@ -1,5 +1,42 @@
|
||||
<!--pages/today/index.wxml-->
|
||||
<text>今日任务</text>
|
||||
<t-tabs
|
||||
defaultValue="{{0}}"
|
||||
bind:change="onTabsChange"
|
||||
bind:click="onTabsClick"
|
||||
showBottomLine="{{false}}"
|
||||
t-class="custom-tabs"
|
||||
>
|
||||
<t-tab-panel label="任务清单" value="0">
|
||||
<t-swipe-cell wx:for="{{taskList}}" wx:key="{{index}}" >
|
||||
<t-cell class="text_ath" title="{{item.title}}" note="{{item.note}}" bordered="{{true}}" hover/>
|
||||
<view slot="right" class="t-swipe-cell-demo-btn-wrapper">
|
||||
<view class="t-swipe-cell-demo-btn favor-btn" data-id='{{item.taskId}}' bind:tap="onEdit">收藏</view>
|
||||
<view class="t-swipe-cell-demo-btn delete-btn" data-id='{{item.taskId}}' bind:tap="onDelete">删除</view>
|
||||
</view>
|
||||
</t-swipe-cell>
|
||||
</t-tab-panel>
|
||||
<t-tab-panel label="收藏任务" value="1">
|
||||
<t-swipe-cell wx:for="{{todayList}}" wx:key="{{index}}" >
|
||||
<t-cell class="text_ath" title="{{item.title}}" note="{{item.note}}" bordered="{{true}}" hover/>
|
||||
<view slot="right" class="t-swipe-cell-demo-btn-wrapper">
|
||||
<view class="t-swipe-cell-demo-btn delete-btn" data-id='{{item.taskId}}' bind:tap="onDelete">删除</view>
|
||||
</view>
|
||||
</t-swipe-cell>
|
||||
</t-tab-panel>
|
||||
<t-tab-panel label="延期任务" value="2">
|
||||
<t-swipe-cell wx:for="{{delayList}}" wx:key="{{index}}" >
|
||||
<t-cell class="text_ath" title="{{item.title}}" note="{{item.note}}" bordered="{{true}}" hover/>
|
||||
<view slot="right" class="t-swipe-cell-demo-btn-wrapper">
|
||||
<view class="t-swipe-cell-demo-btn delete-btn" data-id='{{item.taskId}}' bind:tap="onDelete">删除</view>
|
||||
</view>
|
||||
</t-swipe-cell>
|
||||
</t-tab-panel>
|
||||
</t-tabs>
|
||||
<cover-view class='phone-box' style='bottom: 170rpx' bindtap='callPhone'>
|
||||
<cover-image icon="add"></cover-image>
|
||||
<button class='hide-btn'></button>
|
||||
</cover-view>
|
||||
<t-fab icon="add" bind:click="handleClick"></t-fab>
|
||||
<view>
|
||||
<foot-tab iconList="{{aIconList}}"/>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user