index.html 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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="keywords" content="" />
  10. <meta name="description" content="" />
  11. <link rel="stylesheet" type="text/css" href="/skin/css/style.css" />
  12. <script src="/skin/js/jquery-1.8.3.min.js"></script>
  13. <script src="/skin/js/commonHttp.js"></script>
  14. <script src="/skin/js/script.js"></script>
  15. <script src="/skin/js/jquery.tmpl.js"></script>
  16. <style>
  17. @media (min-width:1200px) {
  18. .txt{
  19. height: 250px;
  20. overflow: hidden;
  21. }
  22. }
  23. </style>
  24. </head>
  25. <body style="display: none;">
  26. <!-------------------------------------- 头部开始 -------------------------------------->
  27. <header>
  28. <div class="container full-height">
  29. <div class="logo">
  30. <a href="/"><img src="/skin/images/logo.png"></a>
  31. </div>
  32. <a class="mbtn"></a>
  33. <div class="menu">
  34. <ul>
  35. <li>
  36. <a href="/">网站首页</a>
  37. </li>
  38. <div id="NavlistContent">
  39. </div>
  40. <li>
  41. <a href="/a/lianxiwomen/">联系我们</a>
  42. </li>
  43. </ul>
  44. </div>
  45. <div class="foot">
  46. <p class="p1">
  47. <a href="http://wpa.qq.com/msgrd?v=3&uin=80044685&site=qq&menu=yes" id="footqq" class="ico ico1"></a>
  48. <a class="ico ico2"><img src="/skin/images/qbox.png"></a>
  49. <!--<a href="https://weibo.com/" class="ico ico3"></a>-->
  50. </p>
  51. <p class="p2">杭州乐鱼旅行社有限公司 版权所有</p>
  52. </div>
  53. </div>
  54. </header>
  55. <!-------------------------------------- 头部结束 -------------------------------------->
  56. <!-------------------------------------- 主体开始 -------------------------------------->
  57. <main>
  58. <div class="ui-fullpart nopd">
  59. <div class="ui-banner"><img src="" alt="" id="image">
  60. <div class="ct">
  61. <p></p>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="ui-fullpart bg-g">
  66. <div class="ui-title">
  67. <p class="p1" id="name">景区特色</p>
  68. <p class="p2 nodt" id="english">feature</p>
  69. </div>
  70. <div class="ui-roomlist wow fadeInUp">
  71. <ul id="ScenicContent">
  72. <!--<li>
  73. <div class="i">
  74. <div class="img"> <img src="/uploads/allimg/200108/1-20010QH5130-L.jpg" alt="茗品茶香"> </div>
  75. <div class="txt">
  76. <h3>茗品茶香</h3>
  77. <p>此处文案内容可根据您企业内容进行编辑,可更换文字、图片等常用元素,此处文案内容可根据您企业内容进行编辑,可更换文字、图片等常用元素,此处文案内容可根据您企业内容进...</p>
  78. </div>
  79. </div>
  80. </li>
  81. <li>
  82. <div class="i">
  83. <div class="img"> <img src="/uploads/allimg/200108/1-20010QH5380-L.jpg" alt="幽静小村"> </div>
  84. <div class="txt">
  85. <h3>幽静小村</h3>
  86. <p>此处文案内容可根据您企业内容进行编辑,可更换文字、图片等常用元素,此处文案内容可根据您企业内容进行编辑,可更换文字、图片等常用元素,此处文案内容可根据您企业内容进...</p>
  87. </div>
  88. </div>
  89. </li>
  90. <li>
  91. <div class="i">
  92. <div class="img"> <img src="/uploads/allimg/200108/1-20010QH5380-L.jpg" alt="幽静小村"> </div>
  93. <div class="txt">
  94. <h3>幽静小村</h3>
  95. <p>此处文案内容可根据您企业内容进行编辑,可更换文字、图片等常用元素,此处文案内容可根据您企业内容进行编辑,可更换文字、图片等常用元素,此处文案内容可根据您企业内容进...</p>
  96. </div>
  97. </div>
  98. </li>-->
  99. <div class="clearfix"></div>
  100. </ul>
  101. </div>
  102. <div class="ht90"></div>
  103. <!--<div class="ui-title">
  104. <p class="p1">暖心美食</p>
  105. <p class="p2 nodt">WARM HEART FOOD</p>
  106. </div>
  107. <div class="ui-foodlist wow fadeInUp">
  108. <div class="container">
  109. <ul>
  110. <li>
  111. <div class="i"> <img src="/uploads/allimg/200109/1-2001091022020-L.jpg" alt="暖心夜宵">
  112. <p>暖心夜宵</p>
  113. </div>
  114. </li>
  115. <li>
  116. <div class="i"> <img src="/uploads/allimg/200109/1-2001091021500-L.jpg" alt="养生早餐">
  117. <p>养生早餐</p>
  118. </div>
  119. </li>
  120. <li>
  121. <div class="i"> <img src="/uploads/allimg/200109/1-2001091021380-L.jpg" alt="特色小吃">
  122. <p>特色小吃</p>
  123. </div>
  124. </li>
  125. <div class="clearfix"></div>
  126. </ul>
  127. </div>
  128. </div>-->
  129. </div>
  130. </main>
  131. <!-------------------------------------- 主体结束 -------------------------------------->
  132. <!-------------------------------------- 尾部开始 -------------------------------------->
  133. <footer>
  134. <div class="container">
  135. <div class="info">
  136. <p><span class="pull-right"><span class="loca"><a href="/a/lianxiwomen/ ">目的地指南</a> <em>/</em>联系电话:<text id="phoneq"></text></span></span>
  137. <a href="/">网站首页</a> <i>|</i>
  138. <span id="FootlistContent" >
  139. </span>
  140. <a href="/a/lianxiwomen/">联系我们</a>
  141. </p>
  142. </div>
  143. </div>
  144. </footer>
  145. <!-------------------------------------- 尾部开始 -------------------------------------->
  146. <script type="text/html" id="NavlistTemplate">
  147. <li>
  148. <a href="{{= url}}?id={{= id }}">{{= name }}</a>
  149. </li>
  150. </script>
  151. <script type="text/html" id="FootlistTemplate">
  152. <a href="{{= url}}?id={{= id }}">{{= name }}</a> <i>|</i>
  153. </script>
  154. <script type="text/html" id="ScenicTemplate">
  155. <li>
  156. <div class="i">
  157. <div class="img"> <img src="{{= zhu_images.shift() }}" alt="{{= title }}"> </div>
  158. <div class="txt">
  159. <h3>{{= title }}</h3>
  160. <p>{{= small_introduce }}</p>
  161. </div>
  162. </div>
  163. </li>
  164. </script>
  165. <script>
  166. var id = getQueryString("id");
  167. //页面转载完毕后启动
  168. $(document).ready(function() {
  169. GetNavList();
  170. Feature();
  171. });
  172. //左侧栏目
  173. function GetNavList() {
  174. //定义请求URL
  175. var url = apiRootPath + 'api/index/allType';
  176. $.get(url, '', function(result) {
  177. if(result.code != 200) {
  178. alert(result.msg);
  179. return;
  180. }
  181. //绑定数据
  182. $("#NavlistTemplate").tmpl(result.data).appendTo("#NavlistContent");
  183. $("#NavlistContent").find('li a').eq(1).addClass('on');
  184. $("#FootlistTemplate").tmpl(result.data).appendTo("#FootlistContent");
  185. }, "json");
  186. }
  187. function Feature(){
  188. var data ={
  189. id:id
  190. }
  191. //定义请求URL
  192. var url = apiRootPath + 'api/index/introduce';
  193. $.post(url, data, function(result) {
  194. if(result.code != 200) {
  195. alert(result.msg);
  196. return;
  197. }
  198. //绑定数据
  199. $("#ScenicTemplate").tmpl(result.data.data).appendTo("#ScenicContent");
  200. $("#NavlistContent").find('li a').eq(1).addClass('on');
  201. $("#name").html(result.data.type.name);
  202. $("#english").html(result.data.type.english);
  203. $("#image").attr('src',result.data.type.image);
  204. }, "json");
  205. }
  206. function About(){
  207. //定义请求URL
  208. var url = apiRootPath + 'api/index/aboutUs';
  209. $.get(url, '', function(result) {
  210. if(result.code != 200) {
  211. alert(result.msg);
  212. return;
  213. }
  214. //绑定数据
  215. $("#phoneq").html(result.data.phone);
  216. $("#footqq").attr('href','http://wpa.qq.com/msgrd?v=3&amp;uin='+result.data.qq+'&amp;site=qq&amp;menu=yes');
  217. }, "json");
  218. }
  219. </script>
  220. </body>
  221. </html>