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.
63 lines
2.6 KiB
HTML
63 lines
2.6 KiB
HTML
<extend name="Public/basic"/>
|
|
<block name="body">
|
|
<style>
|
|
.trunk-search .form-group {
|
|
margin-left: 10px;
|
|
}
|
|
</style>
|
|
<div class="page-search normal_list promoteCoin-record-search" style="padding: 20px;">
|
|
<div class="trunk-content article">
|
|
<div class="trunk-search clearfix" style="margin-bottom: 10px;">
|
|
<form action="{:U('PromoteCoin/userGames', array('row'=>I('get.row')))}" method="post" class="clearfix">
|
|
<div class="form-group normal_space fr">
|
|
<input type="submit" class="submit" value="查询">
|
|
</div>
|
|
<div class="form-group fr">
|
|
<label class="form-title select-title">游戏名称:</label>
|
|
<input type="text" name="name" class="txt normal_txt" id="uid" placeholder="游戏名称" value="{:I('name')}">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="trunk-list list_normal">
|
|
<table class="table normal_table">
|
|
<tr>
|
|
<th>图标</th>
|
|
<th>名称</th>
|
|
<th>平台</th>
|
|
<th>操作</th>
|
|
</tr>
|
|
<empty name="records">
|
|
<tr><td colspan="4" style="text-align: center;height: 38vh;"><img src="__IMG__/20180207/icon_wushujv2.png"/><p style="line-height: 40px;color: #A5A5A5;">暂无数据</p></td></tr>
|
|
<else />
|
|
<volist name="records" id="vo">
|
|
<tr data-id="{$vo.id}" data-icon="{$vo.icon}">
|
|
<td class="item-icon"><img style="height: 40px; width: 40px;" src="{$vo.icon}"/></td>
|
|
<td class="item-name">{$vo.game_name}</td>
|
|
<td class="item-sdk">{$vo.sdk_version}</td>
|
|
<td><a class="select-game" href="javascript:;">选择</a></td>
|
|
</tr>
|
|
</volist>
|
|
</empty>
|
|
</table>
|
|
|
|
<div class="pagenation clearfix">
|
|
{$pagination}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</block>
|
|
<block name="script">
|
|
<script type="text/javascript">
|
|
$('.select-game').on({
|
|
click: function() {
|
|
var tr = $(this).parents('tr').eq(0)
|
|
var id = tr.attr('data-id')
|
|
var name = tr.find('.item-name').html()
|
|
var icon = tr.attr('data-icon')
|
|
var sdk = tr.find('.item-sdk').html()
|
|
parent.choiceGame(id, name, icon)
|
|
}
|
|
})
|
|
</script>
|
|
</block> |