付延余
2022-07-29 a0f333ef7944e2964e6807e86fd6ebe50f66402f
pages/login/login.vue
@@ -24,12 +24,15 @@
         formData:{
            username:'fyy',
            password:'123456!@#'
        // username:'anjianwei',
        // password:'123456'
         }
      };
   },
   methods:{
      loginSubmit(){
         // console.log('login');
      console.log('点击登录');
      // console.log('login');
         uni.showLoading({
            title:'登录中...'
         });
@@ -53,9 +56,15 @@
               // error
               console.log(e);
            }
         } else{
            uni.showToast({
               title:response.data.msg,
               icon:'error',
               duration:2000
            })
         }
      }
   }
};
</script>
@@ -98,7 +107,7 @@
      }
      .loginBtn {
         margin-top: vww(80);
         button {
            background-color: #007aff;
            color: #ffffff;