123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- {extend name='admin@main'}
- {block name="content"}
- <div class="think-box-shadow">
- {include file='consult/index_search'}
- <table class="layui-table margin-top-10" lay-skin="line">
- {notempty name='list'}
- <thead>
- <tr>
- <th class='list-table-check-td think-checkbox'>
- <input data-auto-none data-check-target='.list-check-box' type='checkbox'>
- </th>
- <th class="text-left nowrap">会员信息</th>
- <th class='text-left nowrap'>问题内容</th>
- <th class='text-left nowrap'>时间</th>
- <th class='text-left nowrap'>操作</th>
- </tr>
- </thead>
- {/notempty}
- <tbody>
- {foreach $list as $key=>$vo}
- <tr>
- <td class='list-table-check-td think-checkbox'><input class="list-check-box" value='{$vo.id}' type='checkbox'></td>
- <td class="text-left nowrap relative">
- {notempty name='vo.member.headimg'}
- <img data-tips-image style="width:40px;height:40px" src="{$vo.member.headimg|default=''}" class="margin-right-5 text-top">
- {/notempty}
- <div class="inline-block">
- 姓名:{$vo.member.name|default='--'}<br>
- 手机号:{$vo.member.phone|default='--'}<br>
- </div>
- </td>
- <td class='text-left nowrap'>
- {$vo.content}
- </td>
- <td class='text-left nowrap'>
- {$vo.create_time}
- </td>
- <td class="text-center nowrap">
- <a data-title="全部解答" class="layui-btn layui-btn-sm" data-open='{:url("store/consult_detail/index")}?consult_id={$vo.id}'>全部解答</a>
- {if $engineer_id > 0 && $vo.is_answer == 0}
- <a data-title="立即解答" class="layui-btn layui-btn-sm layui-bg-orange" data-modal='{:url("answer")}?id={$vo.id}'>立即解答</a>
- {/if}
- <a class="layui-btn layui-btn-sm layui-btn-danger" data-confirm="确定要删除该咨询吗?" data-action="{:url('remove')}" data-value="id#{$vo.id}">删 除</a>
- </td>
- </tr>
- {/foreach}
- </tbody>
- </table>
- {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
- </div>
- {/block}
|