From f8b256ef152e54c19adb85856f62432d59c16b6e Mon Sep 17 00:00:00 2001
From: DESKTOP-CVS3R96\我恁爹 <11>
Date: Mon, 14 Nov 2022 19:00:29 +0800
Subject: [PATCH] wener~
---
src/page/login/login.vue | 22 ++++++----------------
1 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/src/page/login/login.vue b/src/page/login/login.vue
index d720ffa..c85bd5b 100644
--- a/src/page/login/login.vue
+++ b/src/page/login/login.vue
@@ -18,7 +18,7 @@
<div class="password">
<input type="password" placeholder="登录密码" v-model="userPassword" @input="handleInput()" />
</div> -->
- <el-input placeholder="请输入手机号" :size="medium" v-model="userName" clearable>
+ <el-input placeholder="请输入手机号" :size="medium" maxlength="11" v-model="userName" clearable>
</el-input>
<el-input style="margin-top: 0.46rem;" show-password placeholder="登录密码" :size="medium" v-model="userPassword" @input="handleInput()">
</el-input>
@@ -143,7 +143,10 @@
},2000)
//Toast(data.msg)
}
-
+ if (navigator.vibrate) {
+ // 支持
+ navigator.vibrate([55]);
+ }
},
},
beforeDestroy() { },
@@ -345,20 +348,7 @@
}
}
}
-/deep/.el-alert{
- width: 70%!important;
- height: 1rem!important;
- position: absolute!important;
- top: 0!important;
- bottom: 0!important;
- left: 0!important;
- right: 0!important;
- margin: auto!important;
- font-size: 0.3rem!important;
-}
-/deep/.el-alert__title{
- font-size: 0.3rem!important;
-}
+
/deep/.el-input__suffix{
width: 1rem!important;
display: flex;
--
Gitblit v1.9.3