<{import file="common.html" title="会员中心"}> 
<link rel="stylesheet" type="text/css" href="<{$__APP__}>public/css/member_index.css?t=<{$smarty.now}>">  
<body>
<div class="headerBox">
	<div class="htop" style="background: url(<{$__APP__}>public/images/user_bg.jpg); background:#F5571C; "> 
		<div class="l"> 
			<div class="avatar">
				<img src="<{if $urow.avatar}><{$__IMG__}><{$urow.avatar|img_size:80x80}><{else}><{$__PUBLIC__}>images/avatar.png<{/if}>">
			</div>
			<div class="nick">
				<span>
					<{if $smarty.session.user.nick}>
						<{$smarty.session.user.nick}>
					<{elseif $smarty.session.user.username}>
						<{$smarty.session.user.username}>
					<{elseif $smarty.session.user.mobile}>
						<{$smarty.session.user.mobile}>
					<{elseif $smarty.session.user.email}>
						<{$smarty.session.user.email}>
					<{else}> 
					<{/if}>
				</span>
			</div>
		</div>
		<div class="r"><a href="?m=user" class="setting">账户设置</a></div>
	</div>
	
	<div class="billBox">
		<div class="mk">
			<a href="javascript:;">
				<em><{$urow.price}></em>
				<span>我的钱包</span>
			</a>
		</div> 
		<div class="mk">
			<a href="javascript:;">
				<em><{$urow.integral}></em>
				<span>积分</span>
			</a>
		</div>
		<div class="mk">
			<a href="javascript:;">
				<em><{if $urow.quan}><{$urow.quan}><{else}>0<{/if}></em>
				<span>优惠券</span>
			</a>	
		</div>
	</div> 
</div>

<div class="oshow"> 
	<div class="oname"><span>我的订单</span><a href="?m=order&a=index">更多订单 <i>〉</i></a></div>
	<div class="ocon">
		<div class="mk">
			<a href="?m=order&a=index&status=1">
				<{if $orderNum.1}><em><{$orderNum.1}></em><{/if}>
				<span><i class="buy_1" style="background:url(<{$__APP__}>public/images/icon/buy.png) no-repeat;background-size:auto 26px; ">&nbsp;</i></span>
				<p>待付款</p>
			</a>
		</div>
		<div class="mk">
			<a href="?m=order&a=index&status=2">
				<{if $orderNum.2}><em><{$orderNum.2}></em><{/if}>
				<span><i style="background:url(<{$__APP__}>public/images/icon/buy.png) -33px 0 no-repeat; background-size:auto 26px;">&nbsp;</i></span>
				<p>待发货</p>
			</a>
		</div>
		<div class="mk">
			<a href="?m=order&a=index&status=3"> 
				<{if $orderNum.3}><em><{$orderNum.3}></em><{/if}>
				<span><i style="background:url(<{$__APP__}>public/images/icon/buy.png) -70px 0 no-repeat; background-size:auto 26px;">&nbsp;</i></span>
				<p>待收货</p>
			</a>	
		</div>
		<div class="mk">
			<a href="?m=order&a=index&status=4">
				<{if $orderNum.4}><em><{$orderNum.4}></em><{/if}>
				<span><i style="background:url(<{$__APP__}>public/images/icon/buy.png) -105px 0 no-repeat; background-size:auto 26px; ">&nbsp;</i></span>
				<p>待评价</p>
			</a>
		</div>
		<div class="mk">
			<a href="?m=order&a=refund">
				<span><i style="background:url(<{$__APP__}>public/images/icon/buy.png) -138px 0 no-repeat; background-size:auto 26px; ">&nbsp;</i></span>
				<p>退款/售后</p>
			</a>	
		</div>
		
	</div>
</div> 
<div class="umenu">
	<div class="li">
		<a href="?m=address">
			<p class="p1"><i style="background:#E950FB;"><img src="<{$__APP__}>public/images/icon/m3.png"/></i></p> 
			<p class="p2">收货地址</p>
		</a> 
	</div>
	<div class="li"> 
		<a href="?m=collect">
			<p class="p1"><i style="background:#FFA800;"><img src="<{$__APP__}>public/images/icon/m1.png"/></i></p> 
			<p class="p2">收藏/浏览</p>
		</a>
 	</div>
	<div class="li"> 
		<a href="?m=spread">
			<p class="p1"><i style="background:#00ADFF;"><img src="<{$__APP__}>public/images/icon/m2.png"/></i></p> 
			<p class="p2">我的分销</p>
		</a> 
	</div>
	<div class="li">
		<a href="?m=user&a=contact">
			<p class="p1"><i style="background:#95CE2F;"><img src="<{$__APP__}>public/images/icon/m4.png"/></i></p> 
			<p class="p2">客服反馈</p>
		</a> 
	</div>
</div>

<{uqcms m="goods_theme" v="rcmd" c="history_search:page_type=2&page_size=16"}>
<{if $rcmd.list}>
<div class="rcmd">
	<div class="rname"><span>为您推荐</span></div>
	<div class="con">
		<{foreach item=i from=$rcmd.list}>
			<div class="gbox">
				<div class="img"><a href="wap.php?m=goods&a=detail&id=<{$i.id}>"><img src="<{$__IMG__}><{$i.images|img_size:200x200}>"></a></div>
				<div class="ttl"><a href="wap.php?m=goods&a=detail&id=<{$i.id}>"><{$i.title}></a></div>
				<div class="pr">
					<span>¥ <{$i.price}></span>
				</div>
			</div>
		<{/foreach}> 
	</div>
</div>
<{/if}>
<{import file="btm_tab.html"}>
<{import file="footer.html"}> 