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.

106 lines
4.2 KiB
HTML

<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 detail">
<div class="bg"><span class="table font"><span class="table-cell">----游戏</span></span><notempty name="data.game_bg_img"><img src="{:get_cover($data['game_bg_img'],'path')}"></notempty></div>
<div class="wrap">
<div class="content">
<div class="tab clearfix">
<a href="{:U('Game/detail',array('account'=>I('account'),'name'=>I('name'),'source'=>I('source')))}" class="tab-item">游戏专区</a>
<a href="javascript:;" class="tab-item active">开服信息</a>
<a href="{:U('Game/gift',array('account'=>I('account'),'name'=>I('name'),'source'=>I('source')))}" class="tab-item">礼包信息</a>
</div>
<div class="panal">
<div class="base clearfix game-base">
<div class="item ">
<div class="pic"><span class="font table"><span class="table-cell">----游戏</span></span><img src="{:get_cover($data['game_icon'],'path')}"></div>
<div class="but clearfix">
<div class="qrcode-area">
<img src="{:U('Base/qrcode',array('url'=>base64_encode(base64_encode($data['download']))))}">
<p>扫一扫快速下载</p>
</div>
<div class="butn-area">
<notempty name="data.download1">
<a href="{$data.download1}" class="butn download-butn download-and"><img src="__IMG__/icon_android.png"><span>安卓下载</span></a>
<else />
<a href="javascript:;" class="butn download-butn download-and disabled"><img src="__IMG__/icon_android.png"><span>安卓下载</span></a>
</notempty>
<notempty name="data.download2">
<a href="{$data.download2}" class="butn download-butn download-ios"><img src="__IMG__/icon_ios.png"><span>苹果下载</span></a>
<else />
<a href="javascript:;" class="butn download-butn download-ios disabled"><img src="__IMG__/icon_ios.png"><span>苹果下载</span></a>
</notempty>
<notempty name="data.pc_url">
<a href="{$data.pc_url}" target="_blank" class="butn qq-butn">玩家Q群</a>
<else />
<a href="javascript:;" target="_blank" class="butn qq-butn disabled">玩家Q群</a>
</notempty>
</div>
</div>
<div class="txt">
<h3 class="name">{:str_replace(array('(安卓版)','(苹果版)'),'',$data['game_name'])}</h3>
<div class="info">
<span class="table">
<span class="table-row">
<span class="table-cell">状态:{$data.open_type}</span>
<span class="table-cell">类型:{:get_game_type_by_id($data['game_type_id'])}</span>
</span>
<span class="table-row">
<span class="table-cell">下载:{$data.download_number}</span>
<span class="table-cell">版本:{$data.version}</span></span>
</span>
</div>
</div>
</div>
</div>
<div class="open-list">
<div class="open-list-content">
<table class="table">
<tr class="table-t">
<th>服务器名称</th>
<th>开服时间</th>
<th>开服状态</th>
<th>适用平台</th>
</tr>
<notempty name="lists">
<volist name="lists" id="vo">
<tr>
<td>{$vo.server_name}</td>
<td>{$vo.start_time|date='Y-m-d h:i',###}</td>
<td><if condition="$vo['start_time'] lt time()"><span class="opening">已经开服</span><else />即将开服</if></td>
<td>
<eq name="vo.server_version" value="1">
<img class="sv_icon" src="__IMG__/icon_entity_android.png">
</eq>
<eq name="vo.server_version" value="2">
<img class="sv_icon" src="__IMG__/icon_entity_ios.png">
</eq>
</td>
</tr>
</volist>
</notempty>
</table>
</div>
<empty name="lists">
<div class="empty" style="min-height:auto;height:400px;">
<span class="table">
<span class="table-cell">
<img src="__IMG__/empty_icon_list2.png" class="empty-icon">
<p class="empty-text">无数据</p>
</span>
</span>
</div>
</empty>
</div>
<div class="pagenation">{$_page}</div>
</div>
</div>
</div>
</div>
</block>
<block name="script">
</block>