新增我的页面
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user