12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- {extend name='admin@main'}
- {block name="content"}
- <div class="think-box-shadow">
- <table class="layui-table margin-top-10" lay-skin="line">
- {notempty name='list'}
- <thead>
- <tr>
- <th class='text-left nowrap' style="width: 10%">会员</th>
- <th class='text-left nowrap' style="width: 15%">藏品</th>
- <th class='text-left nowrap' style="width: 15%">哈希值</th>
- <th class='text-left nowrap' style="width: 20%">时间</th>
- </tr>
- </thead>
- {/notempty}
- <tbody>
- {foreach $list as $key=>$vo}
- <tr>
- <td class="text-left nowrap relative">
- <img data-tips-image style="width:50px;height:50px" src="{$vo.headimg|default=''}" class="margin-right-5 text-top">
- <div class="inline-block">
- 会员名称:{$vo.user_name|default='--'}<br>
- 电话:{$vo.phone|default='--'}<br>
- </div>
- </td>
- <td class="text-left nowrap relative">
- <img data-tips-image style="width:50px;height:50px" src="{$vo.goods_cover|default=''}" class="margin-right-5 text-top">
- <div class="inline-block">
- 名称:{$vo.goods_name|default='--'}<br>
- 版本号:{$vo.serial|default='--'}<br>
- </div>
- </td>
- <td class='text-left'>{$vo.hash_str}</td>
- <td class='text-left'>{$vo.create_at}</td>
- </tr>
- {/foreach}
- </tbody>
- </table>
- {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
- </div>
- <script>
- function btn_confirm(msg,fun,id) {
- layer.confirm('请确定是否'+msg, {btn: ['确定', '取消'], title: "提示"}, function () {
- var url = "/user/goods_collect/"+fun;
- layer.closeAll();
- $.ajax({
- type: "post",
- url: url,
- data: {id:id},
- dataType: "json",
- async: false,
- success: function (data) {
- layer.msg(data.info);
- setTimeout(function () {
- window.location.reload();
- },1000)
- }
- });
- });
- }
- </script>
- {/block}
|