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{ .price_con{
flex:1; flex:1;
.price_real{ .price_real{
font-size: $font_size; font-size: $font_size_big;
color: #fff; color: #fff;
text{ text{
font-size: $font_size_min; font-size: $font_size_min;
@ -184,7 +184,6 @@
.price_forecast{ .price_forecast{
font-size: $font_size_min; font-size: $font_size_min;
color: $color_font_two; color: $color_font_two;
margin-top: 10px;
} }
} }
.goPay{ .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) => { const placeOrder = async (e:any) => {
try { // try {
await getPhoneNumber(e.detail.code) // await getPhoneNumber(e.detail.code)
} catch(msg) { // } catch(msg) {
Taro.showToast({ // Taro.showToast({
icon:"none", // icon:"none",
title: msg // title: msg
}) // })
return false // return false
} // }
setShowOrderCount(true) setShowOrderCount(true)
} }
@ -183,11 +183,12 @@ export default (props:Params) => {
<View className={styles.text}></View> <View className={styles.text}></View>
</View> </View>
{ {
!userInfo.adminUserInfo?.is_authorize_phone&&<View className={styles.buy_btn} > // !userInfo.adminUserInfo?.is_authorize_phone&&<View className={styles.buy_btn} >
<Button className={styles.phoneBtn} open-type="getPhoneNumber" onGetPhoneNumber={(e) => placeOrder(e)}></Button> // <Button className={styles.phoneBtn} open-type="getPhoneNumber" onGetPhoneNumber={(e) => placeOrder(e)}></Button>
// 开始下单
</View> // </View>
|| <View className={styles.buy_btn} onClick={(e) => placeOrder(e)}></View> // || <View className={styles.buy_btn} onClick={(e) => placeOrder(e)}>开始下单</View>
<View className={styles.buy_btn} onClick={(e) => placeOrder(e)}></View>
} }
</View> </View>
<CustomWrapper> <CustomWrapper>