热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

vue登录页面填坑

 上边的导航头,会显示在登陆页面上,暂时的解决办法实:<template><divstyle"position:fixed;top:0px;left:0px;height:100%;width:100%;background-color:#1F2D3D;z-index:100&

 

vue 登录页面填坑

vue 登录页面填坑上边的导航头,会显示在登陆页面上,暂时的解决办法实:

<template>
    <div style="position: fixed; top:0px; left:0px;height:100%;width:100%; background-color: #1F2D3D; z-index:100">
    <el-form :model="ruleForm2" :rules="rules2" ref="ruleForm2" label-position="left" label-width="0px" class="demo-ruleForm card-box loginform">
        <h3 class="title">系统登录h3>
        <el-form-item prop="username">
            <el-input type="text" v-model="ruleForm2.username" auto-complete="off" placeholder="账号">el-input>
        el-form-item>
        <el-form-item prop="pwd">
            <el-input type="password" v-model="ruleForm2.pwd" auto-complete="off" placeholder="密码">el-input>
        el-form-item>
        <el-checkbox v-model="checked" checked style="margin:0px 0px 35px 0px;">记住密码el-checkbox>
        <el-form-item style="width:100%;">
            <el-button type="primary" style="width:100%;" @click.native.prevent="handleSubmit2">登录el-button>
            
        el-form-item>
    el-form>
    div>
template>

vue 登录页面填坑

就是图中的style 样式。


推荐阅读
author-avatar
HoerenRegen
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有