index.html 11 KB

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