|
@@ -51,12 +51,13 @@
|
|
|
<view class="tasks-list-item" a:if="{{item.state == 0}}">
|
|
|
<text> {{item.itemName}}</text>
|
|
|
<view class="item-task-wrapper">
|
|
|
+ <view class="tasks-item-no" onTap="showcancel" data-id="{{item.id}}">
|
|
|
+ <image class="icon-no" mode="scaleToFill" src="/image/icon-no.png"/>
|
|
|
+ </view>
|
|
|
<view class="tasks-item-yes" onTap="showyes" data-id="{{item.id}}">
|
|
|
<image class="icon-yes" mode="scaleToFill" src="/image/icon-yes.png"/>
|
|
|
</view>
|
|
|
- <view class="tasks-item-no" onTap="showcancel" data-id="{{item.id}}">
|
|
|
- <image class="icon-no" mode="scaleToFill" src="/image/icon-no.png"/>
|
|
|
- </view>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="tasks-list-item" a:if="{{item.state == 1}}">
|
|
@@ -94,7 +95,7 @@
|
|
|
<!---没有任务花销计算不显示-->
|
|
|
<view a:if="{{isremindscose}}" class="tast-moneybox">
|
|
|
<view class="tasks-list-money">
|
|
|
- <view class="tasks-list-pay">今日花销合计</view>
|
|
|
+ <text class="tasks-list-pay">今日花销合计</text>
|
|
|
<view class="tasks-list-pay-right">
|
|
|
<input placeholder="请输入" onInput="bindKeyInput" name="cost" value="{{costvalue}}"/>
|
|
|
<text>元</text></view>
|
|
@@ -109,7 +110,25 @@
|
|
|
<calendar type="single" onSelect="handleSelect" />
|
|
|
</modal>
|
|
|
<!--弹出取消原因-->
|
|
|
- <modal show="{{showcancelbox}}">
|
|
|
+ <modal
|
|
|
+ show="{{showcancelbox}}"
|
|
|
+ showClose="{{false}}"
|
|
|
+ onButtonClick="onReasonModalClick"
|
|
|
+ buttons="{{buttonsText}}"
|
|
|
+ >
|
|
|
+ <view slot="header">取消原因</view>
|
|
|
+ <radio-group class="radio-group weui-input" onChange="swiperChange">
|
|
|
+ <view a:for="{{cancellist}}" a:key={{value}} class="radio-wrapper">
|
|
|
+ <label>
|
|
|
+ <radio value="{{item.value}}" class="radio" checked="{{item.checked}}" color="#09AFFF"/>
|
|
|
+ <text>
|
|
|
+ {{item.label}}
|
|
|
+ </text>
|
|
|
+ </label>
|
|
|
+ </view>
|
|
|
+ </radio-group>
|
|
|
+ </modal>
|
|
|
+ <!-- <modal show="{{showcancelbox}}">
|
|
|
<view class="cancel-box">
|
|
|
<text>取消原因</text>
|
|
|
<radio-group class="radio-group weui-input" onChange="swiperChange">
|
|
@@ -124,5 +143,5 @@
|
|
|
<view class="am-modal-buttons--vertical" onTap="confirmbox">
|
|
|
确认选择
|
|
|
</view>
|
|
|
- </modal>
|
|
|
+ </modal> -->
|
|
|
</view>
|