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