商城测试版v7

This commit is contained in:
czm 2022-07-26 11:54:28 +08:00
parent 0ffcfde521
commit e11c46fa9c
5 changed files with 14 additions and 14 deletions

View File

@ -4,7 +4,7 @@
// export const BASE_URL = `http://10.0.0.5:50001/lymarket` // 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.0.89:40001/lymarket`
// export const BASE_URL = `http://192.168.1.165: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:40001/lymarket` // 发
// export const BASE_URL = `http://192.168.1.9:50005/lymarket` // 发 // export const BASE_URL = `http://192.168.1.9:50005/lymarket` // 发
// export const BASE_URL = `http://192.168.1.30:50001/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 = `https://www.zzfzyc.com/lymarket` // 正式环境
// export const BASE_URL = `http://192.168.1.5:40001/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.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 // CDN
// 生成密钥 // 生成密钥

View File

@ -6,7 +6,7 @@
top:0; top:0;
.bindSalesman_pop{ .bindSalesman_pop{
width: 654px; width: 654px;
height: 900px; height: 560px;
border-radius: 40px; border-radius: 40px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@ -12,13 +12,10 @@ type params = {
saleMan?: string saleMan?: string
} }
export default ({show = false, saleMan = '', onClose}:params) => { export default ({show = false, saleMan = '', onClose}:params) => {
const onClick = async (val) => { const onClick = async () => {
onClose?.() onClose?.()
if(val == 1) {
goLink('/pages/depositBeforehand/index')
} else {
goLink('/pages/index/index', {}, 'switchTab') goLink('/pages/index/index', {}, 'switchTab')
}
} }
const onCloseEven = () => { const onCloseEven = () => {
onClose?.() onClose?.()
@ -27,14 +24,14 @@ export default ({show = false, saleMan = '', onClose}:params) => {
<> <>
{show&&<View className={styles.bindSalesman_main}> {show&&<View className={styles.bindSalesman_main}>
<View className={styles.bindSalesman_pop}> <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"/> <Image src={formatImgUrl('/mall/invite_code_success.png', '!w400')} mode="widthFix"/>
<View className={styles.sale_man}> {saleMan}</View> <View className={styles.sale_man}> {saleMan}</View>
</View> </View>
<View className={styles.btns} > <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> </View>
<CloseBtn styleObj={{backgroundImage: '', border:'2PX solid #fff', color: '#fff'}}/> <CloseBtn styleObj={{backgroundImage: '', border:'2PX solid #fff', color: '#fff'}} onClose={onCloseEven}/>
</View> </View>
<View className={styles.bindSalesman_mask} onClick={onCloseEven}></View> <View className={styles.bindSalesman_mask} onClick={onCloseEven}></View>
</View>} </View>}

View File

@ -57,13 +57,16 @@
width: 670px; width: 670px;
height: 90px; height: 90px;
opacity: 0.6; opacity: 0.6;
background: linear-gradient(41deg,#007aff, #3a9bfd 86%, #4ba2fa 100%);; background: linear-gradient(41deg,#007aff, #3a9bfd 86%, #4ba2fa 100%);
border-radius: 46px; border-radius: 46px;
text-align: center; text-align: center;
line-height: 90px; line-height: 90px;
color: #fff; color: #fff;
margin-top: 50px; margin-top: 50px;
} }
.select_btns{
background: #0071ec;
}
.message{ .message{
padding: 150px 30px 20px 30px; padding: 150px 30px 20px 30px;
color: #ABABAB; color: #ABABAB;

View File

@ -86,7 +86,7 @@ export default () => {
</View> </View>
</View> </View>
{salesMan&&<View className={styles.salesman_name}><Text>:</Text><Text>{`${salesMan.name} (${salesMan.phone})`}</Text></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}> <View className={styles.message}>
<Text></Text> <Text></Text>
<Text>1. 7</Text> <Text>1. 7</Text>