统一 Salon 全端薄荷绿主题

This commit is contained in:
2026-10-20 17:54:09 +08:00
parent 274c6af30b
commit 527754af02
47 changed files with 419 additions and 382 deletions
@@ -1042,7 +1042,7 @@ onMounted(async () => {
border-radius: 22px;
background: var(--admin-mobile-card);
border: 1px solid var(--admin-mobile-border);
box-shadow: 0 12px 24px rgba(144, 103, 84, 0.08);
box-shadow: 0 12px 24px rgba(23, 33, 31, 0.08);
}
.drawer-shop-card__label {
@@ -255,13 +255,13 @@ onMounted(() => {
border-radius: 24px;
background: var(--admin-mobile-card);
text-align: left;
box-shadow: 0 12px 30px rgba(144, 103, 84, 0.08);
box-shadow: 0 12px 30px rgba(23, 33, 31, 0.08);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.module-card:hover {
transform: translateY(-2px);
box-shadow: 0 18px 36px rgba(144, 103, 84, 0.12);
box-shadow: 0 18px 36px rgba(23, 33, 31, 0.12);
}
.module-card.is-disabled {
@@ -344,12 +344,12 @@ onMounted(() => {
gap: 12px;
padding: 14px 16px;
border-radius: 18px;
box-shadow: 0 8px 20px rgba(144, 103, 84, 0.07);
box-shadow: 0 8px 20px rgba(23, 33, 31, 0.07);
}
.module-card:hover {
transform: none;
box-shadow: 0 8px 20px rgba(144, 103, 84, 0.07);
box-shadow: 0 8px 20px rgba(23, 33, 31, 0.07);
}
.module-card__icon {
@@ -385,25 +385,25 @@
<a-form-item label="主色" name="themePrimaryColor">
<div class="theme-color-field">
<input v-model="formState.themePrimaryColor" class="theme-color-picker" type="color" />
<a-input v-model:value="formState.themePrimaryColor" placeholder="#E8B4B8" />
<a-input v-model:value="formState.themePrimaryColor" placeholder="#247B63" />
</div>
</a-form-item>
<a-form-item label="辅色" name="themeSecondaryColor">
<div class="theme-color-field">
<input v-model="formState.themeSecondaryColor" class="theme-color-picker" type="color" />
<a-input v-model:value="formState.themeSecondaryColor" placeholder="#C5A059" />
<a-input v-model:value="formState.themeSecondaryColor" placeholder="#B8E4D4" />
</div>
</a-form-item>
<a-form-item label="中性/强调色" name="themeAccentColor">
<div class="theme-color-field">
<input v-model="formState.themeAccentColor" class="theme-color-picker" type="color" />
<a-input v-model:value="formState.themeAccentColor" placeholder="#4A443F" />
<a-input v-model:value="formState.themeAccentColor" placeholder="#17211F" />
</div>
</a-form-item>
<a-form-item label="页面背景" name="themePageBgColor">
<div class="theme-color-field">
<input v-model="formState.themePageBgColor" class="theme-color-picker" type="color" />
<a-input v-model:value="formState.themePageBgColor" placeholder="#FDFBF9" />
<a-input v-model:value="formState.themePageBgColor" placeholder="#F3F7F4" />
</div>
</a-form-item>
<a-form-item label="卡片背景" name="themeCardBgColor">
@@ -680,12 +680,12 @@ const CUSTOM_THEME_TEMPLATE_LIMIT = 20
const PRESET_THEME_TEMPLATES: ShopThemeTemplate[] = [
{
id: 'preset-luminous-elegance',
name: 'Luminous Elegance',
name: '薄荷绿清新',
source: 'preset',
themePrimaryColor: '#E8B4B8',
themeSecondaryColor: '#C5A059',
themeAccentColor: '#4A443F',
themePageBgColor: '#FDFBF9',
themePrimaryColor: '#247B63',
themeSecondaryColor: '#B8E4D4',
themeAccentColor: '#17211F',
themePageBgColor: '#F3F7F4',
themeCardBgColor: '#FFFFFF'
},
{