diff --git a/pages_order/mine/Walletflow.vue b/pages_order/mine/Walletflow.vue index 33f3375..5701fa2 100644 --- a/pages_order/mine/Walletflow.vue +++ b/pages_order/mine/Walletflow.vue @@ -93,8 +93,13 @@ }, onLoad() { this.getAccountBalance(); + }, + onShow() { this.getFlowList(); }, + onReachBottom() { + this.loadMore() + }, methods: { // 获取账户余额 getAccountBalance() { diff --git a/pages_order/mine/recharge.vue b/pages_order/mine/recharge.vue index f4d8878..8106699 100644 --- a/pages_order/mine/recharge.vue +++ b/pages_order/mine/recharge.vue @@ -188,14 +188,16 @@ uni.showToast({ title: `充值成功,获得${this.totalBeans}豆豆`, - icon: 'success' + icon: 'none' }) // 更新用户信息 this.$store.commit('getUserInfo') setTimeout(() => { - uni.navigateBack() + uni.reLaunch({ + url: '/pages/index/center' + }) }, 1500) } catch (error) { uni.showToast({ @@ -268,7 +270,7 @@ } .package-item { - width: calc(50% - 8rpx); + width: calc(50% - 16rpx); background: #f8f9ff; border: 2rpx solid #f0f0f0; border-radius: 16rpx;