diff --git a/src/pages/OperationCenter/OperationSales/CreditScoreMgm/index.scss b/src/pages/OperationCenter/OperationSales/CreditScoreMgm/index.scss index 6326e0e..83f96d1 100644 --- a/src/pages/OperationCenter/OperationSales/CreditScoreMgm/index.scss +++ b/src/pages/OperationCenter/OperationSales/CreditScoreMgm/index.scss @@ -470,4 +470,34 @@ color: #000; } } +} +.pay-modal { + .content { + display: flex; + + .row-box { + .row-line { + margin-bottom: 10px; + + .add-btn { + display: inline-block; + border: 1px solid; + border-radius: 20px; + font-size: 12px; + width: 21px; + text-align: center; + margin-left: 10px; + cursor: pointer; + } + + .del-btn { + color: #fff; + border: 1px solid red; + background: red; + } + } + + } + } + } \ No newline at end of file diff --git a/src/pages/OperationCenter/OperationSales/CreditScoreMgm/loadable.jsx b/src/pages/OperationCenter/OperationSales/CreditScoreMgm/loadable.jsx index 555a6f5..0a10f61 100644 --- a/src/pages/OperationCenter/OperationSales/CreditScoreMgm/loadable.jsx +++ b/src/pages/OperationCenter/OperationSales/CreditScoreMgm/loadable.jsx @@ -44,6 +44,8 @@ function CreditScoreMgm() { const [tipVisible, setTipVisible] = useState(false); const [ruleVisible, setRuleVisible] = useState(false); const [redeemVisible, setRedeemVisible] = useState(false); + const [payVisible, setPayVisible] = useState(false); + const [fields, setFields] = useState([1]); const [editVisible, setEditVisible] = useState({ visible: false, type: 0 }); const [searchSelectList, setSearchSelectList] = useState([]); //搜索下拉数据 const columns = [ @@ -400,7 +402,23 @@ function CreditScoreMgm() { ]) }) }; - + const acf = () => { + { + fields?.map((item, index) => { + return ( +
+
11
+
{ + let arr = fields + arr.push(1) + setFields(arr) + } + }>+
+
) + } + ) + } + } useEffect(() => { getSelectList(); }, []); @@ -423,6 +441,16 @@ function CreditScoreMgm() { type="primary" style={{ width: '116px' }} onClick={() => { + //getRule() + setPayVisible(true) + }} + > + 充值规则配置 + +