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 @@