Browse Source

[更新]修改模板样式

Anyon 7 years ago
parent
commit
9ef4479be8
2 changed files with 2 additions and 2 deletions
  1. 1 1
      application/admin/view/menu/index.html
  2. 1 1
      extend/service/ToolsService.php

+ 1 - 1
application/admin/view/menu/index.html

@@ -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}

+ 1 - 1
extend/service/ToolsService.php

@@ -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;