对接公告以及详情接口

This commit is contained in:
zhouyanli
2026-04-23 11:30:54 +08:00
parent 057758772e
commit 347917e40a
6 changed files with 235 additions and 401 deletions

View File

@@ -161,7 +161,7 @@ const getCommunityList = async (pageNum = 1, keyword = '') => {
})
}
} catch (err) {
console.error('获取小区列表失败:', err)
// console.error('获取小区列表失败:', err)
displayedCommunities.value = []
hasMoreData.value = false
uni.showToast({
@@ -175,6 +175,7 @@ const getCommunityList = async (pageNum = 1, keyword = '') => {
// 页面加载时初始化
onLoad((options) => {
// 接收首页传来得选择的小区的id
currentVillageIdFromHome.value = options?.villageId || ''
getCommunityList(1)
})
@@ -374,7 +375,7 @@ onMounted(() => {
.community-item:active,
.community-item.active-item {
background-color: #e6f2ff;
/* background-color: #e6f2ff; */
}
.community-item-left {