From c249c9e213ca0e34fa250a792dd6d982638c18f0 Mon Sep 17 00:00:00 2001 From: DevOps Date: Wed, 31 Dec 2025 14:38:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(my-registration):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=B1=95=E7=A4=BA=E4=B8=8D=E5=85=A8=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 地址过长时显示省略号 - 空字段显示"暂无" --- src/pages/my-registration/my-registration.vue | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/pages/my-registration/my-registration.vue b/src/pages/my-registration/my-registration.vue index 353e7a2..a45c694 100644 --- a/src/pages/my-registration/my-registration.vue +++ b/src/pages/my-registration/my-registration.vue @@ -19,22 +19,22 @@ 地点: - {{ item.location }} + {{ item.location || "暂无" }} 比赛时间: - {{ item.matchTime }} + {{ item.matchTime || "暂无" }} 报名项目: - {{ item.projects }} + {{ item.projects || "暂无" }} 联系人: - {{ item.contact }} + {{ item.contact || "暂无" }} @@ -396,6 +396,14 @@ export default { flex: 1; } +.location-text { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + display: block; + max-width: 480rpx; +} + .participants { word-break: break-all; }