新增我的页面

This commit is contained in:
李志鹏
2025-10-21 16:40:13 +08:00
parent c9dbcc03b2
commit b18052d297
10 changed files with 260 additions and 2 deletions

View File

@@ -31,7 +31,7 @@
const navs = [
{ label: 'Home', icon: 'home', size: 73, path: '/stylist/customer', on: onHome },
{ label: 'Library', icon: 'library', size: 53, path: '/workshop/library' },
{ label: 'Profile', icon: 'profile', size: 55, path: '' }
{ label: 'Profile', icon: 'profile', size: 55, path: '/workshop/profile' }
]
const onNavClick = (nav) => {
if (currentRoute.value !== nav.path) nav.on ? nav.on(nav) : nav.path && router.push(nav.path)

View File

@@ -6,6 +6,7 @@
title: { type: String, default: 'AI STYLING ASSISTANT' },
hasSetting: { type: Boolean, default: false },
styleType: { type: String, default: '1' },//1低 2高
isPlaceholder: { type: Boolean, default: true },
})
defineEmits(['clickReturn'])
@@ -23,7 +24,7 @@
<span class="title">{{ title }}</span>
<div class="setting" v-if="hasSetting"><SvgIcon name="setting" size="44" /></div>
</div>
<div class="placeholder"></div>
<div class="placeholder" v-if="isPlaceholder"></div>
</div>
</template>