修改评级图标
This commit is contained in:
@ -12,7 +12,7 @@ export default function RatePopover(props) {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Tooltip title="点击评价"><div onClick={()=>setRateModal(true)} className={style.customer_service_btn}/></Tooltip>
|
||||
<Tooltip title="点击评价"><div onClick={()=>setRateModal(true)} className={style.customer_service_content}/></Tooltip>
|
||||
{rateModal &&
|
||||
<Modal title="请您对本次服务做出评价,谢谢!" visible={rateModal} onCancel={()=>{
|
||||
setRateModal(false)
|
||||
|
@ -1,4 +1,4 @@
|
||||
.customer_service_btn {
|
||||
/* .customer_service_btn {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
line-height: 12px;
|
||||
@ -25,4 +25,21 @@
|
||||
}
|
||||
.customer_service_btn:hover{
|
||||
cursor: pointer;
|
||||
} */
|
||||
|
||||
.customer_service_content {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-right: 10px;
|
||||
background-image: url('../../image/rate_black.png');
|
||||
background-size: 100%;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.customer_service_content:hover {
|
||||
background-image: url('../../image/rate_light.png');
|
||||
cursor: pointer;
|
||||
}
|
||||
.customer_service_content > input {
|
||||
display: none;
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 7.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 7.8 KiB |
@ -239,6 +239,7 @@ const getProject = (params)=>{
|
||||
getToken()
|
||||
}else if(show && isModalVisible && !isCloseWs && wsObj==null){ //websocket已经创建过了
|
||||
console.log('websocket断开,重新连接')
|
||||
setConversationId('')
|
||||
connect()
|
||||
}
|
||||
}, [isModalVisible, wsObj])
|
||||
@ -321,6 +322,7 @@ const getProject = (params)=>{
|
||||
supplierNo={kfType==1?'EMPTY':agentNumber}
|
||||
conversationId={conversationId}
|
||||
closeWin={()=>{
|
||||
setConversationId('')
|
||||
closeWin && closeWin()
|
||||
}}
|
||||
hideWin={()=>{
|
||||
|
Reference in New Issue
Block a user