78 lines
3.5 KiB
HTML
78 lines
3.5 KiB
HTML
{layout name="manager/layout" /}
|
|
|
|
<div class="layuimini-container location-index-page">
|
|
<div class="layuimini-main">
|
|
<fieldset class="table-search-fieldset div-show">
|
|
<legend>搜索信息</legend>
|
|
<div style="margin: 10px 10px 10px 10px">
|
|
<form class="layui-form layui-form-pane" action="">
|
|
<div class="layui-form-item">
|
|
<div class="layui-inline">
|
|
<label class="layui-form-label">姓名</label>
|
|
<div class="layui-input-inline">
|
|
<input type="text" name="user_name" autocomplete="off" class="layui-input">
|
|
</div>
|
|
</div>
|
|
<div class="layui-inline">
|
|
<label class="layui-form-label">联系方式</label>
|
|
<div class="layui-input-inline">
|
|
<input type="text" name="user_phone" autocomplete="off" class="layui-input">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="layui-inline">
|
|
<label class="layui-form-label">反馈时间</label>
|
|
<div class="layui-input-inline">
|
|
<input type="text" name="created_at" autocomplete="off" class="layui-input" id="publish-date">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="layui-inline">
|
|
<label class="layui-form-label">类型</label>
|
|
<div class="layui-input-block">
|
|
<select name="type_id">
|
|
<option value=""></option>
|
|
{foreach $typeList as $type}
|
|
<option value="{$type['id'] ?? ''}">{$type['title'] ?? ''}</option>
|
|
{/foreach}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="layui-inline">
|
|
<button type="submit" class="layui-btn layui-btn-primary" lay-submit lay-filter="data-search-btn"><i class="layui-icon"></i> 搜 索</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</fieldset>
|
|
<div>
|
|
<table id="table-container" class="layui-table" data-url="/manager/feedback" lay-filter="table-container"></table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 隐藏列 -->
|
|
<!-- 编辑单元格提交url -->
|
|
<input type="hidden" id="row-modify" data-url="/manager/feedback/modify">
|
|
|
|
<!-- 操作列 -->
|
|
<script type="text/html" id="row-name">
|
|
{{# if (d.user_name != '') { }}
|
|
{{ d.user_name }}
|
|
{{# } else { }}
|
|
匿名
|
|
{{# } }}
|
|
</script>
|
|
|
|
<!-- 操作列 -->
|
|
<script type="text/html" id="row-operate">
|
|
<a class="layui-btn layui-btn-danger layui-btn-xs" data-href="/manager/feedback/del.html" lay-event="del">删除</a>
|
|
</script>
|
|
|
|
<!-- toolbar -->
|
|
<script type="text/html" id="toolbar-tpl">
|
|
<a class="layui-btn layui-btn-sm layui-btn-sm" data-table-refresh lay-event="refresh"><i class="fa fa-refresh"></i></a>
|
|
<a class="layui-btn layui-btn-danger layui-btn-sm" data-href="/manager/feedback/del.html" lay-event="del">删除</a>
|
|
</script>
|
|
<script src="__MANAGER__/js/feedback.js?v={:mt_rand()}"></script> |