DocumentQuestion.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <document-cards :data="data" :hasUpload="true" :hasSlider="true" :isQuestion="true" />
  3. </template>
  4. <script>
  5. import DocumentCards from "@/components/DocumentCards.vue";
  6. import { defineComponent, ref, inject, reactive } from "vue";
  7. export default defineComponent({
  8. components: {
  9. DocumentCards
  10. },
  11. setup() {
  12. const data = ref([
  13. {
  14. background: "rgba(72, 177, 244, 0.06)",
  15. color: "rgb(72, 177, 244)",
  16. img: "/src/assets/question/1.png",
  17. title: "多类型题目",
  18. content: "支持生成单选、多选、判断、问答题等多种题目类型"
  19. },
  20. {
  21. background: "rgba(158, 128, 255, 0.06)",
  22. color: "rgb(158, 128, 255)",
  23. img: "/src/assets/question/2.png",
  24. title: "文档管理",
  25. content: "基于个人账号实现文档管理和权限区分你的文档他人不可见"
  26. }
  27. ]);
  28. return {
  29. data
  30. };
  31. }
  32. });
  33. </script>