index.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  7. <meta name="format-detection" content="telephone=no">
  8. <title>乐鱼</title>
  9. <meta name="description" content="" />
  10. <meta name="keywords" content="" />
  11. <meta name="author" content="order by mobanxiu.cn" />
  12. <link rel="stylesheet" type="text/css" href="/skin/css/bootstrap.css" />
  13. <link rel="stylesheet" type="text/css" href="/skin/css/style.css" />
  14. <link rel="stylesheet" type="text/css" href="/skin/css/flexible-bootstrap-carousel.css" />
  15. <script src="/skin/js/jquery-1.8.3.min.js"></script>
  16. <script src="/skin/js/commonHttp.js"></script>
  17. <script src="/skin/js/flexible-bootstrap-carousel.js"></script>
  18. <!--<script src="/skin/js/script.js"></script>-->
  19. <script src="/skin/js/jquery.tmpl.js"></script>
  20. <script src="/skin/js/scripta.js"></script>
  21. <style>
  22. .carousel-inner img {
  23. width: 100%;
  24. height: 100%;
  25. }
  26. </style>
  27. </head>
  28. <body style="display: none;">
  29. <!-------------------------------------- 头部开始 -------------------------------------->
  30. <header>
  31. <div class="container full-height">
  32. <div class="logo">
  33. <a href="/"><img src="/skin/images/logo.png"></a>
  34. </div>
  35. <a class="mbtn"></a>
  36. <div class="menu">
  37. <ul>
  38. <li>
  39. <a class='on' href="/">网站首页</a>
  40. </li>
  41. <div id="NavlistContent">
  42. </div>
  43. <li>
  44. <a href="/a/lianxiwomen/">联系我们</a>
  45. </li>
  46. </ul>
  47. </div>
  48. <div class="foot">
  49. <p class="p1">
  50. <a href="http://wpa.qq.com/msgrd?v=3&uin=80044685&site=qq&menu=yes" id="footqq" class="ico ico1"></a>
  51. <a class="ico ico2"><img src="/skin/images/qbox.png"></a>
  52. </p>
  53. <p class="p2">杭州乐鱼旅行社有限公司 版权所有</p>
  54. </div>
  55. </div>
  56. </header>
  57. <!-------------------------------------- 头部结束 -------------------------------------->
  58. <!-------------------------------------- 主体开始 -------------------------------------->
  59. <main>
  60. <div class="ui-fullpart nopd">
  61. <div class="ui-homebanner">
  62. <div class="view">
  63. <div id="carousel-homebanner" class="carousel slide" data-ride="carousel">
  64. <div class="carousel-inner" role="listbox" id="SlideContent">
  65. </div>
  66. <div class="navi">
  67. <ul class=" carousel-indicators" id="SlideonContent">
  68. </ul>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. <div class="ui-fullpart bg-g">
  75. <div class="ui-title">
  76. <p class="p1" id="title"></p>
  77. <p class="p2" id="titlea"></p>
  78. </div>
  79. <div class="ui-homeview wow fadeInUp">
  80. <ul id="FeatureContent">
  81. <div class="clearfix"></div>
  82. </ul>
  83. </div>
  84. <div class="container" style="overflow: hidden;">
  85. <div class="ht90"></div>
  86. <div class="ui-title">
  87. <p class="p1" id="titleb"></p>
  88. <p class="p2" id="titlec"></p>
  89. </div>
  90. <div class="ui-homehouse lrlist" data-count-pc="3" data-count-mb="1">
  91. <!--<a href="" class="aw l">
  92. <</a>
  93. <a href="" class="aw r">></a>
  94. <div class="ct">
  95. <ul id="HomeContent">
  96. </ul>
  97. <div class="clearfix"></div>
  98. </div>-->
  99. <div class="carousel-example">
  100. <!-- FLEXIBLE BOOTSTRAP CAROUSEL -->
  101. <div id="simple-content-carousel" class="carousel flexible slide" data-ride="carousel" data-interval="5000" data-wrap="true">
  102. <div class="items" id="HomeContent">
  103. <!--<div class="flex-item">
  104. <img class="img-responsive" src="/skin/images/banner-img2.jpg" />
  105. </div>
  106. <div class="flex-item">
  107. <img class="img-responsive" src="/skin/images/banner-img3.jpg" />
  108. </div>
  109. <div class="flex-item">
  110. <img class="img-responsive" src="/skin/images/banner-img1.jpg" />
  111. </div>
  112. <div class="flex-item">
  113. <img class="img-responsive" src="/skin/images/banner-img1.jpg" />
  114. </div>
  115. <div class="flex-item">
  116. <img class="img-responsive" src="/skin/images/banner-img1.jpg" />
  117. </div>-->
  118. </div>
  119. <div class="carousel-inner" role="listbox">
  120. </div>
  121. <a class="left carousel-control" href="#simple-content-carousel" role="button" data-slide="prev">
  122. <span class="fa fa-angle-left" aria-hidden="true"><</span>
  123. <span class="sr-only">Previous</span>
  124. </a>
  125. <a class="right carousel-control" href="#simple-content-carousel" role="button" data-slide="next">
  126. <span class="fa fa-angle-right" aria-hidden="true">></span>
  127. <span class="sr-only">Next</span>
  128. </a>
  129. </div>
  130. </div>
  131. </div>
  132. </div>
  133. </div>
  134. <div class="ui-fullpart">
  135. <div class="ui-title">
  136. <p class="p1" id="titled"></p>
  137. <p class="p2" id="titlee"></p>
  138. </div>
  139. <div class="ul-homenews">
  140. <ul id="NewsContent">
  141. <div class="clearfix"></div>
  142. </ul>
  143. </div>
  144. <div class="ht70" style="clear: both;"></div>
  145. <div class="ui-more">
  146. <p>
  147. <a href="/a/zuixindongtai/" id="more">LEARN MORE ></a>
  148. </p>
  149. </div>
  150. </div>
  151. <div class="ui-fullpart bg-homeexpe">
  152. <div class="container">
  153. <div class="ui-title">
  154. <p class="p1" id="titlef"></p>
  155. <p class="p2" id="titleg"></p>
  156. </div>
  157. <div class="ui-homeexpe">
  158. <ul id="ExpeContent">
  159. <div class="clearfix"></div>
  160. </ul>
  161. </div>
  162. </div>
  163. </div>
  164. </main>
  165. <!-------------------------------------- 主体结束 -------------------------------------->
  166. <!-------------------------------------- 尾部开始 -------------------------------------->
  167. <footer>
  168. <div class="container">
  169. <div class="info">
  170. <p><span class="pull-right"><span class="loca"><a href="/a/lianxiwomen/ ">目的地指南</a> <em>/</em>联系电话:<text id="phoneq"></text></span></span>
  171. <a href="/">网站首页</a> <i>|</i>
  172. <span id="FootlistContent">
  173. </span>
  174. <a href="/a/lianxiwomen/">联系我们</a>
  175. </p>
  176. </div>
  177. </div>
  178. </footer>
  179. <!-------------------------------------- 尾部开始 -------------------------------------->
  180. <script type="text/html" id="SlideTemplate">
  181. <div class='carousel-item'>
  182. <img src="{{= image}}" />
  183. <a href="#" class="img ">
  184. <div class="tt">
  185. <p class="p3">
  186. <label for="">more></label>
  187. </p>
  188. </div>
  189. </a>
  190. </div>
  191. </script>
  192. <script type="text/html" id="SlideonTemplate">
  193. <li data-target="#demo" data-slide-to="{{= id}}">
  194. <a href="#">0{{= $index+1}}</a>
  195. </li>
  196. </script>
  197. <script type="text/html" id="FeatureTemplate">
  198. <li>
  199. <a href="/a/jingqutese/1.html?id={{= id }}" class="i"><img src="{{= zhu_images.shift() }}" alt="{{= title}}">
  200. <div class="ct">
  201. <h3>
  202. <label for="">{{= title}}<br>
  203. <small>{{= small_title}}</small></label>
  204. </h3>
  205. <p>{{= small_introduce }}</p>
  206. </div>
  207. </a>
  208. </li>
  209. </script>
  210. <script type="text/html" id="HomeTemplate">
  211. <!--<div >
  212. <img class="img-responsive" src="/skin/images/banner-img1.jpg" />
  213. </div>-->
  214. <div class="flex-item">
  215. <a href="/a/jingxinminsu/5.html?id={{= id }}" class="i">
  216. <div class="img"> <img src="{{= zhu_images.shift() }}" alt="{{= title}}" class="img-responsive"> </div>
  217. <div class="txt">
  218. <h3>{{= title}}</h3>
  219. <p>{{= small_introduce}}</p>
  220. <h5>
  221. <label for="">MORE</label>
  222. </h5>
  223. </div>
  224. </a>
  225. </div>
  226. </script>
  227. <script type="text/html" id="NewsTemplate">
  228. <li>
  229. <a href="/a/zuixindongtai/10.html?id={{= id }}" class="i"><img src="{{= zhu_images.shift() }}" alt="{{= title}}">
  230. <div class="ct">
  231. <h3>{{= title}}</h3>
  232. <h5>{{= create}}</h5>
  233. <p>{{= small_introduce}}</p>
  234. </div>
  235. </a>
  236. </li>
  237. </script>
  238. <script type="text/html" id="ExpeTemplate">
  239. <li>
  240. <a href="/a/shangxintiyan/16.html?id={{= id }}" class="i">
  241. <div class="img"> <img src="{{= zhu_images.shift() }}" alt="{{= title}}"> </div>
  242. <div class="txt">
  243. <h3>{{= title}}</h3>
  244. <p>{{= small_introduce}}</p>
  245. </div>
  246. </a>
  247. </li>
  248. </script>
  249. <script type="text/html" id="NavlistTemplate">
  250. <li>
  251. <a href="{{= url}}?id={{= id }}">{{= name }}</a>
  252. </li>
  253. </script>
  254. <script type="text/html" id="FootlistTemplate">
  255. <a href="{{= url}}?id={{= id }}">{{= name }}</a> <i>|</i>
  256. </script>
  257. <script type="text/javascript">
  258. //页面转载完毕后启动
  259. $(document).ready(function() {
  260. BannerList();
  261. GetNavList();
  262. About();
  263. // var winResize = function() {
  264. // var width = $(window).width();
  265. // var height = $(window).height();
  266. // $('.full-height').height(height);
  267. //
  268. // if(width <= 767) {
  269. // $('body').addClass('small-screen');
  270. // $('body').removeClass('normal-screen');
  271. // } else {
  272. // $('body').removeClass('small-screen');
  273. // $('body').addClass('normal-screen');
  274. // }
  275. //
  276. // if($('body').hasClass('normal-screen')) {
  277. // $('.bg-contactus').height(height - $('footer').outerHeight());
  278. // } else {
  279. // $('main').css('min-height', $(window).height() - $('footer').outerHeight(true));
  280. // }
  281. //
  282. // $('.lrlist').each(function(index, el) {
  283. // var $this = $(this);
  284. // var count = $this.data('count-pc');
  285. // if($('body').hasClass('small-screen')) {
  286. // count = $this.data('count-mb');
  287. // }
  288. // $this.find('ul li').width(Math.floor($this.width() / count));
  289. // $this.find('ul').width($this.find('ul li').width() * ($this.find('ul li').length + 1));
  290. // });
  291. // }
  292. // $(function() {
  293. // $(window).resize(function() {
  294. // winResize();
  295. // });
  296. // winResize();
  297. // setTimeout(function() {
  298. // winResize();
  299. // }, 100);
  300. //
  301. // $(window).scroll(function() {
  302. // var sTop = $(window).scrollTop();
  303. // var wHeight = $(window).height();
  304. // var sBottom = wHeight - ($('body').height() - sTop);
  305. //
  306. // });
  307. // $('header .mbtn').click(function(event) {
  308. // $('body').toggleClass('on-menu');
  309. // return false;
  310. // });
  311. // $('header .menu >a').click(function(event) {
  312. // $('body').removeClass('on-menu');
  313. // return false;
  314. // });
  315. //
  316. // });
  317. });
  318. //左侧栏目
  319. function GetNavList() {
  320. //定义请求URL
  321. var url = apiRootPath + 'api/index/allType';
  322. $.get(url, '', function(result) {
  323. if(result.code != 200) {
  324. alert(result.msg);
  325. return;
  326. }
  327. //绑定数据
  328. $("#NavlistTemplate").tmpl(result.data).appendTo("#NavlistContent");
  329. $("#FootlistTemplate").tmpl(result.data).appendTo("#FootlistContent");
  330. $("#more").attr('href', '/a/zuixindongtai/?id=' + result.data[2].id);
  331. }, "json");
  332. }
  333. //首页banner轮播
  334. function BannerList() {
  335. //定义请求URL
  336. var url = apiRootPath + 'api/index/allIntroduce';
  337. $.get(url, '', function(result) {
  338. if(result.code != 200) {
  339. alert(result.msg);
  340. return;
  341. }
  342. //绑定数据
  343. $("#SlideTemplate").tmpl(result.data.chart).appendTo("#SlideContent");
  344. $("#SlideContent").children(":first").addClass("active")
  345. $("#SlideonTemplate").tmpl(result.data.chart).appendTo("#SlideonContent");
  346. $("#SlideonContent").children(":first").addClass("active");
  347. $("#title").html(result.data.b.name);
  348. $("#titlea").html(result.data.b.english);
  349. $("#titleb").html(result.data.e.name);
  350. $("#titlec").html(result.data.e.english);
  351. $("#titled").html(result.data.c.name);
  352. $("#titlee").html(result.data.c.english);
  353. $("#titlef").html(result.data.d.name);
  354. $("#titleg").html(result.data.d.english);
  355. $("#FeatureTemplate").tmpl(result.data.b.introduce_model).appendTo("#FeatureContent");
  356. $("#HomeTemplate").tmpl(result.data.e.introduce_model).appendTo("#HomeContent");
  357. $("#NewsTemplate").tmpl(result.data.c.introduce_model).appendTo("#NewsContent");
  358. $("#ExpeTemplate").tmpl(result.data.d.introduce_model).appendTo("#ExpeContent");
  359. }, "json");
  360. }
  361. function About() {
  362. //定义请求URL
  363. var url = apiRootPath + 'api/index/aboutUs';
  364. $.get(url, '', function(result) {
  365. if(result.code != 200) {
  366. alert(result.msg);
  367. return;
  368. }
  369. //绑定数据
  370. $("#phoneq").html(result.data.phone);
  371. $("#footqq").attr('href', 'http://wpa.qq.com/msgrd?v=3&amp;uin=' + result.data.qq + '&amp;site=qq&amp;menu=yes');
  372. }, "json");
  373. }
  374. </script>
  375. </body>
  376. </html>