diff --git a/src/api/home.js b/src/api/home.js
index cbe3ce2..adb57e0 100644
--- a/src/api/home.js
+++ b/src/api/home.js
@@ -9,3 +9,12 @@ export function communityActivity(data) {
data
})
}
+ // 【居民议事】列表
+export function icEventOldDiscuss(data) {
+ return request({
+ url: `/governance/icEventOldDiscuss/pageList`,
+ method: 'post',
+ data
+ })
+}
+
\ No newline at end of file
diff --git a/src/utils/request.js b/src/utils/request.js
index 9ab7bd5..eab446f 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -27,7 +27,12 @@ service.interceptors.request.use(
if (store.state.app.appId) {
config.headers['AppId'] = store.state.app.appId
}
-
+ if (store.state.app.userInfo.customerId) {
+ config.headers['customerId'] = store.state.app.userInfo.customerId
+ }
+ if (store.state.app.userInfo.id) {
+ config.headers['userId'] = store.state.app.userInfo.id
+ }
config.baseURL = config.baseURL + '/'
return config
},
diff --git a/src/views/activity/detail.vue b/src/views/activity/detail.vue
index 595bd96..8ba118c 100644
--- a/src/views/activity/detail.vue
+++ b/src/views/activity/detail.vue
@@ -22,14 +22,17 @@
@@ -47,8 +50,8 @@
export default {
data() {
return {
- signUp:[
- {name:"",mobile:"",remark:""},
+ signUp: [
+ { name: "", mobile: "", remark: "" },
]
};
},
@@ -56,10 +59,10 @@ export default {
},
methods: {
- handelAddResi(){
- this.signUp.push({name:"",mobile:"",remark:""})
+ handelAddResi() {
+ this.signUp.push({ name: "", mobile: "", remark: "" })
},
- handelDelResi(){
+ handelDelResi() {
this.signUp.pop()
}
},
@@ -76,16 +79,20 @@ export default {
:deep(.van-cell) {
padding: 16px 8px;
}
-
:deep(.van-cell__title) {
color: #666666;
+ display: flex;
+ &>span {
+ flex: 1;
+ }
}
:deep(.van-cell__value) {
text-align: left;
}
-:deep(.van-cell--required){
- &::before{
+
+:deep(.van-cell--required) {
+ &::before {
left: -5px;
}
}
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 13a46b2..894e55b 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -18,11 +18,9 @@
-
- 2
- 3
- 4
+
+
+
@@ -83,15 +81,15 @@
- {{ item.title }}
+ {{ item.eventContent }}
参与 {{ item.total }}
支持 {{ item.support }}
+ class="img_16 m-right7">
支持 {{ item.supportNum }}
反对 {{ item.oppose }}
+ class="img_16 m-right7">
反对 {{ item.opposeNum }}
@@ -103,7 +101,7 @@