diff --git a/frontend/src/features/auth/views/MobileProfileView.css b/frontend/src/features/auth/views/MobileProfileView.css index 9a711c13..cf5be604 100644 --- a/frontend/src/features/auth/views/MobileProfileView.css +++ b/frontend/src/features/auth/views/MobileProfileView.css @@ -1,8 +1,9 @@ .mobile-profile-shell { min-height: 100dvh; - background: #f4f6f8; - color: #1a202c; - padding: 0 0 calc(64px + env(safe-area-inset-bottom)); + background: #f4f4f2; + color: #252a31; + padding: 0 0 calc(52px + env(safe-area-inset-bottom)); + --van-primary-color: #a95522; } /* ========== Hero Header ========== */ @@ -378,7 +379,7 @@ color: #9ca3af; } .unread-cell-value { - color: #ef4444; + color: #a55757; font-weight: 700; } @@ -476,7 +477,7 @@ display: flex; flex-direction: column; height: 100%; - background: #f5f6f8; + background: #f4f4f2; } .settings-header { @@ -485,7 +486,7 @@ justify-content: space-between; padding: 16px; background: #fff; - border-bottom: 1px solid #eee; + border-bottom: 1px solid #e9e8e6; } .settings-header h2 { @@ -499,9 +500,10 @@ width: 32px; height: 32px; place-items: center; - border: none; - background: none; - color: #999; + border: 1px solid #e7e6e3; + border-radius: 8px; + background: #f7f7f5; + color: #73787e; cursor: pointer; } @@ -549,10 +551,10 @@ width: 34px; height: 34px; place-items: center; - border: none; - border-radius: 12px; - background: #f4f6f8; - color: #64748b; + border: 1px solid #e7e6e3; + border-radius: 8px; + background: #f7f7f5; + color: #73787e; } .profile-preview { @@ -561,8 +563,8 @@ gap: 12px; margin: 18px 0; padding: 14px; - border-radius: 14px; - background: #f7faff; + border-radius: 8px; + background: #f9f7f5; } .profile-preview-avatar { @@ -572,8 +574,8 @@ flex: 0 0 auto; place-items: center; overflow: hidden; - border-radius: 16px; - background: #1477ff; + border-radius: 8px; + background: #a95522; color: #fff; font-size: 22px; font-weight: 900; @@ -669,7 +671,7 @@ width: 100%; height: 46px; border: 1px solid #e1e7ef; - border-radius: 12px; + border-radius: 8px; background: #fff; color: #17233d; font-size: 14px; @@ -678,14 +680,14 @@ } .editor-field input:focus { - border-color: #1477ff; - box-shadow: 0 0 0 3px rgba(20, 119, 255, 0.1); + border-color: #b87a53; + box-shadow: 0 0 0 3px rgba(169, 85, 34, 0.1); } .profile-save-btn { height: 44px; margin-top: 6px; - background: #1477ff; + background: #a95522; border-color: transparent; font-weight: 800; } @@ -931,11 +933,12 @@ /* ========== Compact mobile account center ========== */ .profile-hero { position: relative; - padding: 15px 16px 14px; - border: 0; - border-radius: 0 0 18px 18px; - background: linear-gradient(165deg, #fff8f1 0%, #ffffff 76%); - box-shadow: 0 5px 18px rgba(154, 89, 25, 0.045); + margin: 12px 12px 0; + padding: 15px; + border: 1px solid #e7e6e3; + border-radius: 8px; + background: #ffffff; + box-shadow: 0 4px 14px rgba(28, 31, 35, 0.035); } .hero-setting-btn { @@ -945,7 +948,8 @@ z-index: 1; width: 32px; height: 32px; - border-color: #f2dfd0; + border-color: #e8e6e3; + background: #f8f8f6; } .profile-hero-content { @@ -953,16 +957,17 @@ } .avatar-circle { - width: 62px; - height: 62px; + width: 58px; + height: 58px; border: 2px solid #ffffff; - box-shadow: - 0 0 0 1px #f0d8c6, - 0 5px 12px rgba(185, 104, 34, 0.1); + background: #f7eee7; + color: #a95522; + box-shadow: 0 0 0 1px #ebddd3; } .user-nickname { font-size: 18px; + font-weight: 700; } .user-meta { @@ -971,9 +976,19 @@ } .owner-quality-tag { - border-color: #edcd91; - background: #fff3da !important; - color: #995b08 !important; + border-color: #eadbc9 !important; + background: #f8f1e9 !important; + color: #8b6238 !important; +} + +.verified-tag { + background: #eef4ef !important; + color: #55705d !important; +} + +.unverified-tag { + background: #f8eded !important; + color: #985858 !important; } .hero-status-row { @@ -981,9 +996,9 @@ align-items: center; justify-content: space-between; gap: 8px; - margin-top: 13px; - padding-top: 11px; - border-top: 1px solid #f4e9df; + margin-top: 12px; + padding-top: 10px; + border-top: 1px solid #eeeeec; } .hero-level-pill, @@ -998,20 +1013,20 @@ .hero-level-pill { min-width: 0; gap: 5px; - padding: 0 9px; - border: 1px solid #f1dccb; - border-radius: 999px; - background: rgba(255, 255, 255, 0.82); + padding: 0; + border: 0; + border-radius: 0; + background: transparent; } .hero-level-pill span { - color: #8d7c70; + color: #858a90; font-size: 9px; } .hero-level-pill strong { overflow: hidden; - color: #b65308; + color: #9c542b; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; @@ -1019,23 +1034,23 @@ .hero-level-pill .van-icon { flex: 0 0 auto; - color: #b98e6d; + color: #a58975; } .hero-level-pill.is-store { - border-color: #ccebd9; - background: #f3fbf6; + border: 0; + background: transparent; } .hero-level-pill.is-store strong { - color: #13864c; + color: #55705d; } .hero-benefits-btn { flex: 0 0 auto; gap: 2px; padding: 0; - color: #7e8794; + color: #858a90; font-size: 10px; font-weight: 700; } @@ -1043,12 +1058,12 @@ .asset-overview-card { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); - margin: 12px 16px 0; + margin: 10px 12px 0; overflow: hidden; - border: 1px solid #eceff3; - border-radius: 14px; + border: 1px solid #e7e6e3; + border-radius: 8px; background: #ffffff; - box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03); + box-shadow: 0 4px 14px rgba(28, 31, 35, 0.03); } .asset-points { @@ -1057,10 +1072,10 @@ align-items: center; gap: 9px; min-width: 0; - padding: 13px 11px; + padding: 13px 12px; border: 0; - border-right: 1px solid #f0f2f5; - background: linear-gradient(135deg, #fff9f3 0%, #ffffff 88%); + border-right: 1px solid #ececea; + background: #ffffff; text-align: left; } @@ -1070,12 +1085,12 @@ height: 34px; flex: 0 0 auto; place-items: center; - border-radius: 10px; + border-radius: 8px; } .points-icon { - background: #ffeadc; - color: #ef6200; + background: #f7f1eb; + color: #a65b31; } .asset-copy { @@ -1091,7 +1106,7 @@ } .asset-copy strong { - color: #252d3b; + color: #252a31; font-size: 18px; line-height: 1.15; } @@ -1106,7 +1121,7 @@ } .asset-arrow { - color: #b9aea3; + color: #a58975; } .asset-wallet { @@ -1114,7 +1129,7 @@ align-content: center; gap: 6px; min-width: 0; - padding: 12px 13px; + padding: 12px; background: #ffffff; } @@ -1136,7 +1151,7 @@ padding: 0; border: 0; background: transparent; - color: #b27035; + color: #9c6746; font-size: 9px; font-weight: 700; } @@ -1144,7 +1159,7 @@ .asset-wallet-main > strong { min-width: 0; overflow: hidden; - color: #222a37; + color: #252a31; font-size: 19px; line-height: 1.2; text-overflow: ellipsis; @@ -1155,10 +1170,10 @@ flex: 0 0 auto; min-height: 26px; padding: 0 9px; - border: 1px solid #f3c8aa; - border-radius: 999px; - background: #fff8f2; - color: #d95b00; + border: 1px solid #a95522; + border-radius: 6px; + background: #a95522; + color: #ffffff; font-size: 10px; font-weight: 800; } @@ -1166,17 +1181,17 @@ .quality-entry-card { display: grid; gap: 9px; - margin: 12px 16px 0; + margin: 10px 12px 0; padding: 12px 13px; - border: 1px solid #eee2d3; - border-radius: 14px; - background: linear-gradient(135deg, #fffaf4 0%, #ffffff 74%); - box-shadow: 0 4px 14px rgba(134, 85, 34, 0.025); + border: 1px solid #e7e6e3; + border-radius: 8px; + background: #ffffff; + box-shadow: 0 4px 14px rgba(28, 31, 35, 0.03); } .quality-entry-card.is-active { - border-color: #e6c17c; - background: linear-gradient(135deg, #fff8e9 0%, #ffffff 74%); + border-color: #dfd1c2; + background: #ffffff; } .quality-entry-head, @@ -1203,10 +1218,10 @@ height: 30px; flex: 0 0 auto; place-items: center; - border: 1px solid #efd7b9; - border-radius: 9px; - background: #fff1df; - color: #cf670c; + border: 1px solid #eadfd6; + border-radius: 8px; + background: #f8f2ed; + color: #9c6746; } .quality-entry-copy { @@ -1240,7 +1255,7 @@ flex-wrap: wrap; gap: 6px 10px; padding-top: 8px; - border-top: 1px solid #f3eadf; + border-top: 1px solid #eeeeec; } .quality-entry-summary span { @@ -1256,7 +1271,7 @@ padding: 0; border: 0; background: transparent; - color: #bd681b; + color: #9c6746; font-size: 9px; font-weight: 700; } @@ -1266,7 +1281,7 @@ justify-content: space-between; gap: 8px; padding-top: 8px; - border-top: 1px solid #f3eadf; + border-top: 1px solid #eeeeec; } .quality-entry-actions > span, @@ -1308,11 +1323,11 @@ .service-panel, .more-services-card { - margin: 12px 16px 0; - border: 1px solid #eceff3; - border-radius: 14px; + margin: 10px 12px 0; + border: 1px solid #e7e6e3; + border-radius: 8px; background: #ffffff; - box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03); + box-shadow: 0 4px 14px rgba(28, 31, 35, 0.03); } .service-panel { @@ -1329,7 +1344,7 @@ .service-section-head h3 { margin: 0; - color: #202733; + color: #252a31; font-size: 13px; } @@ -1340,7 +1355,7 @@ padding: 0; border: 0; background: transparent; - color: #8a929f; + color: #8b908f; font-size: 9px; } @@ -1373,49 +1388,49 @@ width: 36px; height: 36px; place-items: center; - border-radius: 10px; + border-radius: 8px; transition: transform 0.15s ease; } .service-icon.warning { - background: #fff5de; - color: #d89000; + background: #f8f3e9; + color: #8c6a38; } .service-icon.info { - background: #edf4ff; - color: #3178d9; + background: #f2f4f5; + color: #667680; } .service-icon.primary { - background: #eef4ff; - color: #1d6dd1; + background: #f5f1ed; + color: #7d6657; } .service-icon.success { - background: #ebf9f3; - color: #159a6b; + background: #eef4ef; + color: #55705d; } .service-icon.orange { - background: #fff0e7; - color: #e96508; + background: #f8eee6; + color: #9c542b; } .service-icon.gold { - background: #fff6e6; - color: #c78a21; + background: #f8f2e7; + color: #8e6a32; } .service-icon.teal { - background: #e9f8f7; - color: #13938d; + background: #eff4f3; + color: #5b7773; } .service-item > span { overflow: hidden; max-width: 100%; - color: #4a5361; + color: #555b62; font-size: 10px; font-weight: 600; text-overflow: ellipsis; @@ -1425,17 +1440,17 @@ .service-divider { height: 1px; margin: 13px 0; - background: #f0f2f5; + background: #eeeeec; } .more-services-card { overflow: hidden; - margin-bottom: 14px; + margin-bottom: 12px; } .more-services-title { padding: 13px 14px 8px; - color: #4e5867; + color: #555b62; font-size: 11px; font-weight: 800; } @@ -1443,11 +1458,12 @@ .more-services-card :deep(.van-cell) { padding: 11px 14px; font-size: 13px; + color: #3e444b; } .more-services-card :deep(.van-cell__left-icon) { margin-right: 9px; - color: #9a7454; + color: #8b7362; } /* ========== 响应式适配 ========== */ diff --git a/frontend/src/features/auth/views/MobileProfileView.vue b/frontend/src/features/auth/views/MobileProfileView.vue index 6eb0aa5a..f81f559e 100644 --- a/frontend/src/features/auth/views/MobileProfileView.vue +++ b/frontend/src/features/auth/views/MobileProfileView.vue @@ -626,7 +626,7 @@ function resolveAvatarURL(url: string | undefined | null) { size="small" round type="primary" - color="#ff6a00" + color="#a95522" :loading="qualityOwnerLoading" :disabled=" (qualityOwnerStatus?.available_balance_cent || 0) < @@ -641,7 +641,7 @@ function resolveAvatarURL(url: string | undefined | null) { round plain type="primary" - color="#a45b16" + color="#8d674c" :loading="qualityOwnerOnlineLoading" @click="handleOnlineQualityOwnerPayment" > @@ -780,7 +780,7 @@ function resolveAvatarURL(url: string | undefined | null) { diff --git a/frontend/src/features/listings/views/ListingCollectionsView.vue b/frontend/src/features/listings/views/ListingCollectionsView.vue index 95eb8fc7..18b7ec8b 100644 --- a/frontend/src/features/listings/views/ListingCollectionsView.vue +++ b/frontend/src/features/listings/views/ListingCollectionsView.vue @@ -1,6 +1,5 @@ @@ -203,8 +154,7 @@ function timeText(item: ListingCollectionItem) { } .collections-header button, -.collection-tabs button, -.mobile-card-actions button { +.collection-tabs button { border: 0; cursor: pointer; } @@ -257,130 +207,4 @@ function timeText(item: ListingCollectionItem) { color: #98a2b3; font-size: 13px; } - -.collections-page.mobile { - min-height: 100vh; - padding: 14px; - background: #f7f8fa; -} - -.mobile .collections-header { - padding: 16px; -} - -.mobile .collections-header h1 { - font-size: 22px; -} - -.mobile .collections-header button { - display: none; -} - -.mobile .collection-tabs { - display: grid; - grid-template-columns: 1fr 1fr; - width: 100%; - border-radius: 8px; -} - -.mobile .collection-tabs button { - border-radius: 8px; -} - -.mobile-empty { - padding: 44px 0; - text-align: center; - color: #98a2b3; -} - -.mobile-list { - display: grid; - gap: 10px; -} - -.mobile-card { - overflow: hidden; - border-radius: 8px; - background: #fff; -} - -.mobile-card-main { - display: grid; - grid-template-columns: 104px 1fr; - gap: 10px; - padding: 10px; - color: inherit; - text-decoration: none; -} - -.mobile-card-main img, -.mobile-cover-empty { - width: 104px; - height: 104px; - border-radius: 8px; - object-fit: cover; -} - -.mobile-cover-empty { - display: grid; - place-items: center; - background: #f2f4f7; - color: #cbd5e1; - font-weight: 900; -} - -.mobile-info { - display: grid; - align-content: start; - gap: 6px; - min-width: 0; -} - -.mobile-info strong, -.mobile-info small { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -.mobile-info small, -.mobile-stats { - color: #667085; - font-size: 12px; -} - -.mobile-stats { - display: flex; - gap: 8px; - flex-wrap: wrap; -} - -.mobile-info em { - color: #ff6a00; - font-style: normal; - font-weight: 800; -} - -.mobile-card-actions { - display: flex; - align-items: center; - justify-content: space-between; - gap: 8px; - padding: 8px 10px 10px; - border-top: 1px solid #f2f4f7; - color: #98a2b3; - font-size: 12px; -} - -.mobile-card-actions div { - display: flex; - gap: 8px; -} - -.mobile-card-actions button { - padding: 5px 9px; - border-radius: 999px; - background: #fff7ed; - color: #ff6a00; -} diff --git a/frontend/src/features/listings/views/MobileListingCollectionsView.vue b/frontend/src/features/listings/views/MobileListingCollectionsView.vue new file mode 100644 index 00000000..d32fe049 --- /dev/null +++ b/frontend/src/features/listings/views/MobileListingCollectionsView.vue @@ -0,0 +1,416 @@ + + + + + diff --git a/frontend/src/features/orders/views/MobileOrdersView.vue b/frontend/src/features/orders/views/MobileOrdersView.vue index c2b088f6..952bc0b3 100644 --- a/frontend/src/features/orders/views/MobileOrdersView.vue +++ b/frontend/src/features/orders/views/MobileOrdersView.vue @@ -343,11 +343,11 @@ async function copyListingCode(order: UserOrderListItem) {