对接公告以及详情接口
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user