58 lines
2.2 KiB
HTML
58 lines
2.2 KiB
HTML
{layout name="manager/layout" /}
|
|
<style>
|
|
.layui-table-cell{
|
|
height: auto;
|
|
white-space: normal;
|
|
}
|
|
.layui-table .layui-layer-photos {height: 90px;}
|
|
.layui-table img{
|
|
max-height: 100%;
|
|
object-fit: cover;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
display: block;
|
|
max-width: 150px;
|
|
vertical-align: middle;
|
|
border: 0;
|
|
}
|
|
</style>
|
|
|
|
<div class="layui-row layui-col-space12">
|
|
<div class="layui-col-xs12 layui-col-md12">
|
|
<div id="echarts-records" style="background-color:#ffffff;min-height:600px;">
|
|
<div class="layuimini-container location-index-page">
|
|
<div class="layuimini-main">
|
|
|
|
<div>
|
|
<table id="table-container" class="layui-table" data-url="/manager/agency/channel-list" lay-filter="table-container"></table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- 操作列 -->
|
|
<script type="text/html" id="row-operate">
|
|
<a class="layui-btn layui-btn-warm layui-btn-xs" data-href="/manager/agency/password.html?id={{d.id}}" data-title="修改密码" lay-event="password">改密</a>
|
|
<a class="layui-btn layui-btn-primary layui-btn-xs" data-href="/manager/agency/edit-channel.html?id={{d.id}}" data-title="编辑" lay-event="edit">编辑</a>
|
|
<a class="layui-btn layui-btn-danger layui-btn-xs" data-href="/manager/agency/del-channel.html" lay-event="del">删除</a>
|
|
</script>
|
|
|
|
<!-- toolbar -->
|
|
<script type="text/html" id="toolbar-tpl">
|
|
<a class="layui-btn layui-btn-primary layui-btn-sm" data-table-refresh lay-event="refresh"><i class="fa fa-refresh"></i></a>
|
|
<a class="layui-btn layui-btn-normal layui-btn-sm" data-href="/manager/agency/add-channel.html" data-title="添加" lay-event="add">添加</a>
|
|
</script>
|
|
|
|
<!-- 编辑单元格提交url -->
|
|
<input type="hidden" id="row-modify" data-url="/manager/agency/modify">
|
|
|
|
<!-- 列-状态变更 -->
|
|
<script type="text/html" id="row-status">
|
|
<input type="checkbox" name="status" value="{{d.id}}" lay-skin="switch" lay-text="正常|禁用" lay-filter="changeStatus" {{ d.status == 1 ? 'checked' : '' }}>
|
|
</script>
|
|
|
|
|
|
<script src="__MANAGER__/js/channel.js?v={:mt_rand()}"></script> |