新增 UsdtC2C Resource 与页面
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Pages;
|
||||
|
||||
use Filament\Pages\Page;
|
||||
|
||||
class Dashboard extends Page
|
||||
{
|
||||
protected static ?string $navigationLabel = '一路发收支记账后台'; // 左侧菜单显示
|
||||
protected static ?string $title = '控制台'; // 页面标题显示
|
||||
protected static ?string $slug = 'dashboard'; // URL 路径
|
||||
|
||||
protected static string $view = 'filament.pages.dashboard'; // 对应 Blade 文件
|
||||
|
||||
public static function getNavigationIcon(): string
|
||||
{
|
||||
return 'heroicon-o-home'; // 你可以换成你想要的图标
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Pages;
|
||||
|
||||
use Filament\Pages\Page;
|
||||
|
||||
class OtherFunctions extends Page
|
||||
{
|
||||
protected static ?int $navigationSort = 20;
|
||||
protected static ?string $title = '系统设置';
|
||||
protected static ?string $navigationLabel = '系统设置';
|
||||
protected static string $view = 'filament.pages.other-functions';
|
||||
|
||||
public static function getNavigationIcon(): string
|
||||
{
|
||||
return 'heroicon-o-cog'; // ✅ 自订你喜欢的图标,例如齿轮
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user