qingyiay
2023-08-29 c46feb89edb62a764e46084e4a6a0e2e00cb5dfd
注册页面调整字体大小
3个文件已修改
55 ■■■■■ 已修改文件
pages/login/index.scss 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/login/userPassword.vue 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/register/register.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/login/index.scss
@@ -4,9 +4,7 @@
    justify-content: center;
    background: url(../../static/custom/login/login-bg.png) no-repeat left top;
    background-size: 100% auto;
}
.list {
    marigin-top:vww(20);
pages/login/userPassword.vue
@@ -2,29 +2,29 @@
    <view>
        <view class="list">
            <view class="list-call">
                <u--input
                    v-model="username"
                <u--input v-model="username"
                    clearable
                    maxlength="32"
                    type="text"
                    placeholder="请输入手机号"
                    prefixIcon="account"
                    prefixIconStyle="font-size: 22px;color: #909399"
                ></u--input>
                    fontSize='40'
                    prefixIconStyle="font-size: 25px;color: #909399"></u--input>
            </view>
            <view class="list-call">
                <u--input
                    v-model="password"
                <u--input v-model="password"
                    clearable
                    maxlength="32"
                    type="password"
                    placeholder="请输入密码"
                    prefixIcon="lock"
                    prefixIconStyle="font-size: 22px;color: #909399"
                ></u--input>
                    fontSize='40'
                    prefixIconStyle="font-size: 25px;color: #909399"></u--input>
            </view>
        </view>
        <view class="loginBtn"><u-button type="primary" :text="btnText == 1 ? '绑定' : '登录'" @click="submit()"></u-button></view>
        <view class="loginBtn"><u-button type="primary"
                :text="btnText == 1 ? '绑定' : '登录'"
                @click="submit()"></u-button></view>
    </view>
</template>
@@ -115,7 +115,8 @@
                            }
                        });
                        if (uni.getStorageSync('bindcode')) {
                            this.$reqPost('wxBind', { state: 'MINI', code: uni.getStorageSync('bindcode') }, 'params').then(res => {
                                this.$reqPost('wxBind', { state: 'MINI', code: uni.getStorageSync('bindcode') },
                                    'params').then(res => {
                                uni.hideLoading();
                                if (res.code == 0) {
                                    this.$u.toast('绑定成功!即将回到登录页!');
@@ -137,9 +138,18 @@
};
</script>
<style lang="scss">
<style lang="scss"
    scoped>
@import 'index.scss';
.dengluBtn {
    margin-top: 80rpx;
}
    /deep/.loginBtn {
        .u-button {
            font-size: 40rpx !important;
            letter-spacing: 10rpx;
        }
    }
</style>
pages/register/register.vue
@@ -3,8 +3,9 @@
        <view class="registerForm">
            <u--form :rules="rules"
                :model="registerFormModel"
                ref="regesterFormRef">
                <u-form-item labelWidth="20%"
                ref="regesterFormRef"
                :labelStyle="labelStyle">
                <u-form-item labelWidth="30%"
                    label="选择身份"
                    borderBottom
                    ref="roleRef"
@@ -32,6 +33,7 @@
                    required>
                    <u--input v-model="registerFormModel.name"
                        placeholder="请输入内容"
                        fontSize='40'
                        clearable></u--input>
                </u-form-item>
                <u-form-item prop="idCard"
@@ -41,6 +43,7 @@
                    required>
                    <u--input v-model="registerFormModel.idCard"
                        placeholder="请输入内容"
                        fontSize='40'
                        clearable></u--input>
                </u-form-item>
                <u-form-item prop="phone"
@@ -49,6 +52,7 @@
                    borderBottom
                    required>
                    <u--input v-model="registerFormModel.phone"
                        fontSize='40'
                        placeholder="请输入内容"
                        clearable></u--input>
                </u-form-item>
@@ -59,16 +63,18 @@
                    required>
                    <u--input v-model="registerFormModel.password"
                        placeholder="请输入内容"
                        fontSize='40'
                        password
                        clearable></u--input>
                </u-form-item>
                <u-form-item prop="confirmPassword"
                    label="确认密码"
                    labelWidth="20%"
                    labelWidth="30%"
                    borderBottom
                    required>
                    <u--input v-model="registerFormModel.confirmPassword"
                        placeholder="请输入内容"
                        fontSize='40'
                        password
                        clearable
                        @blur="jiaoYanPassword"></u--input>
@@ -81,9 +87,10 @@
                    required>
                    <u--input v-model="registerFormModel.carNo"
                        placeholder="请输入内容"
                        fontSize='40'
                        clearable></u--input>
                </u-form-item>
                <u-form-item labelWidth="20%"
                <u-form-item labelWidth="30%"
                    label="车牌颜色"
                    borderBottom
                    v-if="radiovalue1 == '司机'"
@@ -161,10 +168,11 @@
                    </u-upload>
                </u-form-item>
                <u-form-item label="推荐人账号"
                    labelWidth="25%"
                    labelWidth="30%"
                    borderBottom>
                    <u--input v-model="registerFormModel.tuiJianMa"
                        placeholder="请输入内容"
                        fontSize='40'
                        clearable></u--input>
                </u-form-item>
            </u--form>
@@ -219,6 +227,9 @@
        },
        data() {
            return {
                labelStyle: {
                    fontSize: '36rpx'
                },
                // 车牌号键盘控制
                carNumShow: false,
                keyValue: '',