新增手机端浏览模式

This commit is contained in:
2023-09-27 16:32:38 +08:00
parent c77257730c
commit 4356de36b3
11 changed files with 310 additions and 28 deletions

View File

@@ -366,6 +366,15 @@ class AdminControllerBase extends BaseController
];
View::assign($data);
if ($this->request->isMobile()) {
$logo_info = [
'title' => sysconfig('site', 'logo_title'),
'image' => sysconfig('site', 'logo_image'),
'href' => __url('index/index'),
];
$this->assign('logo_info', $logo_info);
}
}
/**