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
shenshaokai
jinfa-platform
Commits
b47eefce
Commit
b47eefce
authored
Nov 17, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整UI
parent
0aebe839
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
3 deletions
+28
-3
index.tsx
...ges/afterService/components/ExchangeAddressInfo/index.tsx
+12
-2
index.ts
...terService/components/ExchangeAddressInfo/schema/index.ts
+16
-1
No files found.
src/pages/afterService/components/ExchangeAddressInfo/index.tsx
View file @
b47eefce
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-06 09:54:04
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-11-1
2 14:10:48
* @LastEditTime: 2020-11-1
7 17:49:19
* @Description: 退货地址信息
*/
import
React
from
'react'
;
...
...
@@ -31,12 +31,22 @@ const ExchangeAddressInfo: React.FC<ExchangeAddressInfo> = ({
};
const
DeliveryAddress
=
(
<
div
>
<
p
>
张三 / 185 2929 6475
</
p
>
<
p
>
广东省广州市海珠区新港东路1068号中洲中心北塔6楼
</
p
>
</
div
>
);
return
(
<
MellowCard
title=
"换货收货地址"
fullHeight
>
<
NiceForm
<
NiceForm
expressionScope=
{
{
DeliveryAddress
,
}
}
effects=
{
(
$
,
{
setFieldState
})
=>
{
}
}
...
...
src/pages/afterService/components/ExchangeAddressInfo/schema/index.ts
View file @
b47eefce
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-09 15:56:35
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-11-
09 16:19:24
* @LastEditTime: 2020-11-
17 17:46:41
* @Description:
*/
import
{
ISchema
}
from
'@formily/antd'
;
...
...
@@ -19,6 +19,13 @@ export const schema: ISchema = {
labelAlign
:
'left'
,
},
properties
:
{
mode
:
{
type
:
'string'
,
title
:
'配送方式'
,
default
:
'物流'
,
'x-component'
:
'Text'
,
'x-component-props'
:
{},
},
shippingAddress
:
{
type
:
'string'
,
title
:
'换货收货地址'
,
...
...
@@ -28,6 +35,14 @@ export const schema: ISchema = {
placeholder
:
'请选择'
,
},
},
deliveryAddress
:
{
type
:
'string'
,
title
:
'换货发货地址'
,
'x-component'
:
'Children'
,
'x-component-props'
:
{
children
:
'{{DeliveryAddress}}'
,
},
},
},
},
},
...
...
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