1
0
Fork 0
develop
panliang 2023-04-25 11:40:40 +08:00
commit 15ed5a1a77
2 changed files with 23 additions and 20 deletions

View File

@ -21,25 +21,28 @@ class IndexController extends BaseController
'login_captcha' => config('admin.auth.login_captcha'),
'show_development_tools' => config('admin.show_development_tools'),
'system_theme_setting' => Admin::setting()->get('system_theme_setting', [
"animateInDuration" => 550,
"animateInType" => "alpha",
"animateOutDuration" => 450,
"animateOutType" => "alpha",
"breadcrumb" => true,
"breadcrumbIcon" => false,
"enableTab" => false,
"footer" => false,
"keepAlive" => false,
"layoutMode" => "default",
"loginTemplate" => "default",
"menuWidth" => 220,
"siderTheme" => "light",
"tabIcon" => true,
"theme" => "light",
"themeColor" => "#4080FF",
"topTheme" => "light",
]),
'system_theme_setting' => array_merge(
Admin::setting()->get('system_theme_setting', []),
[
"animateInDuration"=> 550,
"animateInType"=> "alpha",
"animateOutDuration" => 450,
"animateOutType"=> "alpha",
"breadcrumb"=> true,
"breadcrumbIcon" => false,
"footer"=> false,
"keepAlive"=> false,
"layoutMode"=> "default",
"loginTemplate"=> "default",
"menuWidth"=> 220,
"siderTheme"=>"light",
"theme"=>"light",
"themeColor"=>"#4080FF",
"topTheme"=> "light",
'enableTab' => config('admin.layout.tab_enable'),
'tabIcon' => config('admin.layout.tab_icon'),
]
),
'enabled_extensions' => Extension::query()->where('is_enabled', 1)->pluck('name')?->toArray(),
]);
}

View File

@ -38,7 +38,7 @@ class AdminMenuSeeder extends Seeder
],
['title' => '育秧中心', 'icon' => 'icon-park:lotus', 'url' => '', 'order'=>4,
'children' => [
['title' => '大棚控制', 'icon' => 'icon-park:link-one', 'url' => 'https://www.baidu.com', 'url_type'=>2, 'order'=>1],
// ['title' => '大棚控制', 'icon' => 'icon-park:link-one', 'url' => 'https://www.baidu.com', 'url_type'=>2, 'order'=>1],
['title' => '育秧列表', 'icon' => 'icon-park:more-app', 'url' => '/custom-region/yuyang', 'order'=>2],
]
],