+ {{ timeText(item) }}
+
+
+
+ {{ isFavorite(item.listing.id) ? '已收藏' : '收藏' }}
+
+ 移除
+
+ diff --git a/frontend/src/features/auth/views/MobileProfileView.vue b/frontend/src/features/auth/views/MobileProfileView.vue
index af5896c..6c1aa33 100644
--- a/frontend/src/features/auth/views/MobileProfileView.vue
+++ b/frontend/src/features/auth/views/MobileProfileView.vue
@@ -327,7 +327,7 @@ function resolveAvatarURL(url: string | undefined | null) {
全部订单
Account Memory
+找回看过和收藏过的账号。
+{{ getListingSubtitle(listing) }}
@@ -495,6 +513,9 @@ function listingPrice(item: Listing) { > {{ listing.in_transaction ? '交易中' : '立即下单' }} +{{ getListingSubtitle(listing) }}
@@ -545,7 +562,8 @@ async function copyListingCode() { text-align: center; } -.back-btn { +.back-btn, +.favorite-header-btn { display: grid; width: 36px; height: 36px; @@ -556,6 +574,10 @@ async function copyListingCode() { cursor: pointer; } +.favorite-header-btn { + color: #ff6a00; +} + .header-spacer { width: 36px; } @@ -642,6 +664,21 @@ async function copyListingCode() { font-weight: 800; } +.mobile-favorite-chip { + display: inline-flex; + align-items: center; + gap: 4px; + margin-left: 6px; + margin-bottom: 8px; + padding: 4px 9px; + border: 1px solid #fed7aa; + border-radius: 999px; + background: #fff7ed; + color: #ff6a00; + font-size: 12px; + font-weight: 800; +} + .detail-title { margin: 0 0 6px; font-size: 20px; diff --git a/frontend/src/layouts/AppLayout.vue b/frontend/src/layouts/AppLayout.vue index 3ba2f55..9d35b0a 100644 --- a/frontend/src/layouts/AppLayout.vue +++ b/frontend/src/layouts/AppLayout.vue @@ -15,6 +15,7 @@ import { Search, Service, Shop, + Star, SwitchButton, Tickets, UserFilled, @@ -225,6 +226,14 @@ async function handleSupportClick() {