返回在线客服样式...登陆

在线客服样式

红色熊猫2019-04-04 16:56:43267

<!doctype html>
<html lang="en">
<head>
   <meta charset="UTF-8">
   <meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
   <meta http-equiv="X-UA-Compatible" content="ie=edge">
   <title>Document</title>
   <style>
.content{width: 500px;margin: 0 auto;background-color: blue;padding-top: 20px;padding-bottom: 20px}
       .chat{width:400px;margin: 0 auto;height: 400px;background-color: #fff;}
       .send{width:400px;margin: 0 auto;margin-top: 20px;}
       .clear{overflow: hidden}
       textarea{resize: none;width: 270px;height: 50px;float: left}
       button{width: 120px;height: 55px;float: right;font-size: 20px}
   </style>
</head>
<body>
<div class="content">
<!--聊天区-->
<div class="chat"><ul></ul></div>

<!--发送区-->
<div class="send clear">
       <textarea>sss</textarea>
       <button id="send">发送</button>
   </div>
</div>
<script>
window.onload=function () {
       var sum=0;
var send=document.querySelector('#send');
var tc=document.querySelector('textarea');
       
var ul=document.querySelector('ul');
var li=document.createElement('li');


}




</script>
</body>
</html>


QQ截图20190404165612.png

最新手记推荐

• 用composer安装thinkphp框架的步骤• 省市区接口说明• 用thinkphp,后台新增栏目• 管理员添加编辑删除• 管理员添加编辑删除

全部回复(0)我要回复

暂无评论~
  • 取消回复发送