程志平 3 years ago
parent
commit
5c144860c9
1 changed files with 6 additions and 4 deletions
  1. 6 4
      pages/recharge/recharge.vue

+ 6 - 4
pages/recharge/recharge.vue

@@ -23,7 +23,7 @@
 			</view>
 			</view>
 			<view class="reminder">温馨提示:最少充值金额为10元</view>
 			<view class="reminder">温馨提示:最少充值金额为10元</view>
 			<view class="payment">支付金额:<text>{{amount}}</text>元</view>
 			<view class="payment">支付金额:<text>{{amount}}</text>元</view>
-			<button class="btn_submit" type="primary" @tap="tip">确认提交</button>
+			<button class="btn_submit" type="primary" @tap="tip(true)">确认提交</button>
 			<button class="btn_tel" type="default" @tap="callPhone">客服热线:{{phone_number}}</button>
 			<button class="btn_tel" type="default" @tap="callPhone">客服热线:{{phone_number}}</button>
 			<view class="tips">
 			<view class="tips">
 				尊敬的用户,你好!因项目提现业务配置问题导致您无法提现对此,我们深表歉意!您可致电运营商处理提现问题,运营商电话:13645689854。感谢您对我们工作的支持和理解。
 				尊敬的用户,你好!因项目提现业务配置问题导致您无法提现对此,我们深表歉意!您可致电运营商处理提现问题,运营商电话:13645689854。感谢您对我们工作的支持和理解。
@@ -249,7 +249,7 @@
 								}
 								}
 							}
 							}
 						});
 						});
-					} else{
+					} else {
 						let _this = this;
 						let _this = this;
 						uni.showModal({
 						uni.showModal({
 							title: '提示',
 							title: '提示',
@@ -261,14 +261,16 @@
 								if (res.confirm) {
 								if (res.confirm) {
 									// console.log('用户点击确定');
 									// console.log('用户点击确定');
 									_this.chongzhi()
 									_this.chongzhi()
-								} else if (res.cancel){
+								} else if (res.cancel) {
 									// console.log('用户点击取消');
 									// console.log('用户点击取消');
 								}
 								}
 							}
 							}
 						});
 						});
 					}
 					}
 				} else {
 				} else {
-					this.chongzhi()
+					if (param == true) {
+						this.chongzhi()
+					}
 				}
 				}
 			},
 			},
 			/**
 			/**