删除部分图片,增加超级会员页面功能

This commit is contained in:
2025-12-02 15:56:41 +08:00
parent 4faa482380
commit da321e3afc
81 changed files with 4395 additions and 712 deletions

17
store/chat.js Normal file
View File

@@ -0,0 +1,17 @@
import { defineStore } from "pinia";
// import * as shopApi from "@/http/api/shop.js";
// 聊天
export const useChatStore = defineStore("chat", {
state: () => {
return {
chatList: [],
};
},
actions: {
sendMessage(message) {
this.chatList.push(message);
},
},
unistorage: true, // 开启后对 state 的数据读写都将持久化
});