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 }}