diff --git a/src/components/CapitalModal/CapitalModal.tsx b/src/components/CapitalModal/CapitalModal.tsx index 8f643fd..46b494a 100644 --- a/src/components/CapitalModal/CapitalModal.tsx +++ b/src/components/CapitalModal/CapitalModal.tsx @@ -229,9 +229,15 @@ export default function CapitalModal() { title:
关联订单编号
, dataIndex: 'orderId', // fixed: 'right', - width: 300, + // width: 200, align: 'center', key: 'orderId', + ellipsis: { + showTitle: false, + }, + render: (text) => { + return {text} + } }, { title:
关联订单类型
, @@ -248,9 +254,11 @@ export default function CapitalModal() { dataIndex: 'gmtCreate', key: 'gmtCreate', align: 'center', + }, { title:
描述
, + width: 400, dataIndex: 'description', key: 'description', align: 'center', diff --git a/src/layout/head/Head.tsx b/src/layout/head/Head.tsx index 921c805..471480a 100644 --- a/src/layout/head/Head.tsx +++ b/src/layout/head/Head.tsx @@ -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({ @@ -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 ? (
邀请码分享给他人,即可获得{icRebateRatio}%佣金
-
全托管佣金:{icPriceAll}元,写材料佣金:{icPriceMaterial}元
+ {/*
全托管佣金:{icPriceAll}元,写材料佣金:{icPriceMaterial}元
*/}
) @@ -1200,7 +1200,9 @@ export default function Head() {
-
+
他人邀请码
@@ -1216,8 +1218,8 @@ export default function Head() {
-
-
+
+
{bindingInvNum} diff --git a/src/layout/head/head.css b/src/layout/head/head.css index ebe539d..2d70703 100644 --- a/src/layout/head/head.css +++ b/src/layout/head/head.css @@ -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;