From e11c46fa9c4918a6b509cdd371bdba415aae2958 Mon Sep 17 00:00:00 2001 From: czm <2192718639@qq.com> Date: Tue, 26 Jul 2022 11:54:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=9F=8E=E6=B5=8B=E8=AF=95=E7=89=88v7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/constant.js | 4 ++-- .../component/successBind/index.module.scss | 2 +- .../bindSalesman/component/successBind/index.tsx | 15 ++++++--------- src/pages/bindSalesman/index.module.scss | 5 ++++- src/pages/bindSalesman/index.tsx | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/common/constant.js b/src/common/constant.js index 9d25ea9..2fdb5cd 100644 --- a/src/common/constant.js +++ b/src/common/constant.js @@ -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 // 生成密钥 diff --git a/src/pages/bindSalesman/component/successBind/index.module.scss b/src/pages/bindSalesman/component/successBind/index.module.scss index 9abce63..2d3c1c6 100644 --- a/src/pages/bindSalesman/component/successBind/index.module.scss +++ b/src/pages/bindSalesman/component/successBind/index.module.scss @@ -6,7 +6,7 @@ top:0; .bindSalesman_pop{ width: 654px; - height: 900px; + height: 560px; border-radius: 40px; display: flex; flex-direction: column; diff --git a/src/pages/bindSalesman/component/successBind/index.tsx b/src/pages/bindSalesman/component/successBind/index.tsx index bf10072..35beb6b 100644 --- a/src/pages/bindSalesman/component/successBind/index.tsx +++ b/src/pages/bindSalesman/component/successBind/index.tsx @@ -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&& - onClick(1)}> + onClick()}> 邀请人: {saleMan} - onClick(2)}/> + onClick()}/> - + } diff --git a/src/pages/bindSalesman/index.module.scss b/src/pages/bindSalesman/index.module.scss index 2bc9294..2342e8f 100644 --- a/src/pages/bindSalesman/index.module.scss +++ b/src/pages/bindSalesman/index.module.scss @@ -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; diff --git a/src/pages/bindSalesman/index.tsx b/src/pages/bindSalesman/index.tsx index 98d578d..1a1ebc8 100644 --- a/src/pages/bindSalesman/index.tsx +++ b/src/pages/bindSalesman/index.tsx @@ -86,7 +86,7 @@ export default () => { {salesMan&&邀请人:{`${salesMan.name} (${salesMan.phone})`}} - 提交 + 提交 温馨提示 1. 新用户授权手机号码后,7天内可以输入邀请码,超过时间不能输入。