From 96b145d4c08daf3eda45ba75dbc9efbeac195a42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com>
Date: Fri, 22 Nov 2024 11:46:39 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E9=99=90=E5=B0=BA=E5=AF=B8=20?=
=?UTF-8?q?=E8=A7=86=E9=A2=91=E5=92=8C=E8=BD=AE=E6=92=AD=E6=92=91=E4=B8=8D?=
=?UTF-8?q?=E8=B5=B7=E6=9D=A5=EF=BC=8C=E6=9A=82=E6=97=B6=E5=85=88=E4=B8=8D?=
=?UTF-8?q?=E5=81=9A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/diy/data-magic.vue | 13 +++++--------
.../diy/modules/data-magic/magic-carousel.vue | 4 ----
2 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/components/diy/data-magic.vue b/components/diy/data-magic.vue
index 1ed12b57..5e6ddcdf 100644
--- a/components/diy/data-magic.vue
+++ b/components/diy/data-magic.vue
@@ -52,7 +52,7 @@
-
+
@@ -68,13 +68,13 @@
{{ item.data_content.subtitle || '' }}
-
+
-
+
@@ -153,7 +153,7 @@
style_img_container: '',
div_width: 0,
magic_scale: 1,
- is_unlimited_size: false,
+ // is_unlimited_size: false,
};
},
computed: {
@@ -187,8 +187,6 @@
const density = !isEmpty(new_form.magic_cube_density) ? new_form.magic_cube_density : 4;
const { margin_left, margin_right, padding_left, padding_right } = new_style.common_style;
const width = sys_width - margin_left - margin_right - padding_left - padding_right - this.propOuterContainerPadding;
- // 是否不限尺寸
- const is_unlimited_size = new_form.style_actived === 9 && new_form.limit_size == '0';
this.setData({
form: new_form,
new_style: new_style,
@@ -202,8 +200,7 @@
magic_scale: width / 390,
div_width: sys_width,
cubeCellWidth: sys_width / density,
- container_size: is_unlimited_size ? '100%;' : container_height * 2 + 'rpx',
- is_unlimited_size: is_unlimited_size,
+ container_size: container_height * 2 + 'rpx',
});
},
get_data_magic_list(data, new_style) {
diff --git a/components/diy/modules/data-magic/magic-carousel.vue b/components/diy/modules/data-magic/magic-carousel.vue
index 96bd4d2c..042f66e3 100644
--- a/components/diy/modules/data-magic/magic-carousel.vue
+++ b/components/diy/modules/data-magic/magic-carousel.vue
@@ -53,10 +53,6 @@
propDataIndex: {
type: Number,
default: () => 0,
- },
- propIsUnlimitedSize: {
- type: Boolean,
- default: () => false,
}
},
data() {