style(frontend): 自动格式化代码符合Prettier门禁规范

This commit is contained in:
yml2213
2026-09-09 20:01:23 +08:00
parent 423672e47b
commit 556e76942e
7 changed files with 33 additions and 45 deletions
+9 -11
View File
@@ -231,17 +231,10 @@ async function handleSupportClick() {
<span v-else class="pc-avatar-text">{{ session.avatarText }}</span>
</span>
<span class="pc-user-name">{{ session.displayName }}</span>
<span
v-if="siteStore.isDistribution"
class="pc-growth-badge is-distribution"
>
<span v-if="siteStore.isDistribution" class="pc-growth-badge is-distribution">
分销专享
</span>
<span
v-else
class="pc-growth-badge"
:class="`is-${growthBadgeTone}`"
>
<span v-else class="pc-growth-badge" :class="`is-${growthBadgeTone}`">
{{ session.renterGrowthLevelName }}
</span>
<span class="pc-realname-badge" :class="`is-${realnameBadge.tone}`">
@@ -255,7 +248,10 @@ async function handleSupportClick() {
<Transition name="dropdown">
<div v-if="showUserDropdown" class="pc-user-dropdown-container">
<div class="pc-user-dropdown">
<div v-if="siteStore.isDistribution" class="dropdown-growth-panel is-distribution">
<div
v-if="siteStore.isDistribution"
class="dropdown-growth-panel is-distribution"
>
<div>
<span>所属商城</span>
<strong>{{ siteStore.siteName || '专属分销站' }}</strong>
@@ -396,7 +392,9 @@ async function handleSupportClick() {
{{ siteStore.footerInfo.icp }}
</a>
<span v-if="siteStore.footerInfo.icp" class="pc-footer-divider">|</span>
<span class="pc-footer-copyright">{{ siteStore.footerInfo.copyright || `版权所有 ©2026 ${siteStore.siteName}` }}</span>
<span class="pc-footer-copyright">{{
siteStore.footerInfo.copyright || `版权所有 ©2026 ${siteStore.siteName}`
}}</span>
<template v-if="siteStore.footerInfo.contact">
<span class="pc-footer-divider">|</span>
<span class="pc-footer-contact">{{ siteStore.footerInfo.contact }}</span>