From 3003b7486ddeffd169f2b2f564fc0ff8c2c58bb3 Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Tue, 22 Jul 2025 09:56:04 +0800
Subject: [PATCH] 1
---
src/page/login/login.vue | 35 ++++++++++++++++++++++-------------
1 files changed, 22 insertions(+), 13 deletions(-)
diff --git a/src/page/login/login.vue b/src/page/login/login.vue
index cb0a528..adfb805 100644
--- a/src/page/login/login.vue
+++ b/src/page/login/login.vue
@@ -50,7 +50,7 @@
}}<span
@click="$router.push('/register')"
data-v-8cc76a7b=""
- style="color: rgb(5, 106, 239)"
+ style="color:#c4d600"
>{{ $t("免費註冊") }}</span
>
</div>
@@ -74,11 +74,11 @@
userPassword: "",
userName: "",
btnClass: false,
- medium: "medium",
+ medium: "medium"
};
},
components: {
- headers,
+ headers
},
mounted() {
const ret = window.localStorage.getItem("login_admin");
@@ -111,7 +111,7 @@
async loginIN() {
let opts = {
phone: this.userName,
- userPwd: this.userPassword,
+ userPwd: this.userPassword
};
let data = await api.login(opts);
@@ -122,7 +122,7 @@
"login_admin",
JSON.stringify({
phone: this.userName,
- userPassword: this.userPassword,
+ userPassword: this.userPassword
})
);
} else {
@@ -135,7 +135,8 @@
Notify({ type: "success", message: this.$t("hj36") });
setTimeout(() => {
- this.$router.push("/home");
+ // this.$router.push("/home");
+ this.$router.push("/home_index");
}, 1000);
} else {
Notify({ type: "warning", message: data.msg });
@@ -144,14 +145,15 @@
// 支持
navigator.vibrate([55]);
}
- },
+ }
},
beforeDestroy() {},
- created() {},
+ created() {}
};
</script>
<style scoped lang="less">
+@green: #c4d600;
.password-operate {
display: flex;
justify-content: space-between;
@@ -163,6 +165,11 @@
line-height: 0.53333rem;
color: #8c9fad;
}
+}
+
+/deep/ .van-checkbox__icon--checked .van-icon {
+ background: @green;
+ border-color: @green;
}
.register {
@@ -236,7 +243,7 @@
.password {
width: 100%;
height: 50px;
- background: rgb(246, 246, 247);
+ background: #fff;
// background: #1e1e1e;
border-radius: 0.3564rem;
@@ -252,11 +259,11 @@
/deep/.el-input__inner {
width: 100%;
height: 70px;
- background-color: rgb(246, 246, 247) !important;
+ background-color: #fff !important;
// background: #1e1e1e;
border-radius: 8px;
font-size: 0.45rem !important;
- border: none;
+ border: #ddd solid 1px;
}
.bottom_btns {
@@ -268,13 +275,15 @@
margin-top: 40px;
height: 60px;
border-radius: 8px;
+ background: @green;
+ border: none;
}
.top_btn {
border: none;
width: 100%;
height: 1.25rem;
border-radius: 8px;
- background: #0066ed;
+ background: @green;
color: #fff;
display: flex;
align-items: center;
@@ -422,7 +431,7 @@
}
.on .top_btn {
- background: #2d8cf0 !important;
+ background: @green !important;
}
/deep/.el-icon-circle-close::before {
--
Gitblit v1.9.3