我的图标-布局调整
This commit is contained in:
parent
7ffa374c55
commit
e816da4cf2
@ -189,6 +189,10 @@ image {
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.newsList{
|
||||
margin-bottom: 100rpx;
|
||||
}
|
||||
|
||||
.newsItem {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -312,3 +316,7 @@ image {
|
||||
height: 100rpx;
|
||||
margin-bottom: 16rpx;
|
||||
}
|
||||
|
||||
.grid_Text{
|
||||
font-size: 24rpx;
|
||||
}
|
||||
@ -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 = "下拉加载后续10条,共计30条";
|
||||
}
|
||||
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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user