From c587148466b46ba6bde62bd1c5b53add7fcd4f57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Thu, 21 Nov 2024 15:48:33 +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=AD=97=E4=BD=93=E9=AB=98=E5=BA=A6=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/diy/data-magic.vue | 2 +- components/diy/modules/data-magic/product-list-show.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/diy/data-magic.vue b/components/diy/data-magic.vue index 4ac79272..b902d29c 100644 --- a/components/diy/data-magic.vue +++ b/components/diy/data-magic.vue @@ -222,7 +222,7 @@ } data_content.fit = fit; // 商品名称和价格样式 - data_style.goods_title_style = this.goods_trends_config(data_style, 'title') + `line-height: ${ (item.data_style.goods_title_size + 3) * 2 }rpx;height: ${ (item.data_style.goods_title_size + 3) * 4 }rpx;`; + data_style.goods_title_style = this.goods_trends_config(data_style, 'title') + `line-height: ${ (item.data_style.goods_title_size + 3) * 2 }rpx;`; data_style.goods_price_style = this.goods_trends_config(data_style, 'price') + `line-height: ${ item.data_style.goods_price_size * 2 }rpx;`; const radius = !isEmpty(data_style.img_radius) ? data_style.img_radius : { radius: 4, radius_top_left: 4, radius_top_right: 4, radius_bottom_left: 4, radius_bottom_right: 4 }; data_style.get_img_radius = radius_computer(radius); diff --git a/components/diy/modules/data-magic/product-list-show.vue b/components/diy/modules/data-magic/product-list-show.vue index 92071881..99c2033d 100644 --- a/components/diy/modules/data-magic/product-list-show.vue +++ b/components/diy/modules/data-magic/product-list-show.vue @@ -15,7 +15,7 @@ - {{ item.title }} + {{ item.title }} {{ item.show_price_symbol }} {{ item.min_price }} @@ -50,7 +50,7 @@ - {{ item.title }} + {{ item.title }} @@ -70,7 +70,7 @@ - {{ item.title }} + {{ item.title }} {{ item.show_price_symbol }} {{ item.min_price }}