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()}起