diff --git a/api/model/cart.js b/api/model/cart.js index bf92455..3406fa4 100644 --- a/api/model/cart.js +++ b/api/model/cart.js @@ -17,6 +17,13 @@ const api = { limit : 500, showLoading : true, }, + // 购物车-批量添加 + addCartBatch: { + url: '/cart/addList', + method: 'POST', + auth: true, + showLoading : true, + }, // 购物车-批量删除 deleteCartBatch: { url: '/cart/deleteBatch', diff --git a/api/model/order.js b/api/model/order.js index 389b548..f936f6e 100644 --- a/api/model/order.js +++ b/api/model/order.js @@ -70,6 +70,11 @@ const api = { limit : 500, showLoading : true, }, + // 商品评价数量 + productEvaluateNum: { + url: '/order/productEvaluateNum', + method: 'POST', + }, // 商品评价 productEvaluate: { url: '/order/productEvaluate', diff --git a/api/model/paper.js b/api/model/paper.js index 3459582..24d5496 100644 --- a/api/model/paper.js +++ b/api/model/paper.js @@ -2,13 +2,17 @@ // 报告相关接口 const api = { + // 近期报告 + getRecentReport: { + url: '/paper/recentReport', + method: 'GET', + auth: true, + }, // 试卷查询 getPaperList: { url: '/paper/paper', method: 'GET', auth: true, - limit : 500, - showLoading : true, }, // 试卷详情 getPaperDetail: { @@ -18,6 +22,24 @@ const api = { limit : 500, showLoading : true, }, + // 开始答题 + startPaper: { + url: '/paper/start', + method: 'GET', + auth: true, + }, + // 选择-输入完成答案 + answerPaper: { + url: '/paper/answer', + method: 'GET', + auth: true, + }, + // 提交试卷 + submitPaper: { + url: '/paper/submit', + method: 'GET', + auth: true, + }, // 试卷下的报告列表 getReportByPaperId: { url: '/paper/reportById', @@ -31,7 +53,6 @@ const api = { url: '/paper/reportDetail', method: 'GET', auth: true, - limit : 500, showLoading : true, }, } diff --git a/common.scss b/common.scss index 5bd6375..b19136d 100644 --- a/common.scss +++ b/common.scss @@ -62,6 +62,9 @@ .btn:after { border: none; } +.btn.is-disabled { + opacity: 0.5; +} /deep/ .uv-modal__content { padding: 0 !important; diff --git a/components/config/popupQrCode.vue b/components/config/popupQrCode.vue index 2bbe848..a74ee62 100644 --- a/components/config/popupQrCode.vue +++ b/components/config/popupQrCode.vue @@ -4,6 +4,7 @@ :overlayOpacity="0.8" mode="bottom" round="20rpx" + :zIndex="1000000" > 长按识别二维码,了解更多内容! diff --git a/components/report/reportScoreView.vue b/components/report/reportScoreView.vue index feef75a..4e4c4cc 100644 --- a/components/report/reportScoreView.vue +++ b/components/report/reportScoreView.vue @@ -1,15 +1,14 @@