From 0ab4bf8f3982bdee9962076f29c5664185328517 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 21 十月 2022 17:02:10 +0800
Subject: [PATCH] 1.消息全局化2.消息响应静态页面实现

---
 unpackage/cache/wgt/H5EDA0853/pages/login/index.html |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/unpackage/cache/wgt/H5EDA0853/pages/login/index.html b/unpackage/cache/wgt/H5EDA0853/pages/login/index.html
index 32502d1..23d4181 100644
--- a/unpackage/cache/wgt/H5EDA0853/pages/login/index.html
+++ b/unpackage/cache/wgt/H5EDA0853/pages/login/index.html
@@ -22,10 +22,6 @@
 		<!-- 瀵煎叆鑷畾涔夊叏灞�js鏂囦欢 -->
 		<script type="text/javascript" src="../../js/global.js"></script>
 
-
-
-		<!-- <link rel="stylesheet" href="../css/global.css" type="text/css" charset="utf-8" /> -->
-
 	</head>
 	<body>
 		<div id="app">
@@ -51,7 +47,7 @@
 					</div>
 					<div style="margin-top:30px;">
 						<van-button type="info" style="border-radius: 10px;" :disabled="username===''||password===''"
-							@click='loginClick' size="large">绔嬪嵆鐧诲綍
+							@click='loginClick' :loading='submitIsDisabled' loading-text="姝e湪鐧诲綍,璇风◢绛�..." size="large">绔嬪嵆鐧诲綍
 						</van-button>
 					</div>
 				</div>
@@ -65,6 +61,7 @@
 			el: '#app',
 			data: function() {
 				return {
+					submitIsDisabled: false,
 					username: '999',
 					password: '123',
 					isOpenEye: false,
@@ -83,7 +80,7 @@
 						password: this.password,
 						usertype: 'APP'
 					}
-
+					this.submitIsDisabled = true
 					get('Login/LoginSave', data).then(res => {
 						if (res.code === '200') {
 							// window.location.reload()   //椤甸潰閲嶆柊
@@ -97,6 +94,8 @@
 								localStorage.setItem('usertype', res.data.usertype)
 							}
 							window.location.href = '../xtsy/index.html'
+						} else {
+							this.submitIsDisabled = false
 						}
 
 						if (res.code === '302') {

--
Gitblit v1.9.3