From d859a41bbb1cb5110a34f4147e0d934f3f6842ea Mon Sep 17 00:00:00 2001 From: daihh Date: Wed, 28 Sep 2022 11:44:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=AA=E4=BA=BA=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E7=9A=84top=E5=AF=BC=E8=88=AA=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PortalHeader.vue | 39 +++++++------- src/layout/components/TopNav/Index.vue | 73 ++++++++++++++++---------- 2 files changed, 66 insertions(+), 46 deletions(-) diff --git a/src/components/PortalHeader.vue b/src/components/PortalHeader.vue index f826f43d..8ec44ace 100644 --- a/src/components/PortalHeader.vue +++ b/src/components/PortalHeader.vue @@ -151,6 +151,7 @@ export default { }, data() { return { + fileBaseUrl: process.env.VUE_APP_FILE_BASE_URL, findType: '1', keyword: '', isTiao: false, @@ -304,7 +305,7 @@ export default { } .portal-top{ width: 100%; - margin: 0px 30px; + margin: 0px 40px; display: flex; justify-content:space-between; .portal-top-left{ @@ -332,7 +333,7 @@ export default { justify-content: flex-end; align-items: center; margin-left: 10px; - + .person-action-index{ //margin-left: 40px; font-size: 14px; @@ -372,6 +373,8 @@ export default { position: relative; } +//此处理应该移到单独的一个样式中比较好 + @media screen and (max-width: 1366px){ .top-nav { padding: 0px 10px; @@ -439,22 +442,22 @@ export default { cursor: pointer; color: #000000; } - .uavatar{ - div{ - border-radius: 50%; - img{ - border-radius: 50%; - width: 30px; - height: 30px; - } - } - width: 30px; - height: 30px; - line-height: 30px; - font-size: 14px; - margin-right: 8px; - border-radius: 50%; - } + // .uavatar{ + // div{ + // border-radius: 50%; + // img{ + // border-radius: 50%; + // width: 30px; + // height: 30px; + // } + // } + // width: 30px; + // height: 30px; + // line-height: 30px; + // font-size: 14px; + // margin-right: 8px; + // border-radius: 50%; + // } .user-avatar{ display: inline-block; border-radius: 50%; diff --git a/src/layout/components/TopNav/Index.vue b/src/layout/components/TopNav/Index.vue index 54c6dc3e..a116db25 100644 --- a/src/layout/components/TopNav/Index.vue +++ b/src/layout/components/TopNav/Index.vue @@ -1,18 +1,17 @@