修改数据魔方处理逻辑

master
于肖磊 2024-11-25 10:28:36 +08:00
parent c80faf1ff3
commit b2d874d2ae
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<template>
<template v-if="data_source_content_list.length > 0 && form.data_source_direction == '0'">
<view v-if="data_source_content_list.length > 0 && form.data_source_direction == '0'">
<view v-for="(item, index) in data_source_content_list" :key="index">
<view v-for="(item1, index1) in item.split_list" :key="index1" :style="style_container">
<view class="custom-container wh-auto ht-auto" :style="style_img_container">
@ -8,7 +8,7 @@
</view>
</view>
</template>
</view>
<div v-else-if="data_source_content_list.length > 0 && ['1', '2'].includes(form.data_source_direction)" class="oh pr">
<swiper class="w flex" circular="true" :vertical="form.data_source_direction != '2'" :autoplay="new_style.is_roll == '1'" :interval="new_style.interval_time * 1000" :duration="500" :display-multiple-items="slides_per_view" :style="{ width: '100%', height: swiper_height + 'px' }" @change="slideChange">
<swiper-item v-for="(item, index) in data_source_content_list" :key="index">
@ -22,13 +22,13 @@
</swiper-item>
</swiper>
</div>
<template v-else>
<view v-else>
<view :style="style_container">
<view class="custom-container wh-auto ht-auto" :style="style_img_container">
<dataRendering :propCustomList="form.custom_list" :propDataHeight="form.height" :propScale="scale" @url_event="url_event"></dataRendering>
</view>
</view>
</template>
</view>
</template>
<script>