Commit c024e7c6 by ethanlamzs

优化界面的显示

1 parent 49eb6f7e
...@@ -230,7 +230,7 @@ export default class schoollist extends PureComponent { ...@@ -230,7 +230,7 @@ export default class schoollist extends PureComponent {
); );
return ( return (
<PageHeaderLayout title="查询表格"> <PageHeaderLayout title="查询学校">
<Card bordered={false}> <Card bordered={false}>
<div className={styles.tableList}> <div className={styles.tableList}>
<div className={styles.tableListForm}> <div className={styles.tableListForm}>
......
...@@ -35,6 +35,8 @@ import { ...@@ -35,6 +35,8 @@ import {
} from '../../components/Charts'; } from '../../components/Charts';
import Trend from '../../components/Trend'; import Trend from '../../components/Trend';
import PageHeaderLayout from '../../layouts/PageHeaderLayout';
import { R_OK } from 'constants'; import { R_OK } from 'constants';
...@@ -316,7 +318,8 @@ export default class schoolmgr extends Component{ ...@@ -316,7 +318,8 @@ export default class schoolmgr extends Component{
this.cacheGroupsInfo(groups); this.cacheGroupsInfo(groups);
return <div> return <PageHeaderLayout title={`企业号:“${schoolDetail.sysName}”`}>
<div>
<Row gutter={24}> <Row gutter={24}>
<Col xl={14} lg={24} md={24} sm={24} xs={24}> <Col xl={14} lg={24} md={24} sm={24} xs={24}>
<ChartCard <ChartCard
...@@ -338,12 +341,26 @@ export default class schoolmgr extends Component{ ...@@ -338,12 +341,26 @@ export default class schoolmgr extends Component{
取关数<span className={styles.trendText}> {`${numeral(schoolDetail.unfollowed*100/schoolDetail.members).format('0.00')}`}%</span> 取关数<span className={styles.trendText}> {`${numeral(schoolDetail.unfollowed*100/schoolDetail.members).format('0.00')}`}%</span>
</Trend> </Trend>
</ChartCard> </ChartCard>
<br/>
<ChartCard
bordered={true}
title='信息检索(根据手机号码查找uc是否存在对应的学校用户)'
>
<Search
className={styles.extraContentSearch}
placeholder="请输入手机号码"
onSearch={this.findUser}
/>
{this.renderFoundUserResult()}
</ChartCard>
</Col> </Col>
<Col xl={10}> <Col xl={10}>
<Card <Card
hoverable hoverable
style={{ width: 340}} style={{ width: 340}}
cover={<img alt="企业号二维码" width="160" height="220" src={schoolDetail.wxqrcodeUrl} />} cover={<img alt="企业号二维码" src={schoolDetail.wxqrcodeUrl} />}
> >
<Meta <Meta
title={schoolDetail.sysName} title={schoolDetail.sysName}
...@@ -371,18 +388,6 @@ export default class schoolmgr extends Component{ ...@@ -371,18 +388,6 @@ export default class schoolmgr extends Component{
</ChartCard> </ChartCard>
</Col> </Col>
<Col xl={10} lg={24} md={24} sm={24} xs={24}> <Col xl={10} lg={24} md={24} sm={24} xs={24}>
<ChartCard
bordered={true}
title='信息检索'
>
<Search
className={styles.extraContentSearch}
placeholder="请输入手机号码"
onSearch={this.findUser}
/>
{this.renderFoundUserResult()}
</ChartCard>
<br/>
<ChartCard <ChartCard
bordered={false} bordered={false}
title='操作/功能区' title='操作/功能区'
...@@ -403,7 +408,8 @@ export default class schoolmgr extends Component{ ...@@ -403,7 +408,8 @@ export default class schoolmgr extends Component{
</ChartCard> </ChartCard>
</Col> </Col>
</Row> </Row>
</div>; </div>
</PageHeaderLayout>;
} }
} }
\ No newline at end of file \ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!