diff --git a/App.vue b/App.vue
index 19d3153..434b32d 100644
--- a/App.vue
+++ b/App.vue
@@ -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) {
- // setTimeout(() => {
- // uni.navigateTo({
- // url: '../../pagesCenter/login/enter'
- // })
- // }, 1000)
- // }
+ if (token != '' && token != null) {
+ globalData.isLogin = true
+ // setTimeout(() => {
+ // uni.navigateTo({
+ // url: '../../pagesCenter/login/enter'
+ // })
+ // }, 1000)
+ }
},
onHide: function() {
// console.log('App Hide')
diff --git a/pagesCenter/accountBalance/accountBalance.vue b/pagesCenter/accountBalance/accountBalance.vue
index cd267aa..406b6de 100644
--- a/pagesCenter/accountBalance/accountBalance.vue
+++ b/pagesCenter/accountBalance/accountBalance.vue
@@ -36,9 +36,11 @@
付款成功
退款
- 已退款
+ 退款中
+ 退款失败
+ 已退款( {{item.refundTotalPrice / 100}}元 )
{{item.payTime}}
{{item.createTime}}
@@ -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;