Commit 097f1d58 authored by afc163's avatar afc163

Fix text of site

parent dc6b13b7
import React, { Component } from 'react';
import { connect } from 'dva';
import { Row, Col, Icon, Card, Tabs, Table, Radio, DatePicker, Tooltip } from 'antd';
import { Row, Col, Icon, Card, Tabs, Table, Radio, DatePicker, Tooltip, Menu, Dropdown } from 'antd';
import numeral from 'numeral';
import {
ChartCard, yuan, MiniArea, MiniBar, MiniProgress, Field, Bar, Pie, TimelineChart,
......@@ -108,9 +108,18 @@ export default class Analysis extends Component {
:
(salesType === 'online' ? salesTypeDataOnline : salesTypeDataOffline);
const menu = (
<Menu>
<Menu.Item>操作一</Menu.Item>
<Menu.Item>操作二</Menu.Item>
</Menu>
);
const iconGroup = (
<span className={styles.iconGroup}>
<Icon type="camera-o" /><Icon type="export" /><Icon type="ellipsis" />
<Dropdown overlay={menu} placement="bottomRight">
<Icon type="ellipsis" />
</Dropdown>
</span>
);
......
......@@ -96,7 +96,7 @@ function AdvancedForm({ form, dispatch, submitting }) {
return (
<PageHeaderLayout
title="高级表单"
content="在后台页面中,大批量的数据修改和提交是很常见的情况"
content="高级表单常见于一次性输入和提交大批量数据的场景"
wrapperClassName={styles.advancedForm}
>
<Card title="仓库管理" className={styles.card} bordered={false}>
......
......@@ -51,7 +51,7 @@ export default class BasicForms extends PureComponent {
};
return (
<PageHeaderLayout title="基础表单" content="表单页是向后台提交数据的标准场景。">
<PageHeaderLayout title="基础表单" content="表单页用于向用户收集或验证信息,基础表单常见于数据项较少的表单场景。">
<Card bordered={false}>
<Form
onSubmit={this.handleSubmit}
......
......@@ -42,7 +42,7 @@ class StepForm extends PureComponent {
};
const CurrentComponent = this.getCurrentComponent();
return (
<PageHeaderLayout title="分步表单" content="表单内容进行分步可以提高用户处理的专注度,降低页面复杂性">
<PageHeaderLayout title="分步表单" content="一个冗长或用户不熟悉的表单任务分成多个步骤,指导用户完成">
<Card bordered={false}>
<div>
<Steps current={this.getCurrentStep()} className={styles.steps}>
......
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