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.
66 lines
2.5 KiB
HTML
66 lines
2.5 KiB
HTML
<extend name="Public/base" />
|
|
<block name="body" >
|
|
<link rel="stylesheet" href="__CSS__/gift.css">
|
|
<script type="text/javascript" src="__JS__/ZeroClipboard.js"></script>
|
|
<script type="text/javascript" src="/Public/Home/js/jquery.zclip.js"></script>
|
|
<div class="g-container">
|
|
<div class="g-main">
|
|
<include file="Public/user_head" />
|
|
|
|
<div class="user-bd laybox fix">
|
|
<include file="Public/user_base" />
|
|
|
|
<div class="user-section-wrap fl" id="user-section-wrap">
|
|
<div class="user-section user-section-3">
|
|
<div class="section-tit">礼包中心</div>
|
|
<ul class="ugift-list fix">
|
|
<volist name="list_data" id="data">
|
|
<li class="heii hei">
|
|
<div class="top">
|
|
<a class="usergift_seat fl">
|
|
|
|
<img src="{:get_cover($data['icon'],'path')}" alt="" class="img fl" width="96" height="96" onerror="this.src='__IMG__/empty.jpg';this.onerror=null">
|
|
|
|
</a>
|
|
<div class="info">
|
|
<a href="{:U('Gift/gift_detail',array('gid'=>base64_encode($data['gift_id'])))}"><p class="name" title="{$data.relation_game_name} 【{:mb_substr($data['relation_game_name'],0,2,'utf-8')}】{$data.gift_name}">{:msubstr2($data['all_name'],0,13)}</p></a>
|
|
<p class="card" style="width:235px;"><input class="tit jscopy" type="button" value="复制" title="{$data['novice']}" style="height:25px;float:right;border:0;background: #03B4F5;font: 12px/1.5 'microsoft yahei','微软雅黑', Arial, sans-serif;">卡号:<em title="{$data['novice']}">{:msubstr2($data['novice'],0,15)}</em></p>
|
|
<p>兑换截止:{:set_show_time($data['end_time'],'','forever')}</p>
|
|
</div>
|
|
</div>
|
|
<div class="bottom">
|
|
<span class="tit" style="background:#808080">礼包详情</span>
|
|
<div class="con " style="overflow: hidden;">
|
|
<p title="{$data['desribe']}">【礼包内容】{:msubstr2($data['desribe'],0,45)}</p>
|
|
<p title="{$data['digest']}">【领取方式】{:msubstr2($data['digest'],0,45)}</p>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</volist>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</block>
|
|
<block name="script" >
|
|
<script src="__STATIC__/layer/layer.js" type="text/javascript"></script>
|
|
<script>
|
|
$('.hei').hover(function(){
|
|
// $(this).toggleClass("heii");
|
|
});
|
|
$(function() {
|
|
$('.jscopy').zclip({
|
|
path: '__JS__/ZeroClipboard.swf',
|
|
copy: function ( ){
|
|
return $(this).attr('title')
|
|
},
|
|
afterCopy: function () {
|
|
layer.msg('复制成功',{icon:1});
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
|
|
</block> |