加Popconfirm
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import React, { PureComponent } from 'react';
|
||||
import { history } from 'umi';
|
||||
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Empty, message } from 'antd';
|
||||
import { Row, Col, Tooltip, Card, List, DatePicker, Button, Statistic, Spin, Empty, message,Popconfirm } from 'antd';
|
||||
// import PageHeaderWrapper from '@/components/PageHeaderWrapper';
|
||||
import { connect } from 'dva';
|
||||
import './index.less';
|
||||
@ -188,7 +188,18 @@ class manager extends PureComponent {
|
||||
const { datevalue, messId, messageDetail, detailId, noticeDetail, questData, questVisible, mainDetail, } = this.state; //智慧客服state
|
||||
return (
|
||||
<>
|
||||
<a className="talk" onClick={() => this.initChatUI()}>系统操作咨询︵<span>8:30</span><span>|</span><span>12:30</span><span>13:00</span><span>|</span><span>17:00</span>︶<img src={talkPng} /></a>
|
||||
<Popconfirm
|
||||
title={()=>{
|
||||
return <><p>您好,系统操作咨询仅可以解决您在平台的操作问题,如想了解发票、保证金及项目相关问题请点击具体项目的咨询窗口进行咨询。</p>
|
||||
<p>是否还要继续咨询系统操作问题?</p></>
|
||||
}}
|
||||
onConfirm={()=>this.initChatUI()}
|
||||
okText="是"
|
||||
cancelText="否"
|
||||
>
|
||||
<a className="talk">系统操作咨询︵<span>8:30</span><span>|</span><span>12:30</span><span>13:00</span><span>|</span><span>17:00</span>︶<img src={talkPng} /></a>
|
||||
</Popconfirm>
|
||||
{/* <a className="talk" onClick={() => this.initChatUI()}>系统操作咨询︵<span>8:30</span><span>|</span><span>12:30</span><span>13:00</span><span>|</span><span>17:00</span>︶<img src={talkPng} /></a> */}
|
||||
<div className="dashboard" style={{ height: innerHeight - 70, overflow: "hidden" }}>
|
||||
<Row className="topt">
|
||||
<Col span={8}><Card title="我的消息" bordered={false} className="cardtre" style={{ marginRight: "10px" }} extra={<div className="moret" onClick={() => history.push('/SystemMessage/message')}>更多<RightOutlined /></div>}>
|
||||
|
Reference in New Issue
Block a user