xiaol 1 年間 前
コミット
dd05d1a5dc
2 ファイル変更29 行追加27 行削除
  1. 7 6
      pages/users/login/index.vue
  2. 22 21
      pages/users/login/register.vue

+ 7 - 6
pages/users/login/index.vue

@@ -217,12 +217,13 @@
 						showCancel: false,
 					});
 				} else {
-					getAppVersion().then((res) => {
-						console.log(res,'res');
-						window.open(res.data.apk)
-					}).catch((err)=>{
-						console.log(err,'err');
-					})
+					window.open('https://www.senyinkj.cn//register/index.html')
+					// getAppVersion().then((res) => {
+					// 	console.log(res,'res');
+					// 	window.open(res.data.apk)
+					// }).catch((err)=>{
+					// 	console.log(err,'err');
+					// })
 				}
 			},
 			// #endif

+ 22 - 21
pages/users/login/register.vue

@@ -136,27 +136,28 @@
 						showCancel: false,
 					});
 				} else {
-					uni.showModal({
-						title: '下载',
-						content: '请选择下载类型',
-						cancelText: 'IOS',
-						confirmText: 'APK',
-						success: res => {
-							if(res.confirm){
-								getAppVersion().then((res) => {
-									console.log(res, 'res');
-									window.open(res.data.apk)
-								}).catch((err) => {
-									console.log(err, 'err');
-								})
-							}
-							if(res.cancel){
-								window.location.href =  window.location.protocol + "//" + window.location.host+'home/download/iosdom.mobileconfig'
-							}
-						},
-						fail: () => {},
-						complete: () => {}
-					});
+					window.open('https://www.senyinkj.cn//register/index.html')
+					// uni.showModal({
+					// 	title: '下载',
+					// 	content: '请选择下载类型',
+					// 	cancelText: 'IOS',
+					// 	confirmText: 'APK',
+					// 	success: res => {
+					// 		if(res.confirm){
+					// 			getAppVersion().then((res) => {
+					// 				console.log(res, 'res');
+					// 				window.open(res.data.apk)
+					// 			}).catch((err) => {
+					// 				console.log(err, 'err');
+					// 			})
+					// 		}
+					// 		if(res.cancel){
+					// 			window.location.href =  window.location.protocol + "//" + window.location.host+'home/download/iosdom.mobileconfig'
+					// 		}
+					// 	},
+					// 	fail: () => {},
+					// 	complete: () => {}
+					// });
 					
 				}
 			},