feat(distribution): 独立分销前台商城多租户体系、货源与订单数据严格隔离

This commit is contained in:
yml2213
2026-09-07 17:18:14 +08:00
parent 550b42eb22
commit ecaf15417b
34 changed files with 2397 additions and 119 deletions
+13 -4
View File
@@ -26,9 +26,11 @@ import {
} from '@element-plus/icons-vue'
import { ensureSupportChat, resolveSupportScene } from '@/features/chats/api/chats'
import { useChatUnreadCount } from '@/features/chats/composables/useChatUnreadCount'
import { useDistributionSiteStore } from '@/stores/distributionSite'
import { useSessionStore } from '@/stores/session'
const session = useSessionStore()
const siteStore = useDistributionSiteStore()
const router = useRouter()
const route = useRoute()
const { unreadCount, unreadLabel } = useChatUnreadCount(route)
@@ -139,10 +141,17 @@ async function handleSupportClick() {
<div class="pc-app-shell">
<header class="pc-topbar">
<RouterLink class="pc-brand" to="/">
<span class="pc-brand-mark">锤</span>
<span class="pc-brand-mark">{{
siteStore.isDistribution ? siteStore.siteName.slice(0, 1) : '锤'
}}</span>
<div class="pc-brand-info">
<span class="pc-brand-text">大锤商行</span>
<small class="pc-brand-sub">哈夫币租号</small>
<div class="pc-brand-title-row">
<span class="pc-brand-text">{{ siteStore.siteName }}</span>
<span v-if="siteStore.isDistribution" class="pc-brand-badge">官方分销</span>
</div>
<small class="pc-brand-sub">{{
siteStore.isDistribution ? '官方分销·平台保障' : '哈夫币租号'
}}</small>
</div>
</RouterLink>
@@ -353,7 +362,7 @@ async function handleSupportClick() {
>湘ICP备2025146668号</a
>
<span class="pc-footer-divider">|</span>
<span class="pc-footer-copyright">版权所有 ©2026 大锤网络游戏有限公司</span>
<span class="pc-footer-copyright">版权所有 ©2026 {{ siteStore.siteName }}</span>
</div>
</footer>
</div>