Commit f6233d0f711650deac2feed034715a2b74e36982

Authored by 谭毅彬
1 parent 3c060699

首页头样式优化

Signed-off-by: TanYibin <5491541@qq.com>
ant-design-vue-jeecg/src/components/page/GlobalHeader.vue
... ... @@ -17,7 +17,7 @@
17 17 :type="collapsed ? 'menu-unfold' : 'menu-fold'"
18 18 @click="toggle"/>
19 19  
20   - <span v-if="device === 'desktop'">欢迎进入 华恒仓储管理系统</span>
  20 + <span style="height:59;line-height:59px;" v-if="device === 'desktop'">欢迎进入 华恒仓储管理系统</span>
21 21 <span v-else>华恒仓储管理系统</span>
22 22  
23 23 <user-menu :theme="theme"/>
... ... @@ -189,8 +189,8 @@ export default {
189 189 }
190 190  
191 191 .trigger {
192   - line-height: 64px;
193   -
  192 + height: 59px;
  193 + line-height: 59px;
194 194 &:hover {
195 195 background: rgba(0, 0, 0, 0.05);
196 196 }
... ...
ant-design-vue-jeecg/src/components/page/GlobalLayout.vue
... ... @@ -260,7 +260,7 @@ body {
260 260  
261 261 .trigger {
262 262 font-size: 22px;
263   - line-height: 42px;
  263 + line-height: 59px;
264 264 padding: 0 18px;
265 265 cursor: pointer;
266 266 transition: color 300ms, background 300ms;
... ... @@ -342,8 +342,8 @@ body {
342 342 display: inline-block;
343 343 transition: all .3s;
344 344  
345   - height: 70%;
346   - line-height: 46px;
  345 + height: 59px;
  346 + line-height: 59px;
347 347  
348 348 &.action-full {
349 349 height: 100%;
... ...
ant-design-vue-jeecg/src/components/tools/UserMenu.vue
... ... @@ -36,7 +36,7 @@
36 36 <header-notice class="action"/>
37 37 <a-dropdown>
38 38 <span class="action action-full ant-dropdown-link user-dropdown-menu">
39   - <a-avatar class="avatar" size="small" :src="getAvatar()"/>
  39 + <!-- <a-avatar class="avatar" size="small" :src="getAvatar()"/> -->
40 40 <span v-if="isDesktop()">欢迎您,{{ nickname() }}</span>
41 41 </span>
42 42 <a-menu slot="overlay" class="user-dropdown-menu-wrapper">
... ...