-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #721 from oceanbase/dengfuping-dev
improve(ui): PageContainer style when only having title
- Loading branch information
Showing
5 changed files
with
257 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/** | ||
* iframe: 600 | ||
*/ | ||
import React from 'react'; | ||
import { Button, Card, Descriptions } from '@oceanbase/design'; | ||
import { PageContainer } from '@oceanbase/ui'; | ||
|
||
export default () => { | ||
return ( | ||
<PageContainer | ||
ghost={false} | ||
title="页面标题" | ||
footer={[<Button>重置</Button>, <Button type="primary">提交</Button>]} | ||
> | ||
<Card bordered={false}> | ||
<Descriptions title="基本信息"> | ||
<Descriptions.Item label="创建人">曲丽丽</Descriptions.Item> | ||
<Descriptions.Item label="电话号码">1810000000</Descriptions.Item> | ||
<Descriptions.Item label="地址">浙江省杭州市西湖区工专路</Descriptions.Item> | ||
<Descriptions.Item label="关联表单"> | ||
<a>421421</a> | ||
</Descriptions.Item> | ||
<Descriptions.Item label="创建时间">2017-01-10</Descriptions.Item> | ||
<Descriptions.Item label="备注">这是备注</Descriptions.Item> | ||
</Descriptions> | ||
</Card> | ||
</PageContainer> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters