1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- {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>
- </tr>
- </thead>
- {/notempty}
- <tbody>
- {foreach $list as $key=>$vo}
- <tr>
- <td class='text-left nowrap'>
- <img data-tips-image style="width:50px;height:50px" src="{$vo.headimg|default=''}" class="margin-right-5 text-top">
- <div class="inline-block">
- 用户ID:{$vo.user_id|default='--'}<br>
- 昵称:{$vo.name|default='--'}<br>
- 手机号:{$vo.phone|default='--'}
- </div>
- </td>
- <td class='text-left nowrap'>{$vo.code}</td>
- <td class='text-left nowrap'>
- {eq name='vo.is_ballot' value='0'}待抽签{/eq}
- {eq name='vo.is_ballot' value='1'}中签{/eq}
- {eq name='vo.is_ballot' value='2'}未中{/eq}
- </td>
- <td class='text-left nowrap'>{$vo.create_at}</td>
- <td class='text-left nowrap'>{$vo.sell_time}</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}
|