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.
86 lines
4.0 KiB
HTML
86 lines
4.0 KiB
HTML
5 years ago
|
<extend name="Public/bases" />
|
||
|
<block name="css">
|
||
|
<link href="__CSS__/{:C('DEFAULT_THEME')}/game.css" rel="stylesheet" >
|
||
|
</block>
|
||
|
<block name="body">
|
||
|
<div class="trunk-box">
|
||
|
<div class="wrap">
|
||
|
<div class="condition">
|
||
|
<ul class="table">
|
||
|
<li class="table-row">
|
||
|
<span class="table-cell condition-name">游戏类型:</span>
|
||
|
<span class="table-cell condition-value">
|
||
|
<a href="{:U('Game/index',array('account'=>I('account'),'rs'=>I('rs'),'sv'=>I('sv')))}" class="condition-item <empty name='Think.get.gt'>active</empty>">不限</a>
|
||
|
<game:gametype name="vo" >
|
||
|
<a href="{:U('Game/index',array('account'=>I('account'),'gt'=>$vo['id'],'rs'=>I('rs'),'sv'=>I('sv')))}" class="condition-item <eq name='Think.get.gt' value='$vo.id'>active</eq>">{$vo.type_name}</a>
|
||
|
</game:gametype>
|
||
|
</span>
|
||
|
</li>
|
||
|
<li class="table-row">
|
||
|
<span class="table-cell condition-name">推荐状态:</span>
|
||
|
<span class="table-cell condition-value">
|
||
|
<a href="{:U('Game/index',array('account'=>I('account'),'gt'=>I('gt'),'sv'=>I('sv')))}" class="condition-item <empty name='Think.get.rs'>active</empty>">不限</a>
|
||
|
<a href="{:U('Game/index',array('account'=>I('account'),'rs'=>1,'gt'=>I('gt'),'sv'=>I('sv')))}" class="condition-item <eq name='Think.get.rs' value='1'>active</eq>">推荐</a>
|
||
|
<a href="{:U('Game/index',array('account'=>I('account'),'rs'=>2,'gt'=>I('gt'),'sv'=>I('sv')))}" class="condition-item <eq name='Think.get.rs' value='2'>active</eq>">热门</a>
|
||
|
<a href="{:U('Game/index',array('account'=>I('account'),'rs'=>3,'gt'=>I('gt'),'sv'=>I('sv')))}" class="condition-item <eq name='Think.get.rs' value='3'>active</eq>">最新</a>
|
||
|
</span>
|
||
|
</li>
|
||
|
<li class="table-row">
|
||
|
<span class="table-cell condition-name">使用系统:</span>
|
||
|
<span class="table-cell condition-value">
|
||
|
<a href="{:U('Game/index',array('account'=>I('account'),'gt'=>I('gt'),'rs'=>I('rs')))}" class="condition-item <empty name='Think.get.sv'>active</empty>">不限</a>
|
||
|
<a href="{:U('Game/index',array('account'=>I('account'),'sv'=>1,'gt'=>I('gt'),'rs'=>I('rs')))}" class="condition-item <eq name='Think.get.sv' value='1'>active</eq>">安卓</a>
|
||
|
<a href="{:U('Game/index',array('account'=>I('account'),'sv'=>2,'gt'=>I('gt'),'rs'=>I('rs')))}" class="condition-item <eq name='Think.get.sv' value='2'>active</eq>">苹果</a>
|
||
|
</span>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="list" style="min-height:658px;">
|
||
|
<notempty name="lists">
|
||
|
<ul class="clearfix">
|
||
|
<volist name="lists" id="vo" mod="7">
|
||
|
<li class="<eq name='mod' value='0'>first</eq>">
|
||
|
<div class="item clearfix">
|
||
|
<div class="pic">
|
||
|
<span class="font table"><span class="table-cell">----游戏</span></span>
|
||
|
<noempty name="vo.game_icon"><img src="{:get_cover($vo['game_icon'],'path')}" class="icon"></noempty>
|
||
|
</div>
|
||
|
<div class="txt">
|
||
|
<a href="{:U('Game/detail',array('name'=>$vo['game_name'],'source'=>$vo['game_source'],'account'=>I('account')))}" class="name">{:str_replace(array('(安卓版)','(苹果版)'),'',$vo['game_name'])}</a>
|
||
|
<p class="downloadnum">{:set_number_short($vo['download_number'])}人下载</p>
|
||
|
<a href="{:U('Game/detail',array('name'=>$vo['game_name'],'source'=>$vo['game_source'],'account'=>I('account')))}" class="butn">进入官网</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</li>
|
||
|
</volist>
|
||
|
</ul>
|
||
|
<else />
|
||
|
<div class="empty">
|
||
|
<span class="table">
|
||
|
<span class="table-cell">
|
||
|
<img src="__IMG__/empty_icon_list.png" class="empty-icon">
|
||
|
<p class="empty-text">找不到相关游戏</p>
|
||
|
</span>
|
||
|
</span>
|
||
|
</div>
|
||
|
</notempty>
|
||
|
</div>
|
||
|
<div class="pagenation">{$_page}</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</block>
|
||
|
|
||
|
<block name="script">
|
||
|
<script>
|
||
|
$(function() {
|
||
|
var length=$(".list li").length;
|
||
|
var height = $('.pagenation').height() || 100;
|
||
|
if(length>14){
|
||
|
$('.list').css({'height':($(window).height()-276-height)+'px'});
|
||
|
}else{
|
||
|
$(".list").css({ "min-height": "572px"});
|
||
|
}
|
||
|
|
||
|
});
|
||
|
</script>
|
||
|
</block>
|