From 15678e755cae428d87523387efa205604ad3d560 Mon Sep 17 00:00:00 2001 From: zetaloop Date: Wed, 25 Feb 2026 05:27:17 +0800 Subject: [PATCH] style(dashboard): apply proto2 surfaces --- app/(dashboard)/dashboard/page.tsx | 14 +++++++------- app/(dashboard)/dashboard/services/new/page.tsx | 4 ++-- app/(dashboard)/dashboard/services/page.tsx | 4 ++-- .../dashboard/shop/employees/page.tsx | 4 ++-- app/(dashboard)/dashboard/shop/income/page.tsx | 10 +++++----- app/(dashboard)/dashboard/shop/orders/page.tsx | 12 ++++++------ app/(dashboard)/dashboard/shop/page.tsx | 16 ++++++++-------- app/(dashboard)/dashboard/shop/rules/page.tsx | 8 ++++---- .../dashboard/shop/templates/page.tsx | 6 +++--- 9 files changed, 39 insertions(+), 39 deletions(-) diff --git a/app/(dashboard)/dashboard/page.tsx b/app/(dashboard)/dashboard/page.tsx index 17383f1..d48edb4 100644 --- a/app/(dashboard)/dashboard/page.tsx +++ b/app/(dashboard)/dashboard/page.tsx @@ -19,11 +19,11 @@ export default function DashboardPage() { const recentOrders = listOrders().slice(0, 3) return ( -
+

概览

- + 总订单 @@ -34,7 +34,7 @@ export default function DashboardPage() {
- + 评分 @@ -43,7 +43,7 @@ export default function DashboardPage() {
{isOwner ? shop.rating : player.rating}
- + {isOwner ? "签约打手" : "完成率"} {isOwner ? ( @@ -65,7 +65,7 @@ export default function DashboardPage() { )} - + {isOwner ? "本月收入" : "服务数"} {isOwner ? ( @@ -82,7 +82,7 @@ export default function DashboardPage() {
- + 最近订单
- + 已发布的服务 diff --git a/app/(dashboard)/dashboard/shop/employees/page.tsx b/app/(dashboard)/dashboard/shop/employees/page.tsx index ba3e690..9294eee 100644 --- a/app/(dashboard)/dashboard/shop/employees/page.tsx +++ b/app/(dashboard)/dashboard/shop/employees/page.tsx @@ -68,7 +68,7 @@ export default function EmployeesPage() { } return ( -
+

员工管理

- +
签约打手 ({shopPlayers.length}) diff --git a/app/(dashboard)/dashboard/shop/income/page.tsx b/app/(dashboard)/dashboard/shop/income/page.tsx index 2493c91..0f5aa4a 100644 --- a/app/(dashboard)/dashboard/shop/income/page.tsx +++ b/app/(dashboard)/dashboard/shop/income/page.tsx @@ -54,11 +54,11 @@ export default function ShopIncomePage() { }) return ( -
+

收入统计

- + 总收入 @@ -67,7 +67,7 @@ export default function ShopIncomePage() {
¥{totalIncome.toFixed(2)}
- + 本月收入 @@ -76,7 +76,7 @@ export default function ShopIncomePage() {
¥{thisMonthIncome.toFixed(2)}
- + 待结算 @@ -87,7 +87,7 @@ export default function ShopIncomePage() {
- + 交易明细 diff --git a/app/(dashboard)/dashboard/shop/orders/page.tsx b/app/(dashboard)/dashboard/shop/orders/page.tsx index 9ada3f0..18265c7 100644 --- a/app/(dashboard)/dashboard/shop/orders/page.tsx +++ b/app/(dashboard)/dashboard/shop/orders/page.tsx @@ -38,13 +38,13 @@ export default function ShopOrdersPage() { const disputedOrders = shopOrders.filter((o) => isDisputedOrder(o.status)).length return ( -
+

订单总览

- + 总订单 @@ -53,7 +53,7 @@ export default function ShopOrdersPage() {
{totalOrders}
- + 进行中 @@ -62,7 +62,7 @@ export default function ShopOrdersPage() {
{activeOrders}
- + 已完成 @@ -71,7 +71,7 @@ export default function ShopOrdersPage() {
{completedOrders}
- + 争议订单 @@ -82,7 +82,7 @@ export default function ShopOrdersPage() {
- + 订单列表 diff --git a/app/(dashboard)/dashboard/shop/page.tsx b/app/(dashboard)/dashboard/shop/page.tsx index e5b5159..98601bb 100644 --- a/app/(dashboard)/dashboard/shop/page.tsx +++ b/app/(dashboard)/dashboard/shop/page.tsx @@ -53,7 +53,7 @@ function ShopManagementContent({ const [description, setDescription] = useState(shop.description) return ( -
+

店铺管理

- + 总订单 @@ -74,7 +74,7 @@ function ShopManagementContent({
{shop.totalOrders}
- + 评分 @@ -83,7 +83,7 @@ function ShopManagementContent({
{shop.rating}
- + 签约打手 @@ -92,7 +92,7 @@ function ShopManagementContent({
{shop.playerCount}
- + 抽成比例 @@ -107,7 +107,7 @@ function ShopManagementContent({
- + 基本信息 @@ -139,7 +139,7 @@ function ShopManagementContent({ - + 公告管理 @@ -184,7 +184,7 @@ function ShopManagementContent({ - + 运营设置 diff --git a/app/(dashboard)/dashboard/shop/rules/page.tsx b/app/(dashboard)/dashboard/shop/rules/page.tsx index 160181d..85f0ca5 100644 --- a/app/(dashboard)/dashboard/shop/rules/page.tsx +++ b/app/(dashboard)/dashboard/shop/rules/page.tsx @@ -56,7 +56,7 @@ function ShopRulesForm({ } return ( -
+

规则设置

- + 员工权限 @@ -100,7 +100,7 @@ function ShopRulesForm({ - + 派单设置 @@ -126,7 +126,7 @@ function ShopRulesForm({ - + 抽成设置 diff --git a/app/(dashboard)/dashboard/shop/templates/page.tsx b/app/(dashboard)/dashboard/shop/templates/page.tsx index 7e983c6..03f2ace 100644 --- a/app/(dashboard)/dashboard/shop/templates/page.tsx +++ b/app/(dashboard)/dashboard/shop/templates/page.tsx @@ -122,7 +122,7 @@ function ShopTemplatesEditor({ } return ( -
+
{showSavedToast ? (
模板已保存 @@ -141,7 +141,7 @@ function ShopTemplatesEditor({
- + 页面组件 @@ -184,7 +184,7 @@ function ShopTemplatesEditor({ - + 提示