销售名片

This commit is contained in:
2026-03-03 21:57:18 +08:00
parent e1c132ead9
commit 89d3487c02
22 changed files with 340 additions and 111 deletions

View File

@@ -1,5 +1,5 @@
<template>
<aside class="w-[200px] h-full bg-gradient-to-b from-white to-gray-50 border-r border-gray-200 flex flex-col shadow-sm">
<aside :style="{ width: sidebarWidth + 'px', minWidth: '96px', maxWidth: '400px' }" class="h-full bg-gradient-to-b from-white to-gray-50 border-r border-gray-200 flex flex-col shadow-sm flex-shrink-0">
<!-- 返回和停止按钮 -->
<div class="m-3 mb-0 flex gap-2">
<button @click="onGoBack"
@@ -154,7 +154,8 @@ const props = defineProps({
type: Object,
default: () => ({ greetingCount: 0, inviteCount: 0 })
},
automationLogs: { type: Array, default: () => [] }
automationLogs: { type: Array, default: () => [] },
sidebarWidth: { type: Number, default: 144 }
})
const emit = defineEmits(['tabSwitch', 'goBack', 'stopAll'])