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.

83 lines
4.5 KiB
HTML

5 years ago
<extend name="Public/base" />
<block name="body" >
<link rel="stylesheet" href="__CSS__/gamecenter.css">
<div class="">
<img src="__IMG__/banner_youxi.png">
</div>
<div class="g-container">
<div class="g-main game_center">
<div class="game-select-box fix">
<div class="game-type">
<span class="game-type-title">运营平台:</span>
<span class="game-type-list">
<a href="{:U('Game/game_center',array('game_type'=>$gt,'theme'=>$t))}" class="<if condition='I("sdk_version") eq 0'> active </if>" >不限</a>
<a href="{:U('Game/game_center',array('sdk_version'=>1,'game_type'=>$gt,'theme'=>$t))}" class="<if condition='I("sdk_version") eq 1'> active </if>">Android</a>
<a href="{:U('Game/game_center',array('sdk_version'=>2,'game_type'=>$gt,'theme'=>$t))}" class="<if condition='I("sdk_version") eq 2'> active </if>">IOS</a>
</span>
</div>
<div class="game-type ">
<span class="game-type-title">游戏类型:</span>
<span class="game-type-list">
<a href="{:U('Game/game_center',array('sdk_version'=>$sys,'theme'=>$t))}" class="<if condition='I("game_type") eq 0'>active</if>">不限</a>
<volist name=':get_game_type_all()' id='vo' key='k'>
<a href="{:U('Game/game_center',array('sdk_version'=>$sys,'game_type'=>$vo['id'],'theme'=>$t))}" class="<if condition='I("game_type") eq $vo["id"]'> active </if>">{$vo.type_name}</a>
</volist>
</span>
</div>
<div class="game-theme">
<span class="game-type-title">游戏首字母:</span>
<span class="game-type-list">
<a href="{:U('Game/game_center',array('sdk_version'=>$sys,'game_type'=>$gt))}" class="<if condition='I("theme") eq ""'> active </if>">不限</a>
<volist name=":zimu26()" id="zimu">
<a href="{:U('Game/game_center',array('sdk_version'=>$sys,'game_type'=>$gt,'theme'=>$zimu['value']))}" class="<if condition='I("theme") eq $zimu["value"]'> active </if>">{$zimu['value']}</a>
</volist>
</span>
</div>
</div>
<div class="game-content-box">
<ul class="game-list fix">
<if condition="$list_data eq '' or empty($list_data)">
<div class="empty-notice-pt">
<img class="empty-notice-icon" src="__IMG__/search_not.png">
<p class="empty-notice-text">抱歉 ~ 未搜索到相关游戏</p>
</div>
<else/>
<!-- {:var_Dump($list_data)} -->
<volist name="list_data" id="data" mod="3">
<li class="laybox <eq name='mod' value='2'>slb</eq>">
<a href="{:U('Game/game_detail',array('id'=>$data['relation_game_id']))}" target="_self" class="img">
<img src="{:get_cover($data['icon'],'path')}" width="96" height="96" class="zimg_img" onerror="this.src='__IMG__/empty.jpg';this.onerror=null">
<span class="zdis_tab">
<span class="zdis_tabcell">
<div>{:C(SET_POSITION_IMG)}</div>
</span>
</span>
</a>
<div class="info"> <a href="{:U('Game/game_detail',array('id'=>$data['relation_game_id']))}" target="_self" class="name" title="{$data['relation_game_name']}">{:msubstr2($data['relation_game_name'],0,7)}</a>
<div class="row">
<span class="col-1">版本:<if condition="$data.and_id neq ''"><i class="pf-android" title="安卓版本"></i></if><if condition="$data.ios_id neq ''"><i class="pf-ios" title="IOS版本"></i></if></span>
<span class="col-2">类型:<em>{:msubstr2($data['game_type_name'],0,7)} </em></span> </div>
<div class="row"> <span class="col-1">评分:<em>{$data.game_score}</em></span>
<span class="col-2">更新时间:<em>{$data['create_time']|date="Y-m-d",###}</em></span> </div>
<p class="intro"> 简介:{$data.features} </p>
<div class="opt"> <a href="{:U('Game/game_detail',array('id'=>$data['relation_game_id']))}" target="_self" class="g-btn enterhome"><i></i>进入官网</a> <a href="{:U('Game/game_detail',array('id'=>$data['relation_game_id']))}" class="g-btn download"><i></i>查看游戏</a> </div>
</div>
</li>
</volist>
</if>
</ul>
<div class="page pagepp">
{$_page|default=''}
</div>
</div>
</div>
</div>
<!-- <script type="text/javascript" src="style/js/main_2016.js"></script> -->
</block>
<block name='script'>
<script>
</script>
</block>