修改评级图标
This commit is contained in:
@ -12,7 +12,7 @@ export default function RatePopover(props) {
|
|||||||
|
|
||||||
return (
|
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 &&
|
{rateModal &&
|
||||||
<Modal title="请您对本次服务做出评价,谢谢!" visible={rateModal} onCancel={()=>{
|
<Modal title="请您对本次服务做出评价,谢谢!" visible={rateModal} onCancel={()=>{
|
||||||
setRateModal(false)
|
setRateModal(false)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
.customer_service_btn {
|
/* .customer_service_btn {
|
||||||
width: 12px;
|
width: 12px;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
line-height: 12px;
|
line-height: 12px;
|
||||||
@ -25,4 +25,21 @@
|
|||||||
}
|
}
|
||||||
.customer_service_btn:hover{
|
.customer_service_btn:hover{
|
||||||
cursor: pointer;
|
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()
|
getToken()
|
||||||
}else if(show && isModalVisible && !isCloseWs && wsObj==null){ //websocket已经创建过了
|
}else if(show && isModalVisible && !isCloseWs && wsObj==null){ //websocket已经创建过了
|
||||||
console.log('websocket断开,重新连接')
|
console.log('websocket断开,重新连接')
|
||||||
|
setConversationId('')
|
||||||
connect()
|
connect()
|
||||||
}
|
}
|
||||||
}, [isModalVisible, wsObj])
|
}, [isModalVisible, wsObj])
|
||||||
@ -321,6 +322,7 @@ const getProject = (params)=>{
|
|||||||
supplierNo={kfType==1?'EMPTY':agentNumber}
|
supplierNo={kfType==1?'EMPTY':agentNumber}
|
||||||
conversationId={conversationId}
|
conversationId={conversationId}
|
||||||
closeWin={()=>{
|
closeWin={()=>{
|
||||||
|
setConversationId('')
|
||||||
closeWin && closeWin()
|
closeWin && closeWin()
|
||||||
}}
|
}}
|
||||||
hideWin={()=>{
|
hideWin={()=>{
|
||||||
|
Reference in New Issue
Block a user