From 693d4852c050a7cb51f6d0458505274fb10348a7 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 13 Jun 2023 15:21:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E9=83=A8=E5=BC=80=E5=8F=91=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/modules/product.js | 12 ++ components/filter-popup/filter-popup.vue | 90 +++++++++++- config/request.js | 4 +- libs/util.js | 10 +- order/addCourse/addCourse.vue | 11 +- order/editCourse/editCourse.vue | 46 +++--- order/orderDetail/orderDetail.vue | 172 +++++++++++++++-------- order/ordered/ordered.vue | 43 +++--- order/productDetail/productDetail.vue | 95 +++++++++++-- order/products/products.vue | 124 ++++++++++++++-- order/shopCart/shopCart.vue | 63 ++++++++- pages/clients/clients.vue | 4 +- pages/index/index.vue | 10 +- pages/orders/orders.vue | 4 +- pages/person/person.vue | 7 + pages/workbench/workbench.vue | 14 +- static/image/tab1-1.png | Bin 604 -> 892 bytes static/image/tab1.png | Bin 645 -> 15241 bytes static/image/tab2-1.png | Bin 1356 -> 15297 bytes static/image/tab2.png | Bin 1356 -> 1054 bytes static/image/tab3-1.png | Bin 457 -> 15314 bytes static/image/tab3.png | Bin 452 -> 880 bytes static/image/tab4-1.png | Bin 680 -> 15331 bytes static/image/tab4.png | Bin 627 -> 1018 bytes static/image/workbench/index1.png | Bin 39359 -> 139342 bytes team/article/article.vue | 7 +- team/scheme/scheme.vue | 7 +- team/send/send.vue | 14 +- team/teams/teams.vue | 7 + 29 files changed, 565 insertions(+), 179 deletions(-) diff --git a/apis/modules/product.js b/apis/modules/product.js index 50aeada..4726020 100644 --- a/apis/modules/product.js +++ b/apis/modules/product.js @@ -35,4 +35,16 @@ export const delCart = (data) => { export const shoppingCartList = (data) => { return post('nakadai/mini/program/shopping/cart/shoppingCartList', data) +} + +export const courseDiscipline = () => { + return get('nakadai/nakadai/subject/courseDiscipline') +} + +export const courseProfessionalClass = id => { + return get('nakadai/nakadai/subject/courseProfessionalClass?disciplineId=' + id) +} + +export const courseProfessional = id => { + return get('nakadai/nakadai/subject/courseProfessional?professionalClassId=' + id) } \ No newline at end of file diff --git a/components/filter-popup/filter-popup.vue b/components/filter-popup/filter-popup.vue index 4665ed3..d377343 100644 --- a/components/filter-popup/filter-popup.vue +++ b/components/filter-popup/filter-popup.vue @@ -11,12 +11,19 @@ :mask-custom-style="{ background: 'rgba(0, 0, 0, 0.7)' }" > - {{ title }} + {{ title }} + + + 学科专业 + + {{categoryName ? categoryName : '请选择'}} + + + {{ item.title }} @@ -59,6 +66,7 @@