kefu/views/server/index.ejs
2017-10-27 13:34:42 +08:00

57 lines
1.3 KiB
Plaintext

<% include header.ejs %>
<style>
.friend{
position: relative;
float: left;
width: 300px;
height: 100%;
background: #fbfcfe;
border-right: 1px solid #e9e9e9;
}
.chat{
position: relative;
float: left;
width: calc(100% - 301px);
height: 100%;
}
.friend-head{
display: block;
cursor: pointer;
height: 51px;
padding: 0 12px;
font-size: 15px;
line-height: 50px;
color: #767d85;
background-color: #fff;
border-top: 1px solid #e9e9e9;
border-bottom: 1px solid #e9e9e9;
}
.friend-head-right{
float: right;
}
</style>
<div class="layui-fluid">
<div class="friend">
<div class="friend-head">
<span class="friend-head-right">0 / 2</span>
<span class="help-my-chat">我的对话</span>
</div>
</div>
<div class="chat">
1111
</div>
</div>
<script src="/layui/layui.js"></script>
<script>
//一般直接写在一个js文件中
layui.use(['layer', 'form','jquery'], function(){
var layer = layui.layer
,form = layui.form
,$ = layui.jquery;
$(".admin-index").addClass("layui-this");
});
</script>
<% include footer.ejs %>