登录界面调整
This commit is contained in:
parent
80146b2d75
commit
be3dfbf46e
@ -3,7 +3,7 @@
|
||||
<view class="aircraft-login">
|
||||
<lwTopnav :isShow="true" />
|
||||
<view class="login-title">
|
||||
登录
|
||||
{{ currentLoginType ? '飞行员' : '用户' }}登录
|
||||
</view>
|
||||
<view class="login-logo">
|
||||
<u-icon :name="logo" size="140" label="爱尚云" label-pos="bottom"
|
||||
@ -11,7 +11,7 @@
|
||||
:custom-style="{fontFamily: 'Roboto',fontWeight: 600}"/>
|
||||
</view>
|
||||
<view class="login-form">
|
||||
<u-input v-model="loginForm.username" :height="98" placeholder="请输入账号"
|
||||
<u-input v-model="loginForm.username" :height="98" :placeholder="`请输入${ currentLoginType ? '飞行员' : '用户'}账号`"
|
||||
placeholder-style="color: #6B7280;font-size:28rpx;font-family: Roboto;" trim
|
||||
:custom-style="{color:'#1F2937',borderRadius: '14rpx',padding: '28rpx 20rpx 28rpx 70rpx'}" />
|
||||
<u-input v-model.number="loginForm.password" :height="98" placeholder="请输入密码"
|
||||
@ -25,12 +25,15 @@
|
||||
<u-button :disabled="isDisable" :loading="loading" :hair-line="false"
|
||||
:custom-style="{borderRadius: '8rpx',background: '#2563EB',
|
||||
color:'#FFFFFF',fontWeight: '500',fontSize:'32rpx',fontFamily:'Roboto',
|
||||
padding:'28rpx 0',marginTop:'42rpx',opacity: isDisable ? 0.6 : 1}"
|
||||
padding:'40rpx 0',marginTop:'42rpx',opacity: isDisable ? 0.6 : 1}"
|
||||
>登 录</u-button>
|
||||
<view class="login-form-change" @click="currentLoginType=(currentLoginType+1)%2">
|
||||
切换至{{ currentLoginType ? '用户' : '飞行员' }}登录
|
||||
</view>
|
||||
</view>
|
||||
<view class="login-copyright">
|
||||
<!-- <view class="login-copyright">
|
||||
© 2025 爱尚云 版权所有
|
||||
</view>
|
||||
</view> -->
|
||||
<u-toast ref="uToast"></u-toast>
|
||||
<DotLoading :show="dotLoading" />
|
||||
</view>
|
||||
@ -55,6 +58,7 @@ export default {
|
||||
StatusBar: this.StatusBar || 0,
|
||||
CustomBarHeight: this.Custom.height+(this.Custom.top-this.StatusBar)*2 || 0,
|
||||
// #endif
|
||||
currentLoginType: 0,//当前登录方式-1飞行员、0用户
|
||||
logo: '/static/logo.png',// logo图标
|
||||
loading: true,// 加载
|
||||
// 登录表单
|
||||
@ -225,6 +229,13 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
&-change{
|
||||
margin-top: 42rpx;
|
||||
color: #6B7280;
|
||||
font-family: Roboto;
|
||||
font-size: 26rpx;
|
||||
text-align: center;
|
||||
}
|
||||
&::v-deep .u-checkbox__icon-wrap{
|
||||
margin-right: 14rpx;
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
"versionName" : "1.5.0",
|
||||
"versionCode" : "100",
|
||||
"transformPx" : false,
|
||||
"sassImplementationName": "node-sass",
|
||||
"sassImplementationName" : "node-sass",
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
"safearea" : {
|
||||
@ -102,7 +102,7 @@
|
||||
"quickapp" : {},
|
||||
/* 小程序特有相关 */
|
||||
"mp-weixin" : {
|
||||
"appid" : "wxb2b26092ee7ab2e0",
|
||||
"appid" : "wx95b33a028ca4950b",
|
||||
"setting" : {
|
||||
"urlCheck" : false,
|
||||
"es6" : true,
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 26 KiB |
BIN
static/logo.png
BIN
static/logo.png
Binary file not shown.
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Loading…
Reference in New Issue
Block a user