From 44831b6f6fa14080d5875788276d150649d72496 Mon Sep 17 00:00:00 2001
From: shirlwang <15254118591@163.com>
Date: Wed, 19 Nov 2025 18:10:28 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/CustomTabBar/CustomTabBar.vue | 345 ---------------
components/tabbar/midell-box.vue | 234 -----------
packageRc/pages/index/index.vue | 2 +-
pages.json | 507 +----------------------
pages/index/index.vue | 4 +-
static/zcLeft.png | Bin 0 -> 1936 bytes
stores/BaseDBStore.js | 78 ++++
stores/useUserStore.js | 4 -
8 files changed, 83 insertions(+), 1091 deletions(-)
delete mode 100644 components/CustomTabBar/CustomTabBar.vue
delete mode 100644 components/tabbar/midell-box.vue
create mode 100644 static/zcLeft.png
create mode 100644 stores/BaseDBStore.js
diff --git a/components/CustomTabBar/CustomTabBar.vue b/components/CustomTabBar/CustomTabBar.vue
deleted file mode 100644
index 762dbab..0000000
--- a/components/CustomTabBar/CustomTabBar.vue
+++ /dev/null
@@ -1,345 +0,0 @@
-
-
-
-
-
-
- {{ item.badge }}
-
- {{ item.text }}
-
-
-
-
-
-
-
-
diff --git a/components/tabbar/midell-box.vue b/components/tabbar/midell-box.vue
deleted file mode 100644
index 6df2aaa..0000000
--- a/components/tabbar/midell-box.vue
+++ /dev/null
@@ -1,234 +0,0 @@
-
-
-
-
-
-
- {{ item.badge }}
-
- {{ item.text }}
-
-
-
-
-
-
-
-
diff --git a/packageRc/pages/index/index.vue b/packageRc/pages/index/index.vue
index c399729..30eed95 100644
--- a/packageRc/pages/index/index.vue
+++ b/packageRc/pages/index/index.vue
@@ -1,7 +1,7 @@
diff --git a/pages.json b/pages.json
index 1bb733b..8062e34 100644
--- a/pages.json
+++ b/pages.json
@@ -12,88 +12,12 @@
"navigationBarTitleText": "我的"
}
},
- {
- "path": "pages/msglog/msglog",
- "style": {
- "navigationBarTitleText": "消息"
- }
- },
- {
- "path": "pages/careerfair/careerfair",
- "style": {
- "navigationBarTitleText": "招聘会"
- }
- },
- {
- "path": "pages/complete-info/complete-info",
- "style": {
- "navigationBarTitleText": "补全信息"
- }
- },
- {
- "path": "pages/complete-info/company-info",
- "style": {
- "navigationBarTitleText": "企业信息"
- }
- },
- {
- "path": "pages/complete-info/components/map-location-picker",
- "style": {
- "navigationBarTitleText": "选择地址"
- }
- },
- {
- "path": "pages/complete-info/skill-search",
- "style": {
- "navigationBarTitleText": "技能查询"
- }
- },
- {
- "path": "pages/nearby/nearby",
- "style": {
- "navigationBarTitleText": "附近",
- "navigationBarBackgroundColor": "#4778EC",
- "navigationBarTextStyle": "white"
- }
- },
- {
- "path": "pages/job/publishJob",
- "style": {
- "navigationBarTitleText": "发布岗位"
- }
- },
- {
- "path": "pages/job/companySearch",
- "style": {
- "navigationBarTitleText": "选择企业",
- "disableScroll": false,
- "enablePullDownRefresh": false,
- "backgroundColor": "#f5f5f5"
- }
- },
- {
- "path": "pages/chat/chat",
- "style": {
- "navigationBarTitleText": "AI+",
- "navigationBarBackgroundColor": "#4778EC",
- "navigationBarTextStyle": "white",
- "enablePullDownRefresh": false
- }
- },
{
"path": "pages/search/search",
"style": {
"navigationBarTitleText": ""
}
},
- {
- "path": "pages/service/career-planning",
- "style": {
- "navigationBarTitleText": "职业规划推荐",
- "navigationBarTitleTextSize": "30rpx",
- "navigationStyle": "custom"
- }
- },
{
"path": "pages/mine/company-mine",
"style": {
@@ -131,20 +55,6 @@
{
"root": "packageA",
"pages": [
- {
- "path": "pages/addWorkExperience/addWorkExperience",
- "style": {
- "navigationBarTitleText": "添加工作经历"
- }
- },
- {
- "path": "pages/choiceness/choiceness",
- "style": {
- "navigationBarTitleText": "精选",
- "navigationBarBackgroundColor": "#4778EC",
- "navigationBarTextStyle": "white"
- }
- },
{
"path": "pages/post/post",
"style": {
@@ -159,225 +69,15 @@
"navigationBarTitleText": "单位详情"
}
},
- {
- "path": "pages/exhibitors/exhibitors",
- "style": {
- "navigationBarTitleText": "参展单位",
- "navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black"
- }
- },
- {
- "path": "pages/myResume/myResume",
- "style": {
- "navigationBarTitleText": "我的简历",
- "navigationBarBackgroundColor": "#FFFFFF"
- }
- },
- {
- "path": "pages/Intendedposition/Intendedposition",
- "style": {
- "navigationBarTitleText": "投递记录",
- "navigationBarBackgroundColor": "#FFFFFF"
- }
- },
- {
- "path": "pages/collection/collection",
- "style": {
- "navigationBarTitleText": "我的收藏",
- "navigationBarBackgroundColor": "#FFFFFF"
- }
- },
- {
- "path": "pages/browseJob/browseJob",
- "style": {
- "navigationBarTitleText": "我的浏览",
- "navigationBarBackgroundColor": "#FFFFFF"
- }
- },
{
"path": "pages/addPosition/addPosition",
"style": {
- "navigationBarTitleText": "添加岗位"
- }
- },
- {
- "path": "pages/selectDate/selectDate",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/personalInfo/personalInfo",
- "style": {
- "navigationBarTitleText": "个人信息"
- }
- },
- {
- "path": "pages/jobExpect/jobExpect",
- "style": {
- "navigationBarTitleText": "求职期望"
- }
- },
- {
- "path": "pages/selectDate/reservation/reservation",
- "style": {
- "navigationBarTitleText": "我的预约",
- "navigationBarBackgroundColor": "#FFFFFF"
- }
- },
- {
- "path": "pages/choicenessList/choicenessList",
- "style": {
- "navigationBarTitleText": "精选企业",
- "navigationBarBackgroundColor": "#FFFFFF"
- }
- },
- {
- "path": "pages/newJobPosition/newJobPosition",
- "style": {
- "navigationBarTitleText": "新职位推荐",
- "navigationBarBackgroundColor": "#FFFFFF"
- }
- },
- {
- "path": "pages/systemNotification/systemNotification",
- "style": {
- "navigationBarTitleText": "系统通知",
- "navigationBarBackgroundColor": "#FFFFFF"
- }
- },
- {
- "path": "pages/tiktok/tiktok",
- "style": {
- "navigationBarTitleText": "",
- "navigationBarBackgroundColor": "#FFFFFF"
- }
- },
- {
- "path": "pages/moreJobs/moreJobs",
- "style": {
- "navigationBarTitleText": "更多岗位",
- "navigationBarBackgroundColor": "#FFFFFF"
- }
- },
- {
- "path": "pages/collection/compare",
- "style": {
- "navigationBarTitleText": " 岗位对比",
- "navigationBarBackgroundColor": "#FFFFFF"
- }
- },
- {
- "path": "pages/myResume/corporateInformation",
- "style": {
- "navigationBarTitleText": " 企业详情",
- "navigationBarBackgroundColor": "#FFFFFF"
+ "navigationBarTitleText": "添加岗位",
+ "navigationBarTitleTextSize": "30rpx"
}
}
]
},
- {
- "root": "packageB",
- "pages": [
- {
- "path": "jobFair/detailCom",
- "style": {
- "navigationBarTitleText": "招聘会详情"
- }
- },
- {
- "path": "jobFair/detailPerson",
- "style": {
- "navigationBarTitleText": "招聘会详情"
- }
- },
- {
- "path": "login",
- "style": {
- "navigationBarTitleText": "登录"
- }
- },
- {
- "path": "train/index",
- "style": {
- "navigationBarTitleText": "技能评价"
- }
- },
- {
- "path": "train/practice/startPracticing",
- "style": {
- "navigationBarTitleText": "专项训练"
- }
- },
- {
- "path": "train/video/videoList",
- "style": {
- "navigationBarTitleText": "视频学习"
- }
- },
- {
- "path": "train/video/videoDetail",
- "style": {
- "navigationBarTitleText": "视频详情"
- }
- },
- {
- "path": "train/mockExam/examList",
- "style": {
- "navigationBarTitleText": "考试列表"
- }
- },
- {
- "path": "train/mockExam/startExam",
- "style": {
- "navigationBarTitleText": "模拟考试"
- }
- },
- {
- "path": "train/mockExam/viewGrades",
- "style": {
- "navigationBarTitleText": "查看成绩"
- }
- },
- {
- "path": "train/mockExam/paperDetails",
- "style": {
- "navigationBarTitleText": "考试详情"
- }
- },
- {
- "path": "priority/helpFilter",
- "style": {
- "navigationBarTitleText": "筛选和帮扶"
- }
- },
- {
- "path": "priority/helpFollow",
- "style": {
- "navigationBarTitleText": "跟进"
- }
- },
- {
- "path": "train/wrongAnswer/mistakeNotebook",
- "style": {
- "navigationBarTitleText": "错题本"
- }
- },
- {
- "path": "train/wrongAnswer/questionPractice",
- "style": {
- "navigationBarTitleText": "错题练习"
- }
- },
- {
- "path": "train/wrongAnswer/wrongDetail",
- "style": {
- "navigationBarTitleText": "错题详情"
- }
- }
- ]
- },
{
"root": "packageRc",
"pages": [
@@ -387,78 +87,12 @@
"navigationBarTitleText": "高校毕业生智慧就业"
}
},
- {
- "path": "pages/personalList/personalList",
- "style": {
- "navigationBarTitleText": "毕业生追踪"
- }
- },
{
"path": "pages/jobList/jobList",
"style": {
"navigationBarTitleText": "岗位列表"
}
},
- {
- "path": "pages/daiban/daiban",
- "style": {
- "navigationBarTitleText": "待办任务"
- }
- },
- {
- "path": "pages/daiban/daibandetail",
- "style": {
- "navigationBarTitleText": "待办详情"
- }
- },
- {
- "path": "pages/demand/demandail",
- "style": {
- "navigationBarTitleText": "新增需求"
- }
- },
- {
- "path": "pages/daiban/addbangfu",
- "style": {
- "navigationBarTitleText": "添加帮扶"
- }
- },
- {
- "path": "pages/service/serviceDetail",
- "style": {
- "navigationBarTitleText": "服务"
- }
- },
- {
- "path": "pages/service/serviceTraceability",
- "style": {
- "navigationBarTitleText": "服务追溯"
- }
- },
- {
- "path": "pages/needs/needDetail",
- "style": {
- "navigationBarTitleText": "需求信息"
- }
- },
- {
- "path": "pages/daiban/bangfuList",
- "style": {
- "navigationBarTitleText": "服务记录"
- }
- },
- {
- "path": "pages/needs/personNeeds",
- "style": {
- "navigationBarTitleText": "需求上报"
- }
- },
- {
- "path": "pages/needs/needsList",
- "style": {
- "navigationBarTitleText": "需求"
- }
- },
{
"path": "pages/policy/policyList",
"style": {
@@ -472,143 +106,6 @@
}
}
]
- },
- {
- "root": "packageCa",
- "pages": [
- {
- "path": "search/search",
- "style": {
- "navigationBarTitleText": "生涯规划"
- }
- },
- {
- "path": "search/AIAudition",
- "style": {
- "navigationBarTitleText": "AI智能面试"
- }
- },
- {
- "path": "job/index",
- "style": {
- "navigationBarTitleText": "职业库"
- }
- },
- {
- "path": "job/midList",
- "style": {
- "navigationBarTitleText": "职业库-中类"
- }
- },
- {
- "path": "job/smallList",
- "style": {
- "navigationBarTitleText": "职业库-小类"
- }
- },
- {
- "path": "job/details",
- "style": {
- "navigationBarTitleText": "职业详情"
- }
- },
- {
- "path": "userCenter/professionPath",
- "style": {
- "navigationBarTitleText": "职业路径"
- }
- },
- {
- "path": "userCenter/personDocument",
- "style": {
- "navigationBarTitleText": "生涯档案"
- }
- },
- {
- "path": "userCenter/careerCompass",
- "style": {
- "navigationBarTitleText": "生涯罗盘"
- }
- },
- {
- "path": "userCenter/learningPlan",
- "style": {
- "navigationBarTitleText": "学业规划"
- }
- },
- {
- "path": "userCenter/smartTarget",
- "style": {
- "navigationBarTitleText": "学业规划"
- }
- },
- {
- "path": "userCenter/fillInInformation",
- "style": {
- "navigationBarTitleText": "完善个人信息"
- }
- },
- {
- "path": "pagesTest/testList",
- "style": {
- "navigationBarTitleText": "生涯测评"
- }
- },
- {
- "path": "pagesTest/customTestTitle",
- "style": {
- "navigationBarTitleText": "自定义测评"
- }
- },
- {
- "path": "pagesTest/interestTestTitle",
- "style": {
- "navigationBarTitleText": "职业兴趣测评"
- }
- },
- {
- "path": "pagesTest/workValuesTestTitle",
- "style": {
- "navigationBarTitleText": "工作价值观测评"
- }
- },
- {
- "path": "pagesTest/personalTestTitle",
- "style": {
- "navigationBarTitleText": "人格测评"
- }
- },
- {
- "path": "testReport/workValuesTestReport",
- "style": {
- "navigationBarTitleText": "工作价值观测评报告"
- }
- },
- {
- "path": "testReport/multipleAbilityTestReport",
- "style": {
- "navigationBarTitleText": "多元能力测评报告"
- }
- },
- {
- "path": "testReport/generalCareerTestReport",
- "style": {
- "navigationBarTitleText": "通用职业能力测评报告"
- }
- },
- {
- "path": "testReport/personalTestReport",
- "style": {
- "navigationBarTitleText": "人格测评报告"
- }
- },
- {
- "path": "testReport/interestTestReport",
- "style": {
- "navigationBarTitleText": "职业兴趣测评报告"
- }
- }
- ]
}
],
"globalStyle": {
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 116ef61..b1beb03 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,7 +1,7 @@
@@ -45,7 +45,7 @@
推荐
-
+
{{item.zcmc}}
{{item.zclx}}
diff --git a/static/zcLeft.png b/static/zcLeft.png
new file mode 100644
index 0000000000000000000000000000000000000000..ad4f93d525046e312b80c89be5abf2b58c188b7f
GIT binary patch
literal 1936
zcmV;B2XFX^P)Px#1am@3R0s$N2z&@+hyVZwI!Q!9RA_;{T3c*XMHv46IkUH3=>jbR)zGSdiwH&W
z0RoAMLJVNM18NMWCi+O#2ZM$dK-E-!gIhP`F9=d1$Gylx@fAh^hmoC9kuHM|YlxeJ;2+KjD6+}@GK!Ev&
z03rY+6gIOB^08IyDw|{%c@XsyM3*qod8nhM+m4gU52?-lNrM~Pgb?i@aH&x^8kYhQ
zGEkqoYJXdxoIk+T5QkGGiA=+#J{eL;zF&m1!4f(_j*`m*pbs
z4|X(h;9~feH#E!Nz(@;c_^6*$+Suq
zKJ3F8RK+GSZTHs+SjL&g+Py%_?3bw#5>ugueA1e>m@Zc`0|7wb0%+%E_E0m8GSeO%
zxY$$rtLBNHzs0nyb9?`^oP*FBj_Lm^4N~P(2^s)Mv~mE^OU|^yRxzt|?qoW^pMWTL
zO^!%i>o00>JEK1oz)~
zX+Q%&V+}{gim4Vs5S3>o(>9#ktv@TVRstvuTWy?O8pO6z7h}>~3Szo!<5pBcV&2ZQ
z6{%47{vQiD`u1enW@A)&Xi0FyyiR<97{moqs$^xgpS#o#~%tkIp!`oJtb*)$Eg
zqNAI@^7?@cjt=DT*)QXPbxn}MJ<>jDwKO@cyh&y#E=^fZ{)`t5fu7S@e1CERM8G?T
z$B@2I35|Q|SU$?d(S)N?0^Ah8Nd1
zfjd%?)MC*3Kvp$w&1ez05_%CHk1+IS3KD3$e^wVL7#?gp7aE`b?KX1?`hb>JLl59{
zrbh76?M+BTtqOMkw%KvKtYF*Daww){jfc}zP(rz(IgU+B>y`84u@yb`y#v*%%xiPTFf<#IAz00?NE8o{O;rl2;)Ktwo|Dfl}=
z(Lel0f-58S7@nZAdR{d)w$))}OEnk)546?e(_jC=!Wr?LuGB!+Csr@&X3NbtDrSX4Gizc@*O4$HQtWNG3sLG+V^BuZPfmdIC#k
z#?g?_aC|6-kABO!){MY?JnW2zjMQ0*hQQ!>Q3@`i5vEmX66p4i2asxvVfTh+Boo%V
zTv6ctpGWcLkqiokaD(`&>{X>{PJ&LDq
zn(m4{rV*AkS7HA27#{!f3=GHsolIL&3CXmVzHdv_A~ho>4K)CynoL{IKo))JJl?%~
zmJ9TWOdfCin8vYlS$uNO<+x*B9X>cd=F7B|Ra8+qqji9?m%2DZ+br*_@%iuLSU0~G
ziHLOw89c9J=ixN=^o>IRczAIGI3wIKuMQs`AM@_pcFdy10>Yhb7
zPWg^(;33d&dhQP0
zfe8GWDd5OJZc@M-t2s6;s>f6N2XX6FHMnoV6c^}xQQ*1nhwytkZ|lEA5((Rtg>@#T
zB`=&1o|;w!qA^pq(&57*#x1+j^T2r>i3s7rg;TKR%39RNG>qj9^qif*+dpN{H=1`a
z?VMlob+ZLrk?hM%drn|w2TuR+S<5sC_o#ak3==}B?1kC1^lM$g}0p=m{%41~Ot
zIb2K&_brzPKu`8g1RgkJTDgKSKYFRNirEWWF=^lUX~Z&UJT)XRhr
zU2dj@gK3-2J(&v0v_jKnKV_zc>u$c>SS1i)bTI-tK|+_9uIP*=!IXM(2K$q3bjg*;
z6z%Ieik<9GM@u&`>XbB13Z`95`DYXrQ-PXxBmk8^2%Y=Z&h2IZpcVKQBHC*)bqSeP
zXe${NSj!{
zXLZW@m$ {
+ uni.setStorageSync('indexedDBVersion', config.DBversion);
+ this.initDB();
+ });
+ }
+ }
+ initDB() {
+ // // #ifdef H5
+ this.db = new IndexedDBHelper(this.dbName, config.DBversion);
+ // // #endif
+ // // #ifndef H5
+ this.db = new UniStorageHelper(this.dbName, config.DBversion);
+ // // #endif
+ this.db.openDB([{
+ name: 'record',
+ keyPath: "id",
+ autoIncrement: true,
+ }, {
+ name: 'messageGroup',
+ keyPath: "id",
+ autoIncrement: true,
+ }, {
+ name: 'messages',
+ keyPath: "id",
+ autoIncrement: true,
+ indexes: [{
+ name: 'parentGroupId',
+ key: 'parentGroupId',
+ unique: false
+ }]
+ }]).then(async () => {
+ // useChatGroupDBStore().init()
+ this.isDBReady = true
+ });
+ }
+ async clearDB() {
+ return new Promise((resolve, rejetc) => {
+ new IndexedDBHelper().deleteDB(this.dbName).then(() => {
+ resolve()
+ })
+ })
+ }
+
+}
+
+const baseDB = new BaseStore()
+
+export default baseDB
\ No newline at end of file
diff --git a/stores/useUserStore.js b/stores/useUserStore.js
index 630f2b6..07f9eaa 100644
--- a/stores/useUserStore.js
+++ b/stores/useUserStore.js
@@ -11,10 +11,6 @@ import similarityJobs from '@/utils/similarity_Job.js';
import {
UUID
} from "@/lib/uuid-min.js";
-import {
- useReadMsg
-} from '@/stores/useReadMsg';
-
// 简历完成度计算
function getResumeCompletionPercentage(resume) {
const requiredFields = [