瀏覽代碼

固定头部高度

11wqe1 6 天之前
父節點
當前提交
79bc3bcc2d
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 1 1
      src/views/appStoreCopy/components/userInfoPage.vue
  2. 2 1
      src/views/appStoreCopy/index.vue

+ 1 - 1
src/views/appStoreCopy/components/userInfoPage.vue

@@ -104,7 +104,7 @@ import { loginOut } from '@/api/user'
     font-weight: 600;
     font-size: 15px;
     line-height: 20px;
-
+    flex-shrink: 0;
   img{
     position: absolute;top: 50%;left: 10px;transform: translate(0,-50%);
     width: 23px;

+ 2 - 1
src/views/appStoreCopy/index.vue

@@ -554,9 +554,10 @@ export default {
   justify-content: space-between;
   width: 100%;
   align-items: center;
-  height: 80px;
+  height: 50px;
   padding: 0px 12px;
   box-sizing: border-box;
+  flex-shrink: 0;
 }
 .bodyCon {
   height: 100%;