@@ -32,11 +32,11 @@ | |||||
<text class='fl'>{{item.merchantName}}</text> | <text class='fl'>{{item.merchantName}}</text> | ||||
<text class='fr'> | <text class='fr'> | ||||
<text wx:if="{{item.payType == 1}}" style="color: #ff0000;">退款:+ {{item.deductionAmount/100}}元</text> | <text wx:if="{{item.payType == 1}}" style="color: #ff0000;">退款:+ {{item.deductionAmount/100}}元</text> | ||||
<text wx:else style="color: #ff0000;">- {{item.deductionAmount/100}}元</text> | |||||
<text wx:else style="color: #ff0000;">{{item.payType == 0 ?'-':'+'}}{{item.deductionAmount/100}}元</text> | |||||
</text> | </text> | ||||
</view> | </view> | ||||
<view class='clearfix record2'> | <view class='clearfix record2'> | ||||
<text class='fl'>更新时间:{{item.updateDate}}</text> | |||||
<text class='fl'>创建时间:{{item.createDate}}</text> | |||||
<text class='fr'>余 {{item.cardRemainAmount/100}}元</text> | <text class='fr'>余 {{item.cardRemainAmount/100}}元</text> | ||||
</view> | </view> | ||||
<view class="orderId">订单号:{{item.orderId}}</view> | <view class="orderId">订单号:{{item.orderId}}</view> | ||||
@@ -206,6 +206,9 @@ Page({ | |||||
title: '设置成功!', | title: '设置成功!', | ||||
icon: 'success' | icon: 'success' | ||||
}) | }) | ||||
setTimeout(() => { | |||||
wx.navigateBack() | |||||
}, 1500); | |||||
}).catch(err => { | }).catch(err => { | ||||
wx.showToast({ | wx.showToast({ | ||||
title: err.message, | title: err.message, | ||||
@@ -55,9 +55,9 @@ | |||||
<text class="cancelChangePhone" bindtap="cancelChangePhone">取消</text> | <text class="cancelChangePhone" bindtap="cancelChangePhone">取消</text> | ||||
</view> | </view> | ||||
<view class="security"> | |||||
<view wx:if="{{tabIndex == 0}}" class="security"> | |||||
<text>支付安全设置:</text> | <text>支付安全设置:</text> | ||||
<radio-group wx:if="{{tabIndex == 0}}" class="radioGroup" bindchange="securityChange"> | |||||
<radio-group class="radioGroup" bindchange="securityChange"> | |||||
<label> | <label> | ||||
<radio value="0" checked="true" />无验证 | <radio value="0" checked="true" />无验证 | ||||
</label> | </label> | ||||
@@ -65,12 +65,6 @@ | |||||
<radio value="1" />设置支付密码 | <radio value="1" />设置支付密码 | ||||
</label> | </label> | ||||
</radio-group> | </radio-group> | ||||
<radio-group wx:if="{{tabIndex == 1}}" class="radioGroup" bindchange="securityChange"> | |||||
<label> | |||||
<radio value="0" checked="true" />无验证 | |||||
</label> | |||||
</radio-group> | |||||
</view> | </view> | ||||
<view wx:if="{{pdwSwitch && tabIndex == 0}}" class="pwdBox"> | <view wx:if="{{pdwSwitch && tabIndex == 0}}" class="pwdBox"> | ||||