index.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  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">
  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. <li>
  215. <a href="/a/jingxinminsu/5.html?id={{= id }}" class="i">
  216. <div class="img"> <img src="{{= zhu_images.shift() }}" alt="{{= title}}"> </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. </li>
  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 src="/skin/js/script.js"></script>
  258. <script src="/skin/js/jquery.tmpl.js"></script>
  259. <script type="text/javascript">
  260. //页面转载完毕后启动
  261. $(document).ready(function() {
  262. BannerList();
  263. GetNavList();
  264. About();
  265. });
  266. //左侧栏目
  267. function GetNavList(){
  268. //定义请求URL
  269. var url = apiRootPath + 'api/index/allType';
  270. $.get(url, '', function(result) {
  271. if(result.code != 200) {
  272. alert(result.msg);
  273. return;
  274. }
  275. //绑定数据
  276. $("#NavlistTemplate").tmpl(result.data).appendTo("#NavlistContent");
  277. $("#FootlistTemplate").tmpl(result.data).appendTo("#FootlistContent");
  278. $("#more").attr('href','/a/zuixindongtai/?id='+result.data[2].id);
  279. }, "json");
  280. }
  281. //首页banner轮播
  282. function BannerList() {
  283. //定义请求URL
  284. var url = apiRootPath + 'api/index/allIntroduce';
  285. $.get(url, '', function(result) {
  286. if(result.code != 200) {
  287. alert(result.msg);
  288. return;
  289. }
  290. //绑定数据
  291. $("#SlideTemplate").tmpl(result.data.chart).appendTo("#SlideContent");
  292. $("#SlideContent").children(":first").addClass("active")
  293. $("#SlideonTemplate").tmpl(result.data.chart).appendTo("#SlideonContent");
  294. $("#SlideonContent").children(":first").addClass("active");
  295. $("#title").html(result.data.b.name);
  296. $("#titlea").html(result.data.b.english);
  297. $("#titleb").html(result.data.e.name);
  298. $("#titlec").html(result.data.e.english);
  299. $("#titled").html(result.data.c.name);
  300. $("#titlee").html(result.data.c.english);
  301. $("#titlef").html(result.data.d.name);
  302. $("#titleg").html(result.data.d.english);
  303. $("#FeatureTemplate").tmpl(result.data.b.introduce_model).appendTo("#FeatureContent");
  304. $("#HomeTemplate").tmpl(result.data.e.introduce_model).appendTo("#HomeContent");
  305. $("#NewsTemplate").tmpl(result.data.c.introduce_model).appendTo("#NewsContent");
  306. $("#ExpeTemplate").tmpl(result.data.d.introduce_model).appendTo("#ExpeContent");
  307. }, "json");
  308. }
  309. function About(){
  310. //定义请求URL
  311. var url = apiRootPath + 'api/index/aboutUs';
  312. $.get(url, '', function(result) {
  313. if(result.code != 200) {
  314. alert(result.msg);
  315. return;
  316. }
  317. //绑定数据
  318. $("#phoneq").html(result.data.phone);
  319. $("#footqq").attr('href','http://wpa.qq.com/msgrd?v=3&amp;uin='+result.data.qq+'&amp;site=qq&amp;menu=yes');
  320. }, "json");
  321. }
  322. </script>
  323. </body>
  324. </html>