From 982820b5d130ad417df54e42512cd3600dcfa775 Mon Sep 17 00:00:00 2001 From: wangdong <1551135706@qq.com> Date: Sun, 24 Mar 2024 01:55:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E4=B9=A0=E4=B8=AD=E5=BF=83=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/learning.js | 5 + api/special.js | 4 + components/Course/offlineStyleCourse.vue | 8 +- components/Course/squareStyleCourse.vue | 2 +- components/NavBar/index.vue | 8 +- pages/activity/activity_list.vue | 50 +++++-- pages/course/special_cate.vue | 14 +- pages/index/getLocation.js | 26 +++- pages/index/index.vue | 122 ++++++--------- pages/learning/index.vue | 181 ++++++++--------------- pages/mine/index.vue | 6 + pages/my/bill_detail.vue | 4 +- pages/special/specialCateCourse.vue | 6 +- pages/store/goodsCate.vue | 37 ++++- pages/store/index.vue | 2 +- store/modules/app.js | 1 + 16 files changed, 239 insertions(+), 237 deletions(-) create mode 100644 api/learning.js diff --git a/api/learning.js b/api/learning.js new file mode 100644 index 0000000..4de1c8f --- /dev/null +++ b/api/learning.js @@ -0,0 +1,5 @@ +import http from "@/utils/request"; + +export function getLearningData(params){ + return http.get("/clearance/grade_index", params) +} \ No newline at end of file diff --git a/api/special.js b/api/special.js index 834a7e8..4d9ebf9 100644 --- a/api/special.js +++ b/api/special.js @@ -424,4 +424,8 @@ export function groupWorks(){ return http.get("/special/groupWork",{},{ requireAuth:false }) +} + +export function getSpecialSubject(){ + return http.get("/special/getSpecialSubject",{}) } \ No newline at end of file diff --git a/components/Course/offlineStyleCourse.vue b/components/Course/offlineStyleCourse.vue index 6455fc7..fc74b7a 100644 --- a/components/Course/offlineStyleCourse.vue +++ b/components/Course/offlineStyleCourse.vue @@ -2,21 +2,21 @@ - + {{ item.title }} diff --git a/components/Course/squareStyleCourse.vue b/components/Course/squareStyleCourse.vue index 733b28c..8876432 100644 --- a/components/Course/squareStyleCourse.vue +++ b/components/Course/squareStyleCourse.vue @@ -7,7 +7,7 @@ {{ item.title }} - 视频 + 视频 直播 {{ item.count }}人已学 diff --git a/components/NavBar/index.vue b/components/NavBar/index.vue index e5538ed..98c2f03 100644 --- a/components/NavBar/index.vue +++ b/components/NavBar/index.vue @@ -1,7 +1,7 @@