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 @@