feat: 调整登录页样式

This commit is contained in:
yangzhe 2025-07-14 10:04:07 +08:00
parent 3ba1e3e0e7
commit bea50fa504
1 changed files with 15 additions and 16 deletions

View File

@ -37,14 +37,14 @@
<view class="form-content">
<view class="form-item">
<text class="form-label"
<view class="form-label"
><image
class="image_icon"
src="/static/common/images/icon_phoneNumber.png"
mode="scaleToFill"
/>
手机号</text
>
<text>手机号</text>
</view>
<view class="input-wrapper">
<input
type="number"
@ -59,13 +59,14 @@
</view>
<view class="form-item" v-if="isTeacher && loginType === 'psd'">
<text class="form-label"
<view class="form-label"
><image
class="image_icon"
src="/static/common/images/icon_password.png"
mode="scaleToFill"
/></text
>
/>
<text>密码</text>
</view>
<view class="input-wrapper">
<input
type="text"
@ -81,14 +82,14 @@
</view>
<view class="form-item" v-if="loginType === 'code'">
<text class="form-label">
<view class="form-label">
<image
class="image_icon"
src="/static/common/images/icon_verificationCode.png"
mode="scaleToFill"
/>
图形验证码</text
>
<text>图形验证码</text>
</view>
<view class="input-wrapper">
<input
type="text"
@ -111,14 +112,14 @@
</view>
<view class="form-item" v-if="loginType === 'code'">
<text class="form-label">
<view class="form-label">
<image
class="image_icon"
src="/static/common/images/icon_verificationCode.png"
mode="scaleToFill"
/>
验证码</text
>
<text>验证码</text>
</view>
<view class="input-wrapper">
<input
type="text"
@ -556,9 +557,8 @@ export default {
margin-bottom: 32rpx;
.form-label {
display: block;
position: relative;
// padding-left: 30rpx;
display: flex;
align-items: center;
font-family: PingFang SC;
font-size: 28rpx;
color: #333333;
@ -568,7 +568,6 @@ export default {
.image_icon {
width: 28rpx;
height: 28rpx;
vertical-align: text-top;
margin-right: 16rpx;
}