You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.9 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="__CSS__/weui.min.css">
<link rel="stylesheet" href="__CSS__/sdkptbpay.css">
<script src="__JS__/resize.js" type=""></script>
<title>余额</title>
</head>
<body class="index-box">
<div class="bg" style="background:url('__IMG__/indexbg.png') no-repeat bottom center/100% 100%;">
<!-- <div class="nav">
<img src="__IMG__/back.png">
<p>余额</p>
<div></div>
</div> -->
<div class="hader-label">
<diV class="labelitem labelact" data-showdom=".ptbpage" data-hidedom=".bbpage">
平台币
</diV>
<diV class="labelitem" data-showdom=".bbpage" data-hidedom=".ptbpage">
绑币
</diV>
</div>
<div class="ptbpage countbox">
<div class="d4"></div>
<div class="boxshadow countbox-content">
<p>账户平台币</p>
<p>{$balance}</p>
<p><a href="{:U('platform_pay_show', ['user_token' => $user_token, 'game_id' => $game_id])}" class="borderitem">立即充值</a> </p>
</div>
</div>
<!--绑币列表--->
<div class="bbpage bbpagebox">
<div class="d4"></div>
<div class="boxshadow bb-orderbox">
<foreach name="user_play" item="vo" >
<div class="weui-cell bb-orderitem">
<div class="weui-cell__hd"><img src="{$vo.cover}"></div>
<div class="weui-cell__bd">
<p>{$vo.game_name}</p>
</div>
<div class="weui-cell__ft">{$vo.bind_balance}</div>
</div>
</foreach>
</div>
</div>
</div>
<div class="ptbpage">
<div class="ptb-title" >
<img src="__IMG__/order.png">
<p>充值记录</p>
</div>
<!--平台币列表--->
<div class="boxshadow ptb-orderbox">
<foreach name="deposit" item="vo" >
<div class="weui-cell ptb-orderitem">
<div class="weui-cell__bd">
<p>{$vo.user_account}</p>
<p>{$vo.create_time}</p>
</div>
<div class="weui-cell__ft">+{$vo.pay_amount}</div>
</div>
</foreach>
</div>
</div>
</body>
<script src="__JS__/jquery.min.js"></script>
<script>
$(".labelitem").on("click",function(){
$(".labelitem").removeClass("labelact");
$(this).addClass("labelact");
var showdom = $(this).data('showdom');
var hidedom = $(this).data('hidedom');
$(hidedom).hide();
$(showdom).show();
})
</script>
</html>