HeadNotice.vue 672 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <template>
  2. <div :class="classes">
  3. <h4>注意事项:</h4>
  4. <div
  5. class="head-notice-cont"
  6. v-for="(cont, index) in data.noticeHead"
  7. :key="index"
  8. >
  9. <span>{{ index + 1 }}、</span>
  10. <span>{{ cont }}</span>
  11. </div>
  12. </div>
  13. </template>
  14. <script>
  15. export default {
  16. name: "head-notice",
  17. props: {
  18. data: {
  19. type: Object
  20. }
  21. },
  22. data() {
  23. return {};
  24. },
  25. computed: {
  26. classes() {
  27. return [
  28. "head-notice",
  29. "card-head-body-spin",
  30. {
  31. "head-notice-exam-number-fill": this.data.examNumberStyle === "fill"
  32. }
  33. ];
  34. }
  35. },
  36. mounted() {},
  37. methods: {}
  38. };
  39. </script>