NotificationCard.js 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. import React, {Component} from 'react';
  2. import {Input, Tooltip, Icon, Button} from 'antd';
  3. class NotificationCard extends Component {
  4. render() {
  5. return (
  6. <div>
  7. <div className='kind'>
  8. <p style={{marginBottom: 10}}><b>Ding Talk</b></p>
  9. <div className='item'>
  10. <p style={{marginBottom: 10}}>
  11. <span className='item-title'>
  12. <span>Web hook </span>
  13. <Tooltip placement="top" title='hahahha'>
  14. <Icon type="question-circle"/>
  15. </Tooltip>
  16. </span>
  17. <Input style={{width: 400}}/>
  18. </p>
  19. <p style={{marginBottom: 10}}>
  20. <span className='item-title'>
  21. <span>Notification Name </span>
  22. <Tooltip placement="top" title='heheheheh'>
  23. <Icon type="question-circle"/>
  24. </Tooltip>
  25. </span>
  26. <Input style={{width: 300}}/></p>
  27. </div>
  28. </div>
  29. {/*<div className='kind'>*/}
  30. {/*<p><b>QQ</b></p>*/}
  31. {/*<div className='item'>*/}
  32. {/*<p>*/}
  33. {/*<span className='item-title'>*/}
  34. {/*<span>Web hook </span>*/}
  35. {/*<Tooltip placement="top" title='hahahha'>*/}
  36. {/*<Icon type="question-circle"/>*/}
  37. {/*</Tooltip>*/}
  38. {/*</span>*/}
  39. {/*<Input style={{width: 600}}/>*/}
  40. {/*</p>*/}
  41. {/*<p>*/}
  42. {/*<span className='item-title'>*/}
  43. {/*<span>Notification Name </span>*/}
  44. {/*<Tooltip placement="top" title='heheheheh'>*/}
  45. {/*<Icon type="question-circle"/>*/}
  46. {/*</Tooltip>*/}
  47. {/*</span>*/}
  48. {/*<Input style={{width: 300}}/></p>*/}
  49. {/*</div>*/}
  50. {/*</div>*/}
  51. <Button type="primary" onClick={() => {
  52. console.log('hello');
  53. }}>save</Button>
  54. </div>
  55. )
  56. }
  57. }
  58. export default NotificationCard;