2ffb4bd1 by xukangle

Merge branch 'dev_20241202_xukangle' into develop

2 parents c30efebc 812c50ea
...@@ -52,20 +52,21 @@ onMounted(() => { ...@@ -52,20 +52,21 @@ onMounted(() => {
52 </div> --> 52 </div> -->
53 <el-dropdown class="user-container" size="default" @command="userCommand"> 53 <el-dropdown class="user-container" size="default" @command="userCommand">
54 <div class="user-wrapper"> 54 <div class="user-wrapper">
55
56 <div class="v-uerinfo">
57 <div class="v-top">{{ userStore.userName }}</div>
58 <div class="v-top"> {{ JSON.parse(loaclStorageInfo).abbreviation }}</div>
59 </div>
55 <el-avatar size="small"> 60 <el-avatar size="small">
56 <el-icon> 61 <el-icon>
57 <svg-icon name="ep:user-filled" /> 62 <svg-icon name="ep:user-filled" />
58 </el-icon> 63 </el-icon>
59 </el-avatar> 64 </el-avatar>
60 <div class="v-uerinfo"> 65 <!-- <div>
61 <div class="v-top">{{ userStore.userName }}</div>
62 <div class="v-top"> {{ JSON.parse(loaclStorageInfo).abbreviation }}</div>
63 </div>
64 <div>
65 <el-icon> 66 <el-icon>
66 <svg-icon name="ep:caret-bottom" /> 67 <svg-icon name="ep:caret-bottom" />
67 </el-icon> 68 </el-icon>
68 </div> 69 </div> -->
69 </div> 70 </div>
70 <template #dropdown> 71 <template #dropdown>
71 <el-dropdown-menu class="user-dropdown"> 72 <el-dropdown-menu class="user-dropdown">
...@@ -87,8 +88,20 @@ onMounted(() => { ...@@ -87,8 +88,20 @@ onMounted(() => {
87 .tools { 88 .tools {
88 display: flex; 89 display: flex;
89 align-items: center; 90 align-items: center;
90 padding: 0 20px; 91 padding: 0 10px !important;
91 white-space: nowrap; 92 white-space: nowrap;
93 position: relative;
94 margin-left: 16px;
95
96 &::before {
97 content: '';
98 height: 35px;
99 border-left: 1px solid #fff;
100 position: absolute;
101 top: 50%;
102 left: -1px;
103 transform: translateY(-50%);
104 }
92 105
93 .buttons { 106 .buttons {
94 margin-right: 20px; 107 margin-right: 20px;
...@@ -160,10 +173,14 @@ onMounted(() => { ...@@ -160,10 +173,14 @@ onMounted(() => {
160 display: flex; 173 display: flex;
161 flex-direction: column; 174 flex-direction: column;
162 font-size: 12px; 175 font-size: 12px;
176 margin-right: 6px;
177
163 178
164 .v-top { 179 .v-top {
165 height: 18px; 180 height: 18px;
166 line-height: 18px; 181 line-height: 18px;
182 text-align: right;
183 max-width: 120px;
167 } 184 }
168 } 185 }
169 186
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!