We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
疑是 BUG
v2.9.8
layer.open({ type: 1, title: false, // 禁用标题栏 area: ['710px','540px'], offset: 'auto', hideOnClose:true, id: 'layui-chat', closeBtn:1, move:true, shade: 0.2, resize:false, maxmin:true, shadeClose: true, content: getHtml('/static/js/lay-module/chat/html/chat.html'), success: function(layero, index, that){ $('.chat-nav-list').on("click",".chat-nav-li",function(event){ if(event.target.tagName === 'IMG'){ let nodes = $('.chat-nav-li img'); for(let i=0; i<nodes.length; i++){ nodes[i].src = nodes[i].src.replace(/.png|-fill.png/,'.png');//把所有的路径全部变成未选中的图标 } event.target.src = event.target.src.replace(/.png|-fill.png/,'-fill.png'); }} ) $('.message-list').on('click','.message-li',function (){ $(this).addClass('active').siblings().removeClass('active') }) }, full: function(layero, index, that){ $('.chat-box').addClass('full') }, min: function(layero, index, that){ $('.chat-box').removeClass('full') }, restore: function(layero, index, that){ $('.chat-box').removeClass('full') } })
No response
Chrome
The text was updated successfully, but these errors were encountered:
设计如此,不是 BUG
Sorry, something went wrong.
No branches or pull requests
议题条件
议题类型
疑是 BUG
使用版本
v2.9.8
问题描述
业务代码
截图补充
No response
浏览器
Chrome
演示地址
No response
友好承诺
The text was updated successfully, but these errors were encountered: