From 36b71142347dc524e18fa24c5ffdffff0d02287a Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期二, 02 二月 2021 18:56:28 +0800 Subject: [PATCH] 优化列表、回到顶部组件、优化样式 --- 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