{
- if (event.target === event.currentTarget) {
- onClose();
- }
- }}
- >
-
event.stopPropagation()}
- >
-
-
-
-
-
-
- 发布检查
-
- {actionError ? (
-
- {actionError}
-
- ) : publishReady ? (
-
-
- 当前作品已满足发布条件。
-
-
- 消耗 {PUZZLE_PUBLISH_POINT_COST} 泥点
-
-
- ) : (
-
- {blockers.map((blocker, index) => (
-
- {blocker}
-
- ))}
-
- )}
-
-
-
-
- 封面关卡
-
-
封面关卡}
- aspect="square"
- surface="soft"
- className="rounded-[1.15rem]"
- />
-
- {editState.workTitle}
-
-
-
-
-
-
+ return (
+
取消
@@ -968,10 +864,62 @@ function PuzzlePublishDialog({
? '发布中...'
: `发布到广场 · ${PUZZLE_PUBLISH_POINT_COST}泥点`}
+ >
+ }
+ >
+
+
+
发布检查
+ {actionError ? (
+
+ {actionError}
+
+ ) : publishReady ? (
+
+
+ 当前作品已满足发布条件。
+
+
+ 消耗 {PUZZLE_PUBLISH_POINT_COST} 泥点
+
+
+ ) : (
+
+ {blockers.map((blocker, index) => (
+
+ {blocker}
+
+ ))}
+
+ )}
+
+
+
+
封面关卡
+
封面关卡}
+ aspect="square"
+ surface="soft"
+ className="rounded-[1.15rem]"
+ />
+
+ {editState.workTitle}
+
- ,
- document.body,
+
);
}
diff --git a/src/components/rpg-entry/RpgEntryHomeView.tsx b/src/components/rpg-entry/RpgEntryHomeView.tsx
index 54ea247e..f649b0d4 100644
--- a/src/components/rpg-entry/RpgEntryHomeView.tsx
+++ b/src/components/rpg-entry/RpgEntryHomeView.tsx
@@ -89,7 +89,10 @@ import { PlatformIconButton } from '../common/PlatformIconButton';
import { PlatformModalCloseButton } from '../common/PlatformModalCloseButton';
import { PlatformNavigableListItem } from '../common/PlatformNavigableListItem';
import { PlatformPillBadge } from '../common/PlatformPillBadge';
-import { PlatformSegmentedTabs } from '../common/PlatformSegmentedTabs';
+import {
+ PlatformOptionSegment,
+ PlatformUnderlineTabRail,
+} from '../common/PlatformSegmentedTabPresets';
import { PlatformStatusDialog } from '../common/PlatformStatusDialog';
import { PlatformStatusMessage } from '../common/PlatformStatusMessage';
import { PlatformSubpanel } from '../common/PlatformSubpanel';
@@ -2178,27 +2181,11 @@ function PlatformCategoryFilterDialog({
玩法
-
- [
- 'platform-category-filter-dialog__option !min-h-[2.35rem] !rounded-[0.78rem] !border !border-[var(--platform-subpanel-border)] !bg-[var(--platform-subpanel-fill)] !px-3 !text-[0.88rem] !font-black !text-[var(--platform-text-base)] !shadow-none hover:!bg-[var(--platform-subpanel-fill)]',
- active
- ? 'platform-category-filter-dialog__option--active !border-[var(--platform-cool-border)] !bg-[var(--platform-cool-bg)] !text-[var(--platform-cool-text)]'
- : null,
- ]
- .filter(Boolean)
- .join(' ')
- }
+ variant="categoryFilter"
/>