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;
}