<%namespace LMN.Model%>
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{Model.name}商品列表</title>
<meta content="和网商城 - 网上购物,好信誉,好服务,好产品,低价格,让你全面安心享受网上购物乐趣！" name="description">
<meta content="和网,商城,手机,笔记本,保健品" name="keywords">
<meta content="MSHTML 6.00.2900.6129" name="GENERATOR">
<link type="text/css" rel="stylesheet" href="/themes/wap/style.css" />
</head>
<body>
<%template _header%>
<p>
  <a href="wtai://wp/mc;4006188288">&gt;&gt;直接电话咨询（点我）</a></p>
<div class="xin05">
  [按]<%if {order}=={OrderBy.PriceAsc}%>价格↑<%else%><a href="list.aspx?cate={Category.id}&order={OrderBy.PriceAsc}">价格↑</a><%/if%>|<%if {order}=={OrderBy.TradesDesc}%>销量↓<%else%><a href="list.aspx?cate={Category.id}&order={OrderBy.TradesDesc}">销量↓</a><%/if%>|<%if {order}=={OrderBy.HitsAsc}%>人气↓<%else%><a href="list.aspx?cate={Category.id}&order={OrderBy.HitsAsc}">人气↓</a><%/if%>|<%if {order}=={OrderBy.IdDesc}%>新上架↓<%else%><a href="list.aspx?cate={Category.id}&order={OrderBy.IdDesc}">新上架↓</a><%/if%></div>

<%loop (list_item) item items%><div class="xin06">{item__loop__id}.<a href="detail.aspx?id={item.id}&amp;item={item.item_id}">{item.alias}<%if {item.color}!=""%>({item.color})<%/if%></a><span class="red">({item.price}元)</span><br /><a href="detail.aspx?id={item.id}&amp;item={item.item_id}"><img alt="图" src="{item.cover}" /></a><br />{item.intro}<br />人气:{item.hits}|最近售出:{item.trades}件<br />
<%if {item.sizes.Count}!=0%>订购:<%loop (list_item_size) item_size item.sizes%><%if {item_size.store}==0%>{item_size.text}<%else%><a href="cart.aspx?id={item.id}&item={item_size.item_id}">{item_size.text}</a><%/if%><%if {item_size__loop__id}!=1%>|<%/if%><%/loop%><br/><%/if%>
<a href="detail.aspx?id={item.id}&amp;item={item.item_id}">立即查看</a>|<a href="detail.aspx?id={item.id}&amp;item={item.item_id}">顾客热评({item.comments})</a></div><%/loop%>
<p><%csharp%>var strpage = "";
if (CurrPage == 1) {
  if(PageCount > 1) {
    strpage += "<a href='list.aspx?cate="+Category.id+"&amp;page="+(CurrPage + 1)+"'>下页</a> <a href='list.aspx?cate="+Category.id+"&amp;page="+PageCount+"'>尾页</a> ";
  } else {
    strpage += "下页 尾页 ";
  }
} else {
  if (CurrPage < PageCount) {
    strpage += "<a href='list.aspx?cate="+Category.id+"&amp;page="+(CurrPage + 1)+"'>下页</a> <a href='list.aspx?cate="+Category.id+"&amp;page="+PageCount+"'>尾页</a> ";
  }
  strpage += "<a href='list.aspx?cate="+Category.id+"&amp;page="+(CurrPage - 1)+"'>上页</a> <a href='list.aspx?cate="+Category.id+"&amp;page=1'>首页</a> ";
}<%/csharp%>
  {strpage} 总{CurrPage}/{PageCount}<br />
</p>
<div class="xin05">
  {Model.name}快速导购区</div>
<p>
  <%if {brands}!=null%>品牌:<a href="list.aspx?cate={Category.id}">全部</a>&nbsp;<%foreach b brands%><%if {b.id}=={BrandId}%>{b.name}<%else%><a href="list.aspx?cate={Category.id}&amp;brand={b.id}">{b.name}</a><%/if%><%if {b__foreach__id}!=brands.Count%>&nbsp;<%else%><br /><%/if%><%/foreach%><%/if%>
  <%if {attrs}!=null%><%foreach a attrs%>{a.name}:<a href="list.aspx?cate={Category.id}">全部</a>&nbsp;<%if a.values!=null%><%foreach av a.values%><%if {av.id}=={AttrValueId}%>{av.value}<%else%><a href="list.aspx?cate={Category.id}&value={av.id}">{av.value}</a><%/if%><%if {av__foreach__id}!=a.values.Count%>&nbsp;<%else%><br /><%/if%><%/foreach%><%/if%><%/foreach%><%/if%>
</p>
<div class="xin05">
  【<a class="red" href="#">全场热销商品排行</a>】</div>
<p>
  <a href="#">双模智能,黑莓银色8830-599元</a><br />
  <a href="#">时尚翻盖,音乐手机I598-613元</a><br />
  <a href="#">摩托罗拉V82G全场秒杀价929元</a><br />
  <a href="#">经典款,三星U608手机仅-619元</a></p>
<%template _footer%>
</body>
</html>
