新增配置列表和配置新增页面

This commit is contained in:
2025-03-28 15:41:11 +08:00
parent 540618b8ca
commit afadd79fe8
16 changed files with 1608 additions and 473 deletions
+4 -3
View File
@@ -3,9 +3,10 @@ import { type MetaFunction } from "@remix-run/node";
import { useLoaderData } from "@remix-run/react";
import { Card } from "~/components/ui/Card";
import { Button } from "~/components/ui/Button";
import homeStyles from "~/styles/pages/home.css?url";
export const links = () => [
{ rel: "stylesheet", href: "app/styles/pages/home.css" }
{ rel: "stylesheet", href: homeStyles }
];
export const meta: MetaFunction = () => {
@@ -255,7 +256,7 @@ function StatusBadge({ status }: StatusBadgeProps) {
warning: {
label: '警告',
className: 'status-badge status-warning',
icon: 'ri-error-warning-line'
icon: 'ri-alert-line'
},
fail: {
label: '不通过',
@@ -264,7 +265,7 @@ function StatusBadge({ status }: StatusBadgeProps) {
},
pending: {
label: '待确认',
className: 'status-badge',
className: 'status-badge status-processing',
icon: 'ri-time-line'
}
};