fengjuan 4 년 전
부모
커밋
65b7708e20
1개의 변경된 파일81개의 추가작업 그리고 133개의 파일을 삭제
  1. 81 133
      index.html

+ 81 - 133
index.html

@@ -13,14 +13,13 @@
 		<link rel="stylesheet" type="text/css" href="/skin/css/bootstrap.css" />
 		<link rel="stylesheet" type="text/css" href="/skin/css/style.css" />
 		<link rel="stylesheet" type="text/css" href="/skin/css/flexible-bootstrap-carousel.css" />
-
+		
 		<script src="/skin/js/jquery-1.8.3.min.js"></script>
-
+		
 		<script src="/skin/js/commonHttp.js"></script>
 		<script src="/skin/js/flexible-bootstrap-carousel.js"></script>
 		<script src="/skin/js/scripta.js"></script>
-		<!--<script src="/skin/js/script.js"></script>-->
-		<script src="/skin/js/jquery.tmpl.js"></script>
+		<!--<script src="/skin/js/bootstrap.js"></script>-->
 		
 
 		<style>
@@ -45,7 +44,7 @@
 							<a class='on' href="/">网站首页</a>
 						</li>
 						<div id="NavlistContent">
-
+							
 						</div>
 
 						<li>
@@ -91,7 +90,8 @@
 					<p class="p2" id="titlea"></p>
 				</div>
 				<div class="ui-homeview wow fadeInUp">
-					<ul id="FeatureContent">
+					<ul id="FeatureContent">  
+
 
 						<div class="clearfix"></div>
 					</ul>
@@ -113,53 +113,51 @@
 									</ul>
 									<div class="clearfix"></div>
 								</div>-->
-						<div class="carousel-example">
-							<!-- FLEXIBLE BOOTSTRAP CAROUSEL -->
-							<div id="simple-content-carousel" class="carousel flexible slide" data-ride="carousel" data-interval="5000" data-wrap="true">
-
-								<div class="items"> 
-									<div class="flex-item">
-										<img class="img-responsive" src="/skin/images/banner-img3.jpg" />
-									</div>
-									<div class="flex-item">
-										<img class="img-responsive" src="/skin/images/banner-img3.jpg" />
-									</div>
-									<div class="flex-item">
-										<img class="img-responsive" src="/skin/images/banner-img3.jpg" />
-									</div>
-									<div class="flex-item">
-										<img class="img-responsive" src="/skin/images/banner-img2.jpg" />
-									</div>
-
-									
-
-									<div class="flex-item">
-										<img class="img-responsive" src="/skin/images/banner-img1.jpg" />
-									</div>
-
-									<div class="flex-item">
-										<img class="img-responsive" src="/skin/images/banner-img1.jpg" />
-									</div>
-
-									<div class="flex-item">
-										<img class="img-responsive" src="/skin/images/banner-img1.jpg" />
-									</div>
-								</div>
-
-								<div class="carousel-inner" role="listbox">
-
-								</div>
-
-								<a class="left carousel-control" href="#simple-content-carousel" role="button" data-slide="prev">
-									<span class="fa fa-angle-left" aria-hidden="true"><</span>
-									<span class="sr-only">Previous</span>
-								</a>
-								<a class="right carousel-control" href="#simple-content-carousel" role="button" data-slide="next">
-									<span class="fa fa-angle-right" aria-hidden="true">></span>
-									<span class="sr-only">Next</span>
-								</a>
-							</div>
-						</div>
+								<div class="carousel-example">
+			<!-- FLEXIBLE BOOTSTRAP CAROUSEL -->
+			<div id="simple-content-carousel" class="carousel flexible slide" data-ride="carousel" data-interval="5000" data-wrap="true">
+				
+				<div class="items">
+					<div class="flex-item">
+						<img class="img-responsive" src="/skin/images/banner-img1.jpg"/>
+						12
+					</div>
+				
+					<div class="flex-item">
+						<img class="img-responsive" src="/skin/images/banner-img2.jpg"/>
+					</div>
+					
+					<div class="flex-item">
+						<img class="img-responsive" src="/skin/images/banner-img3.jpg"/>
+					</div>
+					
+					<div class="flex-item">
+						<img class="img-responsive" src="/skin/images/banner-img1.jpg"/>
+					</div>
+					
+					<div class="flex-item">
+						<img class="img-responsive" src="/skin/images/banner-img1.jpg"/>
+					</div>
+					
+					<div class="flex-item">
+						<img class="img-responsive" src="/skin/images/banner-img1.jpg"/>
+					</div>
+				</div>
+				
+				<div class="carousel-inner" role="listbox">
+					
+				</div>
+			
+				<a class="left carousel-control" href="#simple-content-carousel" role="button" data-slide="prev">
+					<span class="fa fa-angle-left" aria-hidden="true"><</span>
+					<span class="sr-only">Previous</span>
+				</a>
+				<a class="right carousel-control" href="#simple-content-carousel" role="button" data-slide="next">
+					<span class="fa fa-angle-right" aria-hidden="true">></span>
+					<span class="sr-only">Next</span>
+				</a>
+			</div>
+		</div>
 					</div>
 				</div>
 			</div>
