Commit e9ed9b36 by ethanlamzs

添加学校二维码

1 parent ee5b9593
......@@ -43,6 +43,7 @@ import linkman from '../../../mock/linkman';
const { Search } = Input;
const TreeNode = Tree.TreeNode;
const { Meta } = Card;
@connect(({ linkman,wxdata, loading }) => ({
linkman,
......@@ -298,23 +299,13 @@ export default class schoolmgr extends Component{
render(){
const topColResponsiveProps = {
xs: 24,
sm: 12,
md: 12,
lg: 12,
xl: 16,
style: { marginBottom: 24 },
};
const {linkman:{groups,schoolDetail},wxdata:{applist}} = this.props;
this.cacheGroupsInfo(groups);
return <div>
<Row gutter={24}>
<Col {...topColResponsiveProps}>
<Col xl={14} lg={24} md={24} sm={24} xs={24}>
<ChartCard
bordered={false}
title={`${schoolDetail.sysName} -- (学校码:${this.state.schoolCode} 企业id:${schoolDetail.corpid})`}
......@@ -335,6 +326,18 @@ export default class schoolmgr extends Component{
</Trend>
</ChartCard>
</Col>
<Col xl={10}>
<Card
hoverable
style={{ width: 340}}
cover={<img alt="企业号二维码" width="160" height="220" src={schoolDetail.wxqrcodeUrl} />}
>
<Meta
title={schoolDetail.sysName}
description="企业二维码"
/>
</Card>
</Col>
</Row>
<Row gutter={24}>
<Col xl={14} lg={24} md={24} sm={24} xs={24}>
......
......@@ -19,7 +19,7 @@
}
.func_block{
.func_block{
margin: 2px 0;
vertical-align: middle;
.ant-btn{
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!