12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- {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'>订单编号</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>
- <th class='text-left nowrap'>收藏hash</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='text-left nowrap'>{$vo.order_no|default=''}</td>
- <td class='text-left nowrap'>{$vo.pro_info.name|default=''}</td>
- <td class='text-left nowrap'>{$vo.pro_info.price|default=''}</td>
- <td class='text-left nowrap'>{$vo.tag|default=''}</td>
- <td class='text-left nowrap'>{$vo.scz|default=''}</td>
- <td class='text-left nowrap'>{$vo.collectors_hash|default='发放中'}</td>
- <td class='text-left nowrap'>{$vo.create_at|default=''}</td>
- <td class='text-left nowrap'>{$vo.exam_time|default=''}</td>
- <td class='text-left nowrap'>
- <!-- {if $vo.order_id eq 0}-->
- <!-- 后台赠送-->
- <!-- {/else}-->
- <!-- {eq name='vo.status' value='1'}正常购买{/eq}-->
- <!-- {eq name='vo.status' value='3'}获赠{/eq}-->
- <!-- {/if}-->
- {eq name='vo.order_id' value='0'}后台赠送{else/}
- {eq name='vo.status' value='1'}正常购买{/eq}
- {eq name='vo.status' value='3'}获赠{/eq}
- {/eq}
- </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 = "/store/goods/"+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}
|