|
@@ -226,11 +226,7 @@
|
|
|
<p :class="{ 'text-ellipsis': !isDescriptionExpanded }">
|
|
<p :class="{ 'text-ellipsis': !isDescriptionExpanded }">
|
|
|
{{ currentDetail.description }}
|
|
{{ currentDetail.description }}
|
|
|
</p>
|
|
</p>
|
|
|
- <span
|
|
|
|
|
- v-if="currentDetail.description && currentDetail.description.length > 50"
|
|
|
|
|
- class="expand-btn"
|
|
|
|
|
- @click="toggleDescription"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <span v-if="currentDetail.description" class="expand-btn" @click="toggleDescription">
|
|
|
{{ isDescriptionExpanded ? "收起" : "展开" }}
|
|
{{ isDescriptionExpanded ? "收起" : "展开" }}
|
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|