Commit 343a33c602d9f72d3216df550bc8ba2c96ddc718
1 parent
0f102a24
feat: 代码提交
Showing
2 changed files
with
8 additions
and
11 deletions
src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue
| ... | ... | @@ -232,7 +232,6 @@ |
| 232 | 232 | </el-dialog> |
| 233 | 233 | </template> |
| 234 | 234 | <script> |
| 235 | -import { number } from "echarts"; | |
| 236 | 235 | import draggable from "vuedraggable"; |
| 237 | 236 | import { paperPrint } from "@/utils"; |
| 238 | 237 | export default { |
| ... | ... | @@ -707,7 +706,6 @@ export default { |
| 707 | 706 | localStorage.setItem("question", JSON.stringify(this.groups)); |
| 708 | 707 | localStorage.setItem("testlist", JSON.stringify(this.testData)); |
| 709 | 708 | this.$emit("setQuestions"); |
| 710 | - this.handleClose(); | |
| 711 | 709 | }) |
| 712 | 710 | .catch(() => { |
| 713 | 711 | console.log("取消"); |
| ... | ... | @@ -831,6 +829,7 @@ export default { |
| 831 | 829 | height: 40px; |
| 832 | 830 | justify-content: space-between; |
| 833 | 831 | cursor: pointer; |
| 832 | + padding: 0 10px; | |
| 834 | 833 | } |
| 835 | 834 | } |
| 836 | 835 | |
| ... | ... | @@ -923,4 +922,4 @@ export default { |
| 923 | 922 | background: rgb(115, 142, 246); |
| 924 | 923 | border-bottom: 1px solid rgb(115, 142, 246); |
| 925 | 924 | } |
| 926 | -</style> | |
| 927 | 925 | \ No newline at end of file |
| 926 | +</style> | ... | ... |
src/views/basic/askTestQuestion/wrongQuestion.vue
| ... | ... | @@ -254,8 +254,8 @@ |
| 254 | 254 | /> |
| 255 | 255 | </div> |
| 256 | 256 | </template> |
| 257 | - | |
| 258 | - <script> | |
| 257 | + | |
| 258 | +<script> | |
| 259 | 259 | import { setDateRules } from "@/utils"; |
| 260 | 260 | import wrongQuestionDialog from "./components/wrongQuestionDialog.vue"; |
| 261 | 261 | import analysisDialog from "./components/analysisDialog.vue"; |
| ... | ... | @@ -514,9 +514,7 @@ export default { |
| 514 | 514 | |
| 515 | 515 | // 购物车触发弹框 |
| 516 | 516 | handleShop() { |
| 517 | - if (this.questions.length > 0) { | |
| 518 | - this.visible = true; | |
| 519 | - } | |
| 517 | + this.visible = true; | |
| 520 | 518 | }, |
| 521 | 519 | |
| 522 | 520 | // 获取科目列表 |
| ... | ... | @@ -620,8 +618,8 @@ export default { |
| 620 | 618 | }, |
| 621 | 619 | }; |
| 622 | 620 | </script> |
| 623 | - | |
| 624 | - <style lang="scss" scoped> | |
| 621 | + | |
| 622 | +<style lang="scss" scoped> | |
| 625 | 623 | .page-content { |
| 626 | 624 | box-sizing: border-box; |
| 627 | 625 | padding: 0 20px; |
| ... | ... | @@ -781,4 +779,4 @@ export default { |
| 781 | 779 | .size { |
| 782 | 780 | font-size: 14px !important; |
| 783 | 781 | } |
| 784 | -</style> | |
| 785 | 782 | \ No newline at end of file |
| 783 | +</style> | ... | ... |