From 4ebb7babe7e392d62662d09f97f48647c114cc5f Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期一, 29 五月 2023 14:37:47 +0800
Subject: [PATCH] 45

---
 src/views/login/index.vue |   45 +++++++++++++++++++++++++++------------------
 1 files changed, 27 insertions(+), 18 deletions(-)

diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 5c74b1e..e8c2525 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -11,7 +11,7 @@
     const config={
         headers: {
             'Content-Type': 'application/x-www-form-urlencoded'
-        },
+        }
     }
     const userInfo = userInfoStore()
     const route = useRoute()
@@ -123,6 +123,7 @@
         return String(navigator.userAgent.toLowerCase().match(/MicroMessenger/i)) === 'micromessenger'
     }
     onMounted(()=>{
+        Session.remove('token')
         if (isWechat()){
             console.log('初始化',route)
             const queryInfo=route.query
@@ -198,15 +199,15 @@
                         name="密  码"
                         label="密&nbsp&nbsp码"
                         placeholder="6-16位数字或者字母组合"
-                      
+
                     >
                         <template #button>
                             <van-button size="small" type="default" @click="wjmm">忘记密码</van-button>
                         </template>
                     </van-field>
                 </van-cell-group>
-                <div style="margin: 16px;text-align:center;">
-                    <div class="tss"><van-icon name="circle" /> 登录即视为已经阅读并同意<b style="color: #769AFF;">网站服务条款、法律声明及隐私权政策</b></div>
+                <div style="margin: 16px;text-align: center;">
+                    <div class="tss"><van-icon name="circle" /> 登录即视为已经阅读并同意<b style="color: #769aff;">网站服务条款、法律声明及隐私权政策</b></div>
                     <van-button :loading="loadingBUt" round block type="primary" native-type="submit">
                         登  录
                     </van-button>
@@ -233,14 +234,14 @@
                         </template>
                     </van-field>
                 </van-cell-group>
-                <div style="margin: 16px;text-align:center;">
-                    <div class="tss"><van-icon name="circle" /> 登录即视为已经阅读并同意<b style="color: #769AFF;">网站服务条款、法律声明及隐私权政策</b></div>
+                <div style="margin: 16px;text-align: center;">
+                    <div class="tss"><van-icon name="circle" /> 登录即视为已经阅读并同意<b style="color: #769aff;">网站服务条款、法律声明及隐私权政策</b></div>
                     <van-button :loading="loadingBUt" round block type="primary" native-type="submit">
                         登  录
                     </van-button>
                 </div>
             </van-form>
-            <van-row class="loginType">
+            <van-row class="logintype">
                 <div class="toptype">
                     <van-divider
                         :style="{ color: '#1989fa', borderColor: '#1989fa', padding: '0 16px' }"
@@ -326,43 +327,51 @@
     </div>
 </template>
 <style lang="scss">
-.login{
+.login {
     width: 100%;
     min-height: 900px;
 }
-.logintt{
+
+.logintt {
     text-align: center;
 }
-.loginwenz{
+
+.loginwenz {
     font-size: 12px;
     font-weight: 400;
-    color: #AAAAAA;
+    color: #aaa;
 }
-.loginType{
+
+.logintype {
     width: 100%;
     margin-top: 120px;
     text-align: center;
     font-size: 11px;
     font-weight: 400;
-    color: #AAAAAA;
+    color: #aaa;
+
     // background: black;
-    .toptype{
+    .toptype {
         width: 100%;
     }
 }
-.titlebiaoti{
+
+.titlebiaoti {
     padding-top: 70px;
-    text-align:center;
+    text-align: center;
     padding-left: 30px;
+
     // border: 1px solid black;
     font-size: 15px;
     padding-bottom: 70px;
 }
-.tss{
+
+.tss {
     font-size: 10px;
     font-weight: 400;
-    color: #AAAAAA;
+    color: #aaa;
     height: 50px;
+
     // line-height: 50px;
 }
 </style>
\ No newline at end of file

--
Gitblit v1.8.0