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',