| | |
| | | }}<span |
| | | @click="$router.push('/register')" |
| | | data-v-8cc76a7b="" |
| | | style="color: rgb(5, 106, 239)" |
| | | style="color:#c4d600" |
| | | >{{ $t("免費註冊") }}</span |
| | | > |
| | | </div> |
| | |
| | | userPassword: "", |
| | | userName: "", |
| | | btnClass: false, |
| | | medium: "medium", |
| | | medium: "medium" |
| | | }; |
| | | }, |
| | | components: { |
| | | headers, |
| | | headers |
| | | }, |
| | | mounted() { |
| | | const ret = window.localStorage.getItem("login_admin"); |
| | |
| | | async loginIN() { |
| | | let opts = { |
| | | phone: this.userName, |
| | | userPwd: this.userPassword, |
| | | userPwd: this.userPassword |
| | | }; |
| | | let data = await api.login(opts); |
| | | |
| | |
| | | "login_admin", |
| | | JSON.stringify({ |
| | | phone: this.userName, |
| | | userPassword: this.userPassword, |
| | | userPassword: this.userPassword |
| | | }) |
| | | ); |
| | | } else { |
| | |
| | | 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 }); |
| | |
| | | // 支持 |
| | | navigator.vibrate([55]); |
| | | } |
| | | }, |
| | | } |
| | | }, |
| | | beforeDestroy() {}, |
| | | created() {}, |
| | | created() {} |
| | | }; |
| | | </script> |
| | | |
| | | <style scoped lang="less"> |
| | | @green: #c4d600; |
| | | .password-operate { |
| | | display: flex; |
| | | justify-content: space-between; |
| | |
| | | line-height: 0.53333rem; |
| | | color: #8c9fad; |
| | | } |
| | | } |
| | | |
| | | /deep/ .van-checkbox__icon--checked .van-icon { |
| | | background: @green; |
| | | border-color: @green; |
| | | } |
| | | |
| | | .register { |
| | |
| | | .password { |
| | | width: 100%; |
| | | height: 50px; |
| | | background: rgb(246, 246, 247); |
| | | background: #fff; |
| | | // background: #1e1e1e; |
| | | border-radius: 0.3564rem; |
| | | |
| | |
| | | /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 { |
| | |
| | | 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; |
| | |
| | | } |
| | | |
| | | .on .top_btn { |
| | | background: #2d8cf0 !important; |
| | | background: @green !important; |
| | | } |
| | | |
| | | /deep/.el-icon-circle-close::before { |