作者 郭迎玺
1 个管道 的构建 通过 耗费 2 秒

合并分支 'guoyingxi' 到 'master'

1111



查看合并请求 !2
... ... @@ -49,7 +49,7 @@ class Config extends Backend
$siteList[$k]['list'] = [];
}
foreach ($this->model->all() as $k => $v) {
foreach ($this->model->where(['status'=>1])->select() as $k => $v) {
if (!isset($siteList[$v['group']])) {
continue;
}
... ...
... ... @@ -35,11 +35,15 @@
{:build_heading(null, false)}
<ul class="nav nav-tabs">
{foreach $siteList as $index=>$vo}
{if $vo.name=="basic"}
<li class="{$vo.active?'active':''}"><a href="#{$vo.name}" data-toggle="tab">{:__($vo.title)}</a></li>
{else /}
<div></div>
{/if}
{/foreach}
<li data-toggle="tooltip" title="{:__('Add new config')}">
<a href="#addcfg" data-toggle="tab"><i class="fa fa-plus"></i></a>
</li>
<!-- <li data-toggle="tooltip" title="{:__('Add new config')}">-->
<!-- <a href="#addcfg" data-toggle="tab"><i class="fa fa-plus"></i></a>-->
<!-- </li>-->
</ul>
</div>
... ...