Browse Source

chatAI页面

zhujindu 6 months ago
parent
commit
44fb728994
1 changed files with 9 additions and 1 deletions
  1. 9 1
      src/views/chatAIPage/index.vue

+ 9 - 1
src/views/chatAIPage/index.vue

@@ -78,11 +78,13 @@ export default {
     padding: 10px 0;
     .tabItem {
       width: 48%;
+      height: 180px;
       float: left;
       margin-right: 4%;
       margin-bottom: 20px;
       display: flex;
       flex-direction: column;
+      justify-content: space-between;
       padding: 10px;
       color: #fff;
       border-radius: 15px;
@@ -94,12 +96,18 @@ export default {
         margin-bottom: 10px;
       }
       .message {
+        flex: 1;
         font-size: 14px;
         margin-bottom: 15px;
+        overflow: hidden;
+        text-overflow: ellipsis;
+        display: -webkit-box;
+        -webkit-box-orient: vertical;
+        -webkit-line-clamp: 3;
       }
       .icon {
         text-align: center;
-        margin-bottom: 20px;
+        margin-bottom: 15px;
       }
     }
   }