footer.html
1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<div class="footer">
<div class="footer_content">
<div class="footer1">
<div class="footer_left">
<h1>联系我们</h1>
<div class="footer_input">
<input type="text" name="name" placeholder="请输入您的姓名">
<input type="text" name="phone" placeholder="请输入您的电话">
</div>
<textarea placeholder="请输入您的留言" id="content"></textarea>
<div class="in_btn" onclick="lianxi()">
提交
</div>
</div>
<div>
<div class="footer_right">
<p><a href="{:url('About/index')}">关于我们</a></p>
<p><a href="{:url('Map/index')}">网站地图</a></p>
<p><a href="{:url('About/terms')}">条约条款</a></p>
</div>
<div class="txt9">
<p>地址:天津经济技术开发区洞庭路220号N1303</p>
<p>邮编:300450</p>
<p>电话:022-65378801</p>
<p>电子邮箱:sales@jieminbio.com</p>
</div>
</div>
</div>
<div class="footer2">
<p>Copyright © 2014 - 2019 Jiemin Biotech (Tianjin), Inc</p>
</div>
</div>
</div>
<script>
function lianxi(){
name = $("input[name='name']").val();
phone = $("input[name='phone']").val();
contnt = $("#content").val();
$.post("{:url('Index/fadd')}", {name:name,phone:phone,content:contnt}, function(data) {
if(data){
alert('提交成功');
}else{
alert('提交失败');
}
});
}
</script>