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 @@
+
+
+
+
+
+
+ {{ titleData.title }}
+
+
+
+ {{ titleData.create_time }}
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+ {{ item.create_time }}
+
+
+
+
+
+
+
+
+
+
\ 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 0000000..e8cc6a0
Binary files /dev/null and b/src/static/img/nianb.png differ