12345678910111213141516171819202122232425262728293031323334353637383940 |
- <template>
- <view>
- <view class="a" v-for="item in list" :key="item.fileId">
- <handouts-tree :fileInfo="item"></handouts-tree>
- </view>
- </view>
- </template>
- <script>
- import handoutsTree from "@/components/course/handoutsTree.vue";
- export default {
- name: "HandoutsBox",
- props: {
- list: {
- type: Array,
- default: () => {
- return [];
- },
- },
- },
- data() {
- return {};
- },
- mounted() {},
- methods: {},
- components: {
- handoutsTree,
- },
- };
- </script>
- <style lang="scss" scoped>
- .a{
- border-radius: 20rpx;
- background: #ffffff;
- margin-bottom: 20rpx;
- }
- </style>
|