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; }