更新:增加课程和图书VIP购买及“我的”主页vip身份显示

This commit is contained in:
2025-11-27 14:19:51 +08:00
parent 509f735493
commit 7062e675f6
20 changed files with 1117 additions and 66 deletions

View File

@@ -6,6 +6,16 @@ import type { IUserInfo } from '@/types/user'
export const useSysStore = defineStore('sys', {
state: (): IUserInfo => ({
language: uni.getStorageSync('appLanguage') || 'zh-CN',
vipTypeDict: {
1: '医学超V',
2: '国学与心理学超V',
4: '中医学VIP',
5: '针灸学VIP',
6: '肿瘤学VIP',
7: '国学VIP',
8: '心理学VIP',
9: '中西汇通学VIP',
}
}),
getters: {