From d939d9368692089b29145dd6e5ab4c94c05db1cf Mon Sep 17 00:00:00 2001 From: wangzimeng <3297159934@qq.com> Date: Sat, 26 Jul 2025 16:27:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E8=AF=A6=E6=83=85=EF=BC=9A?= =?UTF-8?q?=E9=9D=99=E6=80=81=E9=A1=B5=E9=9D=A2+=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E5=B7=B2=E5=AE=8C=E6=88=90=E3=80=81=E5=BA=95?= =?UTF-8?q?=E9=83=A8=E7=9A=84=E5=88=86=E4=BA=AB=E5=92=8C=E5=AE=A2=E6=9C=8D?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=9C=AA=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 14 +- pages/canteenRent/rentDetail.vue | 6 +- pages/school/classesDetail.vue | 555 +++++++++++++++++++++++++++++++ pages/school/schoolIndex.vue | 11 +- sheep/api/school.js | 9 + 5 files changed, 589 insertions(+), 6 deletions(-) create mode 100644 pages/school/classesDetail.vue diff --git a/pages.json b/pages.json index b917a12..a6dd5a0 100644 --- a/pages.json +++ b/pages.json @@ -134,8 +134,18 @@ "auth": true, "title": "平台学院" } - } - + }, + { + "path": "classesDetail", + "style": { + "navigationBarTitleText": "课程详情" + }, + "meta": { + "sync": true, + "title": "课程详情", + "group": "平台学院" + } + } ] }, { diff --git a/pages/canteenRent/rentDetail.vue b/pages/canteenRent/rentDetail.vue index 82b7518..375294d 100644 --- a/pages/canteenRent/rentDetail.vue +++ b/pages/canteenRent/rentDetail.vue @@ -180,9 +180,9 @@ onLoad((options) => { console.log('onload', options.id); rentId.value = options.id - if (options.id) { - getDetail(); - } + // if (options.id) { + // getDetail(); + // } }) onShow(() => { diff --git a/pages/school/classesDetail.vue b/pages/school/classesDetail.vue new file mode 100644 index 0000000..9e99692 --- /dev/null +++ b/pages/school/classesDetail.vue @@ -0,0 +1,555 @@ + + + + + \ No newline at end of file diff --git a/pages/school/schoolIndex.vue b/pages/school/schoolIndex.vue index 640acd0..d2027ea 100644 --- a/pages/school/schoolIndex.vue +++ b/pages/school/schoolIndex.vue @@ -24,7 +24,7 @@ @refresherrefresh="onS" scroll-y="true" class="flex align-items" style="height: 1250rpx;box-sizing: border-box;"> - + // request({ // url: 'coupon/detail',