| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- import React from "react";
- import { Spin, Button, Tabs, Table, message, Modal } from "antd";
- const ShowModal = React.createClass({
- getInitialState() {
- return {
-
- };
- },
- handleOk() {
- this.setState({
- newVisible: false
- });
- },
- render() {
- return (
- <Modal
- style={{ position: "relative" }}
- title="消息提醒"
- visible={this.props.ShowModal}
- width={1000}
- closable={false}
- footer={null}
- >
- 有消息
- <Button
- onClick={this.handleOk}
- type={"primary"}
- style={{
- position: "relative",
- left: "50%",
- transform: "translateX(-50%)",
- bottom: -10
- }}
- >
- 我已阅读以上信息
- </Button>
- </Modal>
- );
- }
- });
- export default ShowModal;
|