소스 검색

优化样式

weixin_52219567 4 일 전
부모
커밋
2e385362fa
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/layout/components/nav.vue

+ 3 - 0
src/layout/components/nav.vue

@@ -121,6 +121,7 @@ const leaveClassify = () => {
     display: flex;
     position: relative;
     padding-top: 15px;
+    justify-content: center;
 
     .nav-all {
       width: 234px;
@@ -130,6 +131,8 @@ const leaveClassify = () => {
       font-size: 15px;
       color: #ffffff;
       cursor: pointer;
+      position: absolute;
+      left: 0;
 
       img {
         height: 16px;