feat: 将底部导航、分类项、分类、图标作为组件添加Diy面板中
This commit is contained in:
@@ -227,11 +227,28 @@
|
||||
<template v-if="item.componentName == 'VideoList'">
|
||||
<!-- 视频列表 -->
|
||||
<diy-video-list :value="item"></diy-video-list>
|
||||
</template>
|
||||
|
||||
|
||||
</template>
|
||||
|
||||
<template v-if="item.componentName == 'BottomNav'">
|
||||
<!-- 底部导航 -->
|
||||
<diy-bottom-nav :value="item"></diy-bottom-nav>
|
||||
</template>
|
||||
|
||||
<template v-if="item.componentName == 'CategoryItem'">
|
||||
<!-- 分类项 -->
|
||||
<diy-category-item :value="item"></diy-category-item>
|
||||
</template>
|
||||
|
||||
<template v-if="item.componentName == 'Category'">
|
||||
<!-- 分类 -->
|
||||
<diy-category :value="item"></diy-category>
|
||||
</template>
|
||||
|
||||
<template v-if="item.componentName == 'Icon'">
|
||||
<!-- 图标 -->
|
||||
<diy-icon :value="item"></diy-icon>
|
||||
</template>
|
||||
|
||||
|
||||
<!-- 自定义扩展组件 -->
|
||||
<diy-comp-extend :value="item"></diy-comp-extend>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user