第一次提交

This commit is contained in:
gxwebsoft
2023-08-04 13:14:48 +08:00
commit 1b923e5cff
1030 changed files with 128016 additions and 0 deletions

37
store/modules/notice.js Executable file
View File

@@ -0,0 +1,37 @@
import storage from '@/utils/storage'
import { getConversationList, sendMessage, getFriemdMessages,postMarkRead } from '@/api/chat.js'
const notice = {
state: {
// 未读喜欢我的
likeMe: 10,
// 未读我喜欢
likes: 20,
// 未读评论数
unReadComments: 30,
// 未读访客数
look: 40
},
mutations: {
SET_LIKE_ME: (state, value) => {
state.likeMe = value
},
SET_LIKES: (state, value) => {
state.likes = value
},
SET_UNREAD_COMMENTS: (state, value) => {
state.unReadComments = value
},
SET_LOOK: (state, value) => {
state.look = value
}
},
actions: {
}
}
export default notice