秦杰 3 năm trước cách đây
mục cha
commit
2bf069fb2b
1 tập tin đã thay đổi với 32 bổ sung0 xóa
  1. 32 0
      main/assets/xuniren/search.html

+ 32 - 0
main/assets/xuniren/search.html

@@ -209,6 +209,30 @@
 	</div>
 	<!-- end news -->
 
+	<div class="ad-swiper ad wrapper">
+		<div class="swiper-container">
+			<div class="swiper-wrapper clearfix">
+				<div class="swiper-slide">
+					<a href="#" target="_blank" title="">
+						<img src="images/ad.jpg?v=86319426" alt="" title="">
+					</a>
+				</div>
+				<div class="swiper-slide">
+					<a href="#" target="_blank" title="">
+						<img src="images/ad.jpg?v=86319426" alt="" title="">
+					</a>
+				</div>
+				<div class="swiper-slide">
+					<a href="#" target="_blank" title="">
+						<img src="images/ad.jpg?v=86319426" alt="" title="">
+					</a>
+				</div>
+			</div>
+			<div class="pagination"></div>
+		</div>
+		<a href="#" class="iconfont icon-close"></a>
+	</div>
+
 	<footer>
 		<div class="imgs">
 			<div class="blogo"><img src="images/logo.png?v=17ac7764" data-wlogo="" alt=""></div>
@@ -242,6 +266,14 @@
 		paginationClickable :true,
 		loop: true
 	})
+	if($('.ad-swiper .swiper-container .swiper-slide').length > 1) {
+		new Swiper('.ad-swiper .swiper-container', {
+			autoplay: 3000,
+			// pagination : '.ad-swiper .pagination',
+			paginationClickable :true,
+			loop: true
+		})
+	}
 </script>
 <script>
 	window.wbshare = {