🎈 perf(支付弹窗优化):
This commit is contained in:
parent
23a6c22045
commit
c7da1a1b25
@ -1,4 +1,4 @@
|
||||
export const BASE_URL = CURRENT_BASE_URL
|
||||
// export const BASE_URL = CURRENT_BASE_URL
|
||||
// export const BASE_URL = `http://192.168.0.75:50001/lymarket`
|
||||
// export const BASE_URL = `http://192.168.0.89:50001/lymarket`
|
||||
// export const BASE_URL = `http://10.0.0.5:50001/lymarket`
|
||||
@ -12,7 +12,7 @@ export const BASE_URL = CURRENT_BASE_URL
|
||||
// export const BASE_URL = `https://dev.zzfzyc.com/lymarket` // 开发环境
|
||||
// export const BASE_URL = 'https://www.zzfzyc.com/lymarket' // 正式环境
|
||||
// export const BASE_URL = `http://192.168.1.5:40001/lymarket` // 王霞
|
||||
// export const BASE_URL = 'http://192.168.1.7:50002/lymarket' // 添
|
||||
export const BASE_URL = 'http://192.168.1.7:50002/lymarket' // 添
|
||||
// export const BASE_URL = 'http://192.168.1.28:50002/lymarket' // 婷
|
||||
// export const BASE_URL = `http://192.168.1.42:50002/lymarket` // 杰
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ const CloseBtn = ({ onClose, styleObj = {} }: Params) => {
|
||||
<View
|
||||
style={styleObj}
|
||||
className={style.icon_a_cuowuwrong_self}
|
||||
onClick={onClose}
|
||||
onClick={() => onClose?.()}
|
||||
>
|
||||
<View className={style.icon_a_btn}>
|
||||
<IconFont name="icon-qingchuxinxi" size={40} color="#acacac"></IconFont>
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
$am-ms: 200ms;
|
||||
.drawer_main{
|
||||
.drawer_main {
|
||||
.drawer {
|
||||
position:fixed;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top:0;
|
||||
top: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@ -14,7 +14,7 @@ $am-ms: 200ms;
|
||||
z-index: 1000;
|
||||
visibility: hidden;
|
||||
transition: visibility $am-ms ease-in-out;
|
||||
.drawer_mask{
|
||||
.drawer_mask {
|
||||
display: flex;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@ -25,7 +25,7 @@ $am-ms: 200ms;
|
||||
z-index: 1011;
|
||||
opacity: 0;
|
||||
transition: opacity $am-ms ease-in;
|
||||
.drawer_container{
|
||||
.drawer_container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
@ -41,25 +41,26 @@ $am-ms: 200ms;
|
||||
color: #000000;
|
||||
padding-top: 10px;
|
||||
}
|
||||
.common_close_btn_icon{
|
||||
.common_close_btn_icon {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
z-index: 1000;
|
||||
}
|
||||
}
|
||||
.drawer_container_active{
|
||||
.drawer_container_active {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
.drawer_mask_active{
|
||||
.drawer_mask_active {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
.drawer_active {
|
||||
visibility:visible;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.drawer_container_bottom{
|
||||
.drawer_container_bottom {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
min-height: 200px;
|
||||
@ -68,7 +69,7 @@ $am-ms: 200ms;
|
||||
transform: translate3d(0, 100%, 0);
|
||||
}
|
||||
|
||||
.drawer_container_top{
|
||||
.drawer_container_top {
|
||||
top: 0;
|
||||
left: 0;
|
||||
min-height: 200px;
|
||||
@ -77,7 +78,7 @@ $am-ms: 200ms;
|
||||
transform: translate3d(0, -100%, 0);
|
||||
}
|
||||
|
||||
.drawer_container_right{
|
||||
.drawer_container_right {
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
height: 100vh;
|
||||
@ -85,7 +86,4 @@ $am-ms: 200ms;
|
||||
border-radius: 20px 0 0 20px;
|
||||
transform: translate3d(100%, 0, 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -153,6 +153,7 @@ const Payment = ({ show = false, onClose, orderInfo, onSubmitSuccess }: Param) =
|
||||
|
||||
// 是否显示七天账期
|
||||
const show_account_payment = useMemo(() => {
|
||||
if (!payInfo?.account_period) { return false }
|
||||
// 剪板和散剪不显示
|
||||
if (orderInfo?.sale_mode != 0) { return false }
|
||||
// 支付方式是账期支付,不显示
|
||||
@ -189,7 +190,7 @@ const Payment = ({ show = false, onClose, orderInfo, onSubmitSuccess }: Param) =
|
||||
|
||||
return (
|
||||
<View className={styles.payment_main}>
|
||||
<Popup show={show} showTitle={false} onClose={onClose}>
|
||||
<Popup show={show} showTitle={false} onClose={onClose} showIconButton>
|
||||
<View className={styles.payment_con}>
|
||||
{/* <View className={classnames('iconfont icon-a-moreback', styles.miconfont_title)} onClick={onClose}></View> */}
|
||||
<View className={styles.title}>待支付款项</View>
|
||||
@ -218,7 +219,7 @@ const Payment = ({ show = false, onClose, orderInfo, onSubmitSuccess }: Param) =
|
||||
<View className={styles.payment_list_item_left}>
|
||||
<View className={classnames(styles.miconfont)}><IconFont name="icon-yufukuan" size={70} /></View>
|
||||
<View className={styles.payment_list_item_left_name}>
|
||||
<View className={styles.payment_list_item_left_text}>预存款</View>
|
||||
<View className={styles.payment_list_item_left_text}>预存货款</View>
|
||||
{advance_payment}
|
||||
</View>
|
||||
</View>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user