|
|
@@ -107,9 +107,9 @@ class TypeUnit |
|
|
|
$nss = '';
|
|
|
|
}
|
|
|
|
if ($ispart == 0) {
|
|
|
|
//列表栏目
|
|
|
|
//列表栏目
|
|
|
|
echo <<<tpl
|
|
|
|
<div class='d-flex justify-content-between mb-3'>
|
|
|
|
<div class='column d-flex justify-content-between mb-2 py-2'>
|
|
|
|
<div class='left'>
|
|
|
|
<span class='btn btn-light btn-sm'><i id='icon{$id}' onclick="LoadSuns('suns{$id}',{$id});" class='fa fa-plus-square'></i></span>
|
|
|
|
<span class='btn btn-success btn-sm'>列表</span>
|
|
|
@@ -130,9 +130,9 @@ echo <<<tpl |
|
|
|
</div>
|
|
|
|
tpl;
|
|
|
|
} else if ($ispart == 1) {
|
|
|
|
//封面栏目
|
|
|
|
//封面栏目
|
|
|
|
echo <<<tpl
|
|
|
|
<div class='d-flex justify-content-between mb-3'>
|
|
|
|
<div class='column d-flex justify-content-between mb-2 py-2'>
|
|
|
|
<div class='left'>
|
|
|
|
<span class='btn btn-light btn-sm'><i id='icon{$id}' onclick="LoadSuns('suns{$id}',{$id});" class='fa fa-plus-square'></i></span>
|
|
|
|
<span class='btn btn-warning btn-sm'>封面</span>
|
|
|
@@ -152,9 +152,9 @@ echo <<<tpl |
|
|
|
</div>
|
|
|
|
tpl;
|
|
|
|
} else if ($ispart == 2) {
|
|
|
|
//外部栏目
|
|
|
|
//外部栏目
|
|
|
|
echo <<<tpl
|
|
|
|
<div class='d-flex justify-content-between mb-3'>
|
|
|
|
<div class='column d-flex justify-content-between mb-2 py-2'>
|
|
|
|
<div class='left'>
|
|
|
|
<span class='btn btn-light btn-sm'><i id='icon{$id}' onclick="LoadSuns('suns{$id}',{$id});" class='fa fa-plus-square'></i></span>
|
|
|
|
<span class='btn btn-primary btn-sm'>外部</span>
|
|
|
@@ -217,9 +217,9 @@ tpl; |
|
|
|
} else {
|
|
|
|
$nss = '';
|
|
|
|
} if ($ispart == 0) {
|
|
|
|
//列表栏目
|
|
|
|
//列表栏目
|
|
|
|
echo <<<tpl
|
|
|
|
<div class='d-flex justify-content-between mb-3'>
|
|
|
|
<div class='column d-flex justify-content-between mb-2 py-2'>
|
|
|
|
<div class='left'>
|
|
|
|
<span>└─{$step}</span>
|
|
|
|
<span class='btn btn-light btn-sm'><i id='icon{$id}' onclick="LoadSuns('suns{$id}',{$id});" class='fa fa-plus-square'></i></span>
|
|
|
@@ -241,9 +241,9 @@ echo <<<tpl |
|
|
|
</div>
|
|
|
|
tpl;
|
|
|
|
} else if ($ispart == 1) {
|
|
|
|
//封面栏目
|
|
|
|
//封面栏目
|
|
|
|
echo <<<tpl
|
|
|
|
<div class='d-flex justify-content-between mb-3'>
|
|
|
|
<div class='column d-flex justify-content-between mb-2 py-2'>
|
|
|
|
<div class='left'>
|
|
|
|
<span>└─{$step}</span>
|
|
|
|
<span class='btn btn-light btn-sm'><i id='icon{$id}' onclick="LoadSuns('suns{$id}',{$id});" class='fa fa-plus-square'></i></span>
|
|
|
@@ -264,9 +264,9 @@ echo <<<tpl |
|
|
|
</div>
|
|
|
|
tpl;
|
|
|
|
} else if ($ispart == 2) {
|
|
|
|
//外部栏目
|
|
|
|
//外部栏目
|
|
|
|
echo <<<tpl
|
|
|
|
<div class='d-flex justify-content-between mb-3'>
|
|
|
|
<div class='column d-flex justify-content-between mb-2 py-2'>
|
|
|
|
<div class='left'>
|
|
|
|
<span>└─{$step}</span>
|
|
|
|
<span class='btn btn-light btn-sm'><i id='icon{$id}' onclick="LoadSuns('suns{$id}',{$id});" class='fa fa-plus-square'></i></span>
|
|
|
|