|
|
<extend name="Public/bases"/>
|
|
|
<block name="body">
|
|
|
<!--列表 start-->
|
|
|
<div class="list pane" style="display:block" id="list" ajaxrow="10" currentpage="1" maxpage="2">
|
|
|
<volist name="game" id="vo">
|
|
|
<div class="lists fade" appid="{$vo.appid}">
|
|
|
<div class="close">关闭</div>
|
|
|
<div class="top">
|
|
|
<img src="{$vo.game_img|get_cover='path'}">
|
|
|
<div class="tm" style="display:none;">
|
|
|
<div class="rzs">已入驻 <span class="ruzhurenshu">{$vo.in_num|default=0}</span> 人</div>
|
|
|
<if condition="empty($vo['pc_url'])">
|
|
|
<a class="rzBtn" data-id="{$vo.id}" target="_blank" href="{$vo.pc_url|default="#"}">立即入驻</a>
|
|
|
<else />
|
|
|
<a class="rzBtn" data-id="{$vo.id}" target="_blank" href="{$vo.pc_url|default="#"}">立即入驻</a>
|
|
|
</if>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="bottom"><img src="{$vo.game_icon|get_cover='path'}" class="bImg">
|
|
|
<div class="z"></div>
|
|
|
<div class="btit">
|
|
|
<h3>{$vo.game_name}</h3>
|
|
|
</div>
|
|
|
<p>
|
|
|
<span>{$vo['open_type']}</span>
|
|
|
| <span>{$vo['game_type']}</span>
|
|
|
| <span>{$vo.game_size}M</span>
|
|
|
</p>
|
|
|
<p><span>QQ交流群:{$vo.group_code|default=暂无} 已入驻人数:<span class="ruzhurenshu">{$vo.in_num|default=0}</span>人 </span></p>
|
|
|
<ul class="dbutton">
|
|
|
<li>
|
|
|
<a target="_blank" href="{:U('Gift/index?id='.$vo['id'])}" class="libao">领取礼包</a>
|
|
|
</li>
|
|
|
<empty name="vo.game_id">
|
|
|
<li><a href="{$vo.game_dow_url}" class="download" target="_blank" rel="external">下载游戏</a></li>
|
|
|
<else />
|
|
|
<li><a href="{:U('Down/down_file',['game_id'=>$vo['game_id'],'promote_id'=>$vo['promote_id']])}" class="download" target="_blank">下载游戏</a></li>
|
|
|
</empty>
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|
|
|
</volist>
|
|
|
</div>
|
|
|
|
|
|
</block>
|
|
|
<block name="script">
|
|
|
<script>
|
|
|
$('.download').click(function(e){
|
|
|
e.preventDefault();
|
|
|
var href = $(this).attr('href');
|
|
|
if(href =='' ){
|
|
|
layer.msg('暂无下载地址',{icon:1,time:1000});
|
|
|
}else{
|
|
|
window.open($(this).attr('href'));
|
|
|
}
|
|
|
});
|
|
|
</script>
|
|
|
</block> |