<{include file="index/header.html"}> 
<div class="cnav"><a href="javascript:;" class="back">订单详情</a></div>
<style type="text/css">
.oinfo{ width:100%; background:#f8f8f8; float:left; }
.oinfo .address{ width:380px; height:100px; padding:10px; border-right:1px solid #efefef; float:left; } 
.oinfo .address dl{ width:100%; float:left; }
.oinfo .address dl dt{ width:80px; float:left; }
.oinfo .address dl dd{ width:300px; float:left; }

.oinfo .orow{ margin-left:385px; padding:10px; position:absolute; float:left; }
.oinfo .orow dl{ width:100%; float:left; }
.oinfo .orow dl dt{ width:80px; padding:0 0 0 20px; float:left; }
.oinfo .orow dl dd{  float:left; }


.info{ width:100%; padding:10px 0 10px 0; float:left; }
.info .name{ width:100%; padding:10px 0 10px 0; float: left; }
.info .name span{ font-size:16px; float:left; }
.info .name a{ padding:5px 0 0 0; float:right; }

.oprice{ width:100%; padding:15px 0 0 0; float:left; }
.oprice .pr{ float:left; }
.oprice .pr dl{ padding:0 20px 0 0; float:left; }
.oprice .pr dl dt{ float:left; }
.oprice .pr dl dd{ float:left; }
</style>
<div class="main">
	<div class="oinfo">
		<div class="address">
			<div class="name"></div>
			<div class="con"> 
				<dl>
					<dt>购买账号：</dt>
					<dd><{if $row.user.mobile}><{$row.user.mobile}><{else}>匿名购买<{/if}></dd>
				</dl>
				<dl>
					<dt>联系方式：</dt>
					<dd><{$row.addr.name}> &nbsp;&nbsp;&nbsp; <{$row.addr.mobile}></dd>
				</dl> 
				<dl>
					<dt>详细地址：</dt>
					<dd><{$row.addr.area}> <{$row.addr.address}></dd>
				</dl> 
				<dl>
					<dt>用户留言：</dt>
					<dd><{$row.message}></dd>
				</dl> 
			</div>
		</div>
		<div class="orow">
			<dl>
				<dt>订单编号：</dt>
				<dd><{$row.order_no}></dd>
			</dl> 
			<dl>
				<dt>交易编号：</dt>
				<dd><{$row.trade_no}></dd>
			</dl>
			
		</div> 
	</div>
	<div class="info">
		<div class="name">
			<span>订单信息</span>
			<{if $stock_status == '1'}> 
				<a href="?m=stock_out&a=bill_edit&order_no=<{$row.order_no}>">库房出库</a>
			<{/if}> 
		</div>
		<div class="con">
			<table class="ltable">
				<thead>
					<tr> 
						<th width="60">图片</th> 
						<th width="320">标题</th> 
						<th width="80">金额</th>
						<th width="80">数量</th> 
						<th width="80">库房存量</th>  
						<th width="300">产品名</th>  
						<th></th>
					</tr>
				</thead>
				<tbody>
			<{if $row.goods}>
				<{foreach item=i from=$row.goods}>
					<tr>
						<td><img src="<{$__IMG__}><{$i.images|img_size:50x50}>"></td> 
						<td style="padding-right:20px;" valign="top"><{$i.title}><br>
						<{if $i.sku}>
							<{foreach item=s from=$i.sku}>		
								<span><{$s.0}> : <{$s.1}> &nbsp;&nbsp; </span> 
							<{/foreach}>
						<{/if}>
						</td>
						<td><{$i.price}></td> 
						<td><{$i.buy_num}></td>  
						<td><{$i.stock_num_cn}></td>
						<td><{$i.stock_title}></td>
						<td></td>
					</tr>
				<{/foreach}>
			<{else}>
				<tr><td colspan="7">还没有数据，赶快添加吧！</td></tr>
			<{/if}>
				</tbody> 
			</table> 
		</div>
		<div class="oprice">
			<div class="pr">
				<dl>
					<dt>支付金额：</dt>
					<dd><span style=" color:#f00;"><{$row.total_price}></span></dd>
				</dl>
				<dl>
					<dt>产品价格：</dt>
					<dd><{$row.goods_price}></dd>
				</dl> 
				<dl>
					<dt>快递价格：</dt>
					<dd><{$row.express_price}></dd>
				</dl> 
				<dl>
					<dt>优惠价格：</dt>
					<dd><{$row.promote_price}></dd>
				</dl> 
				<dl>
					<dt>其他价格：</dt>
					<dd><{$row.other_price}></dd>
				</dl> 
			</div>
		</div>
	</div> 
</div>
<{include file="index/footer.html"}> 
