feat(distribution): 独立分销前台商城多租户体系、货源与订单数据严格隔离
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user