From 0df61bbe45cd6adf9de18074b5e978673247be85 Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Tue, 26 Mar 2024 00:05:55 +0800
Subject: [PATCH] 注册页面的客服地址错误

---
 src/page/login/login.vue |   39 +++++++++++++++++++++++----------------
 1 files changed, 23 insertions(+), 16 deletions(-)

diff --git a/src/page/login/login.vue b/src/page/login/login.vue
index 2972e75..ec24506 100644
--- a/src/page/login/login.vue
+++ b/src/page/login/login.vue
@@ -27,7 +27,7 @@
           >
           </el-input>
           <el-input
-            style="margin-top: 0.46rem;"
+            style="margin-top: 0.46rem"
             show-password
             :placeholder="$t('hj10')"
             :size="medium"
@@ -38,19 +38,26 @@
         </div>
         <div class="bottom_btns" :class="btnClass ? 'on' : 'off'">
           <button
-            class="top_btn "
-            v-on:touchstart="loginIN"
+            class="top_btn"
+            @click="loginIN"
             :class="dengl ? 'animated pulse' : ''"
           >
             <span>{{ $t("hj11") }}</span>
           </button>
-          <div style="display:flex;align-items:center;justify-content: space-between;">
+          <div
+            style="
+              display: flex;
+              align-items: center;
+              justify-content: space-between;
+            "
+          >
             <div class="myzh">
-              <span class="mes" style="margin: right 0.2rem;">{{ $t("hj14") }}?</span
+              <span class="mes" style="margin: right 0.2rem"
+                >{{ $t("hj14") }}?</span
               ><span
                 @click="$router.push('/register')"
                 class="mes"
-                style="color: rgb(54,124,248);"
+                style="color: rgb(54, 124, 248)"
                 >{{ $t("hj15") }}</span
               >
             </div>
@@ -110,11 +117,11 @@
       loginBtn: false,
       docmHeight: document.documentElement.clientHeight, //默认屏幕高度
       showHeight: document.documentElement.clientHeight, //实时屏幕高度
-      hideshow: true //显示或者隐藏footer
+      hideshow: true, //显示或者隐藏footer
     };
   },
   components: {
-    headers
+    headers,
   },
   mounted() {
     window.onresize = () => {
@@ -124,13 +131,13 @@
     };
   },
   watch: {
-    showHeight: function() {
+    showHeight: function () {
       if (this.docmHeight > this.showHeight) {
         this.hideshow = false;
       } else {
         this.hideshow = true;
       }
-    }
+    },
   },
   methods: {
     getApp() {
@@ -155,19 +162,19 @@
       setTimeout(() => {
         this.dengl = false;
       }, 1000);
+      console.log(this.loginBtn);
       if (this.loginBtn) {
         return;
       }
       this.loginBtn = true;
       let opts = {
         phone: this.userName,
-        userPwd: this.userPassword
+        userPwd: this.userPassword,
       };
       let data = await api.login(opts);
 
-      console.log("data.status",data.status);
+      console.log("data.status", data.status);
 
-      
       if (data.status === 0) {
         this.$store.state.userInfo.phone = this.userName;
         this.$store.state.userInfo.token = data.data.token;
@@ -195,10 +202,10 @@
         // 支持
         navigator.vibrate([55]);
       }
-    }
+    },
   },
   beforeDestroy() {},
-  created() {}
+  created() {},
 };
 </script>
 
@@ -277,7 +284,7 @@
       margin-top: 0.8528rem;
 
       .top_btn {
-		border: none;
+        border: none;
         width: 100%;
         height: 1.25rem;
         border-radius: 0.3564rem;

--
Gitblit v1.9.3