From e1aa0ecffbabd618c71e4ad94370fb8dffe6ee1c Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期日, 21 一月 2024 20:54:49 +0800 Subject: [PATCH] 优化 --- src/views/systemSetting/baseSetting/department/updateUser/index.vue | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/views/systemSetting/baseSetting/department/updateUser/index.vue b/src/views/systemSetting/baseSetting/department/updateUser/index.vue index 82bd250..17e8f24 100644 --- a/src/views/systemSetting/baseSetting/department/updateUser/index.vue +++ b/src/views/systemSetting/baseSetting/department/updateUser/index.vue @@ -33,7 +33,7 @@ item.leader ? 'leader' : '', ]"></i> </div> - <label style="font-size: 12px" :class="[item.leader ? 'leader' : '']">{{ item.username }}</label> + <label style="font-size: 12px" :class="[item.leader ? 'leader' : 'theMasses']">{{ item.username }}</label> </div> </li> <li class="li-btn" v-if="updateFlag"> @@ -50,7 +50,7 @@ <el-card class="box-card"> <div slot="header" class="myclear"> <span>宸ヤ綔浜哄憳</span> - <div @click="addUser">纭</div> + <div class="department-sub" @click="addUser">纭</div> </div> <div class="scrollWrap"> <el-checkbox-group v-model="checkedUser"> @@ -225,7 +225,7 @@ } }); }); - this.checkedList[0].leader = true; + // this.checkedList[0].leader = true; console.log(this.checkedList); this.openUser = false; }, @@ -370,6 +370,11 @@ color: #4b9bb7; display: flex; justify-content: space-between; + .department-sub{ + cursor: pointer; + margin-left: 5px; + color: #2f54eb; + } } .hidebar { @@ -390,7 +395,9 @@ .leader { color: red; } - +.theMasses{ + color: #2f54eb; +} .el-input { width: 280px !important; } -- Gitblit v1.8.0