diff --git a/src/api/base/server.ts b/src/api/base/server.ts index a2e35fa..7e0931b 100644 --- a/src/api/base/server.ts +++ b/src/api/base/server.ts @@ -101,6 +101,13 @@ export const jzXkFqJfjApi = async (params: any) => { return await post("/mobile/jz/xk/fqjf", params); }; +/** + * 家长取消选课,不支付 + */ +export const jzXkCancelApi = async (params: any) => { + return await post("/mobile/jz/xk/cancel", params); +}; + /** * 家长退课 */ diff --git a/src/pages.json b/src/pages.json index ebb77f1..b941d7e 100644 --- a/src/pages.json +++ b/src/pages.json @@ -183,6 +183,16 @@ "enablePullDownRefresh": false } }, + { + "path": "pages/base/course-selection/pay-wait", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff", + "navigationBarTextStyle": "black", + "backgroundColor": "#ffffff" + } + }, { "path": "pages/base/course-selection/payment-success", "style": { diff --git a/src/pages/base/course-selection/pay-wait.vue b/src/pages/base/course-selection/pay-wait.vue new file mode 100644 index 0000000..bac6517 --- /dev/null +++ b/src/pages/base/course-selection/pay-wait.vue @@ -0,0 +1,42 @@ + + + + + diff --git a/src/pages/base/course-selection/payment.vue b/src/pages/base/course-selection/payment.vue index edf2da3..dcb5b7c 100644 --- a/src/pages/base/course-selection/payment.vue +++ b/src/pages/base/course-selection/payment.vue @@ -19,39 +19,36 @@ - + - {{ student.xm }} + {{ curXs.xm }} {{ student.njmc }}{{ student.bjmc }}{{ curXs.njmc }}{{ curXs.bjmc }} - + 课程信息 - {{ course.kcmc }} - 开课老师:{{ course.jsName }} - 上课地点:{{ course.kcdd }} + {{ xkqd.kcmc }} + 开课老师:{{ xkqd.jsxm }} + 上课地点:{{ xkqd.kcdd }} 金额:¥{{ course.kcje }}金额:¥{{ xkqd.kcje }} @@ -61,7 +58,7 @@ 总金额: - ¥{{ course.kcje }} + ¥{{ totalJe }} @@ -73,25 +70,36 @@