From 17efddc6a667670dca682bf36b51a43e99615e6d Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 16 十月 2024 15:59:38 +0800
Subject: [PATCH] 代码初始化
---
h5/pages/staffLogin/login.vue | 25 +++++++++++++++----------
1 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/h5/pages/staffLogin/login.vue b/h5/pages/staffLogin/login.vue
index 5d9f5b7..a0a5506 100644
--- a/h5/pages/staffLogin/login.vue
+++ b/h5/pages/staffLogin/login.vue
@@ -34,7 +34,7 @@
<image
@click="changeFalg"
v-if="ProtocolFlag"
- src="@/static/meeting/icon/ic_choose_sel@2x.png"
+ src="@/static/checkbox_sel@2x.png"
mode="widthFix"
class="checked"
></image>
@@ -71,11 +71,12 @@
data() {
return {
form: {
- account: '',
- password: '',
+ username: '18056814089',
+ password: '123456',
+ code: 1
},
isShowProtocol: false,
- ProtocolFlag: false,
+ ProtocolFlag: true,
captcha: {},
htmlText: ''
}
@@ -84,7 +85,12 @@
onLoad() {
this.initCaptcha()
},
-
+ onBackPress(options) {
+ uni.redirectTo({
+ url: '/pages/login/login'
+ })
+ return true
+ },
methods: {
...mapMutations(["setToken", "setUserInfo"]),
changeFalg() {
@@ -151,7 +157,7 @@
width: 100%;
height: 100vh;
display: flex;
- padding-top: 160rpx;
+ padding-top: 130rpx;
box-sizing: border-box;
align-items: center;
flex-direction: column;
@@ -218,7 +224,6 @@
margin-top: 60rpx;
.for_psd {
color: $uni-color-primary;
- margin-top: 40rpx;
width: 140rpx;
text-align: center;
margin: 40rpx auto;
@@ -231,7 +236,7 @@
display: flex;
align-items: center;
justify-content: center;
- font-weight: 500;
+ font-weight: 600;
font-size: 32rpx;
color: #ffffff;
border-radius: 50rpx;
@@ -242,14 +247,14 @@
width: 100%;
left: 0;
text-align: center;
- bottom: 108rpx;
+ bottom: 88rpx;
display: flex;
justify-content: center;
align-items: center;
.deal {
color: $uni-color-primary;
}
- .checked{
+ .checked {
width: 48rpx;
margin-right: 12rpx;
}
--
Gitblit v1.9.3