This commit is contained in:
czm 2022-06-10 10:49:31 +08:00
parent 69f36642f9
commit 8197140027
4 changed files with 25 additions and 16 deletions

View File

@ -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{

View File

@ -0,0 +1,9 @@
import { memo } from "react";
export default memo(() => {
return (
<>
</>
)
})

View File

@ -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>