Commit 262117690b5530c4e7863446788226f1677f3d6d
1 parent
4e97950e
关于我们 地图自适应
Showing
2 changed files
with
15 additions
and
2 deletions
contact.html
@@ -113,8 +113,8 @@ | @@ -113,8 +113,8 @@ | ||
113 | <section id="" class="section contact"> | 113 | <section id="" class="section contact"> |
114 | <div class="container"> | 114 | <div class="container"> |
115 | <div class="row"> | 115 | <div class="row"> |
116 | - <div class="example-title text-center">联系我们</div> | ||
117 | - <div class="example-subtitle text-center">打造创新型停车场 轻松停车</div> | 116 | + <!--<div class="example-title text-center">联系我们</div>--> |
117 | + <!--<div class="example-subtitle text-center">打造创新型停车场 轻松停车</div>--> | ||
118 | <div class="col-md-12 col-xs-12 contact-map" id="main"> | 118 | <div class="col-md-12 col-xs-12 contact-map" id="main"> |
119 | 119 | ||
120 | </div> | 120 | </div> |
js/contact.js
@@ -182,6 +182,19 @@ console.log(series) | @@ -182,6 +182,19 @@ console.log(series) | ||
182 | 182 | ||
183 | option = { | 183 | option = { |
184 | backgroundColor: '#fff', | 184 | backgroundColor: '#fff', |
185 | + title : { | ||
186 | + text: '联系我们', | ||
187 | + subtext: '打造创新型停车场 轻松停车', | ||
188 | + left: 'center', | ||
189 | + textStyle : { | ||
190 | + color: '#000', | ||
191 | + fontSize:30, | ||
192 | + }, | ||
193 | + subtextStyle: { | ||
194 | + color: 'rgba(0,0,0,.7)', | ||
195 | + fontSize:22, | ||
196 | + } | ||
197 | + }, | ||
185 | 198 | ||
186 | tooltip : { | 199 | tooltip : { |
187 | show:false, | 200 | show:false, |