邀请码显示修改
This commit is contained in:
parent
651043db89
commit
4d737af813
@ -229,9 +229,15 @@ export default function CapitalModal() {
|
||||
title: <div style={{ textAlign: 'center' }}>关联订单编号</div>,
|
||||
dataIndex: 'orderId',
|
||||
// fixed: 'right',
|
||||
width: 300,
|
||||
// width: 200,
|
||||
align: 'center',
|
||||
key: 'orderId',
|
||||
ellipsis: {
|
||||
showTitle: false,
|
||||
},
|
||||
render: (text) => {
|
||||
return <Tooltip placement="top" title={text}>{text}</Tooltip>
|
||||
}
|
||||
},
|
||||
{
|
||||
title: <div style={{ textAlign: 'center' }}>关联订单类型</div>,
|
||||
@ -248,9 +254,11 @@ export default function CapitalModal() {
|
||||
dataIndex: 'gmtCreate',
|
||||
key: 'gmtCreate',
|
||||
align: 'center',
|
||||
|
||||
},
|
||||
{
|
||||
title: <div style={{ textAlign: 'center' }}>描述</div>,
|
||||
width: 400,
|
||||
dataIndex: 'description',
|
||||
key: 'description',
|
||||
align: 'center',
|
||||
|
@ -198,9 +198,9 @@ export default function Head() {
|
||||
// 邀请码返利比例
|
||||
const [icRebateRatio, seticRebateRatio] = useState('')
|
||||
// 全托管分账
|
||||
const [icPriceAll, seticPriceAll] = useState(0)
|
||||
// const [icPriceAll, seticPriceAll] = useState(0)
|
||||
// 写材料分账
|
||||
const [icPriceMaterial, seticPriceMaterial] = useState(0)
|
||||
// const [icPriceMaterial, seticPriceMaterial] = useState(0)
|
||||
// 获取邀请码申请状态
|
||||
// const getIcStatus = () => {
|
||||
// get<any>({
|
||||
@ -227,8 +227,8 @@ export default function Head() {
|
||||
// setInvNum(data.ic)
|
||||
setBindingInvNum(data.relationIc)
|
||||
seticRebateRatio(data.icRebateRatio)
|
||||
seticPriceAll(Number(data.icPriceAll) / 100 * Number(data.icRebateRatio) / 100)
|
||||
seticPriceMaterial(Number(data.icPriceMaterial) / 100 * Number(data.icRebateRatio) / 100)
|
||||
// seticPriceAll(Number(data.icPriceAll) / 100 * Number(data.icRebateRatio) / 100)
|
||||
// seticPriceMaterial(Number(data.icPriceMaterial) / 100 * Number(data.icRebateRatio) / 100)
|
||||
if (data.ic == '') {
|
||||
// getIcStatus()
|
||||
}
|
||||
@ -1184,7 +1184,7 @@ export default function Head() {
|
||||
{icRebateRatio ?
|
||||
(<div>
|
||||
<div> 邀请码分享给他人,即可获得{icRebateRatio}%佣金</div>
|
||||
<div style={{ paddingBottom: 20 }}>全托管佣金:{icPriceAll}元,写材料佣金:{icPriceMaterial}元</div>
|
||||
{/* <div style={{ paddingBottom: 20 }}>全托管佣金:{icPriceAll}元,写材料佣金:{icPriceMaterial}元</div> */}
|
||||
</div>
|
||||
|
||||
)
|
||||
@ -1200,7 +1200,9 @@ export default function Head() {
|
||||
</div>
|
||||
<div className='invitation-box'>
|
||||
<div className='invBox-top'>
|
||||
<div className='invBox-title' style={{ fontSize: '24px' }}>
|
||||
<div className='invBox-title' style={{ fontSize: '24px',
|
||||
width: bindingInvNum?264:362,
|
||||
}}>
|
||||
他人邀请码
|
||||
</div>
|
||||
<div className='invBox-line'></div>
|
||||
@ -1216,8 +1218,8 @@ export default function Head() {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className='invBox-input' style={{ display: bindingInvNum ? 'block' : 'none' }}>
|
||||
<div className='invInput'>
|
||||
<div className='invBox-inputl' style={{ display: bindingInvNum ? 'block' : 'none' }}>
|
||||
<div className='invInputl'>
|
||||
<div className='invNum-box'>
|
||||
<div className='invNum' >
|
||||
{bindingInvNum}
|
||||
|
@ -129,7 +129,7 @@
|
||||
|
||||
.invitation-box {
|
||||
width: 530px;
|
||||
height: 175px;
|
||||
height:157px;
|
||||
background: #F9F9F9;
|
||||
margin-top: 16px;
|
||||
border: 1px solid #EEEEEE;
|
||||
@ -138,7 +138,7 @@
|
||||
.invBox-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 118px;
|
||||
height: 100px;
|
||||
/* background-color: skyblue; */
|
||||
}
|
||||
|
||||
@ -278,6 +278,7 @@
|
||||
font-size: 18px;
|
||||
height: 57px;
|
||||
color: #818181;
|
||||
|
||||
}
|
||||
|
||||
.invBox-tips {
|
||||
@ -295,6 +296,10 @@
|
||||
/* background-color: #fcc19d; */
|
||||
|
||||
}
|
||||
.invBox-inputl{
|
||||
width: 264px;
|
||||
height: 118px;
|
||||
}
|
||||
|
||||
.invInput {
|
||||
width: 362px;
|
||||
@ -303,6 +308,13 @@
|
||||
align-items: center;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
.invInputl {
|
||||
width: 264px;
|
||||
height: 118px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
|
||||
.invImg {
|
||||
width: 31px;
|
||||
|
Loading…
Reference in New Issue
Block a user