[更新]修改模板样式

This commit is contained in:
Anyon 2018-04-08 10:30:45 +08:00
parent d01cd8bb8b
commit 9ef4479be8
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
<td class='text-center'>
<i class="{$vo.icon} font-s18"></i>
</td>
<td class="nowrap"><span style="color:#ccc">{$vo.spl|raw}</span>{$vo.title}</td>
<td class="nowrap"><span class="color-desc">{$vo.spl|raw}</span>{$vo.title}</td>
<td class='visible-lg'>{$vo.url}</td>
<td class='text-center nowrap'>
{if $vo.status eq 0}<span>已禁用</span>{elseif $vo.status eq 1}<span class="color-green">使用中</span>{/if}

View File

@ -121,7 +121,7 @@ class ToolsService
$attr[$path] = "{$ppath}-{$attr[$id]}";
$attr['sub'] = isset($attr['sub']) ? $attr['sub'] : [];
$attr['spt'] = substr_count($ppath, '-');
$attr['spl'] = str_repeat("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", $attr['spt']);
$attr['spl'] = str_repeat("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", $attr['spt']);
$sub = $attr['sub'];
unset($attr['sub']);
$tree[] = $attr;