修改自定义显示处理

v1.1.0
于肖磊 2024-12-23 18:06:51 +08:00
parent 152e7aedfb
commit 7c3aa45864
4 changed files with 6 additions and 6 deletions

View File

@ -348,7 +348,7 @@ const float_bottom_change = (val: { bottom: string; location: string }, id: stri
} }
.plug-in-mark-name { .plug-in-mark-name {
position: absolute; position: absolute;
top: -0.6rem; top: -0.7rem;
left: -0.6rem; left: -0.6rem;
} }
.plug-in-close::before { .plug-in-close::before {

View File

@ -5,7 +5,7 @@
<div class="flex-row flex-wrap" :style="`row-gap: ${ new_style.row_gap }px;column-gap: ${ new_style.column_gap }px;`"> <div class="flex-row flex-wrap" :style="`row-gap: ${ new_style.row_gap }px;column-gap: ${ new_style.column_gap }px;`">
<div v-for="(item1, index1) in data_source_content_list" :key="index1" :style="`width: ${ gap_width }`"> <div v-for="(item1, index1) in data_source_content_list" :key="index1" :style="`width: ${ gap_width }`">
<div :style="style_chunk_container"> <div :style="style_chunk_container">
<div class="w h" :style="style_chunk_img_container"> <div class="w h oh" :style="style_chunk_img_container">
<data-rendering :custom-list="form.custom_list" :source-list="item1" :data-height="form.height" :scale="scale" :is-custom="form.is_custom_data == '1'" :show-data="form?.show_data || { data_key: 'id', data_name: 'name' }"></data-rendering> <data-rendering :custom-list="form.custom_list" :source-list="item1" :data-height="form.height" :scale="scale" :is-custom="form.is_custom_data == '1'" :show-data="form?.show_data || { data_key: 'id', data_name: 'name' }"></data-rendering>
</div> </div>
</div> </div>
@ -16,7 +16,7 @@
<swiper :key="carouselKey" class="w flex" :direction="form.data_source_direction == 'horizontal' ? 'horizontal': 'vertical'" :height="swiper_height" :loop="true" :autoplay="autoplay" :slides-per-view="slides_per_view" :slides-per-group="slides_per_group" :space-between="space_between" :allow-touch-move="false" :pause-on-mouse-enter="true" :modules="modules" @slide-change="slideChange"> <swiper :key="carouselKey" class="w flex" :direction="form.data_source_direction == 'horizontal' ? 'horizontal': 'vertical'" :height="swiper_height" :loop="true" :autoplay="autoplay" :slides-per-view="slides_per_view" :slides-per-group="slides_per_group" :space-between="space_between" :allow-touch-move="false" :pause-on-mouse-enter="true" :modules="modules" @slide-change="slideChange">
<swiper-slide v-for="(item1, index1) in data_source_content_list" :key="index1"> <swiper-slide v-for="(item1, index1) in data_source_content_list" :key="index1">
<div :style="style_chunk_container"> <div :style="style_chunk_container">
<div class="w h" :style="style_chunk_img_container"> <div class="w h oh" :style="style_chunk_img_container">
<data-rendering :custom-list="form.custom_list" :source-list="item1" :data-height="form.height" :scale="scale" :is-custom="form.is_custom_data == '1'" :show-data="form?.show_data || { data_key: 'id', data_name: 'name' }"></data-rendering> <data-rendering :custom-list="form.custom_list" :source-list="item1" :data-height="form.height" :scale="scale" :is-custom="form.is_custom_data == '1'" :show-data="form?.show_data || { data_key: 'id', data_name: 'name' }"></data-rendering>
</div> </div>
</div> </div>
@ -35,7 +35,7 @@
</div> </div>
<template v-else> <template v-else>
<div :style="style_chunk_container"> <div :style="style_chunk_container">
<div class="w h" :style="style_chunk_img_container"> <div class="w h oh" :style="style_chunk_img_container">
<data-rendering :custom-list="form.custom_list" :data-height="form.height" :scale="scale"></data-rendering> <data-rendering :custom-list="form.custom_list" :data-height="form.height" :scale="scale"></data-rendering>
</div> </div>
</div> </div>

View File

@ -14,7 +14,7 @@
<swiper :key="carouselKey" class="w flex" :direction="form.data_source_direction == 'horizontal' ? 'horizontal': 'vertical'" :height="swiper_height" :loop="true" :autoplay="autoplay" :slides-per-view="slides_per_view" :slides-per-group="slides_per_group" :space-between="space_between" :allow-touch-move="false" :pause-on-mouse-enter="true" :modules="modules" @slide-change="slideChange"> <swiper :key="carouselKey" class="w flex" :direction="form.data_source_direction == 'horizontal' ? 'horizontal': 'vertical'" :height="swiper_height" :loop="true" :autoplay="autoplay" :slides-per-view="slides_per_view" :slides-per-group="slides_per_group" :space-between="space_between" :allow-touch-move="false" :pause-on-mouse-enter="true" :modules="modules" @slide-change="slideChange">
<swiper-slide v-for="(item1, index1) in data_source_content_list" :key="index1"> <swiper-slide v-for="(item1, index1) in data_source_content_list" :key="index1">
<div :style="style_container"> <div :style="style_container">
<div class="w h" :style="style_img_container"> <div class="w h oh" :style="style_img_container">
<data-rendering :custom-list="form.custom_list" :source-list="item1" :is-custom="form.is_custom_data == '1'" :show-data="form?.show_data || { data_key: 'id', data_name: 'name' }" :data-height="form.height" :scale="scale"></data-rendering> <data-rendering :custom-list="form.custom_list" :source-list="item1" :is-custom="form.is_custom_data == '1'" :show-data="form?.show_data || { data_key: 'id', data_name: 'name' }" :data-height="form.height" :scale="scale"></data-rendering>
</div> </div>
</div> </div>

View File

@ -593,7 +593,7 @@ const footer_nav_event = () => {
} }
.plug-drawer-mark-name { .plug-drawer-mark-name {
position: absolute; position: absolute;
top: -1.3rem; top: -1.4rem;
left: -0.6rem; left: -0.6rem;
} }
</style> </style>