store_info.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!DOCTYPE html>
  2. <html lang="zh-CN" class="index_page">
  3. <head>
  4. {template header}
  5. <title>分类信息-{$store[tname]}-{$mymps_global[SiteName]}</title>
  6. <meta http-equiv="keywords" content="{$store[tname]}发布的信息">
  7. <meta http-equiv="description" id="description" content="{$store[tname]}发布的分类信息">
  8. <link type="text/css" rel="stylesheet" href="{$mayimobile[mobiledomain]}/template/css/global.css">
  9. <link type="text/css" rel="stylesheet" href="{$mayimobile[mobiledomain]}/template/css/style.css">
  10. <link type="text/css" rel="stylesheet" href="{$mayimobile[mobiledomain]}/template/css/store.css">
  11. <script>window['current'] = '{echo cutstr($store[tname],28)}';</script>
  12. </head>
  13. <body class="{$mymps_global[cfg_tpl_dir]}">
  14. <div class="wrapper">
  15. {template header_search}
  16. {template store_header}
  17. <div class="clearfix"></div>
  18. <div class="mbox fw" style="margin-bottom:0;">
  19. <ul class="infolst" id="homelist">
  20. {loop $info_list $mymps}
  21. <li class="linkdetail" onclick="javascript:window.location.href='{$mymps[uri_m]}'">
  22. <dd class="tit" style="{echo $mymps[ifred] == 1 ? 'color:red;' : ''}{echo $mymps[ifbold] == 1 ? 'font-weight:bold;' : ''}">{$mymps[title]}</dd>
  23. <dd class="tm"> {echo GetTime($mymps[begintime],'m-d')}</dd>
  24. </li>
  25. {loopelse}
  26. <li class="linkdetail">没有找到相关的信息!</li>
  27. {/loop}
  28. </ul>
  29. <div id="loadmore"></div>
  30. <div id="nodata">已加载全部数据。</div>
  31. </div>
  32. </div>
  33. {template footer}
  34. <script>
  35. $(function(){var winH=$(window).height();var i=2;$(window).scroll(function(){var pageH=$(document.body).height();var scrollT=$(window).scrollTop();var aa=(pageH-winH-scrollT)/winH;if(aa<0.02){$.getJSON("{$mayimobile[mobiledomain]}/index.php",{page:i,mod:"store",action:"info",id:"{$store[id]}",mayi:1},function(json){if(json){var str="";$.each(json,function(index,array){var str='<li class="single_item" onclick="javascript:window.location.href=\''+array["uri_m"]+"'\">";str+='<dd class="tit">'+array["titlej"]+"</dd>";str+='<dd class="tm">'+array["begintimej"]+"</dd>";str+="</li>";$("#homelist").append(str)})}else{$("#loadmore").hide();$("#nodata").show();return false}});i++}})});
  36. </script>
  37. </body>
  38. </html>