Commit 1106efaccaf84743dae180519b323ff0af6e599d

Authored by 潘钊
1 parent bcbe1edb

容器位置调整

src/main/resources/static/index.html
@@ -178,17 +178,16 @@ tr.row-active td { @@ -178,17 +178,16 @@ tr.row-active td {
178 </div> 178 </div>
179 </div> 179 </div>
180 <div class="page-content-wrapper"> 180 <div class="page-content-wrapper">
181 - <div class="page-content">  
182 - <div id="pjax-container" ></div>  
183 - <div id="route-container"> 181 + <div id="pjax-container" class="page-content"></div>
  182 +
  183 + <div id="route-container">
184 <div ng-app="ScheduleApp"> 184 <div ng-app="ScheduleApp">
185 <div ng-controller="ScheduleAppController"> 185 <div ng-controller="ScheduleAppController">
186 <div ui-view class="fade-in-up"> </div> 186 <div ui-view class="fade-in-up"> </div>
187 </div> 187 </div>
188 </div> 188 </div>
189 </div> 189 </div>
190 - </div>  
191 - </div> 190 + </div>
192 </div> 191 </div>
193 192
194 <script id="menu_list_temp" type="text/html"> 193 <script id="menu_list_temp" type="text/html">
@@ -272,10 +271,10 @@ tr.row-active td { @@ -272,10 +271,10 @@ tr.row-active td {
272 271
273 <!-- 地图相关 --> 272 <!-- 地图相关 -->
274 <!-- 百度 --> 273 <!-- 百度 -->
275 -<!-- <script src="http://api.map.baidu.com/api?v=2.0&ak=IGGrr4UjwIYzatoCRFKEL8sT" ></script> 274 +<script src="http://api.map.baidu.com/api?v=2.0&ak=IGGrr4UjwIYzatoCRFKEL8sT" ></script>
276 <script src="http://api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js" ></script> 275 <script src="http://api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js" ></script>
277 -高德  
278 -<script src="http://webapi.amap.com/maps?v=1.3&key=16cb1c5043847e09ef9edafdd77befda"></script> --> 276 +<!-- 高德 -->
  277 +<script src="http://webapi.amap.com/maps?v=1.3&key=16cb1c5043847e09ef9edafdd77befda"></script>
279 278
280 <script src="/assets/js/common.js"></script> 279 <script src="/assets/js/common.js"></script>
281 <!-- d3 --> 280 <!-- d3 -->
@@ -381,13 +380,13 @@ $(function(){ @@ -381,13 +380,13 @@ $(function(){
381 } 380 }
382 381
383 function showPjax(){ 382 function showPjax(){
384 - $(angJsContainer).hide();  
385 - $(pjaxContainer).show(); 383 + $(angJsContainer).removeClass('page-content').hide();
  384 + $(pjaxContainer).addClass('page-content').show();
386 } 385 }
387 386
388 function showAngJs(){ 387 function showAngJs(){
389 - $(pjaxContainer).html('').hide();  
390 - $(angJsContainer).show(); 388 + $(pjaxContainer).html('').removeClass('page-content').hide();
  389 + $(angJsContainer).addClass('page-content').show();
391 } 390 }
392 391
393 function activeLeftMenu(item){ 392 function activeLeftMenu(item){