删除文件
parent
e66cf452a8
commit
6e3fbe2b41
|
|
@ -1,28 +1,4 @@
|
||||||
<template>
|
<template>
|
||||||
<template v-if="props.outerflex == 'row'">
|
|
||||||
<div class="flex-row gap-10 align-c">
|
|
||||||
<template v-if="props.flex == 'row'">
|
|
||||||
<div v-for="(item2, index2) in split_list" :key="index2" class="flex-row gap-10 align-c">
|
|
||||||
<image-empty v-model="item2.new_src[0]" :style="contentImgRadius"></image-empty>
|
|
||||||
<div class="flex-col gap-10">
|
|
||||||
<div>标题</div>
|
|
||||||
<div>价格</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template v-else>
|
|
||||||
<div v-for="(item2, index2) in split_list" :key="index2" class="flex-col gap-10 align-c">
|
|
||||||
<image-empty v-model="item2.new_src[0]" :style="contentImgRadius"></image-empty>
|
|
||||||
<div class="flex-col gap-10">
|
|
||||||
<div>标题</div>
|
|
||||||
<div>价格</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template v-else>
|
|
||||||
<div class="flex-col gap-10 align-c">
|
|
||||||
<template v-if="props.flex === 'row'">
|
<template v-if="props.flex === 'row'">
|
||||||
<div v-for="(item2, index2) in split_list" :key="index2" class="flex-row gap-10 align-c">
|
<div v-for="(item2, index2) in split_list" :key="index2" class="flex-row gap-10 align-c">
|
||||||
<image-empty v-model="item2.new_src[0]" :style="contentImgRadius"></image-empty>
|
<image-empty v-model="item2.new_src[0]" :style="contentImgRadius"></image-empty>
|
||||||
|
|
@ -41,8 +17,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,16 @@
|
||||||
<div class="w h">
|
<div class="w h">
|
||||||
<el-carousel :key="item.data_style.carouselKey" indicator-position="none" :interval="item.data_style.interval_time * 1000" arrow="never" :autoplay="item.data_style.is_roll" @change="carousel_change($event, index)">
|
<el-carousel :key="item.data_style.carouselKey" indicator-position="none" :interval="item.data_style.interval_time * 1000" arrow="never" :autoplay="item.data_style.is_roll" @change="carousel_change($event, index)">
|
||||||
<el-carousel-item v-for="(item1, index1) in item.data_content.list" :key="index1">
|
<el-carousel-item v-for="(item1, index1) in item.data_content.list" :key="index1">
|
||||||
<product-list-show :outerflex="item.outerflex" :flex="item.flex" :value="item1.split_list" :content-img-radius="content_img_radius"></product-list-show>
|
<template v-if="item.outerflex == 'row'">
|
||||||
|
<div class="flex-row gap-10 align-c">
|
||||||
|
<product-list-show :flex="item.flex" :value="item1.split_list" :content-img-radius="content_img_radius"></product-list-show>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<div class="flex-col gap-20 align-c">
|
||||||
|
<product-list-show :flex="item.flex" :value="item1.split_list" :content-img-radius="content_img_radius"></product-list-show>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
</el-carousel-item>
|
</el-carousel-item>
|
||||||
</el-carousel>
|
</el-carousel>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue