100 lines
4.8 KiB
HTML
100 lines
4.8 KiB
HTML
{include file="public/header"}
|
|
<style>
|
|
.x-body .layui-row{ margin-top:-10px; line-height:25px; background:#f5f5f5; border-radius:10px; }
|
|
.x-body .layui-row .xblock button{ margin-top:-20px; }
|
|
.x-body .layui-form{ margin-top:15px; margin-bottom:16px; }
|
|
.x-body .layui-form .layui-input-block{ display:inline-block; width:150px; margin-left:0; }
|
|
.x-body .layui-form .layui-form-item{ display:inline-block; margin-left:0; }
|
|
.x-body .layui-form .layui-form-item .layui-form-label{ width:48px; }
|
|
.x-body .layui-form .layui-form-item .layui-input-block{ margin-left:-10px; width:100px; }
|
|
.x-body .layui-form .layui-form-item .layui-input-block .layui-form-radio i{ margin-right:4px; }
|
|
.x-body .layui-form .layui-form-item .layui-form-radio{ margin-top:6px; margin-right:-8px; }
|
|
.layui-input-block dl{ text-align:left; }
|
|
.x-so{ margin:0; }
|
|
.x-so input.layui-input{ width:150px; }
|
|
.x-nav{overflow: inherit; } .x-nav .refresh{margin-right: 20px; }
|
|
.change_box .actived{border-right:1px solid #e5e5e5;border-left:1px solid #e5e5e5;border-top:1px solid #e5e5e5; position: relative; color: #3daae9; }
|
|
.change_box .actived:after{content: ""; bottom: -2px; background: #fff; width: 100%; height: 5px; position: absolute; left: 0; }
|
|
.change_box a{font-size: 14px;padding: 10.5px 10px;}
|
|
.title-ag{height: 40px; line-height: 40px; background: #fdeeda; margin-top: 10px; text-align:center;}
|
|
.title-ag span{font-size: 15px;}
|
|
.layui-table td, .layui-table th{font-size:12px;}
|
|
</style>
|
|
<body>
|
|
<div class="x-nav" style="padding: 0px;">
|
|
<span class="change_box">
|
|
<a href="javascript:;" class="list-one actived" data-id="1">牌桌结果修改记录</a>
|
|
<!--<a href="javascript:;" class="list-two" data-id="2">玩家添加</a>-->
|
|
</span>
|
|
<a class="layui-btn layui-btn-small refresh" style="line-height:1.6em;margin-top:3px;float:right"
|
|
href="javascript:location.replace(location.href);" title="刷新">
|
|
<i class="layui-icon" style="line-height:30px">ဂ</i></a>
|
|
</div>
|
|
<br>
|
|
<div class="x-body">
|
|
<div class="layui-row">
|
|
<form class="layui-form layui-col-md12 x-so float-left" action="/table/edit_numberTab" method="get">
|
|
<div class="layui-input-block" >
|
|
<select name="table_id" id="table_id">
|
|
<option value="-1" selected>请选择桌子</option>
|
|
{foreach name="$table_list" item="vo"}
|
|
<option value="{$vo.id}" <?php if(isset($get['table_id']) && $get['table_id'] == $vo['id']) {echo 'selected';} ?>>{$vo.table_name}</option>
|
|
{/foreach}
|
|
</select>
|
|
</div>
|
|
<input type="text" name="number_id" id="number_id" placeholder="铺ID" autocomplete="off" class="layui-input" value="<?php if(isset($get['number_id'])) {echo $get['number_id'];} ?>">
|
|
<input type="text" name="boot_id" id="boot_id" placeholder="靴ID" autocomplete="off" class="layui-input" value="<?php if(isset($get['boot_id'])) {echo $get['boot_id'];} ?>">
|
|
<input type="text" name="boot_num" id="boot_num" placeholder="靴号" autocomplete="off" class="layui-input" value="<?php if(isset($get['boot_num'])) {echo $get['boot_num'];} ?>">
|
|
<input type="text" name="number" id="number" placeholder="铺号" autocomplete="off" class="layui-input" value="<?php if(isset($get['number'])) {echo $get['number'];} ?>">
|
|
<button class="layui-btn" lay-submit="" lay-filter="sreach"><i class="layui-icon"></i></button>
|
|
</form>
|
|
</div>
|
|
|
|
<table class="layui-table">
|
|
<thead>
|
|
<tr>
|
|
<th>铺ID</th>
|
|
<th>游戏类型</th>
|
|
<th>桌子ID</th>
|
|
<th>桌子名称</th>
|
|
<th>靴ID</th>
|
|
<th>靴号</th>
|
|
<th>铺号</th>
|
|
<th>修改前结果</th>
|
|
<th>修改后结果</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{foreach name="editData" item="vo"}
|
|
<tr>
|
|
<td>{$vo.id}</td>
|
|
<td>{$vo.game_name}</td>
|
|
<td>{$vo.table_id}</td>
|
|
<td>{$vo.table_name}</td>
|
|
<td>{$vo.boot_id}</td>
|
|
<td>{$vo.boot_num}</td>
|
|
<td>{$vo.number}</td>
|
|
<td>{$vo.before_result}</td>
|
|
<td>{$vo.after_result}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
{$editData->render()}
|
|
</div>
|
|
<script>
|
|
// 代理列表和添加代理切换
|
|
$('.x-nav .change_box a').click(function(){
|
|
// 样式切换
|
|
$('.x-nav .change_box a').removeClass('actived');
|
|
$(this).addClass('actived');
|
|
// 页面切换
|
|
var id = $(this).attr('data-id');
|
|
if(id == "1") location.href = '/table/dt';
|
|
// if(id == "2") location.href = '/player/player_add';
|
|
|
|
});
|
|
</script>
|
|
</body>
|
|
|
|
</html> |