<%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" />
<meta content="{Config.SiteName} - 网上购物,好信誉,好服务,好产品,低价格,让你全面安心享受网上购物乐趣！" name="description" />
<meta content="和网,商城,手机,笔记本,保健品" name="keywords" />
<link type="text/css" rel="stylesheet" href="/themes/wap/style.css" />
<title>购物车</title>
</head>
<body>
<%template _uc_header%>
<form method="post" action="/order.aspx">
    <p>
        <a href="/index.aspx">返回继续选购&gt;&gt;</a><br />
        您己选购的商品:</p>
    <p>
        <%if {session.cart.items.Count}==0%>
        当前购物车没有商品,您可以去<a href="/index.aspx">重新挑选</a><br />
        -----------
        <%else%>
        <%loop (cart_item) item session.cart.items%>
        <img src="{item.cover}" alt="img" />.<a href="/detail.aspx?id={item.goods_id}&amp;item={item.item_id}">{item.name}<%if {item.color}!=""%>({item.color}<%if {item.size}!=""%>、{item.size}<%/if%>)<%/if%></a><br />
        单价:{item.price}元<br />
        商品数量：{item.num} <a href="cart.aspx?action=addone&amp;id={item.goods_id}&amp;item={item.item_id}">加1</a>| <a href="cart.aspx?action=decrem&amp;id={item.goods_id}&amp;item={item.item_id}">减1</a>| <a href="/cart.aspx?action=delete&amp;id={item.goods_id}&amp;item={item.item_id}">不要了</a><br />
        <%/loop%>
        -----------<br />
        <a href="/index.aspx">保留以上商品,继续挑选</a><br />
        ==订单金额==<br />
        订单金额：{session.cart.amount}元<br />
        运费:￥{session.cart.freight}, 手续费:￥{session.cart.fees}<br />
        订单总价：<span class="red">{session.cart.total}</span>元<br />
        <%if session.cart.gold!=0 || session.cart.score!=0%>赠送:金币{session.cart.gold}, 积分{session.cart.score}<br />
        <%/if%>
        <%if session.cart.gifts.Count!=0%>
        您将获得的赠品：<br />
        <%loop (cart_gift)gift session.cart.gifts%>
        <a href="/gift.aspx?id={gift.id}">{gift.name}({gift.num}件)</a><br />
        <%/loop%>
        <%/if%>
        ==填写收货信息==<br />
        *收货人姓名(请填中文):<br />
        <input name="name" type="text" value="{session.cart.addr.name}" maxlength="15" /><br />
        *收货人地址(请具体到省,市,区(县),门牌号):<br />
        <input name="addr" type="text" value="{session.cart.addr.addr}" maxlength="90" /><br />
        邮政编码:<br />
        <input name="zip" type="text" value="{session.cart.addr.zip}" maxlength="90" /><br />
        *您的联系手机(请填数字):<br />
        <input name="mobile" type="text" value="{session.cart.addr.mobile}" maxlength="12" format="*N" /><br />
        固定电话(请填数字):<br />
        <input name="tele" type="text" id="tele" value="{session.cart.addr.tele}" maxlength="12" format="*N" /><br />
        订单备注:<br />
        <input name="remarks" type="text" maxlength="90" /><br />
        配送方式：<a href="/delivery.aspx?id={session.cart.delivery_id}">{session.cart.delivery}</a><br />
        <input type="submit" value="点击提交订单" />
        <%/if%></p>
</form>
<%template _uc_footer%>
</body>
</html>
