From 07c84cef8a863036486b9a0b96d5f48bdce9761d Mon Sep 17 00:00:00 2001 From: lijie_ycrj <1540286404@qq.com> Date: Fri, 16 Jan 2026 09:38:44 +0800 Subject: [PATCH 01/12] =?UTF-8?q?=E8=AF=84=E4=BB=B7=E5=9F=B9=E8=AE=AD?= =?UTF-8?q?=E6=9C=BA=E6=9E=84=E5=8F=8A=E5=85=AC=E5=91=8A=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packageB/institution/evaluationAgency.vue | 400 +++++++++++++++++++ packageB/institution/trainingInstitution.vue | 400 +++++++++++++++++++ packageB/notice/index.vue | 400 +++++++++++++++++++ pages.json | 20 +- pages/index/components/index-one.vue | 37 +- 5 files changed, 1255 insertions(+), 2 deletions(-) create mode 100644 packageB/institution/evaluationAgency.vue create mode 100644 packageB/institution/trainingInstitution.vue create mode 100644 packageB/notice/index.vue diff --git a/packageB/institution/evaluationAgency.vue b/packageB/institution/evaluationAgency.vue new file mode 100644 index 0000000..7546523 --- /dev/null +++ b/packageB/institution/evaluationAgency.vue @@ -0,0 +1,400 @@ + + + + + diff --git a/packageB/institution/trainingInstitution.vue b/packageB/institution/trainingInstitution.vue new file mode 100644 index 0000000..7546523 --- /dev/null +++ b/packageB/institution/trainingInstitution.vue @@ -0,0 +1,400 @@ + + + + + diff --git a/packageB/notice/index.vue b/packageB/notice/index.vue new file mode 100644 index 0000000..7546523 --- /dev/null +++ b/packageB/notice/index.vue @@ -0,0 +1,400 @@ + + + + + diff --git a/pages.json b/pages.json index 47cb4c9..81232c8 100644 --- a/pages.json +++ b/pages.json @@ -419,7 +419,25 @@ "style": { "navigationBarTitleText": "错题详情" } - } + }, + { + "path": "notice/index", + "style": { + "navigationBarTitleText": "培训评价公告" + } + }, + { + "path": "institution/evaluationAgency", + "style": { + "navigationBarTitleText": "评价机构" + } + }, + { + "path": "institution/trainingInstitution", + "style": { + "navigationBarTitleText": "培训机构" + } + }, ] }, { diff --git a/pages/index/components/index-one.vue b/pages/index/components/index-one.vue index 9e29425..678bf89 100644 --- a/pages/index/components/index-one.vue +++ b/pages/index/components/index-one.vue @@ -166,6 +166,24 @@ 帮扶 + + + + + 培训评价公告 + + + + + + 培训机构 + + + + + + 评价机构 + @@ -679,6 +697,7 @@ const goToCompanyInfo = () => { navTo('/pages/mine/company-info'); }; + // 组件初始化时加载数据 onMounted(() => { // 获取企业信息 @@ -763,7 +782,23 @@ const handleNearbyClick = () => { navTo('/pages/nearby/nearby'); } }; - +const handleNoticeClick = () =>{ + uni.navigateTo({ + url:'/packageB/notice/index' + }) +} +function handleInstitutionClick(type){ + if(type=='evaluate'){ + uni.navigateTo({ + url:'/packageB/institution/evaluationAgency' + }) + }else if (type=='training'){ + uni.navigateTo({ + url:'/packageB/institution/trainingInstitution' + }) + } + +} // 处理服务功能点击 const handleServiceClick = (serviceType) => { if (checkLogin()) { From f506c4154aacdfd2ecda2e21bd08a1d96d15327c Mon Sep 17 00:00:00 2001 From: WX0lxh <2062408239@qq.com> Date: Fri, 16 Jan 2026 10:08:59 +0800 Subject: [PATCH 02/12] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages.json b/pages.json index 81232c8..28814c2 100644 --- a/pages.json +++ b/pages.json @@ -437,7 +437,7 @@ "style": { "navigationBarTitleText": "培训机构" } - }, + } ] }, { From 211c950ab7f6699e2240d14e72084f0879d32ca8 Mon Sep 17 00:00:00 2001 From: WX0lxh <2062408239@qq.com> Date: Fri, 16 Jan 2026 10:14:09 +0800 Subject: [PATCH 03/12] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/components/index-one.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/index/components/index-one.vue b/pages/index/components/index-one.vue index 678bf89..9f4497b 100644 --- a/pages/index/components/index-one.vue +++ b/pages/index/components/index-one.vue @@ -176,13 +176,13 @@ - 培训机构 + 培训机构信息 - 评价机构 + 评价机构信息 From ef25f954a4fc93bef9cba66781ed54421481a3ca Mon Sep 17 00:00:00 2001 From: WX0lxh <2062408239@qq.com> Date: Fri, 16 Jan 2026 11:30:48 +0800 Subject: [PATCH 04/12] =?UTF-8?q?=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packageB/institution/trainingInstitution.vue | 708 +++++++++--------- .../institution/trainingInstitutionDetail.vue | 9 + pages.json | 10 +- 3 files changed, 353 insertions(+), 374 deletions(-) create mode 100644 packageB/institution/trainingInstitutionDetail.vue diff --git a/packageB/institution/trainingInstitution.vue b/packageB/institution/trainingInstitution.vue index 7546523..660c57c 100644 --- a/packageB/institution/trainingInstitution.vue +++ b/packageB/institution/trainingInstitution.vue @@ -1,400 +1,364 @@ diff --git a/packageB/institution/trainingInstitutionDetail.vue b/packageB/institution/trainingInstitutionDetail.vue new file mode 100644 index 0000000..717e85e --- /dev/null +++ b/packageB/institution/trainingInstitutionDetail.vue @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/pages.json b/pages.json index 28814c2..c3ba787 100644 --- a/pages.json +++ b/pages.json @@ -429,13 +429,19 @@ { "path": "institution/evaluationAgency", "style": { - "navigationBarTitleText": "评价机构" + "navigationBarTitleText": "评价机构信息" } }, { "path": "institution/trainingInstitution", "style": { - "navigationBarTitleText": "培训机构" + "navigationBarTitleText": "培训机构信息" + } + }, + { + "path": "institution/trainingInstitutionDetail", + "style": { + "navigationBarTitleText": "培训机构信息详情" } } ] From 1508a1a717d1fcfc7dd830c352e263b9dcb9ed67 Mon Sep 17 00:00:00 2001 From: xuchao <1151716571@qq.com> Date: Fri, 16 Jan 2026 12:42:04 +0800 Subject: [PATCH 05/12] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=81=A2=E5=A4=8D?= =?UTF-8?q?=E6=8B=9B=E8=81=98=E4=BC=9A=E3=80=81=E5=B8=AE=E6=89=B6=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E8=B7=B3=E8=BD=AC=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/components/index-one.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/index/components/index-one.vue b/pages/index/components/index-one.vue index 9f4497b..27c6a90 100644 --- a/pages/index/components/index-one.vue +++ b/pages/index/components/index-one.vue @@ -608,6 +608,14 @@ const wxAuthLoginRef = ref(null); const state = reactive({ tabIndex: 'all', }); +//帮扶模块跳转 +const helpClick = () => { + navTo('/packageB/priority/helpFilter'); +}; +//招聘会模块跳转 +const handleJobFairClick = () => { + navTo('/pages/careerfair/careerfair'); +}; const list = ref([]); const pageState = reactive({ page: 0, From d6b6fdcc38c2bfe7fec9d538e445738ae0b91ccc Mon Sep 17 00:00:00 2001 From: xuchao <1151716571@qq.com> Date: Fri, 16 Jan 2026 12:42:44 +0800 Subject: [PATCH 06/12] =?UTF-8?q?=E6=A8=A1=E6=8B=9F=E8=80=83=E8=AF=95?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=BD=93=E5=A4=A9=E6=97=A5=E6=9C=9F=E7=B2=BE?= =?UTF-8?q?=E5=87=86=E8=87=B3=E6=97=B6=E5=88=86=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packageB/train/mockExam/examList.vue | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packageB/train/mockExam/examList.vue b/packageB/train/mockExam/examList.vue index a8e3a68..ea00968 100644 --- a/packageB/train/mockExam/examList.vue +++ b/packageB/train/mockExam/examList.vue @@ -129,6 +129,7 @@ diff --git a/packageB/institution/trainingInstitutionDetail.vue b/packageB/institution/trainingInstitutionDetail.vue index 717e85e..e5f69b3 100644 --- a/packageB/institution/trainingInstitutionDetail.vue +++ b/packageB/institution/trainingInstitutionDetail.vue @@ -1,9 +1,267 @@ - - \ No newline at end of file From ce7d261e4b31c3ad119cfa76ef322e062d62eabc Mon Sep 17 00:00:00 2001 From: WX0lxh <2062408239@qq.com> Date: Fri, 16 Jan 2026 16:34:46 +0800 Subject: [PATCH 08/12] =?UTF-8?q?=E8=AF=84=E4=BB=B7=E6=9C=BA=E6=9E=84?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packageB/institution/evaluationAgency.vue | 708 +++++++++--------- .../institution/evaluationAgencyDetail.vue | 256 +++++++ pages.json | 6 + 3 files changed, 598 insertions(+), 372 deletions(-) create mode 100644 packageB/institution/evaluationAgencyDetail.vue diff --git a/packageB/institution/evaluationAgency.vue b/packageB/institution/evaluationAgency.vue index 7546523..6c8f7fe 100644 --- a/packageB/institution/evaluationAgency.vue +++ b/packageB/institution/evaluationAgency.vue @@ -1,400 +1,364 @@ diff --git a/packageB/institution/evaluationAgencyDetail.vue b/packageB/institution/evaluationAgencyDetail.vue new file mode 100644 index 0000000..fd35289 --- /dev/null +++ b/packageB/institution/evaluationAgencyDetail.vue @@ -0,0 +1,256 @@ + + + + + \ No newline at end of file diff --git a/pages.json b/pages.json index c3ba787..3469836 100644 --- a/pages.json +++ b/pages.json @@ -432,6 +432,12 @@ "navigationBarTitleText": "评价机构信息" } }, + { + "path": "institution/evaluationAgencyDetail", + "style": { + "navigationBarTitleText": "评价机构信息详情" + } + }, { "path": "institution/trainingInstitution", "style": { From fb95e1c74e785d0f6e5798e5bf190162ae4c04aa Mon Sep 17 00:00:00 2001 From: WX0lxh <2062408239@qq.com> Date: Fri, 16 Jan 2026 16:40:55 +0800 Subject: [PATCH 09/12] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packageB/train/mockExam/startExam.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packageB/train/mockExam/startExam.vue b/packageB/train/mockExam/startExam.vue index 583528d..570e1c8 100644 --- a/packageB/train/mockExam/startExam.vue +++ b/packageB/train/mockExam/startExam.vue @@ -606,6 +606,8 @@ function exit(){ } .questionNums{ width: 100%; + height: 90vh; + overflow-y: auto; display: flex; flex-wrap: wrap; } @@ -618,6 +620,7 @@ function exit(){ border: 2px solid #E0E0E0; font-size: 28rpx; margin-right: 15px; + margin-bottom: 15px; cursor: pointer; } .questionsActive{ From d983bb272b0b1452c015c521bfcdf29791772995 Mon Sep 17 00:00:00 2001 From: lijie_ycrj <1540286404@qq.com> Date: Fri, 16 Jan 2026 16:50:06 +0800 Subject: [PATCH 10/12] =?UTF-8?q?=E9=80=9A=E7=9F=A5=E5=85=AC=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packageB/notice/detail.vue | 79 ++++++ packageB/notice/index.vue | 547 ++++++++++++------------------------- pages.json | 6 + 3 files changed, 259 insertions(+), 373 deletions(-) create mode 100644 packageB/notice/detail.vue diff --git a/packageB/notice/detail.vue b/packageB/notice/detail.vue new file mode 100644 index 0000000..1b1af5b --- /dev/null +++ b/packageB/notice/detail.vue @@ -0,0 +1,79 @@ + + + + + \ No newline at end of file diff --git a/packageB/notice/index.vue b/packageB/notice/index.vue index 7546523..41f8273 100644 --- a/packageB/notice/index.vue +++ b/packageB/notice/index.vue @@ -1,400 +1,201 @@ - +.gk-l-i-bottom{ + margin-top: 16px; + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; +} +.main-scroll { + width: 100%; + height: 90%; +} + +.policy-list { + width: 100%; + margin: 0 auto; + color: #333333; + border-radius: 24rpx; + background: #ffffff; + margin-bottom: 24rpx; + padding: 28rpx 22rpx; + box-sizing: border-box; + position: relative; + + + .title { + font-size: 32rpx; + font-weight: bold; + color: #282828; + margin-bottom: 16rpx; + display: flex; + } + + + .bottom-line { + display: flex; + justify-content: space-between; + font-size: 24rpx; + color: #a2a2a2; + margin-top: 12rpx; + } +} + \ No newline at end of file diff --git a/pages.json b/pages.json index c3ba787..c29ad4c 100644 --- a/pages.json +++ b/pages.json @@ -426,6 +426,12 @@ "navigationBarTitleText": "培训评价公告" } }, + { + "path": "notice/detail", + "style": { + "navigationBarTitleText": "公告详情" + } + }, { "path": "institution/evaluationAgency", "style": { From ba38158d4c130369b3d1aa4a295e561b135f45ba Mon Sep 17 00:00:00 2001 From: lijie_ycrj <1540286404@qq.com> Date: Fri, 16 Jan 2026 17:03:03 +0800 Subject: [PATCH 11/12] =?UTF-8?q?=E5=9B=BE=E6=A0=87=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/components/index-one.vue | 9 +++++---- static/icon/pxjgxx.png | Bin 0 -> 942 bytes static/icon/pxpjjg.png | Bin 0 -> 1048 bytes static/icon/pxxxcj.png | Bin 0 -> 1040 bytes 4 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 static/icon/pxjgxx.png create mode 100644 static/icon/pxpjjg.png create mode 100644 static/icon/pxxxcj.png diff --git a/pages/index/components/index-one.vue b/pages/index/components/index-one.vue index 27c6a90..f05f669 100644 --- a/pages/index/components/index-one.vue +++ b/pages/index/components/index-one.vue @@ -167,14 +167,15 @@ 帮扶 - - + + 培训评价公告 - - + + + 培训机构信息 diff --git a/static/icon/pxjgxx.png b/static/icon/pxjgxx.png new file mode 100644 index 0000000000000000000000000000000000000000..f341d355062059a4a412ac2d8467e7aa1194c05e GIT binary patch literal 942 zcmV;f15x~mP);7yDk;+8-(E||rXG}MI7&^>v}WG0FqH1p{0SN%=BdR1Td%M%gC2$O(a zKpjv9JOqvbgK?HC7z3^wf!)9kV3yTirRyDxV>}Zco}!+t29^WM9CP}CBA^$T1N@A< znjsvq)riPB5$P5;`b6Zsh-?*+7HdX%j5R}rgn7JcfJ%Mbiyd=50QZ4*;5yK${fG6} z#P9FO-VGST+qKmL6FqZo02hHfKwrdl0>Ni!DsTYU3oP`^c?p~aZUb*KMQAj*2q%DN zz@n7?e)Zrr;7K+~+HetGYLOiRob3&8takhI|iM7^20@VTq75RW4*Xx6Z!%zA_bm`W%R-q%_!d-<0fS`0H-7J4MjMiDXt{I z+)cnvM}Ho0N`+E=h_#0iCM5E-1)ZA?dw@25TA>ie!zSHT0Na2GMNL=>V_^xu) zU?p%DX>PjuXS?ab5yG0$so-N9)#YQIx`9(%h1i z3{z!ouR?p+_H?m`6gk=i5y?-JCDM7=ZgnCusQ0{zx(Q8UAi_Oi(X3B2k-A zm08?I5RT&EYW?TFO4qAzzYFHR9=%?#+B=zT@^!pb-;spNKv?n90;~!!_k`}cQ}I<5 zU9*;W7dlipby_)l7-7Xv5VB~lcA-xX2{)&?*A$Jp9(fvC{A^LBRg@+qj2BOOY)sdE zVlA*w9hMA z!r&e7Is=4_D4(VzT0Mu}HcXyhtq!$Iy%@q*^sCQb0aG|kA=se*YJ3Cu1EHhcw_Nnh QbpQYW07*qoM6N<$f_0^&@&Et; literal 0 HcmV?d00001 diff --git a/static/icon/pxpjjg.png b/static/icon/pxpjjg.png new file mode 100644 index 0000000000000000000000000000000000000000..2bb21e40c2989509ba12e188869f37af413657b7 GIT binary patch literal 1048 zcmV+z1n2vSP)wSRZtv-eqh-8MDV2QwmNYTJg0UrQertVMR@3H}p z2etq!8XVtMN1szt1aR0`Ujo-QIQ}x=TVO5FQL}eAB^oSeNm{SdWuK&1C7p;Z$0c1* zVUEF)J~bZpNSa)Yr%~9R2+-wnfhwL9g=n?{M=C_@RNxNf;?gR%&ikRD=QNI zW>f*_C-bkvLu^A7RAyDPv{lOvMmRavcCz?)**ACj(jZQX9(H$CvjIbnMx zb=CNJs{t=d`0R1xm%H{$v$haR*yyJZcmp^yaRP=jyFa!!BZq;XfHB5LcspJNY>oEw zz}@kT&g>hrbND0kO&)9FT+Z`IgiZX8Tg8L%T+aGTcI~I0cmJk4x5?G3SB?R*fcH%Q zPT)CXe+KL@_Ci_|t>uxKz&_J|nTso4Gy3gi01mR)*-MPxYxM9uk1hjnfcnAMw;FvX z@N?9M0^MZ*4zkhcmjk1st_Yn;S6P5}8$BGgV~uUER-I)5_BY`(j6PuWj=&tnq&X zuLi~$`wQR`W6wAGX5cRme6q!WRvrcJcXbx94YRTXNnwPD;9` z$#{6BX}>oyexqq0uyJzu*q#$OleZ;xHV8aHQlF%25@R26^DMOOAwPUwypFV+^Uupb z+|5&6eSZuOeg1bg@K)4AGVmhcmpUGo2Y_dc9fG2p|I;Jq)#ttntG&kcyR*g$r^-vt zXUGT*P30x>mWh(KC7^dmniPFauM@ak(k+s&#w;^0XPZs@9y%0uxUPe`U8)3;29V?@PL&p81LZ&dSmT zfpe82gP*nWX8XCTZ;Pc6DLPsU7sg4zv!*Wfnr~QI`N!gnm=oIz+*HUvNx(nIN1Y3k S?{Yf;0000KaP)svt}70Wj5@{|)d*jNIwKhbl7( z_krWUC%|vx#;Pi7oO9Pxnr>HudDf+rCs^gn$*HD(0Ghk+xspcALA?4 z2@7roeh1b7&jYj69ikl{g^x?RJGUpuo96l57(V%g$;HsF51L7a&A6N{k|{;`$V$*+ z$on2HJv<$96DjOr;1R)c@rYo#2-(F?0ekd45-`3Pa+<&8)Y1_;DTJV$$q?$nePono?P2qDr3eCD+esOv<^x|Nn-Kd?F@sSwCj z;$`*CtLpEm2v!28fLG(z`Co(?K{HTa;vgV$?f@r%8yR>^RzDYWUr9?)Zf9+Q3&{=b zY2aQ8a&oTR0o3XDUVFd|F>ynR#pIefGsXBf^;}tJ+FI=$DTH8~hKCTyVmAZFib=mK z(kF@GX97)pPGexb#;dqEm{+rQ2a;Q+S6z#Pz;nP0+SWW8a-4G?c{i}ua%w37PfN_L zFRI^EJLh_AN2SAz)OHSdZTo?@_4lCeMzqTJ6k$7Bi*K_?%oHP6ID`{f&Mu z&uNmkST=zKZJIo1+B%g?gnrfBSzmzE2W9(T^x8W$9{H88IOMcCwHCNw`k(d6!#7kJ z3p^QOvBg@K91o4)UuUfQS#)_>q%~kpuXApGsq7QQ!S@2nWJ!=}y@izDN Date: Fri, 16 Jan 2026 17:29:07 +0800 Subject: [PATCH 12/12] =?UTF-8?q?feat(train):=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E4=B8=93=E9=A1=B9=E8=AE=AD=E7=BB=83=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B9=B6=E8=B0=83=E6=95=B4=E7=BB=83=E4=B9=A0=E6=B5=81?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 startPracticingList.vue 页面用于展示专项训练列表 - 修改首页按钮跳转链接从 startPracticing 改为 startPracticingList - 在 pages.json 中注册新的专项训练列表页面路由 - 更新 startPracticing.vue 页面接收分类参数并传递给接口 - 实现专项训练列表的分页加载和搜索功能 - 添加专项训练项目的分类显示和难度标识 --- packageB/train/index.vue | 2 +- packageB/train/practice/startPracticing.vue | 5 +- .../train/practice/startPracticingList.vue | 392 ++++++++++++++++++ pages.json | 6 + 4 files changed, 403 insertions(+), 2 deletions(-) create mode 100644 packageB/train/practice/startPracticingList.vue diff --git a/packageB/train/index.vue b/packageB/train/index.vue index bcef18e..541562b 100644 --- a/packageB/train/index.vue +++ b/packageB/train/index.vue @@ -13,7 +13,7 @@ --> - + 专项练习 diff --git a/packageB/train/practice/startPracticing.vue b/packageB/train/practice/startPracticing.vue index d479e3a..76ee4dc 100644 --- a/packageB/train/practice/startPracticing.vue +++ b/packageB/train/practice/startPracticing.vue @@ -125,6 +125,7 @@ import useUserStore from '@/stores/useUserStore'; import useDictStore from '@/stores/useDictStore'; const userInfo = ref({}); const Authorization = ref(''); +const cataType = ref(''); const radio = ref(''); const radio2 = ref(''); const checkList = ref([]); @@ -161,6 +162,7 @@ watch(questionIndex, (newVal, oldVal) => { // }); onLoad((options) => { + cataType.value = options.cataType; Authorization.value=uni.getStorageSync('Padmin-Token')||'' getHeart(); }); @@ -202,7 +204,8 @@ function queryData(){ 'Content-Type':"application/x-www-form-urlencoded" } $api.myRequest('/train/public/trainPractice/getQuestions', { - userId: userInfo.value.userId + userId: userInfo.value.userId, + category: cataType.value },'post',9100,header).then((resData) => { if(resData&&resData.code==200){ resData.data.forEach((item,i)=>{ diff --git a/packageB/train/practice/startPracticingList.vue b/packageB/train/practice/startPracticingList.vue new file mode 100644 index 0000000..1c11977 --- /dev/null +++ b/packageB/train/practice/startPracticingList.vue @@ -0,0 +1,392 @@ + + + + + diff --git a/pages.json b/pages.json index 78cb9f8..3cc332c 100644 --- a/pages.json +++ b/pages.json @@ -342,6 +342,12 @@ "navigationBarTitleText": "技能评价" } }, + { + "path": "train/practice/startPracticingList", + "style": { + "navigationBarTitleText": "专项训练" + } + }, { "path": "train/practice/startPracticing", "style": {