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