From 8197140027112149178340fbf02bd4d825262eed Mon Sep 17 00:00:00 2001
From: czm <2192718639@qq.com>
Date: Fri, 10 Jun 2022 10:49:31 +0800
Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/shopCart/index.module.scss | 3 +-
.../components/LabAndImg/index.modul.scss | 0
.../details/components/LabAndImg/index.tsx | 9 ++++++
src/pages/details/index.tsx | 29 ++++++++++---------
4 files changed, 25 insertions(+), 16 deletions(-)
create mode 100644 src/pages/details/components/LabAndImg/index.modul.scss
create mode 100644 src/pages/details/components/LabAndImg/index.tsx
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)}>开始下单
}