diff --git a/src/views/registrationGroup/index.vue b/src/views/registrationGroup/index.vue index 7bd9bda..7006659 100644 --- a/src/views/registrationGroup/index.vue +++ b/src/views/registrationGroup/index.vue @@ -449,6 +449,11 @@ const submit = () => { font-size: 32px; color: #ffffff; line-height: 39px; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; /* 限制显示的行数 */ + overflow: hidden; + text-overflow: ellipsis; } } } diff --git a/src/views/registrationPersonage/index.vue b/src/views/registrationPersonage/index.vue index 9426029..8efc609 100644 --- a/src/views/registrationPersonage/index.vue +++ b/src/views/registrationPersonage/index.vue @@ -370,7 +370,6 @@ getTopicListApi() font-size: 20px; color: #666666; line-height: 23px; - } } @@ -462,10 +461,10 @@ getTopicListApi() color: #ffffff; line-height: 39px; display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-line-clamp: 3; /* 限制显示的行数 */ - overflow: hidden; - text-overflow: ellipsis; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; /* 限制显示的行数 */ + overflow: hidden; + text-overflow: ellipsis; } } }