商城测试版v7
This commit is contained in:
parent
0ffcfde521
commit
e11c46fa9c
@ -4,7 +4,7 @@
|
||||
// export const BASE_URL = `http://10.0.0.5:50001/lymarket`
|
||||
// export const BASE_URL = `http://192.168.0.89:40001/lymarket`
|
||||
// export const BASE_URL = `http://192.168.1.165:40001/lymarket` // 王霞
|
||||
export const BASE_URL = `https://test.zzfzyc.com/lymarket` // 测试环境
|
||||
// export const BASE_URL = `https://test.zzfzyc.com/lymarket` // 测试环境
|
||||
// export const BASE_URL = `http://192.168.1.9:40001/lymarket` // 发
|
||||
// export const BASE_URL = `http://192.168.1.9:50005/lymarket` // 发
|
||||
// export const BASE_URL = `http://192.168.1.30:50001/lymarket` // 发
|
||||
@ -12,7 +12,7 @@ export const BASE_URL = `https://test.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:50001/lymarket` // 添
|
||||
// export const BASE_URL = `http://192.168.1.42:50001/lymarket` // 杰
|
||||
export const BASE_URL = `http://192.168.1.42:50001/lymarket` // 杰
|
||||
|
||||
// CDN
|
||||
// 生成密钥
|
||||
|
@ -6,7 +6,7 @@
|
||||
top:0;
|
||||
.bindSalesman_pop{
|
||||
width: 654px;
|
||||
height: 900px;
|
||||
height: 560px;
|
||||
border-radius: 40px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -12,13 +12,10 @@ type params = {
|
||||
saleMan?: string
|
||||
}
|
||||
export default ({show = false, saleMan = '', onClose}:params) => {
|
||||
const onClick = async (val) => {
|
||||
const onClick = async () => {
|
||||
onClose?.()
|
||||
if(val == 1) {
|
||||
goLink('/pages/depositBeforehand/index')
|
||||
} else {
|
||||
goLink('/pages/index/index', {}, 'switchTab')
|
||||
}
|
||||
goLink('/pages/index/index', {}, 'switchTab')
|
||||
|
||||
}
|
||||
const onCloseEven = () => {
|
||||
onClose?.()
|
||||
@ -27,14 +24,14 @@ export default ({show = false, saleMan = '', onClose}:params) => {
|
||||
<>
|
||||
{show&&<View className={styles.bindSalesman_main}>
|
||||
<View className={styles.bindSalesman_pop}>
|
||||
<View className={styles.bindSalesman_header} onClick={() => onClick(1)}>
|
||||
<View className={styles.bindSalesman_header} onClick={() => onClick()}>
|
||||
<Image src={formatImgUrl('/mall/invite_code_success.png', '!w400')} mode="widthFix"/>
|
||||
<View className={styles.sale_man}>邀请人: {saleMan}</View>
|
||||
</View>
|
||||
<View className={styles.btns} >
|
||||
<Image src={formatImgUrl('/mall/invite_code_btn.png', '!w400')} mode="widthFix" onClick = {() => onClick(2)}/>
|
||||
<Image src={formatImgUrl('/mall/invite_code_btn.png', '!w400')} mode="widthFix" onClick = {() => onClick()}/>
|
||||
</View>
|
||||
<CloseBtn styleObj={{backgroundImage: '', border:'2PX solid #fff', color: '#fff'}}/>
|
||||
<CloseBtn styleObj={{backgroundImage: '', border:'2PX solid #fff', color: '#fff'}} onClose={onCloseEven}/>
|
||||
</View>
|
||||
<View className={styles.bindSalesman_mask} onClick={onCloseEven}></View>
|
||||
</View>}
|
||||
|
@ -57,13 +57,16 @@
|
||||
width: 670px;
|
||||
height: 90px;
|
||||
opacity: 0.6;
|
||||
background: linear-gradient(41deg,#007aff, #3a9bfd 86%, #4ba2fa 100%);;
|
||||
background: linear-gradient(41deg,#007aff, #3a9bfd 86%, #4ba2fa 100%);
|
||||
border-radius: 46px;
|
||||
text-align: center;
|
||||
line-height: 90px;
|
||||
color: #fff;
|
||||
margin-top: 50px;
|
||||
}
|
||||
.select_btns{
|
||||
background: #0071ec;
|
||||
}
|
||||
.message{
|
||||
padding: 150px 30px 20px 30px;
|
||||
color: #ABABAB;
|
||||
|
@ -86,7 +86,7 @@ export default () => {
|
||||
</View>
|
||||
</View>
|
||||
{salesMan&&<View className={styles.salesman_name}><Text>邀请人:</Text><Text>{`${salesMan.name} (${salesMan.phone})`}</Text></View>}
|
||||
<View className={styles.btns} onClick={onSubmit}>提交</View>
|
||||
<View className={classnames(styles.btns, salesMan&&styles.select_btns)} onClick={onSubmit}>提交</View>
|
||||
<View className={styles.message}>
|
||||
<Text>温馨提示</Text>
|
||||
<Text>1. 新用户授权手机号码后,7天内可以输入邀请码,超过时间不能输入。</Text>
|
||||
|
Loading…
x
Reference in New Issue
Block a user