@@ -170,7 +168,7 @@
 				</div>
 				<div class="ul-homenews">
 					<ul id="NewsContent">
-
+						
 						<div class="clearfix"></div>
 					</ul>
 				</div>
@@ -189,6 +187,8 @@
 					</div>
 					<div class="ui-homeexpe">
 						<ul id="ExpeContent">
+							
+							
 
 							<div class="clearfix"></div>
 						</ul>
@@ -202,20 +202,22 @@
 			<div class="container">
 				<div class="info">
 					<p><span class="pull-right"><span class="loca"><a href="/a/lianxiwomen/ ">目的地指南</a> <em>/</em>联系电话:<text id="phoneq"></text></span></span>
-
-						<a href="/">网站首页</a> <i>|</i>
-						<span id="FootlistContent">
+					
+							<a href="/">网站首页</a> <i>|</i>
+							<span id="FootlistContent" >
 								
 							</span>
-						<a href="/a/lianxiwomen/">联系我们</a>
-
+							<a href="/a/lianxiwomen/">联系我们</a>
+						
 					</p>
 				</div>
 			</div>
 		</footer>
 
 		<!-------------------------------------- 尾部开始 -------------------------------------->
-
+		
+		
+		
 		<script type="text/html" id="SlideTemplate">
 			<div class='carousel-item'>
 				<img src="{{= image}}" />
@@ -247,23 +249,20 @@
 			</li>
 		</script>
 		<script type="text/html" id="HomeTemplate">
-			<!--<div >
-										<img class="img-responsive" src="/skin/images/banner-img1.jpg" /> 
-									</div>-->
-			<div class="flex-item">
+			<li>
 				<a href="/a/jingxinminsu/5.html?id={{= id }}" class="i">
-					<div class="img"> <img src="{{= zhu_images.shift() }}" alt="{{= title}}" class="img-responsive"> </div>
+					<div class="img"> <img src="{{= zhu_images.shift() }}" alt="{{= title}}"> </div>
 					<div class="txt">
 						<h3>{{= title}}</h3>
 						<p>{{= small_introduce}}</p>
 						<h5>
-						  <label for="">MORE</label>  
+						  <label for="">MORE</label>
 						</h5>
 					</div>
 				</a>
-			</div>
-		</script>
-
+			</li>
+		</script> 
+		
 		<script type="text/html" id="NewsTemplate">
 			<li>
 				<a href="/a/zuixindongtai/10.html?id={{= id }}" class="i"><img src="{{= zhu_images.shift() }}" alt="{{= title}}">
@@ -277,7 +276,7 @@
 		</script>
 		<script type="text/html" id="ExpeTemplate">
 			<li>
-				<a href="/a/shangxintiyan/16.html?id={{= id }}" class="i">
+				<a href="/a/shangxintiyan/16.html?id={{= id }}" class="i"> 
 					<div class="img"> <img src="{{= zhu_images.shift() }}" alt="{{= title}}"> </div>
 					<div class="txt">
 						<h3>{{= title}}</h3>
