|
|
|
<!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?v=100">
|
|
|
|
<script src="__JS__/resize.js" type=""></script>
|
|
|
|
<title>礼包</title>
|
|
|
|
</head>
|
|
|
|
<body class="gifbag-box">
|
|
|
|
<div class="ptbnav" style="background:url('__IMG__/navbg.png') no-repeat bottom center/100% 100%;">
|
|
|
|
<img src="__IMG__/back.png">
|
|
|
|
<p>礼包</p>
|
|
|
|
<div></div>
|
|
|
|
</div>
|
|
|
|
<div class="ptbboxpad">
|
|
|
|
<div class="gifbox">
|
|
|
|
<div class="weui-cell gameinfo">
|
|
|
|
<div class="weui-cell__hd"><img src="{$game.icon}"></div>
|
|
|
|
<div class="weui-cell__bd">
|
|
|
|
<p>{$game.game_name}</p>
|
|
|
|
<p>礼包总数{$game.gift_num}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<foreach name='data' item='vo'>
|
|
|
|
<IF condition="$vo.received == 1">
|
|
|
|
<a href="{:U('details',['gift_id' => $vo['id'],'user_id' => $user_id])}" class="weui-cell">
|
|
|
|
<div class="weui-cell__bd">
|
|
|
|
<p>{$vo.giftbag_name}</p>
|
|
|
|
<p class="ui-nowrap">{$vo.desribe}</p>
|
|
|
|
</div>
|
|
|
|
<div class="weui-cell__ft">
|
|
|
|
<div class="hbtn">
|
|
|
|
已领取
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
<ELSE />
|
|
|
|
<a href="{:U('receive',['gift_id' => $vo['id'],'user_token' => $user_token,'game_id' => $game_id,game_name => $vo['game_name']])}" class="weui-cell">
|
|
|
|
<div class="weui-cell__bd">
|
|
|
|
<p>{$vo.giftbag_name}</p>
|
|
|
|
<p class="ui-nowrap">{$vo.desribe}</p>
|
|
|
|
</div>
|
|
|
|
<div class="weui-cell__ft">
|
|
|
|
<div class="actbtn">
|
|
|
|
领取
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</IF>
|
|
|
|
|
|
|
|
</foreach>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
<script src="__JS__/jquery.min.js"></script>
|
|
|
|
|
|
|
|
</html>
|