浏览代码

文本调整

wangxy 2 月之前
父节点
当前提交
787d919995
共有 2 个文件被更改,包括 25 次插入12 次删除
  1. 13 4
      pages/Login/components/loginBox.vue
  2. 12 8
      pages/client/Kaoshi/exam.vue

+ 13 - 4
pages/Login/components/loginBox.vue

@@ -113,10 +113,19 @@
 	
 	// 跳转
 	function gotoPage(){
-		// 客户端
-		uni.navigateTo({
-			url: `/pages/admin/ShouYe/shouye`
-		})
+    // 客户端
+    // #ifdef H5
+    uni.navigateTo({
+      url: `/pages/client/ShouYe/shouye`
+    })
+    // #endif
+
+    // 管理端
+    // #ifdef APP-PLUS
+    uni.navigateTo({
+      url: `/pages/admin/ShouYe/shouye`
+    })
+    // #endif
 	}
 </script>
 

+ 12 - 8
pages/client/Kaoshi/exam.vue

@@ -411,9 +411,10 @@
 			title: '抓拍图片异常',
 			icon: 'none'
 		})
-		uni.redirectTo({
+		/* uni.redirectTo({
 			url: '/pages/client/Kaoshi/list'
-		})
+		}) */
+		handleBack()
 	}
 
 	// 摄像头抓拍相关功能 end
@@ -427,15 +428,17 @@
 		// 	title: '摄像头唤起异常',
 		// 	icon: 'none'
 		// })
-		uni.redirectTo({
+		/* uni.redirectTo({
 			url: '/pages/client/Kaoshi/list'
-		})
+		}) */
+		handleBack()
 	}
 
 	function zpConfirmCancel() {
-		uni.redirectTo({
+		/* uni.redirectTo({
 			url: '/pages/client/Kaoshi/list'
-		})
+		}) */
+		handleBack()
 	}
 
 	// 摄像头确认相关功能 end
@@ -645,9 +648,10 @@
 			operId: data.operId,
 			biaoji: JSON.stringify(data.biaoji)
 		}).catch(err => {
-			uni.redirectTo({
+			/* uni.redirectTo({
 				url: '/pages/client/Kaoshi/list'
-			})
+			}) */
+			handleBack()
 		})
 	}