From 02bf8616fe7679ef1a1a6c3aa50b13202a9d0a08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B2=B3=E9=B9=8F=E9=BE=99?= <1547476325@qq.com> Date: Thu, 7 Aug 2025 18:06:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9E=E5=B9=B4=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/learningCenter.ts | 2 +- src/api/shop.ts | 18 +++ src/pages.json | 21 +++ src/pages/index/bnbdetail.vue | 114 ++++++++++++++++ src/pages/index/index.vue | 19 ++- src/pages/index/shoppage/annualReport.vue | 156 ++++++++++++++++++++++ src/pages/index/shoppage/qyHelp.vue | 77 +++++++++++ src/pages/learningCenter/index.vue | 7 +- src/static/img/nianb.png | Bin 0 -> 790 bytes 9 files changed, 407 insertions(+), 7 deletions(-) create mode 100644 src/pages/index/bnbdetail.vue create mode 100644 src/pages/index/shoppage/annualReport.vue create mode 100644 src/pages/index/shoppage/qyHelp.vue create mode 100644 src/static/img/nianb.png diff --git a/src/api/learningCenter.ts b/src/api/learningCenter.ts index ae1846c..be238c2 100644 --- a/src/api/learningCenter.ts +++ b/src/api/learningCenter.ts @@ -11,7 +11,7 @@ export function myStudy() { //学习中心列表 export function studyCenter(recommend: string, title: string, type: string, page: string, limit: string) { return request.http({ - url: '/api/huiqitong/study_center?recommend=' + recommend + '&title=' + title + '&s_type=' + type + '&page=' + page + '&limit=' + limit, + url: '/api/huiqitong/study_center?recommend=' + recommend + '&title=' + title + '&category_id=' + type + '&page=' + page + '&limit=' + limit, method: 'GET' }) } diff --git a/src/api/shop.ts b/src/api/shop.ts index 40716ea..f63a738 100644 --- a/src/api/shop.ts +++ b/src/api/shop.ts @@ -137,3 +137,21 @@ export function postsInfo(id: any) { method: 'GET' }) } + +//办年报列表 +export function annualReport(data: any) { + return request.http({ + url: '/api/huiqitong/annual_report', + method: 'GET', + data + }) +} + +//办年报详情 +export function ReportDetail(id: any) { + return request.http({ + url: '/api/huiqitong/annual_report/' + id, + method: 'GET' + }) +} + diff --git a/src/pages.json b/src/pages.json index 42d41e0..a2c036f 100644 --- a/src/pages.json +++ b/src/pages.json @@ -137,6 +137,13 @@ "navigationStyle": "custom" } }, + { + "path": "pages/index/shoppage/qyHelp", + "style": { + "navigationBarTitleText": "企业帮", + "navigationStyle": "custom" + } + }, //视频图文详情 { "path": "pages/learningCenter/detail", @@ -201,6 +208,20 @@ { "navigationBarTitleText" : "互动专区" } + }, + { + "path" : "pages/index/shoppage/annualReport", + "style" : + { + "navigationBarTitleText" : "办年报" + } + }, + { + "path" : "pages/index/bnbdetail", + "style" : + { + "navigationBarTitleText" : "办年报详情" + } } ], "permission": { diff --git a/src/pages/index/bnbdetail.vue b/src/pages/index/bnbdetail.vue new file mode 100644 index 0000000..811e12a --- /dev/null +++ b/src/pages/index/bnbdetail.vue @@ -0,0 +1,114 @@ + + + + + \ No newline at end of file diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index b923ba7..69b1f27 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -55,7 +55,7 @@ 开店帮 - + 企业帮 @@ -238,6 +238,12 @@ const gojrb = () => { }) } +const goqyb = () => { + uni.navigateTo({ + url: '/pages/index/shoppage/qyHelp' + }) +} + const gomtb = () => { uni.navigateTo({ url: '/pages/index/shoppage/mediaHelp' @@ -318,10 +324,13 @@ onShow(async () => { }) const kfz = () => { - uni.showToast({ - title: '开发中。。。', - icon: 'none' - }) + // uni.showToast({ + // title: '开发中。。。', + // icon: 'none' + // }) + uni.navigateTo({ + url: '/pages/index/shoppage/annualReport' + }) } const clickcount = ref(0) diff --git a/src/pages/index/shoppage/annualReport.vue b/src/pages/index/shoppage/annualReport.vue new file mode 100644 index 0000000..91476ea --- /dev/null +++ b/src/pages/index/shoppage/annualReport.vue @@ -0,0 +1,156 @@ + + + + + \ No newline at end of file diff --git a/src/pages/index/shoppage/qyHelp.vue b/src/pages/index/shoppage/qyHelp.vue new file mode 100644 index 0000000..4112b43 --- /dev/null +++ b/src/pages/index/shoppage/qyHelp.vue @@ -0,0 +1,77 @@ + + + + diff --git a/src/pages/learningCenter/index.vue b/src/pages/learningCenter/index.vue index e66090f..d682d85 100644 --- a/src/pages/learningCenter/index.vue +++ b/src/pages/learningCenter/index.vue @@ -194,7 +194,12 @@ onShow(async () => { } else { getcenterList(1, keyword.value, tabIndex.value, 1, 10) } - + tabList.value = [ + { + id: '', + title: '推荐' + } + ] studyCenterCategory().then((rre) => { tabList.value = [...tabList.value, ...rre.data] }) diff --git a/src/static/img/nianb.png b/src/static/img/nianb.png new file mode 100644 index 0000000000000000000000000000000000000000..e8cc6a03be3aa66a7db2133bd2b84525fb5146d9 GIT binary patch literal 790 zcmV+x1L^#UP)Px#1am@3R0s$N2z&@+hyVZrz)3_wR9J=Wm@!BjQ5b-~{}~kmp~7`Bi*eDR6atZg zAc&pqPzqhOi?%{bx2|#QCRIx9)UI7Rq_b5Bh|nv6;-FKyG($}r5TsV`{tjN^g*3?} zxg-vL5V&`F@7Ckizo{~(mRtw*}h0~T~a79(Qra6hJ2;r z@*Jt8v=Ir?x>zOn+SZghq{7a7>5orPm<>EoS*QrU`Kr^R+z!>u99RAF=^0-Ls0&Z|?M)}E%g9j*mC z)ny%tkyWHFV$$X&63@4KoThFG+bgp(m(+D0Exf^t{bC+l<{e#d{aMEHcVmJvp z;iSb@XG+yHO|h4*&{EbaSALOP3wFwt7YwxyHoaIIb<()d@aZ