我的图标-布局调整

This commit is contained in:
赵毅 2025-07-31 15:54:31 +08:00
parent 7ffa374c55
commit e816da4cf2
2 changed files with 10 additions and 2 deletions

View File

@ -189,6 +189,10 @@ image {
transform: translateX(-50%);
}
.newsList{
margin-bottom: 100rpx;
}
.newsItem {
display: flex;
align-items: center;
@ -311,4 +315,8 @@ image {
width: 100rpx;
height: 100rpx;
margin-bottom: 16rpx;
}
.grid_Text{
font-size: 24rpx;
}

View File

@ -70,7 +70,7 @@
:key="index"
>
<image class="grid_Pic" :src="item.nav_icon" mode=""></image>
<text>{{ item.nav_name }}</text>
<text class="grid_Text">{{ item.nav_name }}</text>
</u-grid-item>
</u-grid>
</view>
@ -501,6 +501,7 @@ export default {
},
async selectTab(index, item) {
console.log("🚀 ~ selectTab ~ item:", item)
const isTabChange = this.selectedTab !== index;
if (isTabChange) {
this.page_num = 1;
@ -508,7 +509,6 @@ export default {
// this.loadMoreText = "1030";
}
this.selectedTab = index;
console.log("选中的tab:", index);
const res = await request(apiArr.infoPage, "POST", {
community_id: Number(uni.getStorageSync("changeCommData").id),
announcement_category_id: item.id,