@@ -294,72 +293,20 @@
 		<script type="text/html" id="FootlistTemplate">
 			<a href="{{= url}}?id={{= id }}">{{= name }}</a> <i>|</i>
 		</script>
-
+		<script src="/skin/js/script.js"></script>
+		<script src="/skin/js/jquery.tmpl.js"></script>
 		<script type="text/javascript">
-			
+
 			//页面转载完毕后启动
 			$(document).ready(function() {
-
+	
 				BannerList();
 				GetNavList();
 				About();
-//				var winResize = function() {
-//				var width = $(window).width();
-//				var height = $(window).height();
-//				$('.full-height').height(height);
-//
-//				if(width <= 767) {
-//					$('body').addClass('small-screen');
-//					$('body').removeClass('normal-screen');
-//				} else {
-//					$('body').removeClass('small-screen');
-//					$('body').addClass('normal-screen');
-//				}
-//
-//				if($('body').hasClass('normal-screen')) {
-//					$('.bg-contactus').height(height - $('footer').outerHeight());
-//				} else {
-//					$('main').css('min-height', $(window).height() - $('footer').outerHeight(true));
-//				}
-//
-//				$('.lrlist').each(function(index, el) {
-//					var $this = $(this);
-//					var count = $this.data('count-pc');
-//					if($('body').hasClass('small-screen')) {
-//						count = $this.data('count-mb');
-//					}
-//					$this.find('ul li').width(Math.floor($this.width() / count));
-//					$this.find('ul').width($this.find('ul li').width() * ($this.find('ul li').length + 1));
-//				});
-//			}
-//			$(function() {
-//				$(window).resize(function() {
-//					winResize();
-//				});
-//				winResize();
-//				setTimeout(function() {
-//					winResize();
-//				}, 100);
-//
-//				$(window).scroll(function() {
-//					var sTop = $(window).scrollTop();
-//					var wHeight = $(window).height();
-//					var sBottom = wHeight - ($('body').height() - sTop);
-//
-//				});
-//				$('header .mbtn').click(function(event) {
-//					$('body').toggleClass('on-menu');
-//					return false;
-//				});
-//				$('header .menu >a').click(function(event) {
-//					$('body').removeClass('on-menu');
-//					return false;
-//				});
-//
-//			});
+
 			});
 			//左侧栏目
-			function GetNavList() {
+			function GetNavList(){
 				//定义请求URL
 				var url = apiRootPath + 'api/index/allType';
 				$.get(url, '', function(result) {
@@ -369,9 +316,10 @@
 					}
 					//绑定数据
 					$("#NavlistTemplate").tmpl(result.data).appendTo("#NavlistContent");
-
+					
 					$("#FootlistTemplate").tmpl(result.data).appendTo("#FootlistContent");
-					$("#more").attr('href', '/a/zuixindongtai/?id=' + result.data[2].id);
+					$("#more").attr('href','/a/zuixindongtai/?id='+result.data[2].id);
+					
 
 				}, "json");
 			}
@@ -403,11 +351,11 @@
 					$("#HomeTemplate").tmpl(result.data.e.introduce_model).appendTo("#HomeContent");
 					$("#NewsTemplate").tmpl(result.data.c.introduce_model).appendTo("#NewsContent");
 					$("#ExpeTemplate").tmpl(result.data.d.introduce_model).appendTo("#ExpeContent");
+					
 
 				}, "json");
 			}
-
-			function About() {
+			function About(){
 				//定义请求URL
 				var url = apiRootPath + 'api/index/aboutUs';
 				$.get(url, '', function(result) {
@@ -417,7 +365,7 @@
 					}
 					//绑定数据
 					$("#phoneq").html(result.data.phone);
-					$("#footqq").attr('href', 'http://wpa.qq.com/msgrd?v=3&amp;uin=' + result.data.qq + '&amp;site=qq&amp;menu=yes');
+					$("#footqq").attr('href','http://wpa.qq.com/msgrd?v=3&amp;uin='+result.data.qq+'&amp;site=qq&amp;menu=yes');
 
 				}, "json");
 			}