handoutsBox.vue 626 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <template>
  2. <view>
  3. <view class="a" v-for="item in list" :key="item.fileId">
  4. <handouts-tree :fileInfo="item"></handouts-tree>
  5. </view>
  6. </view>
  7. </template>
  8. <script>
  9. import handoutsTree from "@/components/course/handoutsTree.vue";
  10. export default {
  11. name: "HandoutsBox",
  12. props: {
  13. list: {
  14. type: Array,
  15. default: () => {
  16. return [];
  17. },
  18. },
  19. },
  20. data() {
  21. return {};
  22. },
  23. mounted() {},
  24. methods: {},
  25. components: {
  26. handoutsTree,
  27. },
  28. };
  29. </script>
  30. <style lang="scss" scoped>
  31. .a{
  32. border-radius: 20rpx;
  33. background: #ffffff;
  34. margin-bottom: 20rpx;
  35. }
  36. </style>