Przeglądaj źródła

发现页面边距

xhj 2 lat temu
rodzic
commit
63e7a8dc7f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pages/found/found.vue

+ 1 - 1
pages/found/found.vue

@@ -21,7 +21,7 @@
 				</scroll-view>
 				</scroll-view>
 			</view>
 			</view>
 		</view>
 		</view>
-		<view style="height: 400rpx;"></view>
+		<view :style="'height: '+(recommendList&&recommendList.length>0?400:240)+'rpx;'"></view>
 		<view :class="'list'+(config.greyTheme==1?' grayTheme':'')">
 		<view :class="'list'+(config.greyTheme==1?' grayTheme':'')">
 			<view class="video-box" v-if="fxContentList&&fxContentList.length > 0">
 			<view class="video-box" v-if="fxContentList&&fxContentList.length > 0">
 				<view class="video-card" v-for="(item, index) in fxContentList" :key="index" @click="jumpUrl('/topic/content/content?id='+item.id)">
 				<view class="video-card" v-for="(item, index) in fxContentList" :key="index" @click="jumpUrl('/topic/content/content?id='+item.id)">