聊天按钮适配移动端

This commit is contained in:
GuoRuqiang
2024-09-20 04:45:33 +00:00
parent 509a1a0bac
commit bab718e9bc
2 changed files with 11 additions and 11 deletions

View File

@@ -57,7 +57,7 @@ let buttons = [
onMouseLeave: (e) => {
e.currentTarget.querySelector('svg').style.color = 'black';
},
className: localStorage.getItem('chat_link')
className: localStorage.getItem('chat_link') && !isMobile() //移动端不显示
? 'semi-navigation-item-normal'
: 'tableHiddle',
},