From c7ab7693011ad48df3f1d794f08f6e8028bcb468 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Wed, 3 Jul 2024 18:47:37 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=88=91=E7=9A=84=E8=AF=89=E6=B1=82?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=81=94=E8=B0=83,=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E4=B8=AD=E7=A4=BE=E5=8C=BA=E8=AE=AF=E6=81=AF=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=81=94=E8=B0=83,=E8=B7=AF=E7=94=B1=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/event.js | 10 +++- src/api/home.js | 18 +++++++ src/assets/css/index.less | 25 +++++++++- src/views/appeal/index.vue | 14 ++---- src/views/home/index.vue | 100 +++++++++++++++++++++++++++++++++---- 5 files changed, 144 insertions(+), 23 deletions(-) diff --git a/src/api/event.js b/src/api/event.js index 25f7075..2ad4811 100644 --- a/src/api/event.js +++ b/src/api/event.js @@ -20,7 +20,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 adb57e0..88aeffb 100644 --- a/src/api/home.js +++ b/src/api/home.js @@ -17,4 +17,22 @@ export function icEventOldDiscuss(data) { data }) } + + // 【社区讯息】菜单 + export function advertisingTag(data) { + return request({ + url: `/actual/base/advertisingTag/page`, + method: 'post', + data + }) + } + // 【社区讯息】菜单 + export function communityPublicity(data) { + return request({ + url: `/actual/base/communityPublicity/page`, + method: 'post', + data + }) + } + \ No newline at end of file diff --git a/src/assets/css/index.less b/src/assets/css/index.less index 9e38b54..05d6ba1 100644 --- a/src/assets/css/index.less +++ b/src/assets/css/index.less @@ -33,6 +33,14 @@ body #app { } } } +.no-data{ + height: 50px; + width: 100%; + color: #666666; + text-align: center; + line-height: 50px; + font-size: 15px; +} .y66666{ color: #666666; } @@ -128,6 +136,9 @@ body #app { &-right10{ margin-right: 10px; } + &-right26{ + margin-right: 26px; + } &-top15{ margin-top: 15px; @@ -187,7 +198,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/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 07079f6..eaad135 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -98,7 +98,7 @@