From 80737fa7043618f5c76199d4af9328537eb0c3bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Mon, 20 Jan 2025 17:51:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E9=AD=94?= =?UTF-8?q?=E6=96=B9=E5=89=AF=E6=A0=87=E9=A2=98=E6=98=BE=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../magic-cube-settings/tabs-content.vue | 13 ++++++++++++- .../magic-cube-settings/tabs-styles.vue | 9 ++++++++- src/components/model-data-magic/index.vue | 18 ++++++++++++++++-- .../model-data-magic-content.vue | 3 +++ 4 files changed, 39 insertions(+), 4 deletions(-) diff --git a/src/components/model-data-magic/components/magic-cube-settings/tabs-content.vue b/src/components/model-data-magic/components/magic-cube-settings/tabs-content.vue index b1a288e3..0871321b 100644 --- a/src/components/model-data-magic/components/magic-cube-settings/tabs-content.vue +++ b/src/components/model-data-magic/components/magic-cube-settings/tabs-content.vue @@ -24,7 +24,18 @@ - +
+ + 文字 + 图片 + + + +
diff --git a/src/components/model-data-magic/components/magic-cube-settings/tabs-styles.vue b/src/components/model-data-magic/components/magic-cube-settings/tabs-styles.vue index b75c21e7..ad37d0dd 100644 --- a/src/components/model-data-magic/components/magic-cube-settings/tabs-styles.vue +++ b/src/components/model-data-magic/components/magic-cube-settings/tabs-styles.vue @@ -50,7 +50,14 @@ - + + diff --git a/src/components/model-data-magic/index.vue b/src/components/model-data-magic/index.vue index 56ab484f..eed6f185 100644 --- a/src/components/model-data-magic/index.vue +++ b/src/components/model-data-magic/index.vue @@ -19,7 +19,14 @@ -

{{ item.data_content.subtitle || '' }}

+ +
@@ -67,7 +74,14 @@ -

{{ item.data_content.subtitle || '' }}

+ +
diff --git a/src/components/model-data-magic/model-data-magic-content.vue b/src/components/model-data-magic/model-data-magic-content.vue index f3aee506..d02998f6 100644 --- a/src/components/model-data-magic/model-data-magic-content.vue +++ b/src/components/model-data-magic/model-data-magic-content.vue @@ -125,6 +125,7 @@ const data_style = { subtitle_color: '#FF852A', subtitle_typeface: '400', subtitle_size: 14, + subtitle_img_height: 28, goods_title_typeface: 'bold', goods_title_size: 14, goods_title_color: "#333333", @@ -320,7 +321,9 @@ const data_content = { heading_title_type: 'text', heading_title: '主标题', heading_title_img: [], + subtitle_title_type:'text', subtitle: '副标题', + subtitle_title_img: [], // 商品数据处理 goods_list:[], goods_ids: '',