index.html 9.1 KB

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