Browse Source

update style

pull/37/head
ddcat1115 9 years ago
parent
commit
f0102c6d1b
  1. 2
      src/components/StandardTable/index.js
  2. 2
      src/components/StandardTable/index.less
  3. 2
      src/routes/List/BasicList.js
  4. 2
      src/routes/List/BasicList.less
  5. 2
      src/routes/List/FilterCardList.less
  6. 1
      src/routes/List/TableList.less
  7. 14
      src/routes/Result/Success.js

2
src/components/StandardTable/index.js

@ -128,7 +128,7 @@ class StandardTable extends PureComponent {
<Alert
message={(
<p>
已选择 <a>{selectedRowKeys.length}</a> &nbsp;&nbsp;
已选择 <a style={{ fontWeight: 600 }}>{selectedRowKeys.length}</a> &nbsp;&nbsp;
服务调用总计 <span style={{ fontWeight: 600 }}>{totalCallNo}</span>
<a onClick={this.cleanSelectedKeys} style={{ marginLeft: 24 }}>清空</a>
</p>

2
src/components/StandardTable/index.less

@ -4,7 +4,7 @@
.standardTable {
:global {
.ant-table-pagination {
margin-bottom: 0;
margin-top: 24px;
}
}

2
src/routes/List/BasicList.js

@ -117,7 +117,7 @@ export default class BasicList extends PureComponent {
bodyStyle={{ padding: '0 32px 40px 32px' }}
extra={extraContent}
>
<Button type="dashed" style={{ width: '100%', marginBottom: 12 }} icon="plus">
<Button type="dashed" style={{ width: '100%', margin: 8 }} icon="plus">
添加
</Button>
<List

2
src/routes/List/BasicList.less

@ -22,7 +22,7 @@
line-height: 48px;
}
.ant-list-pagination {
margin-top: 16px;
margin-top: 24px;
}
}
.headerInfo {

2
src/routes/List/FilterCardList.less

@ -22,11 +22,11 @@
float: left;
width: 50%;
p {
color: @text-color-secondary;
line-height: 32px;
font-size: 24px;
}
p:first-child {
color: @text-color-secondary;
font-size: 12px;
line-height: 20px;
margin-bottom: 4px;

1
src/routes/List/TableList.less

@ -2,7 +2,6 @@
@import "../../utils/utils.less";
.tableList {
padding-bottom: 8px;
.tableListOperator {
margin-bottom: 16px;
button {

14
src/routes/Result/Success.js

@ -6,7 +6,7 @@ import PageHeaderLayout from '../../layouts/PageHeaderLayout';
const { Step } = Steps;
const desc1 = (
<div style={{ fontSize: 12, color: 'rgba(0, 0, 0, 0.45)' }}>
<div style={{ fontSize: 12, color: 'rgba(0, 0, 0, 0.45)', position: 'relative', left: 42 }}>
<div style={{ margin: '8px 0 4px' }}>
曲丽丽<Icon style={{ marginLeft: 8 }} type="dingding-o" />
</div>
@ -15,7 +15,7 @@ const desc1 = (
);
const desc2 = (
<div style={{ fontSize: 12 }}>
<div style={{ fontSize: 12, position: 'relative', left: 42 }}>
<div style={{ margin: '8px 0 4px' }}>
周毛毛<Icon type="dingding-o" style={{ color: '#00A0E9', marginLeft: 8 }} />
</div>
@ -42,11 +42,11 @@ const extra = (
2016-12-12 ~ 2017-12-12
</Col>
</Row>
<Steps progressDot current={1}>
<Step title="创建项目" description={desc1} />
<Step title="部门初审" description={desc2} />
<Step title="财务复核" />
<Step title="完成" />
<Steps style={{ marginLeft: -42, width: 'calc(100% + 84px)' }} progressDot current={1}>
<Step title={<span style={{ fontSize: 14 }}>创建项目</span>} description={desc1} />
<Step title={<span style={{ fontSize: 14 }}>部门初审</span>} description={desc2} />
<Step title={<span style={{ fontSize: 14 }}>财务复核</span>} />
<Step title={<span style={{ fontSize: 14 }}>完成</span>} />
</Steps>
</div>
);

Loading…
Cancel
Save