|
@@ -45,27 +45,32 @@
|
|
|
<view a:if="{{isreminds}}" a:for="{{taskList}}" key="{{index}}">
|
|
|
<view class="tasks-list-item" a:if="{{item.state == 0}}">
|
|
|
<text> {{item.itemName}}</text>
|
|
|
+ <view class="item-task-wrapper">
|
|
|
<view class="tasks-item-yes" onTap="showyes" data-id="{{item.id}}">
|
|
|
<image mode="scaleToFill" src="/image/icon-yes.png"/>
|
|
|
</view>
|
|
|
<view class="tasks-item-no" onTap="showcancel" data-id="{{item.id}}">
|
|
|
<image mode="scaleToFill" src="/image/icon-no.png"/>
|
|
|
</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="tasks-list-item" a:if="{{item.state == 1}}">
|
|
|
<text> {{item.itemName}}</text>
|
|
|
+
|
|
|
<view class="tasks-item-yes">
|
|
|
<image mode="scaleToFill" src="/image/icon-yes.png"/>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="tasks-list-item" a:if="{{item.state == 2}}">
|
|
|
<text>{{item.itemName}}</text>
|
|
|
+ <view class="item-task-wrapper">
|
|
|
<label class="nogood" a:if="{{item.incompleteReason == 1}}">任务太多</label>
|
|
|
<label class="nogood" a:if="{{item.incompleteReason == 2}}">我不会</label>
|
|
|
<label class="nogood" a:if="{{item.incompleteReason == 3}}">任务不详细</label>
|
|
|
<view class="tasks-item-yes">
|
|
|
<image mode="scaleToFill" src="/image/icon-no.png"/>
|
|
|
</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|