销售名片

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

@@ -3,7 +3,8 @@
<!-- 侧边栏 -->
<Sidebar :tabs="tabs" :current-tab="currentTab" @tab-switch="handleTabSwitch" @go-back="handleGoToConfig"
@stop-all="handleStopAll" :is-loading="isLoading" :account-groups="accountGroups"
:rotation-status="rotationStatus" :greeting-stats="greetingStats" :automation-logs="automationLogs" />
:rotation-status="rotationStatus" :greeting-stats="greetingStats" :automation-logs="automationLogs"
:sidebar-width="navSidebarWidth" />
<!-- 内容区域 -->
<main class="flex-1 flex flex-col relative">
@@ -64,7 +65,7 @@ import ViewPlaceholder from '@/components/ViewPlaceholder.vue'
// Wait, in App.vue these were local state. I needs to move the logic here or keep it in App.vue and pass via props.
// To keep valid functionality, I will copy the logic 1:1 here.
const props = defineProps(['accountGroups', 'rotationStatus', 'greetingStats', 'automationLogs'])
const props = defineProps(['accountGroups', 'rotationStatus', 'greetingStats', 'automationLogs', 'navSidebarWidth'])
const emit = defineEmits(['go-back', 'stop-all', 'request-config-load'])
// Constants