能力统计bug

This commit is contained in:
851673013@qq.com 2022-08-04 13:58:14 +08:00
parent c7b15fbe5b
commit 9f9edd23eb
1 changed files with 18 additions and 4 deletions

View File

@ -13,10 +13,16 @@
backgroundImage: `url(${item.photo}) `, backgroundImage: `url(${item.photo}) `,
}" }"
></div> ></div>
<div class="name">{{ item.demandSubject }}</div> <a-tooltip>
<div class="text"> <template #title>{{ item.demandSubject }}</template>
{{ item.demandDetails }} <div class="name">{{ item.demandSubject }}</div>
</div> </a-tooltip>
<a-tooltip>
<template #title>{{ item.demandDetails }}</template>
<div class="text">
{{ item.demandDetails }}
</div>
</a-tooltip>
<div class="reply">回复量:{{ item.commentCount }}</div> <div class="reply">回复量:{{ item.commentCount }}</div>
<div class="view-details" @click="viewDetails(item.id)">查看详情</div> <div class="view-details" @click="viewDetails(item.id)">查看详情</div>
</div> </div>
@ -165,6 +171,10 @@
font-size: 16px; font-size: 16px;
color: #212121; color: #212121;
margin-bottom: 24px; margin-bottom: 24px;
width: 226px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
.text { .text {
width: 100%; width: 100%;
@ -175,6 +185,10 @@
font-size: 14px; font-size: 14px;
color: #666; color: #666;
text-align: center; text-align: center;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
} }
.view-details { .view-details {
width: 75px; width: 75px;