修改我的小区页面布局样式

This commit is contained in:
赵毅 2025-09-09 11:48:37 +08:00
parent 55590b29e3
commit 76334aed9b
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
page { page {
background-color: #ffffff; background-color: #ffffff;
padding: 0; padding: 0;
padding-bottom: 120rpx;
} }
.empty { .empty {
@ -244,7 +245,7 @@ image {
} }
.newsList { .newsList {
margin-bottom: 100rpx; margin-bottom: 30rpx;
} }
.newsItem { .newsItem {
@ -288,7 +289,7 @@ image {
color: #999999; color: #999999;
text-align: center; text-align: center;
background-color: #f6f6fa; background-color: #f6f6fa;
padding: 40rpx; /* padding: 40rpx; */
} }
.bigAds { .bigAds {

View File

@ -89,7 +89,7 @@
<image :src="item.ad_picture" mode="aspectFill" /> <image :src="item.ad_picture" mode="aspectFill" />
</view> </view>
<view class="tabs"> <view class="tabs" v-if="categoryList.length > 0">
<view v-for="(item, index) in categoryList" :key="index" <view v-for="(item, index) in categoryList" :key="index"
:class="['tabItem', selectedTab === index ? 'active2' : '']" @click="selectTab(index, item)"> :class="['tabItem', selectedTab === index ? 'active2' : '']" @click="selectTab(index, item)">
{{ item.category_name }} {{ item.category_name }}