feat(distribution): 完善分销站与主站业务数据及权益风控隔离,修复历史商品归属
This commit is contained in:
@@ -135,6 +135,15 @@
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.growth-card.is-distribution > div {
|
||||
background: #f0fdf4;
|
||||
border-color: rgba(167, 243, 208, 0.6);
|
||||
}
|
||||
|
||||
.growth-card.is-distribution strong {
|
||||
color: #059669;
|
||||
}
|
||||
|
||||
/* ========== Balance Card ========== */
|
||||
.balance-card {
|
||||
margin: 12px 16px 14px;
|
||||
|
||||
@@ -18,7 +18,10 @@ import { uploadFile } from '@/shared/api/files'
|
||||
import { formatCent } from '@/shared/utils/money'
|
||||
import { setPassword } from '@/features/auth/api/auth'
|
||||
|
||||
import { useDistributionSiteStore } from '@/stores/distributionSite'
|
||||
|
||||
const session = useSessionStore()
|
||||
const siteStore = useDistributionSiteStore()
|
||||
const router = useRouter()
|
||||
const route = useRoute()
|
||||
const { unreadCount: notificationUnreadCount, unreadLabel: notificationUnreadLabel } =
|
||||
@@ -353,7 +356,17 @@ function resolveAvatarURL(url: string | undefined | null) {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="growth-card">
|
||||
<section v-if="siteStore.isDistribution" class="growth-card is-distribution">
|
||||
<div>
|
||||
<span>所属商城</span>
|
||||
<strong>{{ siteStore.siteName || '专属分销商城' }}</strong>
|
||||
</div>
|
||||
<div>
|
||||
<span>会员特权</span>
|
||||
<strong>渠道直租专享</strong>
|
||||
</div>
|
||||
</section>
|
||||
<section v-else class="growth-card">
|
||||
<div>
|
||||
<span>租客成长等级</span>
|
||||
<strong>{{ session.renterGrowthLevelName }}</strong>
|
||||
|
||||
Reference in New Issue
Block a user