about.html
2.2 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
50
51
52
53
54
55
56
{extend name="layout/default"}
{block name="content"}
<body>
<div class="main">
<!-- 当前位置 -->
<!-- <div class="backNav">-->
<!-- <div class="backNav_Img"><img src="/static/image/icon14.png" alt=""></div>-->
<!-- <div class="back_nav">-->
<!-- <a href="/">首页</a>-->
<!-- <span>></span>-->
<!-- <a href="">关于我们</a>-->
<!-- </div>-->
<!-- <div class="backNav_Img2"><img src="/static/image/touxiang_img.png" alt=""></div>-->
<!-- </div>-->
<!-- 联盟简介 -->
<div class="about_Box">
<h1 class="about_title">联盟简介</h1>
<!-- 富文本 -->
<div class="about_Text">
{$about.content}
</div>
</div>
<!-- 我们的地址 -->
<div class="about_Box2">
<!-- <h1 class="about_title">联盟简介</h1>-->
<div id="allmap"></div>
<div class="about_Box3">
<div class="about_li">
<div class="about_Img"><img src="/static/image/icon15.png" alt=""></div>
<p class="about_Txt">{$about.address}</p>
</div>
<div class="about_li">
<div class="about_Img"><img src="/static/image/icon16.png" alt=""></div>
<p class="about_Txt">{$about.tel}</p>
</div>
<div class="about_li">
<div class="about_Img"><img src="/static/image/icon17.png" alt=""></div>
<p class="about_Txt">{$about.email}</p>
</div>
</div>
</div>
</div>
<script>
// 百度地图API功能
var map = new BMap.Map("allmap");
var point = new BMap.Point(113.006141, 25.763101); // 创建点坐标
map.enableScrollWheelZoom();
map.centerAndZoom(point, 15);
var marker = new BMap.Marker(point); // 创建标注
map.addOverlay(marker); // 将标注添加到地图中
marker.setAnimation(BMAP_ANIMATION_BOUNCE); //跳动的动画//启用滚轮放大缩小
this.footerFun();
</script>
{/block}