Browse Source

Merge branch 'master' of https://e.coding.net/chuanghaikeji/smarCampus/waterElectricityMinApp

# Conflicts:
#	pages/index/index.vue
#	pages/reshui/reshui.vue
程志平 4 years ago
parent
commit
df7ba8b27d
2 changed files with 22 additions and 4 deletions
  1. 17 0
      pages/index/index.vue
  2. 5 4
      pages/reshui/reshui.vue

+ 17 - 0
pages/index/index.vue

@@ -16,7 +16,12 @@
 			</view>
 			</view>
 		</view>
 		</view>
 		<!--弹窗-->
 		<!--弹窗-->
+<<<<<<< HEAD
 		<modal v-if="showPop" title="用户绑定" confirm-text="确定" cancel-text="重置" @cancel="resetPop" @confirm="confirmPop">
 		<modal v-if="showPop" title="用户绑定" confirm-text="确定" cancel-text="重置" @cancel="resetPop" @confirm="confirmPop">
+=======
+		<modal v-if="showPop" title="用户绑定" confirm-text="确定" cancel-text="重置" @cancel="cancelPop"
+			@confirm="confirmPop">
+>>>>>>> 4380156aef5e8beb51c02d4586781d9ce0e14435
 			<view class="lineGroup">
 			<view class="lineGroup">
 				<text class="iconfont icon-shengchengmingpianicon label-icon"></text>
 				<text class="iconfont icon-shengchengmingpianicon label-icon"></text>
 				<input type='text' class="stu-number" maxlength="14" placeholder="请输入学号" v-model="stu_number" />
 				<input type='text' class="stu-number" maxlength="14" placeholder="请输入学号" v-model="stu_number" />
@@ -95,7 +100,11 @@
 					});
 					});
 				}
 				}
 			},
 			},
+<<<<<<< HEAD
 			resetPop() { // 重置
 			resetPop() { // 重置
+=======
+			cancelPop() { //取消
+>>>>>>> 4380156aef5e8beb51c02d4586781d9ce0e14435
 				this.stu_number = ''
 				this.stu_number = ''
 				this.id_card = ''
 				this.id_card = ''
 			},
 			},
@@ -242,7 +251,11 @@
 			border-bottom: 1px solid #c2c2c2;
 			border-bottom: 1px solid #c2c2c2;
 			font-size: 38rpx;
 			font-size: 38rpx;
 			white-space: nowrap;
 			white-space: nowrap;
+<<<<<<< HEAD
 
 
+=======
+			
+>>>>>>> 4380156aef5e8beb51c02d4586781d9ce0e14435
 			.label-icon {
 			.label-icon {
 				display: flex;
 				display: flex;
 				flex-direction: row;
 				flex-direction: row;
@@ -255,7 +268,11 @@
 				color: $my-color-primary;
 				color: $my-color-primary;
 				margin: 22rpx 0 0 50rpx;
 				margin: 22rpx 0 0 50rpx;
 			}
 			}
+<<<<<<< HEAD
 
 
+=======
+			
+>>>>>>> 4380156aef5e8beb51c02d4586781d9ce0e14435
 			.stu-number {
 			.stu-number {
 				margin-top: 20rpx;
 				margin-top: 20rpx;
 				color: #00c200;
 				color: #00c200;

+ 5 - 4
pages/reshui/reshui.vue

@@ -126,12 +126,13 @@
 			if (this.$store.state.payInfo.from == 'reshui_pay') {
 			if (this.$store.state.payInfo.from == 'reshui_pay') {
 				uni.showToast({
 				uni.showToast({
 					title: this.$store.state.payInfo.resultMsg,
 					title: this.$store.state.payInfo.resultMsg,
-					icon: 'success'
+					icon: 'success',
+					success: () => {
+						this.$store.state.payInfo.resultMsg = ''
+						this.$store.state.payInfo.from = ''
+					}
 				})
 				})
 
 
-				this.$store.state.payInfo.resultMsg = ''
-				this.$store.state.payInfo.from = ''
-
 				// this.amount = this.$store.state.reshui_amount + this.amount
 				// this.amount = this.$store.state.reshui_amount + this.amount
 				// 重新调用一次,刷新金额
 				// 重新调用一次,刷新金额
 				this.getCode()
 				this.getCode()