From 546863eae7d337d47260d63a4b3733f7313ce52d Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期一, 16 十月 2023 15:30:20 +0800
Subject: [PATCH] 登录页调整样式 增加重置密码
---
pages/login/login.vue | 50 ++++++++++++++++++++------------------------------
1 files changed, 20 insertions(+), 30 deletions(-)
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 53ea34c..276b76e 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -12,13 +12,11 @@
type="primary"
text="寰俊涓�閿櫥褰�"></u-button>
</view>
- <!-- <view class="loginBtn">
- <u-button @click.stop="jumpBindBack"
- type="primary"
- text="涓�閿粦瀹氭祴璇�"></u-button>
- </view> -->
- <view class="register"
- @click="PrivacyAgreementHandle"><text>娉ㄥ唽</text></view>
+ <view class="utils-block">
+ <view @click="forgetPassword"><text>蹇樿瀵嗙爜?</text></view>
+ <view @click="PrivacyAgreementHandle"><text>鏂扮敤鎴锋敞鍐�</text></view>
+ </view>
+
<view class="login-bottom-box">
<view class="copyright">鍐�涓兘婧愭棤浜哄�煎畧寰俊灏忕▼搴�</view>
<view class="copyright">灏忕▼搴忎粎渚涘凡鎷ユ湁绯荤粺璐﹀彿鐗瑰畾鍐呴儴浜哄憳浣跨敤</view>
@@ -141,9 +139,7 @@
this.setUserTabbar(res.data.type);
uni.setStorageSync('roleType', res.data.type);
uni.setStorageSync("userId", res.data.userId)
- if (res.data.carNo) {
- uni.setStorageSync("carNo", res.data.carNo)
- }
+ uni.setStorageSync("carNo", res.data.carNo)
setCustomerId(res.data.customerid);
uni.hideLoading();
//璺宠浆椤甸潰
@@ -175,6 +171,11 @@
openPopup() {
console.log('鎵撳紑浜�');
},
+ forgetPassword() {
+ uni.navigateTo({
+ url: '/pages/login/forgetPassword/forgetPassword'
+ })
+ },
PrivacyAgreementHandle() {
uni.navigateTo({
url: '/pages/login/PrivacyAgreementText/PrivacyAgreementText'
@@ -192,26 +193,6 @@
}
.login {
- // height: 100vh;
- // display: flex;
- // align-items: center;
-
- // .loginBtn {
- // margin: 0 auto;
- // width: 80%;
-
- // .u-button {
- // .u-icon {
- // .u-icon__icon {
- // font-size: vww(20) !important;
- // }
- // }
- // }
-
- // .u-button--success {
- // border-style: none;
- // }
- // }
.loginBtn {
margin-top: vww(20);
@@ -220,6 +201,15 @@
}
}
+ .utils-block {
+ width: 80%;
+ margin: vww(20) auto;
+ display: flex;
+ justify-content: space-between;
+ color: #497bff;
+ font-size: vww(17);
+ }
+
.logo {
width: 80%;
font-size: 64rpx;
--
Gitblit v1.9.1