Bläddra i källkod

跳转到首页修复

soft5566 3 år sedan
förälder
incheckning
06d518e9ad

+ 1 - 1
pages/recharge/recharge.vue

@@ -49,7 +49,7 @@
 			// 系统正在维护...
 			// 系统正在维护...
 			if (this.test == 'weihuzhong') {
 			if (this.test == 'weihuzhong') {
 				uni.redirectTo({
 				uni.redirectTo({
-					url: '../index/index'
+					url: '/pages/index/index'
 				})
 				})
 
 
 				return;
 				return;

+ 4 - 4
pages/reshui/reshui.vue

@@ -343,7 +343,7 @@
 							this.stu_number = userinfo.card_number
 							this.stu_number = userinfo.card_number
 						} else {
 						} else {
 							uni.navigateTo({
 							uni.navigateTo({
-								url: '../index/index?from=' + options.from
+								url: '/pages/index/index?from=' + options.from
 							})
 							})
 
 
 							uni.showToast({
 							uni.showToast({
@@ -440,7 +440,7 @@
 						});
 						});
 
 
 						uni.navigateTo({
 						uni.navigateTo({
-							url: '../index/index?from=' + options.from
+							url: '/pages/index/index?from=' + options.from
 						})
 						})
 					}
 					}
 				} else if (res.data.mess == '未查询到用户信息') {
 				} else if (res.data.mess == '未查询到用户信息') {
@@ -453,11 +453,11 @@
 
 
 					if (options && typeof(options.from) != 'undefined' && typeof(options.from) != '') {
 					if (options && typeof(options.from) != 'undefined' && typeof(options.from) != '') {
 						uni.navigateTo({
 						uni.navigateTo({
-							url: '../index/index?from=' + options.from
+							url: '/pages/index/index?from=' + options.from
 						})
 						})
 					} else {
 					} else {
 						uni.redirectTo({
 						uni.redirectTo({
-							url: '../index/index?from=0'
+							url: '/pages/index/index?from=0'
 						});
 						});
 					}
 					}
 				}
 				}

+ 1 - 1
pagesAir/accountBalance/accountBalance.vue

@@ -102,7 +102,7 @@
 							this.id_card = userinfo.id_card
 							this.id_card = userinfo.id_card
 						} else {
 						} else {
 							uni.navigateTo({
 							uni.navigateTo({
-								url: '../index/index?from=' + options.from
+								url: '/pages/index/index?from=' + options.from
 							})
 							})
 
 
 							uni.showToast({
 							uni.showToast({

+ 1 - 1
pagesAir/addAir/addAir.vue

@@ -149,7 +149,7 @@
 							this.user_name = userinfo.name
 							this.user_name = userinfo.name
 						} else {
 						} else {
 							uni.navigateTo({
 							uni.navigateTo({
-								url: '../index/index?from=' + options.from
+								url: '/pages/index/index?from=' + options.from
 							})
 							})
 
 
 							uni.showToast({
 							uni.showToast({

+ 1 - 1
pagesAir/rechargeRecord/rechargeRecord.vue

@@ -95,7 +95,7 @@
 							this.id_card = userinfo.id_card
 							this.id_card = userinfo.id_card
 						} else {
 						} else {
 							uni.navigateTo({
 							uni.navigateTo({
-								url: '../index/index?from=' + options.from
+								url: '/pages/index/index?from=' + options.from
 							})
 							})
 
 
 							uni.showToast({
 							uni.showToast({

+ 3 - 3
pagesAir/shareAir/shareAir.vue

@@ -402,7 +402,7 @@
 							this.id_card = userinfo.id_card
 							this.id_card = userinfo.id_card
 						} else { // 还没有需要跳转到首页进行获取
 						} else { // 还没有需要跳转到首页进行获取
 							uni.navigateTo({
 							uni.navigateTo({
-								url: '../index/index?from=' + options.from
+								url: '/pages/index/index?from=' + options.from
 							})
 							})
 
 
 							uni.showToast({
 							uni.showToast({
@@ -495,11 +495,11 @@
 
 
 					if (options && typeof(options.from) != 'undefined' && typeof(options.from) != '') {
 					if (options && typeof(options.from) != 'undefined' && typeof(options.from) != '') {
 						uni.navigateTo({
 						uni.navigateTo({
-							url: '../index/index?from=' + options.from
+							url: '/pages/index/index?from=' + options.from
 						})
 						})
 					} else {
 					} else {
 						uni.redirectTo({
 						uni.redirectTo({
-							url: '../index/index?from=0'
+							url: '/pages/index/index?from=0'
 						});
 						});
 					}
 					}
 				}
 				}

+ 1 - 1
pagesAir/stdBookMgr/stdBookMgr.vue

@@ -125,7 +125,7 @@
 							this.id_card = userinfo.id_card
 							this.id_card = userinfo.id_card
 						} else {
 						} else {
 							uni.navigateTo({
 							uni.navigateTo({
-								url: '../index/index?from=' + options.from
+								url: '/pages/index/index?from=' + options.from
 							})
 							})
 
 
 							uni.showToast({
 							uni.showToast({

+ 1 - 1
pagesElectric/dfxq/dfxq.vue

@@ -98,7 +98,7 @@
 							this.roomSelect = userinfo.campus + userinfo.dorm_number
 							this.roomSelect = userinfo.campus + userinfo.dorm_number
 						} else {
 						} else {
 							uni.redirectTo({
 							uni.redirectTo({
-								url: '../index/index'
+								url: '/pages/index/index'
 							})
 							})
 
 
 							uni.showToast({
 							uni.showToast({

+ 1 - 1
pagesElectric/sfxq/sfxq.vue

@@ -95,7 +95,7 @@
 							this.roomSelect = userinfo.campus + userinfo.dorm_number
 							this.roomSelect = userinfo.campus + userinfo.dorm_number
 						} else {
 						} else {
 							uni.redirectTo({
 							uni.redirectTo({
-								url: '../index/index'
+								url: '/pages/index/index'
 							})
 							})
 
 
 							uni.showToast({
 							uni.showToast({

+ 1 - 1
pagesElectric/show/show.vue

@@ -117,7 +117,7 @@
 						this.roomSelect = userinfo.campus + userinfo.dorm_number
 						this.roomSelect = userinfo.campus + userinfo.dorm_number
 					} else {
 					} else {
 						uni.redirectTo({
 						uni.redirectTo({
-							url: '../index/index'
+							url: '/pages/index/index'
 						})
 						})
 
 
 						uni.showToast({
 						uni.showToast({

+ 1 - 1
pagesWater/reshuiDetails/reshuiDetails.vue

@@ -58,7 +58,7 @@
 						this.roomSelect = userinfo.campus + userinfo.dorm_number
 						this.roomSelect = userinfo.campus + userinfo.dorm_number
 					} else {
 					} else {
 						uni.redirectTo({
 						uni.redirectTo({
-							url: '../index/index'
+							url: '/pages/index/index'
 						})
 						})
 
 
 						uni.showToast({
 						uni.showToast({