Commit b47eefce authored by XieZhiXiong's avatar XieZhiXiong

调整UI

parent 0aebe839
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-06 09:54:04
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-11-12 14:10:48
* @LastEditTime: 2020-11-17 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 }) => {
}}
......
......@@ -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}}',
},
},
},
},
},
......
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