From da82bc7c0a078eccbc45f4e25a697a5622a46fee Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期五, 07 二月 2025 09:33:52 +0800
Subject: [PATCH] 1.登录页优化调整,去除软键盘
---
Scripts/config.js | 2 +-
H5/Js/UserLogin.js | 4 ++--
UserLogin.aspx | 26 ++++----------------------
Mst.master | 2 +-
4 files changed, 8 insertions(+), 26 deletions(-)
diff --git a/H5/Js/UserLogin.js b/H5/Js/UserLogin.js
index d066ee2..bbfa069 100644
--- a/H5/Js/UserLogin.js
+++ b/H5/Js/UserLogin.js
@@ -16,6 +16,8 @@
that.phone = Cookies.get('phone');
that.passwd = Cookies.get('passwd');
}
+ that.phone = "admin";
+ that.passwd = "123456";
},
methods: {
onSubmit(name) {
@@ -25,8 +27,6 @@
_userLogin() {
var that = this;
that.isLoading = true;
- that.phone = "admin";
- that.passwd = "123456";
that.AxiosHttp("post", 'login/login', {
userID: that.phone,
userPass: that.passwd,
diff --git a/Mst.master b/Mst.master
index 68a1051..29f80cb 100644
--- a/Mst.master
+++ b/Mst.master
@@ -11,7 +11,7 @@
<script src="/Scripts/vue.min.js"></script>
<script src="/Scripts/js.cookie.min.js"></script>
<script src="/scripts/axios0.25.0.js"></script>
- <script src="/scripts/config.js?<%=1121111122211 %>"></script>
+ <script src="/scripts/config.js?<%=345 %>"></script>
<link href="/scripts/vant/vant.css" rel="stylesheet" />
<script src="/scripts/vant/vant.js"></script>
<link href="/Images/Style.css?<%=1 %>" rel="stylesheet" />
diff --git a/Scripts/config.js b/Scripts/config.js
index efb568a..b1dbf79 100644
--- a/Scripts/config.js
+++ b/Scripts/config.js
@@ -1,5 +1,5 @@
锘�//var APIURL = "http://192.168.1.145:83/api/";
-var APIURL = "http://localhost:55640/api/";
+var APIURL = "http://localhost:5204/api/";
var APIURL_PC = "http://192.168.1.145:81/api/";
var ISNEEDLOGIN = true;
String.prototype.trim = function () {
diff --git a/UserLogin.aspx b/UserLogin.aspx
index 6e6b24a..080f705 100644
--- a/UserLogin.aspx
+++ b/UserLogin.aspx
@@ -24,19 +24,17 @@
v-model="phone"
name="phone"
label=""
- readonly
clickable
- placeholder="璇疯緭鍏ヨ处鍙�" @touchstart.native.stop="show=true;"
+ placeholder="璇疯緭鍏ヨ处鍙�"
:rules="[{ required: true, message: '璇疯緭鍏ヨ处鍙�' }]"
></van-field>
<van-field
- readonly
clickable
v-model="passwd"
type="password"
name="password"
label=""
- placeholder="璇疯緭鍏ュ瘑鐮�" @touchstart.native.stop="show2 = true;"
+ placeholder="璇疯緭鍏ュ瘑鐮�"
:rules="[{ required: true, message: '璇疯緭鍏ュ瘑鐮�' }]"
></van-field>
</van-cell-group>
@@ -53,24 +51,8 @@
</template>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" runat="Server">
- <van-number-keyboard
- v-model="phone"
- :show="show"
- theme="custom"
- extra-key="."
- close-button-text="瀹屾垚"
- @blur="show =false;show2 =false;"
- ></van-number-keyboard>
- <van-number-keyboard
- v-model="passwd"
- :show="show2"
- theme="custom"
- extra-key="."
- close-button-text="瀹屾垚"
- @blur="show2 =false;show =false;"
- ></van-number-keyboard>
- <comloading v-if="isLoading"></comloading>
+ <comloading v-if="isLoading"></comloading>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" runat="Server">
- <script src="/H5/Js/UserLogin.js?<%=1234561111111111 %>"></script>
+ <script src="/H5/Js/UserLogin.js?<%=123 %>"></script>
</asp:Content>
--
Gitblit v1.9.3