This commit is contained in:
李志鹏
2025-10-16 17:05:40 +08:00
parent 77f9f21a3d
commit c560cb56e6
2 changed files with 27 additions and 16 deletions

View File

@@ -27,7 +27,7 @@
.catch(() => {}) .catch(() => {})
} }
const navs = [ const navs = [
{ label: 'Home', icon: 'home', size: 73, path: '/welcome', on: onHome }, { label: 'Home', icon: 'home', size: 73, path: '/stylist/customer', on: onHome },
{ label: 'Library', icon: 'library', size: 53, path: '/workshop/library' }, { label: 'Library', icon: 'library', size: 53, path: '/workshop/library' },
{ label: 'Profile', icon: 'profile', size: 55, path: '' } { label: 'Profile', icon: 'profile', size: 55, path: '' }
] ]

View File

@@ -16,7 +16,6 @@
console.log('发送消息:', text) console.log('发送消息:', text)
} }
const onLove = () => { const onLove = () => {
console.log('love')
isLoved.value = !isLoved.value isLoved.value = !isLoved.value
} }
const onReload = () => { const onReload = () => {
@@ -25,6 +24,9 @@
const onDownload = () => { const onDownload = () => {
console.log('download') console.log('download')
} }
const onRetry = () => {
router.back()
}
const onContinue = () => { const onContinue = () => {
router.push({ name: 'creation' }) router.push({ name: 'creation' })
} }
@@ -58,7 +60,10 @@
<div @click="onDownload"><SvgIcon name="download" size="35" /></div> <div @click="onDownload"><SvgIcon name="download" size="35" /></div>
</div> </div>
</div> </div>
<button class="continue-btn" @click="onContinue">Continue</button> <div class="btns">
<button @click="onRetry">Re-try?</button>
<button @click="onContinue">Continue</button>
</div>
</div> </div>
<footer-navigation /> <footer-navigation />
</template> </template>
@@ -175,19 +180,25 @@
} }
} }
} }
> .continue-btn { > .btns {
box-sizing: content-box; margin-top: 2.5rem;
font-family: satoshiRegular; width: 100%;
margin: 2.5rem 2.5rem 0 auto; display: flex;
width: 35rem; justify-content: center;
height: 7rem; > button {
border-radius: 1.3rem; box-sizing: content-box;
background: #000; font-family: satoshiRegular;
font-weight: 400; margin: 0 2rem;
font-size: 4.2rem; width: 35rem;
color: #fff; height: 6rem;
&:active { border-radius: 1.3rem;
opacity: 0.7; background: #000;
font-weight: 400;
font-size: 3.6rem;
color: #fff;
&:active {
opacity: 0.7;
}
} }
} }
} }