<{import file="common.html" title="我的提现"}>  
<style type="text/css">
body{ background:#f8f8f8; } 
.conbox{ width:100%; padding:0; float:left;}

.prbox{ width:100%; background:#f30; padding:0.5rem 0; float:left; }
.prbox .pr{ width:4rem; float:left; }
.prbox .pr em{ font-size:0.3rem; color:#fff; margin:0.3rem 0.2rem 0 0.2rem; float:left; }
.prbox .pr span{ color:#fff; font-size:0.6rem; margin:0; float:left; }
.prbox .tx{ width:3rem; padding:0.18rem 0.2rem 0 0; text-align:right; float:right; }
.prbox .tx a{ color:#fff; border:1px dotted #fff; padding:0.1rem 0.3rem; border-radius:1rem; font-size:0.26rem; float:right; }

.clist{ width:100%; background:#fff; float:left; }
.clist .name{ width:100%; border-bottom:1px solid #efefef; float:left; }
.clist .name span{ font-size:0.3rem; padding:0.3rem 0 0.22rem 0.2rem; font-weight:bold; float:left; }
.clist .con{ width:100%; background:#fff; float:left; }
.clist .con dl{ width:100%; border-bottom:1px solid #efefef; padding:0.2rem 0; float:left;}
.clist .con dl dt{ margin:0 0 0 0.2rem; font-size:0.28rem; float:left; }
.clist .con dl dt em{ font-size:0.22rem; color:#999; padding:0.3rem 0 0 0; }
.clist .con dl dd{ margin:0 0.2rem 0 0; color:#f00; float:right; }

</style>
<body>
<div class="cnav">
	<a class="back" href="<{$__WAP__}>account/wallet"></a>
	我的提现
	<a href="javascript:;" class="thome">主页</a>
</div>
<{uqcms m="user" v="urow" c="get_info"}>
<div class="conbox">
	<div class="prbox">
		<div class="pr">
			<em>余额</em><span><{$urow.price}></span>
		</div>
		<div class="tx">
			<a href="<{$__WAP__}>account/withdraw_apply" id="add_address">申请提现</a>
		</div>
	</div> 
	<div class="clist">
		<div class="name"><span>提现记录</span></div>
		<div class="con olist"> 
			<{uqcms m="account" v="data" c="withdraw_list:page=smarty.get.page&page_type=scroll"}>
			<{if $data.list}>
				<{foreach item=i from=$data.list}>
					<dl class="obox">
						<dt>￥<{$i.price}><br><em><{$i.addtime}></em></dt>
						<dd>
							<{if $i.pay_status == '0'}>
								<span style="color:#ff0000; font-weight:bold;">已经提交</span>
							<{elseif $i.pay_status == '1'}>
								<span style="color:#666; font-weight:bold;">提现成功</span>
							<{elseif $i.pay_status == '2'}>
								<span style="color:#D7D217;">申请驳回<br>
								<a href="<{$__WAP__}>account/withdraw_apply?id=<{$i.id}>">重新申请</a></span>
							<{/if}>
						</dd>
					</dl>
				<{/foreach}>
				<{$data.page}>
			<{else}>
				<div class="nomsg"><span>暂无提现账单</span></div>
			<{/if}>	
		</div>
	</div>
</div>
<{include file="default/footer.html"}> 
<script type="text/javascript">
scrollLoad(".olist", ".obox"); 
</script>