diff --git a/src/pages/details/index.module.scss b/src/pages/details/index.module.scss index d01c6e0..a79be42 100644 --- a/src/pages/details/index.module.scss +++ b/src/pages/details/index.module.scss @@ -184,8 +184,9 @@ page { margin-bottom: 25xp; } .scroll_box { + margin: 20px; padding-top: 30px; - width: 100%; + // width: 100%; border-radius: 16px; height: 450px; background-color: #fff; @@ -266,7 +267,8 @@ page { .tag_box { padding-top: 30px; // padding-bottom: 30px; - width: 100%; + // width: 100%; + margin: 20px; border-radius: 16px; background-color: #fff; margin-top: 25px; diff --git a/src/pages/details/index.tsx b/src/pages/details/index.tsx index 5cc21a4..1f67ee6 100644 --- a/src/pages/details/index.tsx +++ b/src/pages/details/index.tsx @@ -408,33 +408,6 @@ const Details = (props: Params) => { - - {!!productInfo?.product_screw_id - && - - } - - 色号信息 ({productInfo?.product_color_list?.length}) - - {productInfo?.product_color_list?.map((item) => { - return ( - handleClickProductColor(item)}> - - - - {item.name} - {formatPriceDiv(item.bulk_price)}/Kg{ - (item!.last_bulk_price && item!.bulk_price !== item!.last_bulk_price) ? (item.bulk_price > item.last_bulk_price) ? : : null - } - - ) - })} - - { videoList.length > 0 && 性能测评 @@ -491,6 +464,33 @@ const Details = (props: Params) => { } + {!!productInfo?.product_screw_id + && + + } + + 色号信息 ({productInfo?.product_color_list?.length}) + + {productInfo?.product_color_list?.map((item) => { + return ( + handleClickProductColor(item)}> + + + + {item.name} + {formatPriceDiv(item.bulk_price)}/Kg{ + (item!.last_bulk_price && item!.bulk_price !== item!.last_bulk_price) ? (item.bulk_price > item.last_bulk_price) ? : : null + } + + ) + })} + + +