聊天组件
parent
7da1d026a8
commit
f3e0664e29
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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">'+
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
|
|
||||||
<script src="component/layui/layui.js"></script>
|
<script src="component/layui/layui.js"></script>
|
||||||
<script>
|
<script>
|
||||||
layui.use(['pearAdmin', 'jquery','pearSocial', 'layer', 'pearTab', 'pearNotice'], function() {
|
layui.use(['pearAdmin', 'jquery', 'pearSocial', 'layer', 'pearTab', 'pearNotice'], function() {
|
||||||
var pearAdmin = layui.pearAdmin;
|
var pearAdmin = layui.pearAdmin;
|
||||||
var $ = layui.jquery;
|
var $ = layui.jquery;
|
||||||
var pearTab = layui.pearTab;
|
var pearTab = layui.pearTab;
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue