Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄庭坚
jinfa-platform
Commits
cad03605
Commit
cad03605
authored
Nov 24, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into v2
parents
5d3c8ca3
28370fe8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
2 deletions
+47
-2
index.less
src/pages/payandSettle/paySetting/index.less
+24
-0
index.tsx
src/pages/payandSettle/paySetting/index.tsx
+4
-2
payEmpty.tsx
src/pages/payandSettle/paySetting/payEmpty.tsx
+19
-0
No files found.
src/pages/payandSettle/paySetting/index.less
View file @
cad03605
...
@@ -68,3 +68,27 @@
...
@@ -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;
}
}
}
src/pages/payandSettle/paySetting/index.tsx
View file @
cad03605
...
@@ -15,6 +15,7 @@ import balance from '@/assets/icons/balance_icon.png';
...
@@ -15,6 +15,7 @@ import balance from '@/assets/icons/balance_icon.png';
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
;
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
;
import
NumberInput
from
'./components/number'
;
import
NumberInput
from
'./components/number'
;
import
{
getOrderMemberPaymentParameterFind
,
postOrderMemberPaymentParameterCreate
}
from
'@/services/OrderNewV2Api'
;
import
{
getOrderMemberPaymentParameterFind
,
postOrderMemberPaymentParameterCreate
}
from
'@/services/OrderNewV2Api'
;
import
PayEmptyLayout
from
'./payEmpty'
;
const
PIC_MAP
=
{
const
PIC_MAP
=
{
1
:
alipay
,
1
:
alipay
,
...
@@ -441,7 +442,7 @@ const PaySettingLayout = () => {
...
@@ -441,7 +442,7 @@ const PaySettingLayout = () => {
)
}
)
}
{
empty
&&
(
{
empty
&&
(
<
Card
>
<
Card
>
<
Empty
{
/*
<Empty
image="https://gw.alipayobjects.com/zos/antfincdn/ZHrcdLPrvN/empty.svg"
image="https://gw.alipayobjects.com/zos/antfincdn/ZHrcdLPrvN/empty.svg"
imageStyle={{
imageStyle={{
height: 60,
height: 60,
...
@@ -451,7 +452,8 @@ const PaySettingLayout = () => {
...
@@ -451,7 +452,8 @@ const PaySettingLayout = () => {
平台还未配置您的支付方式,请联系平台客服
平台还未配置您的支付方式,请联系平台客服
</span>
</span>
}
}
/>
/> */
}
<
PayEmptyLayout
/>
</
Card
>
</
Card
>
)
}
)
}
<
ModalLayout
<
ModalLayout
...
...
src/pages/payandSettle/paySetting/payEmpty.tsx
0 → 100644
View file @
cad03605
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
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment