index.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <template>
  2. <div class="">
  3. <img class="w-full" src="@/assets/img/login/top_bg.png" />
  4. <div class="pr30 pl30">
  5. <div
  6. class="flex w-full flex-col h137 justify-center content-center relative"
  7. >
  8. <div
  9. class="flex w72 h40 right0 round4 items-center justify-center absolute bottom16 bg-primary-yellow cursor-pointer"
  10. >
  11. <img
  12. class="w15 h15 mr5"
  13. src="@/assets/img/driverExamAnaly/close_icon.png"
  14. />
  15. <span class="font16">关闭</span>
  16. </div>
  17. <div class="font0 overflow-hidden">
  18. <span class="font50 text-red-500">3</span>
  19. <span class="font16 text-red-500">分</span>
  20. </div>
  21. <div class="font16 w-full">你的成绩</div>
  22. </div>
  23. <div
  24. class="bg-red-100 h46 lh46 w-full pr20 pl20 text-left"
  25. style="color: #66645c"
  26. >
  27. 提示:打"√"表示是正确答案;打"×"表示你答错的答案;答题是红色表示没有做。
  28. </div>
  29. <div class="pt30 pb30 pt30 pb30">
  30. <div
  31. class="round10 pt30 pr30 pl30 pb30 text-left round10 gray-border mb20"
  32. >
  33. <div>1、驾驶机动车不妨碍其他车辆正常行驶时,可连续变更两条车道。</div>
  34. <div>×A、正确</div>
  35. <div>√B、错误</div>
  36. <div
  37. class="bg-primary-yellow font16 lh40 w110 text-center round4 mt20 cursor-pointer"
  38. >
  39. 本题解析
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. </template>
  46. <script lang="ts">
  47. import { openApi } from "@/api/open/type";
  48. import { defineComponent, ref } from "vue";
  49. // import { Button } from "ant-design-vue";
  50. export default defineComponent({
  51. setup() {
  52. return {
  53. score:ref(0),
  54. userAnswerList:ref<openApi.selectFreeQuestionInfoRes>()
  55. };
  56. },
  57. components: {
  58. // aButton: Button,
  59. },
  60. mounted () {
  61. this.score = Number(this.$route.query.score);
  62. this.userAnswerList = JSON.parse(
  63. (this.$route.query.wrongListRes as string) || "[]"
  64. );;
  65. },
  66. });
  67. </script>
  68. <style scoped>
  69. .gray-border {
  70. border: 1px solid #d8d8d8;
  71. }
  72. .bg-primary-yellow {
  73. background: #f9de5b;
  74. }
  75. </style>