聊天组件

develop
Jmysy 2020-06-09 09:21:49 +08:00
parent 7da1d026a8
commit f3e0664e29
3 changed files with 11 additions and 11 deletions

View File

@ -30,7 +30,7 @@
width: 60px; width: 60px;
height: 100%; height: 100%;
position: absolute; position: absolute;
background-color: #23262E; background-color: #28333E;
} }
.pear-social .pear-social-list { .pear-social .pear-social-list {

View File

@ -29,7 +29,7 @@ layui.define(['table', 'jquery', 'element'], function (exports) {
var body = '<div class="pear-social" style="display:none;">'+ var body = '<div class="pear-social" style="display:none;">'+
'<div class="pear-social-side">'+ '<div class="pear-social-side">'+
'<div class="pear-social-avatar">'+ '<div class="pear-social-avatar">'+
'<img src="admin/images/logo.png" />'+ '<img src="admin/images/avatar.jpg" />'+
'</div>'+ '</div>'+
'<div class="pear-social-control">'+ '<div class="pear-social-control">'+

View File

@ -96,6 +96,7 @@
layer.alert("点击消息 : " + id); layer.alert("点击消息 : " + id);
} }
} }
var setting = { var setting = {
elem: 'social' elem: 'social'
} }
@ -116,6 +117,5 @@
s.parentNode.insertBefore(hm, s); s.parentNode.insertBefore(hm, s);
})(); })();
</script> </script>
</body> </body>
</html> </html>