From 8051e069d23ca6acb6ed2f80d306d36901cabbf7 Mon Sep 17 00:00:00 2001 From: 18631081161 <2088094923@qq.com> Date: Sat, 18 Apr 2026 19:29:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=A0=E5=B0=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- miniapp/components/UserCard/index.vue | 15 ++++++++------- miniapp/pages/chat/index.vue | 8 ++++---- miniapp/pages/profile/detail.vue | 8 ++++---- miniapp/pages/profile/preview.vue | 10 +++++----- miniapp/pages/search/result.vue | 8 ++++---- 5 files changed, 25 insertions(+), 24 deletions(-) diff --git a/miniapp/components/UserCard/index.vue b/miniapp/components/UserCard/index.vue index a317ea2..9997f48 100644 --- a/miniapp/components/UserCard/index.vue +++ b/miniapp/components/UserCard/index.vue @@ -225,13 +225,14 @@ }, incomeText() { if (!this.monthlyIncome) return '未填写' - if (this.monthlyIncome < 5000) return '5千以下' - if (this.monthlyIncome < 8000) return '5千~8千/月' - if (this.monthlyIncome < 10000) return '8千~1万/月' - if (this.monthlyIncome < 15000) return '1万~1.5万/月' - if (this.monthlyIncome < 20000) return '1.5万~2万/月' - if (this.monthlyIncome < 30000) return '2万~3万/月' - return '3万以上/月' + const incomeMap = { + 1: '5千以下', + 2: '5千-1万/月', + 3: '1万-2万/月', + 4: '2万-5万/月', + 5: '5万以上' + } + return incomeMap[this.monthlyIncome] || '未填写' }, memberIconUrl() { if (!this.isMember || !this.memberLevel) return '' diff --git a/miniapp/pages/chat/index.vue b/miniapp/pages/chat/index.vue index c1e45a3..503f245 100644 --- a/miniapp/pages/chat/index.vue +++ b/miniapp/pages/chat/index.vue @@ -435,10 +435,10 @@ const educationMap = { const incomeMap = { 1: '5千以下', - 2: '5千-8千/月', - 3: '8千-1万/月', - 4: '1万-2万/月', - 5: '2万以上' + 2: '5千-1万/月', + 3: '1万-2万/月', + 4: '2万-5万/月', + 5: '5万以上' } const relationshipMap = { diff --git a/miniapp/pages/profile/detail.vue b/miniapp/pages/profile/detail.vue index 866dad7..78d8c47 100644 --- a/miniapp/pages/profile/detail.vue +++ b/miniapp/pages/profile/detail.vue @@ -343,10 +343,10 @@ const incomeMap = { 1: '5千以下', - 2: '5千-8千/月', - 3: '8千-1万/月', - 4: '1万-2万/月', - 5: '2万以上' + 2: '5千-1万/月', + 3: '1万-2万/月', + 4: '2万-5万/月', + 5: '5万以上' } const houseMap = { diff --git a/miniapp/pages/profile/preview.vue b/miniapp/pages/profile/preview.vue index fef72cf..e2a98e7 100644 --- a/miniapp/pages/profile/preview.vue +++ b/miniapp/pages/profile/preview.vue @@ -169,11 +169,11 @@ const educationMap = { } const incomeMap = { - 1: '5000以下', - 2: '5000-10000', - 3: '10000-20000', - 4: '20000-50000', - 5: '50000以上' + 1: '5千以下', + 2: '5千-1万/月', + 3: '1万-2万/月', + 4: '2万-5万/月', + 5: '5万以上' } const houseMap = { diff --git a/miniapp/pages/search/result.vue b/miniapp/pages/search/result.vue index 4b12b9c..2058f13 100644 --- a/miniapp/pages/search/result.vue +++ b/miniapp/pages/search/result.vue @@ -291,10 +291,10 @@ const educationMap = { const incomeMap = { 1: '5千以下', - 2: '5千-8千/月', - 3: '8千-1万/月', - 4: '1万-2万/月', - 5: '2万以上' + 2: '5千-1万/月', + 3: '1万-2万/月', + 4: '2万-5万/月', + 5: '5万以上' } const marriageMap = {