合并
This commit is contained in:
parent
69f36642f9
commit
8197140027
@ -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{
|
||||
|
9
src/pages/details/components/LabAndImg/index.tsx
Normal file
9
src/pages/details/components/LabAndImg/index.tsx
Normal file
@ -0,0 +1,9 @@
|
||||
import { memo } from "react";
|
||||
|
||||
export default memo(() => {
|
||||
return (
|
||||
<>
|
||||
|
||||
</>
|
||||
)
|
||||
})
|
@ -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) => {
|
||||
<View className={styles.text}>购物车</View>
|
||||
</View>
|
||||
{
|
||||
!userInfo.adminUserInfo?.is_authorize_phone&&<View className={styles.buy_btn} >
|
||||
<Button className={styles.phoneBtn} open-type="getPhoneNumber" onGetPhoneNumber={(e) => placeOrder(e)}></Button>
|
||||
开始下单
|
||||
</View>
|
||||
|| <View className={styles.buy_btn} onClick={(e) => placeOrder(e)}>开始下单</View>
|
||||
// !userInfo.adminUserInfo?.is_authorize_phone&&<View className={styles.buy_btn} >
|
||||
// <Button className={styles.phoneBtn} open-type="getPhoneNumber" onGetPhoneNumber={(e) => placeOrder(e)}></Button>
|
||||
// 开始下单
|
||||
// </View>
|
||||
// || <View className={styles.buy_btn} onClick={(e) => placeOrder(e)}>开始下单</View>
|
||||
<View className={styles.buy_btn} onClick={(e) => placeOrder(e)}>开始下单</View>
|
||||
}
|
||||
</View>
|
||||
<CustomWrapper>
|
||||
|
Loading…
x
Reference in New Issue
Block a user