diff --git a/src/components/shopCart/index.module.scss b/src/components/shopCart/index.module.scss index 633b89e..43de2c1 100644 --- a/src/components/shopCart/index.module.scss +++ b/src/components/shopCart/index.module.scss @@ -175,7 +175,7 @@ .price_con{ flex:1; .price_real{ - font-size: $font_size; + font-size: $font_size_big; color: #fff; text{ font-size: $font_size_min; @@ -184,7 +184,6 @@ .price_forecast{ font-size: $font_size_min; color: $color_font_two; - margin-top: 10px; } } .goPay{ diff --git a/src/pages/details/components/LabAndImg/index.modul.scss b/src/pages/details/components/LabAndImg/index.modul.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/pages/details/components/LabAndImg/index.tsx b/src/pages/details/components/LabAndImg/index.tsx new file mode 100644 index 0000000..2e4bfcc --- /dev/null +++ b/src/pages/details/components/LabAndImg/index.tsx @@ -0,0 +1,9 @@ +import { memo } from "react"; + +export default memo(() => { + return ( + <> + + + ) +}) \ No newline at end of file diff --git a/src/pages/details/index.tsx b/src/pages/details/index.tsx index a7e6341..f76a6fe 100644 --- a/src/pages/details/index.tsx +++ b/src/pages/details/index.tsx @@ -115,15 +115,15 @@ export default (props:Params) => { //开始下单 const placeOrder = async (e:any) => { - try { - await getPhoneNumber(e.detail.code) - } catch(msg) { - Taro.showToast({ - icon:"none", - title: msg - }) - return false - } + // try { + // await getPhoneNumber(e.detail.code) + // } catch(msg) { + // Taro.showToast({ + // icon:"none", + // title: msg + // }) + // return false + // } setShowOrderCount(true) } @@ -183,11 +183,12 @@ export default (props:Params) => { 购物车 { - !userInfo.adminUserInfo?.is_authorize_phone&& - - 开始下单 - - || placeOrder(e)}>开始下单 + // !userInfo.adminUserInfo?.is_authorize_phone&& + // + // 开始下单 + // + // || placeOrder(e)}>开始下单 + placeOrder(e)}>开始下单 }