Merge branch 'feat/kexue-ui'
This commit is contained in:
commit
68f3390e2d
|
|
@ -11,12 +11,12 @@
|
||||||
<ChevronLeft v-else :size="18" />
|
<ChevronLeft v-else :size="18" />
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<div class="conversation-info">
|
<!-- <div class="conversation-info">
|
||||||
<h1 class="title">{{ title }}</h1>
|
<h1 class="title">{{ title }}</h1>
|
||||||
<span v-if="messageCount > 0" class="message-count">
|
<span v-if="messageCount > 0" class="message-count">
|
||||||
{{ messageCount }} 条消息
|
{{ messageCount }} 条消息
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 右侧:操作按钮 -->
|
<!-- 右侧:操作按钮 -->
|
||||||
|
|
@ -89,12 +89,9 @@
|
||||||
import { ref } from "vue";
|
import { ref } from "vue";
|
||||||
import {
|
import {
|
||||||
Menu,
|
Menu,
|
||||||
Maximize2,
|
|
||||||
Minimize2,
|
|
||||||
Trash2,
|
Trash2,
|
||||||
Download,
|
Download,
|
||||||
ChevronLeft,
|
ChevronLeft,
|
||||||
MoreHorizontal,
|
|
||||||
ExternalLink,
|
ExternalLink,
|
||||||
Pin,
|
Pin,
|
||||||
Archive,
|
Archive,
|
||||||
|
|
@ -181,12 +178,12 @@ if (typeof window !== "undefined") {
|
||||||
height: 64px;
|
height: 64px;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
background: white;
|
background: white;
|
||||||
border-bottom: 1px solid #e2e8f0;
|
// border-bottom: 1px solid #e2e8f0;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|
||||||
.dark & {
|
.dark & {
|
||||||
background: #1e1e2e;
|
background: #1e1e2e;
|
||||||
border-bottom-color: #2d2d3d;
|
// border-bottom-color: #2d2d3d;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -138,12 +138,12 @@
|
||||||
<span class="file-name">{{ file.name }}</span>
|
<span class="file-name">{{ file.name }}</span>
|
||||||
<span class="file-size">{{ formatSize(file.size) }}</span>
|
<span class="file-size">{{ formatSize(file.size) }}</span>
|
||||||
</div>
|
</div>
|
||||||
<button
|
<!-- <button
|
||||||
class="download-btn"
|
class="download-btn"
|
||||||
@click="$emit('download-file', file)"
|
@click="$emit('download-file', file)"
|
||||||
>
|
>
|
||||||
<Download :size="16" />
|
<Download :size="16" />
|
||||||
</button>
|
</button> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -291,8 +291,8 @@ setCustomComponents("playground-demo", {
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-body {
|
.message-body {
|
||||||
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
|
background: #f8fafc;
|
||||||
color: white;
|
color: #1f2937;
|
||||||
border-radius: 20px 20px 4px 20px;
|
border-radius: 20px 20px 4px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue