update
This commit is contained in:
parent
052efdb81a
commit
71b066b264
@ -73,6 +73,14 @@ export default {
|
|||||||
beeLogo,
|
beeLogo,
|
||||||
textLogo
|
textLogo
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
// 在组件挂载时设置页面标题
|
||||||
|
document.title = '代取快递服务流程'
|
||||||
|
},
|
||||||
|
beforeUnmount() {
|
||||||
|
// 在组件卸载前恢复默认标题
|
||||||
|
document.title = '蜂快到家'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@ -92,7 +100,7 @@ export default {
|
|||||||
|
|
||||||
.steps-card {
|
.steps-card {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 500px;
|
max-width: 85%;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
||||||
@ -112,14 +120,14 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.step-item {
|
.step-item {
|
||||||
padding: 12px 0;
|
padding: 18px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-number {
|
.step-number {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #FFCC00;
|
color: #FFCC00;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 12px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -136,7 +144,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.step-arrow {
|
.step-arrow {
|
||||||
margin: 0 10px;
|
margin: 0 12px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
color: #FFCC00;
|
color: #FFCC00;
|
||||||
}
|
}
|
||||||
@ -156,7 +164,9 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 30px;
|
margin-top: 35px;
|
||||||
|
width: 85%;
|
||||||
|
max-width: 85%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-bee {
|
.logo-bee {
|
||||||
@ -172,18 +182,27 @@ export default {
|
|||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page-title {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 480px) {
|
@media (max-width: 480px) {
|
||||||
.steps-card {
|
.steps-card {
|
||||||
clip-path: none;
|
clip-path: none;
|
||||||
|
max-width: 90%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-container {
|
||||||
|
max-width: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-item {
|
.step-item {
|
||||||
padding: 10px 0;
|
padding: 14px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-number {
|
.step-number {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-title {
|
.step-title {
|
||||||
@ -212,15 +231,16 @@ export default {
|
|||||||
@media (max-height: 640px) {
|
@media (max-height: 640px) {
|
||||||
.steps-card {
|
.steps-card {
|
||||||
clip-path: none;
|
clip-path: none;
|
||||||
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-item {
|
.step-item {
|
||||||
padding: 8px 0;
|
padding: 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-number {
|
.step-number {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-title {
|
.step-title {
|
||||||
@ -237,7 +257,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.logo-container {
|
.logo-container {
|
||||||
margin-top: 20px;
|
margin-top: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-bee {
|
.logo-bee {
|
||||||
@ -254,6 +274,7 @@ export default {
|
|||||||
@media (max-height: 568px) {
|
@media (max-height: 568px) {
|
||||||
.steps-card {
|
.steps-card {
|
||||||
clip-path: none;
|
clip-path: none;
|
||||||
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-bee {
|
.logo-bee {
|
||||||
@ -267,12 +288,12 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.step-item {
|
.step-item {
|
||||||
padding: 6px 0;
|
padding: 8px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-number {
|
.step-number {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-title {
|
.step-title {
|
||||||
@ -289,7 +310,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.logo-container {
|
.logo-container {
|
||||||
margin-top: 15px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -32,7 +32,10 @@ const routes = [
|
|||||||
{
|
{
|
||||||
path: '/how-to-use',
|
path: '/how-to-use',
|
||||||
name: 'HowToUse',
|
name: 'HowToUse',
|
||||||
component: HowToUse
|
component: HowToUse,
|
||||||
|
meta: {
|
||||||
|
title: '代取快递服务流程'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -41,4 +44,14 @@ const router = createRouter({
|
|||||||
routes
|
routes
|
||||||
})
|
})
|
||||||
|
|
||||||
|
router.beforeEach((to, from, next) => {
|
||||||
|
document.title = '蜂快到家'
|
||||||
|
|
||||||
|
if (to.meta.title) {
|
||||||
|
document.title = to.meta.title
|
||||||
|
}
|
||||||
|
|
||||||
|
next()
|
||||||
|
})
|
||||||
|
|
||||||
export default router
|
export default router
|
||||||
Loading…
Reference in New Issue
Block a user