12.6 退款问题修改

formal_basic
shilei 2 weeks ago
parent 58fee9376f
commit d6c5634f69

@ -18,14 +18,17 @@
// handle_loop()
},
onShow: function() {
// console.log(uni.getStorageSync('token'), 'token')
let token = uni.getStorageSync('token')
// console.log(globalData.isLogin, 'globalData.isLogin')
// if (globalData.isLogin == false) {
if (token != '' && token != null) {
globalData.isLogin = true
// setTimeout(() => {
// uni.navigateTo({
// url: '../../pagesCenter/login/enter'
// })
// }, 1000)
// }
}
},
onHide: function() {
// console.log('App Hide')

@ -36,9 +36,11 @@
付款成功
</view>
<text class="refund_moneny"
v-if="tab_current == 0 && item.refundStatus == null || item.refundStatus == 0"
v-if="tab_current == 0 && item.refundStatus == 0 && item.payRefundId == null"
@click="handle_refund(item.id)">退款</text>
<text v-if="item.refundStatus == 10" class="refund_moneny_10">退</text>
<text class="refund_moneny_ing" v-if="item.refundStatus == 0 && item.payRefundId != null">退</text>
<text class="refund_moneny_fail" v-if="item.refundStatus == 20 && item.payRefundId != null">退</text>
<text v-if="item.refundStatus == 10 && item.payRefundId != null" class="refund_moneny_10">退( {{item.refundTotalPrice / 100}} )</text>
</view>
<view class="margin-top-sm payTime" v-if="tab_current == 0">{{item.payTime}}</view>
<view class="margin-top-sm payTime" v-else>{{item.createTime}}</view>
@ -160,6 +162,7 @@
}, 2000)
setTimeout(() => {
handle_bindType()
getPayList(0)
uni.hideLoading()
}, 4000)
} else {
@ -172,6 +175,7 @@
}, 2000)
setTimeout(() => {
handle_bindType()
getPayList(0)
uni.hideLoading()
}, 4000)
@ -367,6 +371,18 @@
margin-left: 10rpx;
color: red;
}
.refund_moneny_ing {
font-size: 13px;
// text-decoration: underline;
margin-left: 10rpx;
color: forestgreen;
}
.refund_moneny_fail {
font-size: 13px;
// text-decoration: underline;
margin-left: 10rpx;
color: red;
}
.refund_moneny_10 {
color: #ad8787;

Loading…
Cancel
Save