diff --git a/components/diy/carousel.vue b/components/diy/carousel.vue index 2abb4e95..fa436434 100644 --- a/components/diy/carousel.vue +++ b/components/diy/carousel.vue @@ -4,7 +4,7 @@ - + diff --git a/components/diy/goods-list.vue b/components/diy/goods-list.vue index ece7906f..a28d6379 100644 --- a/components/diy/goods-list.vue +++ b/components/diy/goods-list.vue @@ -405,12 +405,12 @@ let style = `font-weight:${typeface}; font-size: ${size * 2}rpx;`; if (type == 'title') { if (['1', '6'].includes(theme)) { - style += `line-height: ${size}px;height: ${size}px;color: ${color};`; + style += `line-height: ${size * 2}rpx;height: ${size * 2}rpx;color: ${color};`; } else if (['0', '2', '3', '4', '5'].includes(theme)) { - style += `line-height: ${size > 0 ? size + 3 : 0}px;height: ${size > 0 ? (size + 3) * 2 : 0}px;color: ${color};`; + style += `line-height: ${size > 0 ? (size + 3) * 2 : 0}rpx;height: ${size > 0 ? (size + 3) * 4 : 0}rpx;color: ${color};`; } } else if (type == 'desc') { - style += `line-height: ${size}px;height: ${size}px;color: ${color};`; + style += `line-height: ${size * 2}rpx;height: ${size * 2}rpx;color: ${color};`; } else { if (type != 'buy_button') { style += `color: ${color};`; diff --git a/components/diy/search.vue b/components/diy/search.vue index bae2a260..277357ba 100644 --- a/components/diy/search.vue +++ b/components/diy/search.vue @@ -2,7 +2,7 @@ - +