<extend name="Public/bases2" />
<block name="css">
		<link href="__CSS__/game.css" rel="stylesheet" > 
		<link href="__CSS__/trade.css" rel="stylesheet" > 
    <style>
			.header .xg-back {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 4rem;
    height: 4rem;
    background: url(__IMG__/trade1/btn_left_n@3x.png) no-repeat center center / 2rem 2rem;
}
.trade_caption {font-size:1.55rem;padding:0.9rem 0.9rem;}
.trade-tab {position:fixed;z-index:3;line-height:3.2rem;width:100%;left:0;right:0;margin:0 auto;overflow:hidden;clear:both;background:#FFF;}
.trade-tab .trade-item {width:20%;float:left;text-align:center;    box-sizing: border-box;
    transition: all 0.3s linear;
    text-decoration: none;
    color: #5d5d5d;
    outline: none;}
.trade-tab .trade-item.active{    color: rgb(25,177,234);}
.trade-tab > .trade-item .text {
    position: relative;
    display: inline-block;
    padding: 1.2rem 0;
    line-height: 0.4rem;
    font-size: 1.36rem;
}
.trade-tab > .trade-item.active .text:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    height: 2px;
    background-color: currentColor;
}

        /*提现模块 begin*/
        .withdraw-cash-wrap{
            height: 100%;
            background-color: #f3f2f3;
        }
        .withdraw-cash-info{
            padding: 2.8rem 3rem 2rem;
            background-color: #fff;
            text-align: center;
        }
        .withdraw-cash-info .info{
            line-height: 2.78rem;
            background-color: #f2f2f2;
            color:rgb(53,53,53);
            font-size: 1.5rem;
            border-radius: 0.78rem;
            display: inline-block;
            width: 8.24rem;
            text-align: center;
            margin-bottom: 2.4rem;
        }
        .withdraw-cash-info .price{
            display: block;
            font-size: 2.7rem;
            color: rgb(25,177,234);
            margin: 0 auto 2.9rem;
        }
				.xg-btn {
						display: inline-block;
						padding: 0.8rem 0rem;
						border: none;
						outline: none;
						line-height: 1.5rem;
						color: #fff;
						font-size: 1.4rem;
						white-space: nowrap;
				}
				.xg-btn-block {
						display: block;
				}
        .withdraw-cash-info .xg-btn{
            margin-bottom: 2rem;
            width: 100%;
        }
				.xg-btn-primary {
						background-color: #19b1ea;
				}
				.xg-btn-pill {
						border-radius: 2rem;
				}
        .withdraw-cash-info .link{
            color: rgb(68,152,241);
            font-size: 1.5rem;
            display: inline-block;
        }
        .withdraw-cash-intro{
            padding: 1.62rem 1.36rem;
            color: rgb(150,150,150);
        }
        withdraw-cash-intro .intro{
            font-size: 1.34rem;
            margin-bottom: 0.32rem;
        }
    </style>
</block>
<block name="body">
<div class="xg_main" style="margin-top:7.1rem;">

<header class="header trade-header" style="border:none;box-shadow:0 0 0 0.4rem #eee">
    <a class="xg-back" href="javascript:;" onclick="window.location.href=&#39;{:U('Trade/index',array('is_app'=>I('is_app'),'token'=>I('token')))}&#39;"></a>
    <h1 class="trade_caption">交易记录</h1>
<div class="trade-tab">					
	<a class="trade-item" href="{:U('record',array('is_app'=>I('is_app'),'token'=>I('token')))}"><span class="text">全部</span></a>
	<a class="trade-item" href="{:U('record',array('type'=>1,'is_app'=>I('is_app'),'token'=>I('token')))}"><span class="text">已购买</span></a>
	<a class="trade-item" href="{:U('record',array('type'=>2,'is_app'=>I('is_app'),'token'=>I('token')))}"><span class="text">出售中</span></a>
	<a class="trade-item" href="{:U('record',array('type'=>3,'is_app'=>I('is_app'),'token'=>I('token')))}"><span class="text">已出售</span></a>
	<a class="trade-item active" href="javascript:;"><span class="text">提现</span></a>
</div>
</header>

<div class="t-list ">
	<div class="content ">
		<div class="withdraw-cash-wrap">
				<div class="withdraw-cash-info">
						<span class="info">可提现金币</span>
						<strong class="price">{$gold_coin|default=0}</strong>
						<button type="button" class="xg-btn xg-btn-pill xg-btn-primary xg-btn-block" onclick="javascrtpt:window.location.href=&#39;{:U('withdraw_gold',array('is_app'=>I('is_app'),'token'=>I('token')))}&#39;">提现</button>
						<a href="{:U('User/withdraw_record')}" class="link">查看提现记录</a>
				</div>
				<div class="withdraw-cash-intro">
						<p class="intro">*金币提现手续费为{:set_zero_on_number(C('withdraw.widthdraw_rate'))}%</p>
						<p class="intro">*单次提现金币不低于{:set_zero_on_number(C('withdraw.coin'))}</p>
				</div>
		</div>
	
	</div>
</div>
</block>