Communication.jsx 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. import React, {Component} from 'react';
  2. import {Layout,Card} from 'antd';
  3. import qq from '../../../images/workbench-qq.png';
  4. import dd from '../../../images/workbench-dd.jpg';
  5. import './index.css';
  6. const {Content} = Layout;
  7. const { Meta } = Card;
  8. class Communication extends Component{
  9. constructor(){
  10. super();
  11. this.state={
  12. }
  13. }
  14. render(){
  15. return(
  16. <div>
  17. <Layout style={{ padding: '24px',minHeight:'300px' }}>
  18. <Content style={{ padding: '20px', background: '#fff' }}>
  19. <div className="show">
  20. <span>
  21. <Card
  22. hoverable
  23. style={{ width: 240 }}
  24. cover={<img alt="钉钉用户群" src={dd} />}
  25. >
  26. <Meta
  27. title="钉钉用户群"
  28. description="通过钉钉联系我们,扫码入群讨论交流"
  29. />
  30. </Card>
  31. </span>
  32. <span>
  33. <Card
  34. hoverable
  35. style={{ width: 240 }}
  36. cover={<img alt="QQ用户群" src={qq} />}
  37. >
  38. <Meta
  39. title="QQ用户群"
  40. description="通过QQ群联系我们,扫码入群讨论交流"
  41. />
  42. </Card>
  43. </span>
  44. </div>
  45. </Content>
  46. </Layout>
  47. </div>
  48. )
  49. }
  50. }
  51. export default Communication;