diff --git a/src/pages/user/notice/notice.vue b/src/pages/user/notice/notice.vue index 3f2802ea33ae92cd0dc0b582a4753b440be2fed4..48b53b42161eaa08f0a42f757b01cb1fd8238f59 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 dbde7877b1d86c94b0c010f3d85ae50735d10b9a..e67e4a989ca60507717fb2bab9978646e34559fd 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; + }, }, });