Files
ulthon_admin/route/welcome.php
2026-01-28 20:36:15 +08:00

111 lines
4.5 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
use think\facade\Route;
$tpVersion = app()->version();
$layuiVersion = ltrim(\app\common\command\admin\Version::LAYUI_VERSION, 'v');
Route::view('/', 'welcome', [
'version' => time(),
'data' => [
'description' => "基于 ThinkPHP {$tpVersion} 和 Layui {$layuiVersion} 的快速开发的后台管理系统",
'system_description' => "框架主要使用 ThinkPHP {$tpVersion} + Layui {$layuiVersion},拥有完善的权限的管理模块以及敏捷的开发方式,让你开发起来更加的舒服。项目以及文档还在持续完善,请保持关注。",
],
'navbar' => [
[
'name' => '首页',
'active' => true,
'href' => 'http://admin.demo.ulthon.com',
'target' => '_self',
],
[
'name' => '文档',
'active' => false,
'href' => 'http://doc.ulthon.com/home/read/ulthon_admin/home.html',
'target' => '_blank',
],
[
'name' => '演示',
'active' => false,
'href' => 'http://admin.demo.ulthon.com/admin/',
'target' => '_blank',
],
[
'name' => '商业支持',
'active' => false,
'href' => 'https://ulthon.com/bussiness.html',
'target' => '_blank',
],
[
'name' => 'QQ群',
'active' => false,
'href' => 'https://jq.qq.com/?_wv=1027&k=TULvsosz',
'target' => '_blank',
],
],
'feature' => [
[
'name' => '内置权限管理',
'description' => '内置基于auth的权限系统使用注解方式自动更新权限节点无需手动维护。',
],
[
'name' => '表格&表单的二次封装',
'description' => '对layui的数据表格和表单进行二次封装开发起来更舒服流畅。',
],
[
'name' => '上传&附件管理',
'description' => '内置封装上传方法以及上传的附件管理支持上传到本地以及OSS可以在此基础上自己去扩展。',
],
[
'name' => '快速生成CURD模块',
'description' => '完善的命令行开发模式, 一键生成控制器、模型、视图、JS等文件, 使开发速度快速提升。',
],
[
'name' => '详细的开发规范',
'description' => '通过文档详细约定各个文件和目录的用法',
],
[
'name' => '丰富的表单组件',
'description' => '搜索下拉框、多选组件、搜索输入组件、标签组件、表格选择组件、日期选择组件、城市选择组件等等',
],
],
'skin' => [
[
'name' => '标准皮肤',
'description' => '规规矩矩,简洁大方,稳重不失活泼。',
'preview_image' => '/static/index/images/preview/normal.png',
],
[
'name' => '拟物',
'description' => '优雅来袭!从现在开始做一个优雅的程序员。 ',
'preview_image' => '/static/index/images/preview/neomorphic.png',
],
[
'name' => '轻科幻',
'description' => '适合夜间使用,适合物联网系统、监控系统、大屏系统等非常规后台使用。',
'preview_image' => '/static/index/images/preview/sifi.png',
],
[
'name' => 'gnome风',
'description' => '感受到来自gnome的恐惧了吗一个“兼容Linux”的后台框架。',
'preview_image' => '/static/index/images/preview/gtk.png',
],
[
'name' => '像素风',
'description' => '这个系统是不是要插卡才能安装出BUG的时候得舔一舔电脑秒变红白机。',
'preview_image' => '/static/index/images/preview/nes.png',
],
[
'name' => 'Win7',
'description' => '保证不强制升级。适合在Win7使用。一键开发“原生客户端”。',
'preview_image' => '/static/index/images/preview/win7.png',
],
[
'name' => '原型皮肤',
'description' => '一键变丑。原型皮肤,以后不用画原型了,用命令行一键生成“高保真”。',
'preview_image' => '/static/index/images/preview/demo.png',
],
],
]);