css格式无法对齐

在这里插入图片描述
格式无法对其.
解决方法:
在这里插入图片描述
加入标签。

        <el-form class="lg-form-model-account" label-width="80px" ref="user" :model="user" :rules="rules" >
<!--            <div id="lg-form-model-account" >-->
                <el-form-item prop="name" label=""  >
                    <el-input id="id1" class="input" v-model="user.name" placeholder="邮箱" prop></el-input>
                </el-form-item>

                <el-form-item prop="password" label="" >
                    <el-input id="psw1" class="input" v-model="user.password" placeholder="密码" type="password"
                              style="margin-bottom: 35px;margin-top: 15px"></el-input>
                </el-form-item>


                <!--        选择身份:学生(1)或者老师(else)-->
                <el-select id="psw2" v-model="identityValue" placeholder="请选择身份(默认为学生)"
                           style="width:100%;margin-bottom: 0px;margin-top: 0px">
                    <el-option
                            v-for="item in options"
                            :key="item.value"
                            :label="item.label"
                            :value="item.value">
                    </el-option>
                </el-select>


            <el-button type="text" id="lg-forget"  >忘记密码?</el-button>

            <el-button type="primary" :loading="loading" id="lg-login" class="lg-bt" @click="submitLogin">登录</el-button>
            <br/>
            <el-button id="lg-go-register" type="text" @click="ToRegister">去注册</el-button>
            <el-button id="lg-no-account" type="text">还没有账号?</el-button>

        </el-form>
.lg-form-model-account >>> .el-form-item__content {
        margin-left:0px !important;
    }

本人建议,可用使用搜狐浏览器,进行调试。
在这里插入图片描述

人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家。点击跳转到网站
https://www.captainai.net/shuai

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

汪程序猿

就当请我吃顿饭

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值