diff --git a/src/api/event.js b/src/api/event.js index f62f4df..96f7e9a 100644 --- a/src/api/event.js +++ b/src/api/event.js @@ -29,7 +29,15 @@ export function eventList(params) { params }) } - +//我的诉求列表 +export function collects(params) { + return request({ + url: `/governance/demandCollect/my/collects`, + method: 'get', + message: '获取诉求中...', + params + }) +} // 事件评价 export function updateEvent(data) { return request({ diff --git a/src/api/home.js b/src/api/home.js index 764c99d..b64c8ec 100644 --- a/src/api/home.js +++ b/src/api/home.js @@ -17,6 +17,7 @@ export function icEventOldDiscuss(data) { data }) } +<<<<<<< HEAD // 点赞 export function handelClicsupport(data) { return request({ @@ -29,10 +30,18 @@ export function handelClicsupport(data) { export function keyWordSearch(data) { return request({ url: `/actual/base/communityActivity/keyWordSearch`, +======= + + // 【社区讯息】菜单 + export function advertisingTag(data) { + return request({ + url: `/actual/base/advertisingTag/page`, +>>>>>>> b487435718ed41dce92441a54126caa0d073f824 method: 'post', data }) } +<<<<<<< HEAD //热门词语 export function popularSearch(data) { return request({ @@ -40,4 +49,16 @@ export function handelClicsupport(data) { method: 'post', data }) - } \ No newline at end of file + } +======= + // 【社区讯息】菜单 + export function communityPublicity(data) { + return request({ + url: `/actual/base/communityPublicity/page`, + method: 'post', + data + }) + } + + +>>>>>>> b487435718ed41dce92441a54126caa0d073f824 diff --git a/src/assets/css/index.less b/src/assets/css/index.less index 9e38b54..3aae2c9 100644 --- a/src/assets/css/index.less +++ b/src/assets/css/index.less @@ -33,6 +33,17 @@ body #app { } } } +.no-data{ + height: 50px; + width: 100%; + color: #666666; + text-align: center; + line-height: 50px; + font-size: 15px; +} +.oh{ + overflow: hidden; +} .y66666{ color: #666666; } @@ -128,6 +139,9 @@ body #app { &-right10{ margin-right: 10px; } + &-right26{ + margin-right: 26px; + } &-top15{ margin-top: 15px; @@ -187,7 +201,19 @@ body #app { .mr10 { margin-right: 10px; } - +.text{ + &-align{ + &-center{ + text-align: center; + } + &-right{ + text-align: right; + } + &-left{ + text-align: left; + } + } +} .primary-color { color: @blue; } diff --git a/src/router/router.config.js b/src/router/router.config.js index c83f67b..edaa49e 100644 --- a/src/router/router.config.js +++ b/src/router/router.config.js @@ -73,17 +73,17 @@ export const constantRouterMap = [ name: 'search', component: () => import('@/views/search'), meta: { title: '搜索', keepAlive: false } - },{ + }, { path: '/selectAgency', name: 'selectAgency', component: () => import('@/views/selectAgency'), meta: { title: '选择所在社区', keepAlive: false } - },{ + }, { path: '/houseQR', name: 'houseQR', component: () => import('@/views/houseQR'), meta: { title: '电子门牌', keepAlive: false } - },{ + }, { path: '/activity', name: 'activity', component: () => import('@/views/activity'), @@ -130,6 +130,11 @@ export const constantRouterMap = [ name: 'detailServices', component: () => import('@/views/Enjoyableservices/detail'), meta: { title: '服务详情', keepAlive: false } + },{ + path: '/communityPublicity', + name: 'communityPublicity', + component: () => import('@/views/communityPublicity'), + meta: { title: '社区讯息', keepAlive: false } } ] diff --git a/src/views/appeal/index.vue b/src/views/appeal/index.vue index 35ce099..427477b 100644 --- a/src/views/appeal/index.vue +++ b/src/views/appeal/index.vue @@ -77,7 +77,7 @@ + + diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 265f60c..9c13b36 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -19,7 +19,8 @@