第三段完善 代理商绑定 激活等 正式上线的版本
This commit is contained in:
@@ -26,10 +26,14 @@
|
||||
{notempty name='list'}
|
||||
<thead>
|
||||
<tr>
|
||||
<th class='text-left'>账号邮箱</th>
|
||||
<th class='text-left'>设备ID</th>
|
||||
<th class='text-left'>使用时间</th>
|
||||
<th class='text-left'>注册时间</th>
|
||||
<th class='text-left'>账号邮箱</th>
|
||||
<th class='text-left'>代理商</th>
|
||||
<th class='text-left'>激活码数量</th>
|
||||
<th class='text-left'>总天数</th>
|
||||
<th class='text-left'>首次激活</th>
|
||||
<th class='text-left'>到期时间</th>
|
||||
<th class='text-left'>剩余天数</th>
|
||||
<th class='text-left'>缓存状态</th>
|
||||
<th class='text-left'>冷却状态</th>
|
||||
<th class='text-left'>操作</th>
|
||||
@@ -39,24 +43,30 @@
|
||||
<tbody>
|
||||
{foreach $list as $key=>$vo}
|
||||
<tr>
|
||||
<td class='text-left'>{$vo.email}</td>
|
||||
<td class='text-left'>{$vo.used_by}</td>
|
||||
<td class='text-left'>{$vo.used_at|format_datetime}</td>
|
||||
<td class='text-left'>{$vo.registration_time|format_datetime}</td>
|
||||
<td class='text-left'>{$vo.used_by|default='--'}</td>
|
||||
<td class='text-left'>{if isset($vo.email)}{$vo.email}{else}--{/if}</td>
|
||||
<td class='text-left'>{if isset($vo.agent_names)}{$vo.agent_names}{else}--{/if}</td>
|
||||
<td class='text-left'>{if isset($vo.total_codes)}{$vo.total_codes}{else}0{/if}</td>
|
||||
<td class='text-left'>{if isset($vo.total_days)}{$vo.total_days} 天{else}0 天{/if}</td>
|
||||
<td class='text-left'>{if isset($vo.first_activation)}{$vo.first_activation|format_datetime}{else}--{/if}</td>
|
||||
<td class='text-left'>{if isset($vo.expire_time)}{$vo.expire_time}{else}--{/if}</td>
|
||||
<td class='text-left'>
|
||||
{if $vo.has_cache}
|
||||
{if $vo.cache_match}
|
||||
<span class="color-green">正常</span>
|
||||
{else}
|
||||
<span class="color-red">异常(缓存不匹配)</span>
|
||||
{/if}
|
||||
{if isset($vo.days_left) && $vo.days_left > 0}
|
||||
<span class="color-green">{$vo.days_left} 天</span>
|
||||
{else}
|
||||
<span class="color-red">已过期</span>
|
||||
{/if}
|
||||
</td>
|
||||
<td class='text-left'>
|
||||
{if isset($vo.has_cache) && $vo.has_cache}
|
||||
<span class="color-green">已缓存</span>
|
||||
{else}
|
||||
<span class="color-gray">无缓存</span>
|
||||
{/if}
|
||||
</td>
|
||||
<td class='text-left'>
|
||||
{if $vo.in_cooldown}
|
||||
<span class="color-red">冷却中 (至 {$vo.cooldown_time})</span>
|
||||
{if isset($vo.in_cooldown) && $vo.in_cooldown}
|
||||
<span class="color-red">冷却中 {if isset($vo.cooldown_time)}(至 {$vo.cooldown_time}){/if}</span>
|
||||
{else}
|
||||
<span class="color-green">可用</span>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user