From 858778383e03574a27e61c693a469db150ea71cb Mon Sep 17 00:00:00 2001 From: xuyiming Date: Wed, 5 Aug 2020 16:55:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF=E9=80=9A=E7=9F=A5=E8=B0=83?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/user/notice/notice.vue | 148 +++++++++++++---- src/pages/user/notice/setNotice.vue | 245 ++++++++++++++++++++++++++++ src/store/index.js | 4 + 3 files changed, 367 insertions(+), 30 deletions(-) create mode 100644 src/pages/user/notice/setNotice.vue diff --git a/src/pages/user/notice/notice.vue b/src/pages/user/notice/notice.vue index 3f2802e..48b53b4 100644 --- a/src/pages/user/notice/notice.vue +++ b/src/pages/user/notice/notice.vue @@ -13,7 +13,7 @@
未读消息 - + 全部消息 @@ -28,12 +28,13 @@ 清空所有消息 - - | - - - - 消息设置 + | + + + + 消息设置 + +
@@ -52,7 +53,10 @@

- + + + + @@ -78,11 +82,14 @@ + + diff --git a/src/store/index.js b/src/store/index.js index dbde787..e67e4a9 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -27,6 +27,7 @@ const store = new Vuex.Store({ queryType: '', id: '', }, //智能制图服务详情id + unreadMessageCount: 0 }, getters: { // 1:超管 2:组织管理员 3:普通用户 4:开发者 @@ -72,6 +73,9 @@ const store = new Vuex.Store({ setZnztDetailsParams(state, newValue) { state.znztDetailsParams = newValue; }, + setUnreadMessageCount(state, newValue) { + state.unreadMessageCount = newValue; + }, }, }); -- 2.26.0