feat: 将底部导航、分类项、分类、图标作为组件添加Diy面板中
This commit is contained in:
@@ -229,8 +229,25 @@
|
|||||||
<diy-video-list :value="item"></diy-video-list>
|
<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>
|
<diy-comp-extend :value="item"></diy-comp-extend>
|
||||||
|
|||||||
Reference in New Issue
Block a user