0 ? `${value} 泥点` : '免费';
+}
+
function createReviewIdempotencyKey(versionId: string) {
const random =
typeof crypto !== 'undefined' && 'randomUUID' in crypto
@@ -437,6 +442,7 @@ export function AdminGameDistributionReviewPage({
{ key: 'gameId', label: '游戏' },
{ key: 'versionNumber', label: '版本' },
{ key: 'packageBytes', label: '发行包' },
+ { key: 'priceMudPoints', label: '价格' },
{ key: 'createdAt', label: '提交时间' },
{ key: 'actions', label: '审核' },
]}
@@ -482,6 +488,7 @@ export function AdminGameDistributionReviewPage({
{entry.packageSha256.slice(0, 12)}
+ {formatPriceMudPoints(entry.priceMudPoints)} |
{formatAdminDateTime(entry.createdAt)} |
@@ -629,6 +636,10 @@ function AdminGameDistributionReviewDetailView({
versionLabel={`v${detail.version.versionNumber}`}
infoCards={[
{ label: '状态', value: detail.version.status },
+ {
+ label: '价格',
+ value: formatPriceMudPoints(detail.game.priceMudPoints),
+ },
{
label: '提交时间',
value: formatAdminDateTime(detail.version.createdAt),
diff --git a/apps/admin-web/src/pages/adminGameDistributionReview.css b/apps/admin-web/src/pages/adminGameDistributionReview.css
index 2eed66619..28e6ef8cd 100644
--- a/apps/admin-web/src/pages/adminGameDistributionReview.css
+++ b/apps/admin-web/src/pages/adminGameDistributionReview.css
@@ -27,14 +27,21 @@ table.admin-game-review-table td:nth-child(3) {
width: 124px;
}
+/* 价格列:只展示「免费」或「N 泥点」,窄列即可。 */
table.admin-game-review-table th:nth-child(4),
table.admin-game-review-table td:nth-child(4) {
- width: 172px;
+ width: 96px;
white-space: nowrap;
}
table.admin-game-review-table th:nth-child(5),
table.admin-game-review-table td:nth-child(5) {
+ width: 172px;
+ white-space: nowrap;
+}
+
+table.admin-game-review-table th:nth-child(6),
+table.admin-game-review-table td:nth-child(6) {
width: 240px;
}
@@ -100,7 +107,9 @@ table.admin-game-review-table td .admin-muted-text {
table.admin-game-review-table th:nth-child(4),
table.admin-game-review-table td:nth-child(4),
table.admin-game-review-table th:nth-child(5),
- table.admin-game-review-table td:nth-child(5) {
+ table.admin-game-review-table td:nth-child(5),
+ table.admin-game-review-table th:nth-child(6),
+ table.admin-game-review-table td:nth-child(6) {
width: auto;
}
}
|