Commit bfb3f0bd by lijiabin

【需求 17679】 perf: 继续优化等

parent 64958ad7
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
<!-- <span class="px-2 py-0.5 text-xs bg-red-100 text-red-600 rounded-full">置顶</span> --> <!-- <span class="px-2 py-0.5 text-xs bg-red-100 text-red-600 rounded-full">置顶</span> -->
</div> </div>
<!-- 换行 --> <!-- 换行 -->
<p class="text-gray-700 my-2 break-all"> <p class="text-gray-700 my-2 break-all whitespace-pre-wrap">
{{ item.content }} {{ item.content }}
</p> </p>
<div class="flex items-center justify-between"> <div class="flex items-center justify-between">
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
>{{ child.replyUser }} 回复 @{{ child.replyName }}</span >{{ child.replyUser }} 回复 @{{ child.replyName }}</span
> >
</div> </div>
<p class="text-gray-700 my-2 break-all"> <p class="text-gray-700 my-2 break-all whitespace-pre-wrap">
{{ child.content }} {{ child.content }}
</p> </p>
<div class="flex items-center justify-between"> <div class="flex items-center justify-between">
......
<template> <template>
<el-dialog v-model="visible" title="发表评论" width="500px" :before-close="handleClose"> <el-dialog
v-model="visible"
title="发表评论"
width="500px"
:before-close="handleClose"
top="30vh"
>
<div class="flex gap-3"> <div class="flex gap-3">
<!-- 用户头像 --> <!-- 用户头像 -->
<el-avatar :size="40" :src="userInfo.hiddenAvatar" /> <el-avatar :size="40" :src="userInfo.hiddenAvatar" />
......
...@@ -52,10 +52,10 @@ ...@@ -52,10 +52,10 @@
<div class="text-12px text-#000 line-height-12px">推荐</div> <div class="text-12px text-#000 line-height-12px">推荐</div>
</div> </div>
</div> </div>
<h3 class="text font-medium text-gray-800 mb-2 transition-colors"> <h3 class="text font-medium text-gray-800 mb-2 transition-colors line-clamp-1">
{{ i.title }} {{ i.title }}
</h3> </h3>
<p class="text-sm text-gray-500 mb-3 line-clamp-2"> <p class="text-sm text-gray-500 mb-3 line-clamp-1">
{{ i.content }} {{ i.content }}
</p> </p>
<div class="flex items-center justify-between text-xs text-gray-500"> <div class="flex items-center justify-between text-xs text-gray-500">
......
...@@ -50,10 +50,10 @@ ...@@ -50,10 +50,10 @@
<div class="text-12px text-#000 line-height-12px">推荐</div> <div class="text-12px text-#000 line-height-12px">推荐</div>
</div> </div>
</div> </div>
<h3 class="text-sm font-medium text-gray-800 mb-2 transition-colors"> <h3 class="text-sm font-medium text-gray-800 mb-2 transition-colors line-clamp-1">
{{ i.title }} {{ i.title }}
</h3> </h3>
<p class="text-xs text-gray-500 mb-3 line-clamp-2"> <p class="text-xs text-gray-500 mb-3 line-clamp-1">
{{ i.content }} {{ i.content }}
</p> </p>
<div class="flex items-center justify-between text-xs text-gray-400"> <div class="flex items-center justify-between text-xs text-gray-400">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment