|
@@ -31,30 +31,34 @@
|
|
|
{foreach $list as $key=>$vo}
|
|
|
<tr>
|
|
|
<td class='list-table-check-td think-checkbox'>
|
|
|
- <input class="list-check-box" value='{$vo.id}' type='checkbox'>
|
|
|
+ <label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
|
|
|
</td>
|
|
|
<td class='text-left nowrap'>
|
|
|
{$vo.code|default=''}
|
|
|
- <span data-tips-text="复制活动链接" data-copy="{:url('@data/app.luckdraw/index/code/'.$vo.code,[],true,true)}" class="layui-badge pointer">
|
|
|
+ <span data-tips-text="复制活动链接" data-copy="{:url('@data/app.luckdraw/index/code/'.$vo.code,[],true,true)}" class="margin-left-5 pointer">
|
|
|
<i class="layui-icon layui-icon-link font-s12"></i>
|
|
|
</span>
|
|
|
</td>
|
|
|
- <td class='text-left nowrap'><i class="fa fa-qrcode fa-lg margin-right-5 pointer" data-load="{:url('index')}?action=qrc&code={$vo.code}" data-time="false"></i>{$vo.name|default=''}</td>
|
|
|
- <td class='text-left nowrap'>{$vo.create_at|format_datetime|raw}</td>
|
|
|
- <td class='text-left nowrap'>{eq name='vo.status' value='0'}<span class="layui-badge">已停止</span>{else}<span class="layui-badge layui-bg-green">进行中</span>{/eq}</td>
|
|
|
+ <td class='text-left nowrap'>
|
|
|
+ <i class="fa fa-qrcode fa-lg margin-right-5 pointer" data-load="{:url('index')}?action=qrc&code={$vo.code}" data-time="false"></i>
|
|
|
+ {$vo.name|default=''}
|
|
|
+ </td>
|
|
|
+ <td class='text-left nowrap'>
|
|
|
+ {$vo.create_at|format_datetime}
|
|
|
+ </td>
|
|
|
+ <td class='text-left nowrap'>
|
|
|
+ {eq name='vo.status' value='0'}<span class="layui-badge">已停止</span>{else}<span class="layui-badge layui-bg-green">进行中</span>{/eq}
|
|
|
+ </td>
|
|
|
<td class='text-left nowrap'>
|
|
|
<!--{if auth("edit")}-->
|
|
|
<a class="layui-btn layui-btn-xs" data-title="编辑活动" data-open='{:url("edit")}?code={$vo.code}'>编 辑</a>
|
|
|
<!--{/if}-->
|
|
|
-
|
|
|
<!--{if $vo.status eq 1 and auth("state")}-->
|
|
|
<a class="layui-btn layui-btn-xs layui-btn-warm" data-action="{:url('state')}" data-value="id#{$vo.id};status#0">停 止</a>
|
|
|
<!--{/if}-->
|
|
|
-
|
|
|
<!--{if $vo.status eq 0 and auth("state")}-->
|
|
|
<a class="layui-btn layui-btn-xs layui-btn-warm" data-action="{:url('state')}" data-value="id#{$vo.id};status#1">进 行</a>
|
|
|
<!--{/if}-->
|
|
|
-
|
|
|
<!--{if auth("remove")}-->
|
|
|
<a class="layui-btn layui-btn-xs layui-btn-danger" data-confirm="确定要删除该活动吗?" data-action="{:url('remove')}" data-value="id#{$vo.id}">删 除</a>
|
|
|
<!--{/if}-->
|