gcz преди 1 седмица
родител
ревизия
eed1933cf4
променени са 1 файла, в които са добавени 7 реда и са изтрити 1 реда
  1. 7 1
      src/pages/cases/Index.vue

+ 7 - 1
src/pages/cases/Index.vue

@@ -242,7 +242,7 @@ export default {
             id: item.id,
             classifyId: item.classifyId,
             title: item.projectName,
-            description: item.classifyDesc || '为您提供专业的解决方案',
+            description: item.projectProfile || '为您提供专业的解决方案',
             image: item.projectImage ? imgHost + item.projectImage : '/src/assets/products-youshi-01.png'
           }))
         }
@@ -547,6 +547,12 @@ export default {
         line-height: 1.6;
         text-align: center;
         transition: color 0.3s ease;
+        overflow: hidden;
+        text-overflow: ellipsis;
+        display: -webkit-box;
+        -webkit-line-clamp: 2;
+        line-clamp: 2;
+        -webkit-box-orient: vertical;
       }
     }