From 186e69cea3b68149d612e46ef997a2125f18cedf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Tue, 26 Jun 2018 16:51:51 +0800 Subject: [PATCH] edit new doc --- components/drawer/demo/from-drawer.md | 8 ++++---- components/drawer/demo/user-profile.md | 7 ++----- components/drawer/index.zh-CN.md | 8 ++++---- 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/components/drawer/demo/from-drawer.md b/components/drawer/demo/from-drawer.md index 53f8b69d81..f80bae9cdf 100644 --- a/components/drawer/demo/from-drawer.md +++ b/components/drawer/demo/from-drawer.md @@ -1,17 +1,17 @@ --- order: 0 title: - zh-CN: 任务抽屉 - en-US: Task drawer + zh-CN: 对象编辑 + en-US: From drawer --- ## zh-CN -用于承载任务相关操作,需要点击关闭按钮关闭。 +用于承载编辑相关操作,需要点击关闭按钮关闭。 ## en-US -sed to carry tasks related operations, need to close by clicking the close button. +sed to carry edit related operations, need to close by clicking the close button. ```jsx import { Drawer, Form, Button, Col, Row, Input, Select, DatePicker } from 'antd'; diff --git a/components/drawer/demo/user-profile.md b/components/drawer/demo/user-profile.md index 2d23e18557..845bfe9512 100644 --- a/components/drawer/demo/user-profile.md +++ b/components/drawer/demo/user-profile.md @@ -7,15 +7,12 @@ title: ## zh-CN -用于信息预览的抽屉,点击遮罩区关闭。 +需要快速预览对象概要时使用,点击遮罩区关闭。 -- 需要快速预览对象概要时使用。如列表条目预览。 ## en-US -Drawer for information preview, click mask area off. - -- Use when you need to quickly preview the outline of the object. Such as list item preview. +Use when you need to quickly preview the outline of the object. Such as list item preview. ```jsx import { Drawer, List, Avatar, Divider, Col, Row } from 'antd'; diff --git a/components/drawer/index.zh-CN.md b/components/drawer/index.zh-CN.md index 25965e159f..b81252438a 100644 --- a/components/drawer/index.zh-CN.md +++ b/components/drawer/index.zh-CN.md @@ -5,13 +5,13 @@ subtitle: 抽屉 title: Drawer --- -抽屉是一种覆盖在父窗体上的面板,从父窗体边框外滑入,用来承载信息或操作集合。抽屉在不离开父窗体情况下进行互动,用户身处上下文环境中,能更方便清楚地处理任务。 +抽屉从父窗体边缘滑入,覆盖住部分父窗体内容。用户在抽屉内操作时不必离开当前任务,操作完成后,可以平滑地回到到原任务。 ## 何时使用 -* 创建或者编辑一个对象。 -* 承载子任务。为了让子任务仍然置于主任务的上下文环境中,子任务对气泡 Popover 来说又过于复杂时,使用大号的抽屉来承载。 -* 同一表单在多处使用 + +* 当需要一个附加的面板来控制父窗体内容,这个面板在需要时呼出。比如,控制界面展示样式,往界面中添加内容。 +* 当需要在当前任务流中插入临时任务,创建或预览附加内容。比如展示协议条款,创建子对象。 ## API -- GitLab