Kaynağa Gözat

导航栏logo大小调整

Xiao_123 1 ay önce
ebeveyn
işleme
8fb675f0a2
2 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 3 3
      components/Navbar/index.vue
  2. 1 1
      pages/index/position.vue

+ 3 - 3
components/Navbar/index.vue

@@ -10,7 +10,7 @@
     <view class="navbar-box" :style="{'paddingTop': statusBarHeight + 'px', 'height': height ? (height - statusBarHeight) + 'px' : '100%'}">
       <image 
         v-if="showLogo" 
-        src="https://minio.menduner.com/dev/fe9890be9b1176f84f2aa282b0f6adce300b133f65eb3d7b45ae057aa5698324.png" 
+        src="https://minio.menduner.com/dev/8ddece1d3a3203164f57a5126b31464565be6858eb5d3af776ce3ac2512ad30c.png" 
         class="navbar-box-logo" 
         :style="{'height': defaultLogoHeight + 'px'}"
       ></image>
@@ -55,7 +55,7 @@ defineProps({
   }
 })
 
-const defaultLogoHeight = 40
+const defaultLogoHeight = 33
 const navbarHeight = ref(0)
 const statusBarHeight = ref(0)
 const height = ref(0)
@@ -140,7 +140,7 @@ const goBack = () => {
     &-logo {
       position: absolute;
       left: 10px;
-      width: 95px;
+      width: 156.85rpx;
     }
   }
 }

+ 1 - 1
pages/index/position.vue

@@ -5,7 +5,7 @@
       <scroll-view class="scrollBox" :scroll-y="true" :scroll-top="scrollTop" @scrolltolower="loadingMore" @scroll="onScroll" style="position:relative;">
         <view>
           <view class="commonBackground">
-            <SwiperAd v-if="swiperAdList.length" margin="0 10px 10px 10px" padding="10px 0 0 0" :list="swiperAdList" imgUrlKey="img" :strType="false" @click="handleToDetails"></SwiperAd>
+            <SwiperAd v-if="swiperAdList.length" margin="0 10px 10px 10px" :list="swiperAdList" imgUrlKey="img" :strType="false" @click="handleToDetails"></SwiperAd>
           </view>
           <!-- 五宫格菜单 -->
           <view>