diff --git a/property-uniapp-project/pageSubPack/activity-list/activityList.vue b/property-uniapp-project/pageSubPack/activity-list/activityList.vue
index 4992d14..f34aeee 100644
--- a/property-uniapp-project/pageSubPack/activity-list/activityList.vue
+++ b/property-uniapp-project/pageSubPack/activity-list/activityList.vue
@@ -438,7 +438,7 @@
.container {
width: 100%;
height: 100vh;
- background-color: #f9f9f9;
+ background-color: #fff;
display: flex;
flex-direction: column;
padding: 0;
@@ -453,7 +453,7 @@
.top-bar {
width: 100%;
flex-shrink: 0;
- background: #f9f9f9;
+ background: #fff;
}
/* 滚动区域 */
@@ -551,6 +551,7 @@
margin-bottom: 30rpx;
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
position: relative;
+ border: 1px solid #e1e1e1;
}
/* 活动状态标签 */
diff --git a/property-uniapp-project/pageSubPack/api/api.js b/property-uniapp-project/pageSubPack/api/api.js
index 7ca875a..896602a 100644
--- a/property-uniapp-project/pageSubPack/api/api.js
+++ b/property-uniapp-project/pageSubPack/api/api.js
@@ -23,6 +23,26 @@ export const getResetPassword = (data) =>{
}
// =========首页=======
// 首页最新公告
-export const getNoticeList = () =>{
+export const getNoticeLatest = () =>{
return get('/api/resident/notice/latest')
-}
\ No newline at end of file
+}
+
+// 查询已认证的小区
+export const getVillageList = (data) =>{
+ return get('/api/resident/village/myList', data)
+}
+// 获取当前小区
+export const getCurrentVillage = () =>{
+ return get('/api/resident/village/current')
+}
+// 切换小区
+export const getVillageSwitch = (data)=>{
+ return post('/api/resident/village/switch',data)
+}
+// ====公告列表======
+// 获取公告列表
+export const getNoticeList = (data) =>{
+ return get('/api/resident/notice/list',data)
+}
+// 获取公告详情
+// export const getNoticeDetails =
\ No newline at end of file
diff --git a/property-uniapp-project/pageSubPack/api/request.js b/property-uniapp-project/pageSubPack/api/request.js
index 9929930..7dfb08f 100644
--- a/property-uniapp-project/pageSubPack/api/request.js
+++ b/property-uniapp-project/pageSubPack/api/request.js
@@ -43,7 +43,7 @@ export default function request(url, data = {}, method = "GET") {
uni.showToast({ title: '登录过期,请重新登录', icon: 'none', duration: 2000 });
uni.clearStorageSync('token');
setTimeout(() => {
- uni.reLaunch({ url: '/pages/login/login' });
+ uni.reLaunch({ url: '/pageSubPack/loginSub/pwd-login' });
}, 1500);
reject('token 过期');
return;
diff --git a/property-uniapp-project/pageSubPack/loginSub/login.vue b/property-uniapp-project/pageSubPack/loginSub/login.vue
index ea4155b..b72c0fc 100644
--- a/property-uniapp-project/pageSubPack/loginSub/login.vue
+++ b/property-uniapp-project/pageSubPack/loginSub/login.vue
@@ -13,10 +13,10 @@
-
-