Commit 28370fe8 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

fix: 修改支付参数配置Empty

parent d16fb273
......@@ -68,3 +68,27 @@
}
}
.nodata_wrap {
padding: 25px 0;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
.content_wrap {
&>h3 {
color: #252D37;
font-size: 24px;
font-weight: bold;
}
&>p {
color: #6B778C;
font-size: 12px;
margin-top: 25px;
margin-bottom: 0;
}
&>button {
margin-top: 48px;
}
}
}
......@@ -15,6 +15,7 @@ import balance from '@/assets/icons/balance_icon.png';
import { PageHeaderWrapper } from '@ant-design/pro-layout';
import NumberInput from './components/number';
import { getOrderMemberPaymentParameterFind, postOrderMemberPaymentParameterCreate } from '@/services/OrderNewV2Api';
import PayEmptyLayout from './payEmpty';
const PIC_MAP = {
1: alipay,
......@@ -441,7 +442,7 @@ const PaySettingLayout = () => {
)}
{empty && (
<Card>
<Empty
{/* <Empty
image="https://gw.alipayobjects.com/zos/antfincdn/ZHrcdLPrvN/empty.svg"
imageStyle={{
height: 60,
......@@ -451,7 +452,8 @@ const PaySettingLayout = () => {
平台还未配置您的支付方式,请联系平台客服
</span>
}
/>
/> */}
<PayEmptyLayout />
</Card>
)}
<ModalLayout
......
import React from 'react';
import { Button } from 'antd';
import noDataIcon from '@/assets/imgs/nodata_default.png';
import styles from './index.less';
const PayEmptyLayout = (props) => {
const { content = "平台还未配置您的支付方式,请联系平台客服" } = props
return (
<div className={styles.nodata_wrap}>
<img src={noDataIcon} />
<div className={styles.content_wrap}>
<h3>抱歉</h3>
<p>{content}</p>
<Button type='primary'>联系客服</Button>
</div>
</div>
)
}
export default PayEmptyLayout;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment