<{import file="common.html" title="会员中心"}> 
<link rel="stylesheet" type="text/css" href="<{$__APP__}>public/css/member_index.css?v=<{$js_version}>"> 
<{uqcms m="user" v="urow" c="get_info"}>
<div class="headerBoxbg"></div>
<div class="headerBox">
	<div class="htop"> 
		<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="<{$__WAP__}>user/index" class="setting">账户设置</a></div>
	</div> 
	
	<div class="billBox"> 
		<div class="mk">
			<a href="<{$__WAP__}>account/coupon">
				<em><{if $urow.coupon}><{$urow.coupon}><{else}>0<{/if}></em>
				<span>优惠券</span>
			</a>	
		</div>
		<i></i>
		<div class="mk">
			<a href="<{$__WAP__}>account/wallet">
				<em><{if $urow.price}><{$urow.price}><{else}>0<{/if}></em>
				<span>零钱</span>
			</a>
		</div> 
		<i></i>
		<div class="mk"> 
			<em><{if $urow.integral}><{$urow.integral}><{else}>0<{/if}></em>
			<span>积分</span> 
		</div> 
	</div> 
</div>
 


<{uqcms m="count" v="orderNum" c="order"}>
<div class="oshow"> 
	<div class="ocon">
		<div class="mk">
			<a href="<{$__WAP__}>order/index?status=1"> 
				<span><img src="<{$__APP__}>public/svg/order_1.svg"/></span>
				<span>待付款</span>
				<{if $orderNum.1}><em><{$orderNum.1}></em><{/if}>
			</a>
		</div>
		<div class="mk">
			<a href="<{$__WAP__}>order/index?status=2"> 
				<span><img src="<{$__APP__}>public/svg/order_2.svg"/></span>
				<span>待发货</span>
				<{if $orderNum.2}><em><{$orderNum.2}></em><{/if}>
			</a>
		</div>
		<div class="mk">
			<a href="<{$__WAP__}>order/index?status=3"> 
				<span><img src="<{$__APP__}>public/svg/order_3.svg"/></span>
				<span>待收货</span>
				<{if $orderNum.3}><em><{$orderNum.3}></em><{/if}>
			</a>	
		</div>
		<div class="mk">
			<a href="<{$__WAP__}>order/index?status=4"> 
				<span><img src="<{$__APP__}>public/svg/order_4.svg"/></span>
				<span>待评价</span>
				<{if $orderNum.3}><em><{$orderNum.3}></em><{/if}>
			</a>
		</div>
		<div class="mk">
			<a href="<{$__WAP__}>order/refund">
				<span><img src="<{$__APP__}>public/svg/order_refund.svg"/></span>
				<span>退款/售后</span>
				<{if $orderNum.3}><em><{$orderNum.3}></em><{/if}>
			</a>	
		</div> 
	</div>
	<div class="oall"><a href="<{$__WAP__}>order/index">查看全部订单 > </a></div>
</div>

<div class="umenu">
	<div class="li">
		<a href="<{$__WAP__}>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="<{$__WAP__}>collect">
			<p class="p1">
				<i style="background:#FFA800;"><img src="<{$__APP__}>public/images/icon/m1.png"/></i>
			</p> 
			<p class="p2">收藏/浏览</p>
		</a>
 	</div>
	<{if $UQCMS.sys_type == '1'}>	
		<!--div class="li"> 
			<a href="<{$__WAP__}>spread">
				<p class="p1">
					<i style="background:#00ADFF;"><img src="<{$__APP__}>public/images/icon/m2.png"/></i>
				</p> 
				<p class="p2">我的分销</p>
			</a> 
		</div-->
	<{/if}>
	<!--div class="li">
		<a href="<{$__WAP__}>user/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="theme" v="like" c="like:page_type=scroll&page_size=16"}>
<{if $like.list}>
	<div class="rcmd">
		<div class="rname"><span>为您推荐</span></div>
		<div class="con">
			<{foreach item=i from=$like.list}>
				<div class="gbox">
					<div class="img"><a href="<{$__WAP__}>goods/<{$i.id}><{$__HTML__}>"><img src="<{$__IMG__}><{$i.images|img_size:200x200}>"></a></div>
					<div class="ttl"><a href="<{$__WAP__}>goods/<{$i.id}><{$__HTML__}>"><{$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"}> 