From b0041cf10ba3ddf74b9edcfd340a7d1c9179d878 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期一, 03 三月 2025 18:48:19 +0800
Subject: [PATCH] 5601 form

---
 pages/login/index.vue |   22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/pages/login/index.vue b/pages/login/index.vue
index 7958b0d..de15e2d 100644
--- a/pages/login/index.vue
+++ b/pages/login/index.vue
@@ -70,7 +70,10 @@
 			</uni-popup>
 			<!-- 鐗堟湰鍗囩骇寮圭獥缁撴潫 -->
 		</view>
-
+		<!-- <button @click="onClickWms">鐧诲綍wms</button>
+		<view class="webview">
+			<web-view ref="webview" src="http://115.29.185.26:5000/mobox3/#/"></web-view>
+		</view> -->
 	</view>
 
 </template>
@@ -400,6 +403,13 @@
 				}
 
 			},
+			onClickWms()
+			{
+				let otherAppSchemeURL = "testapp://pages/index/index"; // 鏇挎崲涓虹洰鏍嘺pp鐨剆cheme URL
+				plus.runtime.openURL(otherAppSchemeURL, function(error) {
+					console.error('鎵撳紑搴旂敤澶辫触: ', error);
+				}, "uni.TeatApp");
+			},
 			translate(t) {
 				if (typeof this.$t == "function") return this.$t(`page.${t}`)
 				else return t;
@@ -409,8 +419,16 @@
 				else return t;
 			},
 		},
-		onLoad() {
+		onLoad(options) {
 			//鑾峰彇mac鍦板潃
+			let tip=`login:account:${options.account || ""},password:${options.password || ""}`
+			// console.log(options);
+			uni.showModal({
+				title: "鍙傛暟",
+				content: tip,
+				showCancel: false,
+				confirmText:"cancel"
+			});
 			var url = utils.session.getValue('server');
 			var username = utils.session.getValue('account');
 			var userpwd = utils.session.getValue('password');

--
Gitblit v1.9.1