houzhongjian
2025-05-29 3880399bef4144fa15264f470a0a51034c0253c9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!-- 消息列表为空时,展示 prompt 列表 -->
<template>
  <div class="chat-empty">
    <!-- title -->
    <div class="center-container">
      <div class="avatar"><img src="@/assets/ai/zhuanlu/assistant.png" /></div>
      <div class="gradient-text">欢迎来到转炉煤气调度大模型</div>
    </div>
  </div>
</template>
<script setup lang="ts">
 
const emits = defineEmits(['onPrompt'])
 
</script>
<style scoped lang="scss">
.chat-empty {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  height: 100%;
  .center-container {
    margin-top: 30%;
    display: inline-block;
 
    div {
      float: left;
    }
 
    .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;
    }
  }
}
</style>