营销:适配商城装修组件【分割线】

This commit is contained in:
owen
2023-12-02 00:51:58 +08:00
parent ff6788b685
commit 51a0d8792e
3 changed files with 40 additions and 20 deletions
@@ -21,8 +21,8 @@
<s-image-cube v-if="type === 'MagicCube'" :data="data" :styles="styles" />
<!-- 图文组件视频播放 -->
<s-video-block v-if="type === 'VideoPlayer'" :data="data" :styles="styles" />
<!-- 基础组件辅助线 -->
<s-line-block v-if="type === 'lineBlock'" :data="data" />
<!-- 基础组件分割线 -->
<s-line-block v-if="type === 'Divider'" :data="data" />
<!-- 图文组件热区 -->
<s-hotzone-block v-if="type === 'hotzone'" :data="data" :styles="styles" />
@@ -1,12 +1,12 @@
<template>
<su-subline :color="data.lineColor" :lineStyle="data.style"></su-subline>
<su-subline v-bind="data"></su-subline>
</template>
<script setup>
const props = defineProps({
data: {
type: Object,
default() {},
default: {},
},
});
</script>