+
@@ -41,33 +48,34 @@ function isActive(value: string | number) {
diff --git a/frontend/src/features/seller/views/components/PublishSection.vue b/frontend/src/features/seller/views/components/PublishSection.vue
index d23611b..cee725f 100644
--- a/frontend/src/features/seller/views/components/PublishSection.vue
+++ b/frontend/src/features/seller/views/components/PublishSection.vue
@@ -6,44 +6,44 @@ defineProps<{
-
diff --git a/frontend/src/router/mobileRoutes.ts b/frontend/src/router/mobileRoutes.ts
index 63078c0..67d7fc3 100644
--- a/frontend/src/router/mobileRoutes.ts
+++ b/frontend/src/router/mobileRoutes.ts
@@ -70,7 +70,7 @@ export const mobileRoutes: RouteRecordRaw[] = [
{
path: '/m/seller/listings/create',
name: 'mobile-seller-listing-create',
- component: () => import('@/features/seller/views/SellerListingCreateView.vue'),
+ component: () => import('@/features/seller/views/MobileSellerListingCreateView.vue'),
meta: { layout: 'blank', requiresAuth: true, requiresRealname: true },
},
{
diff --git a/frontend/src/shared/utils/listingDisplay.ts b/frontend/src/shared/utils/listingDisplay.ts
index 373fdc9..62688f0 100644
--- a/frontend/src/shared/utils/listingDisplay.ts
+++ b/frontend/src/shared/utils/listingDisplay.ts
@@ -204,6 +204,7 @@ export function getOnlineTimeText(item: Listing) {
const start = (onlineTime as Record).start;
const end = (onlineTime as Record).end;
if (typeof start !== "string" || typeof end !== "string" || !start || !end) return "";
+ if (start === "全天" || end === "全天" || (start === "00:00" && end === "23:59")) return "全天";
return `${start.replace(":00", "")}-${end.replace(":00", "")}点`;
}
diff --git a/frontend/src/utils/listingDisplay.ts b/frontend/src/utils/listingDisplay.ts
index 2643e21..e8e84ee 100644
--- a/frontend/src/utils/listingDisplay.ts
+++ b/frontend/src/utils/listingDisplay.ts
@@ -204,6 +204,7 @@ export function getOnlineTimeText(item: Listing) {
const start = (onlineTime as Record).start;
const end = (onlineTime as Record).end;
if (typeof start !== "string" || typeof end !== "string" || !start || !end) return "";
+ if (start === "全天" || end === "全天" || (start === "00:00" && end === "23:59")) return "全天";
return `${start.replace(":00", "")}-${end.replace(":00", "")}点`;
}