| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <!DOCTYPE html>
- <html lang="zh-CN" class="index_page">
- <head>
- {template header}
- {if $id}
- <title>{$docu[title]}-{$store[tname]}-{$mymps_global[SiteName]}</title>
- <meta http-equiv="keywords" content="{$docu[title]}">
- <meta http-equiv="description" id="description" content="{echo cutstr(clear_html($docu[content]),250)}">
- {else}
- <title>商家动态-{$store[tname]}-{$mymps_global[SiteName]}</title>
- <meta http-equiv="keywords" content="{$store[tname]}商家动态">
- <meta http-equiv="description" content="{$store[tname]}商家动态">
- {/if}
- <link type="text/css" rel="stylesheet" href="{$mayimobile[mobiledomain]}/template/css/global.css">
- <link type="text/css" rel="stylesheet" href="{$mayimobile[mobiledomain]}/template/css/style.css">
- <link type="text/css" rel="stylesheet" href="{$mayimobile[mobiledomain]}/template/css/store.css">
- <script>window['current'] = '{echo cutstr($store[tname],28)}';</script>
- </head>
- <body class="{$mymps_global[cfg_tpl_dir]}">
- <div class="wrapper">
- {template header_search}
- {template store_header}
- <div class="clearfix"></div>
-
- <div class="mbox userintro">
- {if !$docuid}
- <ul class="infolst" id="homelist">
- {loop $list $mymps}
- <li class="linkdetail" onclick="javascript:window.location.href='{$mymps[uri_m]}'">
- <dd class="tit" style="">{$mymps[title]}</dd>
- <dd class="tm"> {echo GetTime($mymps[pubtime],'m-d')}</dd>
- </li>
- {/loop}
- </ul>
- <div id="loadmore"></div>
- <div id="nodata">已加载全部数据。</div>
- {else}
- <p class="docutitle"> {$docu[title]} </p>
- <div class="p-pubtime">
- <span class="p-hit">浏览人次:{$docu[hit]}次</span> <span class="p-time">发布时间:{echo GetTime($docu[pubtime],'Y-m-d')}</span>
- </div>
- <div class="intro">
- {$docu[content]}
- </div>
- {/if}
- </div>
-
- </div>
- {template footer}
- <script>
- $(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:"document",id:"{$store[id]}",mayi:1},function(json){if(json){var str="";$.each(json,function(index,array){var str='<li class="linkdetail" onclick="javascript:window.location.href=\'{$mayimobile[mobiledomain]}'+array["uri_m"]+"'\">";str+='<dd class="tit">'+array["titlej"]+"</dd>";str+='<dd class="tm">'+array["pubtimej"]+"</dd>";str+="</li>";$("#homelist").append(str)})}else{$("#loadmore").hide();$("#nodata").show();return false}});i++}})});
- </script>
- <script>(function(){window['myScroll2'].scrollTo(-130,0);})(jQuery);</script>
- </body>
- </html>
|