From a6442ef43dabb97802e2a942e11cc0ab00922d40 Mon Sep 17 00:00:00 2001
From: lmj <3407000732@qq.com>
Date: Mon, 24 Oct 2022 15:03:14 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=97=E6=95=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Case/collectList.vue | 8 ++++----
src/components/Qa/favoritesQaList.vue | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/components/Case/collectList.vue b/src/components/Case/collectList.vue
index 6737eee8..abe2f2ff 100644
--- a/src/components/Case/collectList.vue
+++ b/src/components/Case/collectList.vue
@@ -21,7 +21,7 @@
{{displayAll(item)}}
-
+
{{item.isAll?'收起':'展开'}}
@@ -55,8 +55,8 @@
},
methods:{
displayAll(item) {
- if (!item.isAll && item.cases.summary && item.cases.summary.length > 100) {
- return item.cases.summary.slice(0, 100) + "...";
+ if (!item.isAll && item.cases.summary && item.cases.summary.length > 150) {
+ return item.cases.summary.slice(0, 150) + "...";
}
return item.cases.summary;
},
@@ -164,7 +164,7 @@
}
.article-info-summary {
color: #333330;
- font-size: 14px;
+ font-size: 15px;
line-height: 25px;
margin-bottom: 15px;
}
diff --git a/src/components/Qa/favoritesQaList.vue b/src/components/Qa/favoritesQaList.vue
index 5b673234..e576cbb5 100644
--- a/src/components/Qa/favoritesQaList.vue
+++ b/src/components/Qa/favoritesQaList.vue
@@ -11,7 +11,7 @@
{{displayAll(item)}}
-
+
{{item.isAll?'收起':'展开'}}
@@ -63,8 +63,8 @@ export default {
},
methods: {
displayAll(item) {
- if (!item.isAll && item.question.content && item.question.content.length > 100) {
- return item.question.content.slice(0, 100) + "...";
+ if (!item.isAll && item.question.content && item.question.content.length > 150) {
+ return item.question.content.slice(0, 150) + "...";
}
return item.question.content;
},
@@ -196,7 +196,7 @@ export default {
}
.article-info-summary {
line-height: 25px;
- font-size: 14px;
+ font-size: 15px;
margin: 10px 0;
color: #333;
}