摘要:
智能在线客服*{
margin: 0;
padding: 0;
}
body{
font-family: "微软雅黑";
color: #333;
}
.box{
width: 500px;
height: 700px;
background: #e9eff8;
margin: 40px auto;
}
h2{
text-align: center;
line-height: 40px;
}
.count{
width: 96%;
height: 75%;
margin: 0 auto;
}
.count ul{}
.count ul li{
list-style: none;
}
.input{
width: 100%;
height: 18%;
border-top: solid 1px #666;
position: relative;
}
textarea{
display: block;
width: 100%;
height: 100%;
background: #e9eff8;
outline: none;
font-size: 18px;
padding: 8px 2%;
border: none;
resize: none;
}
button{
width: 78px;
height: 34px;
background: #94b9ea;
border-radius: 6px;
border: none;
outline: none;
position: absolute;
right: 12px;
bottom: 6px;
font-size: 18px;
font-family: "微软雅黑";
line-height: 34px;
cursor: pointer;
}
button:hover{
background: #649be5;
color: #fff;
}
在线客服
提交
(function(){
var oTxt = document.getElementById('txt'),
oBtn = document.getElementsByClassName('btn')[0];
console.log(oTxt.value)
console.log(oBtn)
})();
总结:还没有智能。
批改老师:欧阳批改时间:2019-04-19 09:34:34
老师总结:完成的不错,做项目的时候,尽量备注清楚,特别php和js,以后可以直接用。继续加油