大屏链接

This commit is contained in:
2025-05-12 16:23:31 +08:00
parent b786210ea7
commit af0e8bc62f
6 changed files with 13 additions and 5 deletions
+4 -4
View File
@@ -14,11 +14,11 @@
use Webman\Route;
Route::get('/vehicles', [app\controller\VehicleController::class, 'index']);
Route::get('/vehicles/{id}', [app\controller\VehicleController::class, 'show']);
Route::any('/vehicles', [app\controller\VehicleController::class, 'index']);
Route::any('/vehicles/{id}', [app\controller\VehicleController::class, 'show']);
Route::get('/locations', [app\controller\LocationController::class, 'index']);
Route::get('/locations/{id}', [app\controller\LocationController::class, 'show']);
Route::any('/locations', [app\controller\LocationController::class, 'index']);
Route::any('/locations/{id}', [app\controller\LocationController::class, 'show']);
+1
View File
@@ -15,6 +15,7 @@ return [
'header_settings' => 'الإعدادات',
'header_logout' => 'تسجيل الخروج',
'header_language' => 'اللغة',
'header_homepage' => 'بيانات الشاشة الكبيرة',
// الأزرار العامة
'btn_save' => 'حفظ',
+1
View File
@@ -15,6 +15,7 @@ return [
'header_settings' => 'Settings',
'header_logout' => 'Logout',
'header_language' => 'Language',
'header_homepage' => 'Big Data Screen',
// Common Buttons
'btn_save' => 'Save',
+1
View File
@@ -15,6 +15,7 @@ return [
'header_settings' => 'Настройки',
'header_logout' => 'Выйти',
'header_language' => 'Язык',
'header_homepage' => 'Большой экран данных',
// Общие кнопки
'btn_save' => 'Сохранить',
+2 -1
View File
@@ -15,7 +15,8 @@ return [
'header_settings' => '设置',
'header_logout' => '退出登录',
'header_language' => '语言',
'header_homepage' => '数据大屏',
// 通用按钮
'btn_save' => '保存',
'btn_cancel' => '取消',
+4
View File
@@ -32,6 +32,9 @@
background-color: #fff;
color: #333;
}
.layui-nav-item .layui-this {
color: #2d8cf0!important;
}
</style>
</head>
<!-- 结 构 代 码 -->
@@ -51,6 +54,7 @@
<ul class="layui-nav layui-layout-left">
<li class="collapse layui-nav-item" id="menu_but"><a href="#" id="menu_but1" class="layui-icon layui-icon-shrink-right"></a></li>
<li class="refresh layui-nav-item"><a href="#" class="layui-icon layui-icon-refresh-1" loading = 600></a></li>
<li class="layui-nav-item" id="main_href"><a href="http://dashboard.hesuu.com:25506/"><span class="title layui-this"><?= $translations['header_homepage'] ?? '数据大屏' ?></span></a></li>
</ul>
<!-- 多 系 统 菜 单 -->
<div id="control" class="layui-layout-control"></div>