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.

125 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="header">
<div class="header header-detail">
<section class="wrap">
<a class="hbtn left return" href="{:U('Game/index',array('account'=>I('account')))}"><span class="table"><span class="table-cell"><img src="__IMG__/wap/detail_nav_btn_return.png"></span></span></a>
<div class="caption"><span class="table"><span class="table-cell">{$data.game_name}</span></span></div>
</section>
</div>
<div class="header-space"></div>
</block>
<block name="body">
<div class="trunk-box detail">
<div class="wrap">
<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">
<span class="table">
<span class="table-cell">
<notempty name="data.pc_url">
<a href="{$data.pc_url}" target="_blank" class="butn qq-butn">玩家交流群</a>
<else />
<a href="javascript:;" target="_blank" class="butn qq-butn disabled">玩家交流群</a>
</notempty>
</span>
</span>
</div>
<div class="txt">
<h3 class="name">{:str_replace(array('(安卓版)','(苹果版)'),'',$data['game_name'])}</h3>
<p class="info"><span>{:set_number_short($data['download_number'])}人下载</span><i></i><span>{$data.game_size|default=0}MB</span></p>
</div>
</div>
</div>
<div class="content game-cotent">
<div class="tab clearfix">
<a href="{:U('Game/detail',array('account'=>I('account'),'name'=>I('name'),'source'=>I('source')))}" class="tab-item"><span>详情</span></a>
<a href="javascript:;" class="tab-item active"><span>开服</span></a>
<a href="{:U('Game/gift',array('account'=>I('account'),'name'=>I('name'),'source'=>I('source')))}" class="tab-item"><span>礼包</span></a>
</div>
<div class="panel">
<div class="open-list">
<div class="open-list-content">
<table class="table">
<tr class="table-t">
<th class="tt1">开服时间</th>
<th class="tt2">区服名称</th>
<th class="tt3">状态</th>
</tr>
<notempty name="lists">
<volist name="lists" id="vo">
<tr>
<td class="tt1">{$vo.start_time|date='y/m/d H:i',###}</td>
<td class="tt2">{$vo.server_name}</td>
<td class="tt3"><if condition="$vo['start_time'] lt time()"><span class="opening">已开服</span><else />未开服</if></td>
</tr>
</volist>
</notempty>
</table>
</div>
<empty name="lists">
<div class="empty">
<span class="table">
<span class="table-cell">
<img src="__IMG__/wap/empty_icon_list.png" class="empty-icon">
<p class="empty-text"><span>无数据</span></p>
</span>
</span>
</div>
</empty>
<div class="pagenation">{$_page}</div>
</div>
</div>
</div>
<notempty name="other">
<div class="other">
<div class="other-title">猜你喜欢</div>
<div class="other-content">
<ul class="clearfix">
<volist name="other" id="vo">
<li>
<div class="item">
<div class="pic"><a href="{$vo.jump_url}"><span class="font table"><span class="table-cell">----游戏</span></span><img src="{:get_cover($vo['game_icon'],'path')}"></a></div>
<div class="txt">
<a href="{$vo.jump_url}" class="name">{:str_replace(array('(安卓版)','(苹果版)'),'',$vo['game_name'])}</a>
</div>
</div>
</li>
</volist>
</ul>
</div>
</div>
</notempty>
</div>
</div>
</block>
<block name="footer">
<div class="down-space"></div>
<div class="down">
<div class="wrap">
<notempty name="data.download">
<a href="{$data.download}" class="butn">下载游戏</a>
<else />
<a href="javascript:;" class="butn disabled">下载游戏</a>
</notempty>
</div>
</div>
</block>
<block name="script">
<script src="__STATIC__/layer/layer.js"></script>
<empty name="data">
<script>layer.msg('未查到此游戏数据');setTimeout(function(){window.location.href="{:U('Game/index',array('account'=>I('account')))}";},1500);</script>
</empty>
</block>