From d9cc69690e5c3ea805e8ff642a1839e0333c9b8f Mon Sep 17 00:00:00 2001 From: children117cl <278950112@qq.com> Date: 星期五, 25 六月 2021 12:42:14 +0800 Subject: [PATCH] 登录页密码限制文案修复;新增管理员限制密码长度5-20;管理员列表修复帐号类型显示 --- src/pages/system/roleEdit.vue | 29 +++++++++++++++-------------- 1 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/pages/system/roleEdit.vue b/src/pages/system/roleEdit.vue index 0b905c1..0037ce2 100644 --- a/src/pages/system/roleEdit.vue +++ b/src/pages/system/roleEdit.vue @@ -1,8 +1,9 @@ <template> <div class="app-container"> - <el-form ref="roleAddForm" label-position="left" :model="mData" label-width="150px" :rules="rules"> + <el-page-header class="mb20" @back="jumpBack" /> + <el-form ref="roleAddForm" label-position="left" :model="mData" label-width="150px" :rules="rules" size="small"> <el-form-item label="瑙掕壊鍚嶇О锛�" prop="name"> - <el-input v-model="mData.name" placeholder="璇疯緭鍏ュ悕绉�" class="com-edit-input" /> + <el-input v-model="mData.name" placeholder="璇疯緭鍏ュ悕绉�" maxlength="50" class="com-edit-input" /> </el-form-item> <el-form-item label="鏄惁鍚敤锛�"> <el-switch v-model="mData.isUse" :active-value="1" :inactive-value="0" /> @@ -265,23 +266,23 @@ box-sizing: content-box; } - &:hover{ - .name { - background: #999; - } - .el-icon-check{ - color: #999; - } - } + // &:hover{ + // .name { + // background: #999; + // } + // .el-icon-check{ + // color: #999; + // } + // } } .active, .active:hover{ .name{ - // background: $blue; - background: #999; + background: #409EFF; + // background: #999; } .el-icon-check{ - // color: $blue; - color: #999; + color: #409EFF; + // color: #999; } } } -- Gitblit v1.8.0