[前提:想要正确运行demo项目,请自行准备jQuery,并将其替换掉下面源代码中jQuery的路径]
source code:
<!DOCTYPE html>
<html>
<head>
<style>
#container {
width: 100%;
height: 600px;
}
.near-box{
max-width: 640px;
overflow: hidden;
margin: 0 auto;
}
.receiv-box2 {
width: 94%;
float: left;
height: 80px;
background: #fff;
padding: 0px 3%;
}
.bigbox{width: 100%;float: left;margin-top: 45px;}
.receiv-input2 {
width: 100%;
float: left;
height: 60px;
line-height: 22px;
background: #fff;
padding: 10px 0px;
overflow-x: hidden;
overflow-y: auto;
}
</style>
</head>
<body>
<div class="near-box" style=" ">
<!--头部开始-->
<div class="header" style='text-align: center;'>
<span style='fon