From 33705db7ab8639314c1821c8b1fb1b7a6abc8cfc Mon Sep 17 00:00:00 2001 From: xuan Date: Mon, 6 Mar 2023 10:49:23 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=88=20style(=E6=90=9C=E7=B4=A2):=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=90=9C=E7=B4=A2=E9=A1=B5=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/searchList/searchList.module.scss | 9 +-------- src/pages/searchList/searchList.tsx | 10 ++++------ 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/src/pages/searchList/searchList.module.scss b/src/pages/searchList/searchList.module.scss index 272b11f..cd5e5ec 100644 --- a/src/pages/searchList/searchList.module.scss +++ b/src/pages/searchList/searchList.module.scss @@ -129,12 +129,12 @@ page { .product_list { .product_item { display: flex; - justify-content: space-between; background-color: #fff; padding: 24px 0; margin: 0 32px; border-bottom: 1px solid #e7e7e7; .product_img { + flex-shrink: 0; width: 152px; height: 152px; border-radius: 20px 20px 0px 0px; @@ -204,13 +204,7 @@ page { color: #ee7500; } } - .bottom { - display: flex; - flex-flow: row nowrap; - justify-content: space-between; - } .introduce { - width: 60%; font-size: $font_size_medium; color: $color_font_two; @include common_ellipsis(); @@ -220,7 +214,6 @@ page { justify-content: flex-end; color: $color_money; align-items: baseline; - width: 40%; margin-top: 8px; font-weight: 550; &_unit { diff --git a/src/pages/searchList/searchList.tsx b/src/pages/searchList/searchList.tsx index 5418317..c7f72f6 100644 --- a/src/pages/searchList/searchList.tsx +++ b/src/pages/searchList/searchList.tsx @@ -256,12 +256,10 @@ export default () => { && 配套螺纹 } - - {item.component} - - ¥ - {formatPriceDiv(item.lowest_price).toLocaleString()}起 - + {item.component} + + ¥ + {formatPriceDiv(item.lowest_price).toLocaleString()}起