秦杰 3 年之前
父节点
当前提交
2bf069fb2b
共有 1 个文件被更改,包括 32 次插入0 次删除
  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 = {