| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <!DOCTYPE html>
- <html lang="zh-CN" class="index_page">
- <head>
- {template header}
- <title>商品展示-{$store[tname]}-{$mymps_global[SiteName]}</title>
- <meta http-equiv="keywords" content="{$store[tname]}商品展示">
- <meta http-equiv="description" id="description" content="{$store[tname]}商品展示">
- <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">
- <link type="text/css" rel="stylesheet" href="{$mayimobile[mobiledomain]}/template/css/goods.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">
- <div class="intro">
- <div class="commodity_list">
-
- <ul id="homelist">
- {loop $list $k $mymps}
- <li>
- <a href="{$mymps[uri_m]}"><img src="{$mymps_global[SiteUrl]}{$mymps[pre_picture]}" onerror="this.src='{$mayimobile[mobiledomain]}/template/images/nopic.gif';" />
- <h3>{$mymps[goodsname]}</h3>
- <div class="price">¥<strong>{$mymps[nowprice]}</strong><del>¥{$mymps[oldprice]}</del></div>
- <sup class="cx{$cuxiao}"></sup>
- <sup class="tj{$istop}"></sup>
- </a>
- </li>
- {/loop}
- </ul>
- <div id="loadmore"></div>
- </div>
- <div id="nodata">已加载全部数据。</div>
- </div>
-
- </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:"goods",id:"{$store[id]}",mayi:1},function(json){if(json){var str="";$.each(json,function(index,array){var str="<li>";str+='<a href="'+array["uri_m"]+'"><img src="'+wwwdomain+array["pre_picture"]+'" onerror="this.src=\''+mobiledomain+"/template/images/nopic.gif';\" />";str+="<h3>"+array["goodsnamej"]+"</h3>";str+='<div class="price">¥<strong>'+array["nowprice"]+"</strong><del>¥"+array["oldprice"]+"</del></div>";str+='<sup class="cx'+array["cuxiao"]+'">促</sup>';str+='<sup class="tj'+array["tuijian"]+'">荐</sup>';str+="</a>";str+="</li>";$("#homelist").append(str)})}else{$("#loadmore").hide();$("#nodata").show();return false}});i++}})});
- </script>
- </body>
- </html>
|