2025-07-15 15:16:03 +08:00
|
|
|
<template>
|
|
|
|
|
<a-layout-sider width="250" style="background: #fff">
|
|
|
|
|
<div class="logo">
|
2025-07-16 18:49:28 +08:00
|
|
|
<img :src="cozeInfo?.icon_url" class="agent-img" />
|
2025-07-15 15:16:03 +08:00
|
|
|
</div>
|
|
|
|
|
<a-menu mode="inline" theme="light">
|
|
|
|
|
<a-menu-item key="1">
|
2025-07-24 19:07:46 +08:00
|
|
|
<span>{{ cozeInfo.name }}</span>
|
2025-07-15 15:16:03 +08:00
|
|
|
<span style="color: #8492ff; font-size: 12px">{{ cozeInfo.type == 1 ? '智能体' : '对话式' }}</span>
|
2025-07-24 19:07:46 +08:00
|
|
|
<span style="float: right">{{ cozeInfo.views }}次使用 </span>
|
2025-07-15 15:16:03 +08:00
|
|
|
</a-menu-item>
|
2025-07-16 18:49:28 +08:00
|
|
|
|
2025-07-15 15:16:03 +08:00
|
|
|
</a-menu>
|
|
|
|
|
</a-layout-sider>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
|
import { defineProps } from 'vue';
|
|
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
|
|
|
cozeInfo: {
|
|
|
|
|
type: Object as () => any,
|
|
|
|
|
default: () => ({}),
|
|
|
|
|
},
|
|
|
|
|
botId: {
|
|
|
|
|
type: String,
|
|
|
|
|
default: '',
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
onMounted(() => {
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
.logo {
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
}
|
2025-07-16 18:49:28 +08:00
|
|
|
|
|
|
|
|
.agent-img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 260px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
2025-07-15 15:16:03 +08:00
|
|
|
</style>
|