From e295922209fb87c6dcd68ea1560fd16c3e6d808c Mon Sep 17 00:00:00 2001
From: dongyukun <1208714201@qq.com>
Date: 星期五, 27 六月 2025 09:36:51 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/feature/ai'

---
 src/views/ai/dashboard/components/message/MessageListEmpty.vue |   66 ++++++++++----------------------
 1 files changed, 21 insertions(+), 45 deletions(-)

diff --git a/src/views/ai/dashboard/components/message/MessageListEmpty.vue b/src/views/ai/dashboard/components/message/MessageListEmpty.vue
index 5d30a87..e746f74 100644
--- a/src/views/ai/dashboard/components/message/MessageListEmpty.vue
+++ b/src/views/ai/dashboard/components/message/MessageListEmpty.vue
@@ -3,26 +3,15 @@
   <div class="chat-empty">
     <!-- title -->
     <div class="center-container">
-      <div class="title">工业大模型 AI</div>
+      <div class="avatar"><img src="@/assets/ai/zhuanlu/assistant.png" /></div>
+      <div class="gradient-text">欢迎来到转炉煤气调度大模型</div>
     </div>
   </div>
 </template>
 <script setup lang="ts">
-const promptList = [
-  {
-    prompt: '今天气怎么样?'
-  },
-  {
-    prompt: '写一首好听的诗歌?'
-  }
-] // prompt 列表
 
 const emits = defineEmits(['onPrompt'])
 
-/** 选中 prompt 点击 */
-const handlerPromptClick = async ({ prompt }) => {
-  emits('onPrompt', prompt)
-}
 </script>
 <style scoped lang="scss">
 .chat-empty {
@@ -32,42 +21,29 @@
   justify-content: center;
   width: 100%;
   height: 100%;
-
   .center-container {
-    display: flex;
-    flex-direction: column;
-    justify-content: center;
+    margin-top: 30%;
+    display: inline-block;
 
-    .title {
-      font-size: 28px;
-      font-weight: bold;
-      text-align: center;
-      color: #8FD6FE;
+    div {
+      float: left;
     }
 
-    .role-list {
-      display: flex;
-      flex-direction: row;
-      flex-wrap: wrap;
-      align-items: center;
-      justify-content: center;
-      width: 460px;
-      margin-top: 20px;
-
-      .role-item {
-        display: flex;
-        justify-content: center;
-        width: 180px;
-        line-height: 50px;
-        border: 1px solid #e4e4e4;
-        border-radius: 10px;
-        margin: 10px;
-        cursor: pointer;
-      }
-
-      .role-item:hover {
-        background-color: rgba(243, 243, 243, 0.73);
-      }
+    .avatar {
+      background: transparent;
+      width: 50px;
+      height: 50px;
+      position: relative;
+    }
+    /* 渐变文字样式 */
+    .gradient-text {
+      font-family: Alimama ShuHeiTi, Alimama ShuHeiTi;
+      font-weight: bold;
+      font-size: 24px;
+      background: linear-gradient(0deg, #49FFD3 0%, #4585FF 100%);
+      -webkit-background-clip: text;
+      color: transparent;
+      margin: 4px 0 0 10px;
     }
   }
 }

--
Gitblit v1.9.3