template/admin/oncecard/set_index.html
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<div class="layui-admin-breadcrumb">
<a href="{:url('/admin/oncecard/set/index')}">
<cite>次卡</cite>
</a>
<span><i class="fa fa-angle-right"></i></span>
<a href="{:url('/admin/oncecard/set/index')}">次卡设置</a>
</div>
<div class="layui-admin-body">
<div class="layui-input-block ml0 mb10">
<a href="{:url('/admin/oncecard/set/add')}" class="layui-btn" >添加次卡</a>
</div>
<table class="layui-table text-center">
<thead>
<tr>
<th width="50">编号</th>
<th width="50">名称</th>
<th width="60">背景图</th>
<th width="50">编号前缀</th>
<th width="100">适用门店</th>
<th width="50">办卡量</th>
<th width="50">使用次数</th>
<th width="60">有效期类型</th>
<th width="120">时间限制</th>
<th width="100">充值状态</th>
<th width="100">次卡状态</th>
<th width="150">操作</th>
</tr>
</thead>
<tbody>
{volist name="list" id="value"}
<tr>
<td>{$value['id']}</td>
<td>{$value['name']}</td>
<td><img class="lazyload" data-original="__PUBLIC__{$value['img_url']}"></td>
<td>{$value['number']}</td>
<td class="store-box off">{$value['store_name']}</td>
<td><a href="{:url('/admin/oncecatd/member/member/index',['oncecardId' => $value['id'],'oncecardname' => $value['name']])}">{$value['oncecard_num']}张</a></td>
<td>{$value['value']}次</td>
<td>{if $value['time_status'] == 1}永久{elseif $value['time_status'] == 2}相对{elseif $value['time_status'] == 3}固定{/if}</td>
<td>
{if $value['time_status'] == 1}
<span class="green">无限制</span>
{elseif $value['time_status'] == 2}
<span class="green">从领卡日起 {$value['length_time']}{if $value['date_time'] == 1}日{elseif $value['date_time']}月{/if} 内有效</span>
{elseif $value['time_status'] == 3}
{if $value['expire_time'] < time() }
<span class="red"> {php}echo date('Y-m-d',$value['add_time']);{/php} 至 {php}echo date('Y-m-d',$value['expire_time']);{/php}</span>
{else}
<span class="green">{php}echo date('Y-m-d',$value['add_time']);{/php} 至 {php}echo date('Y-m-d',$value['expire_time']);{/php}</span>
{/if}
{/if}
</td>
<td>{if $value['recharge_status']}{if $value['recharge_status'] == 1}<span class="green">开启</span>{else}<span class="red">关闭</span>{/if}{/if}</td>
<td>{if $value['status']==1}
<span class="green">开启</span>
{else}
<span class="red">关闭</span>
{/if}
</td>
<td>
后面还有 49 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。