304 lines
5.4 KiB
Vue
304 lines
5.4 KiB
Vue
<template>
|
||
<div class="how-to-use-container">
|
||
<div class="steps-card">
|
||
<div class="step-item" style="margin-top: 20px;">
|
||
<div class="step-number">第一步</div>
|
||
<div class="step-content">
|
||
<div class="step-title">选择开通小区</div>
|
||
<div class="step-arrow">→</div>
|
||
<div class="step-description">小区未开通可申请</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="step-divider"></div>
|
||
|
||
<div class="step-item">
|
||
<div class="step-number">第二步</div>
|
||
<div class="step-content">
|
||
<div class="step-title">选择送达地址</div>
|
||
<div class="step-arrow">→</div>
|
||
<div class="step-description">填写收货地址使用</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="step-divider"></div>
|
||
|
||
<div class="step-item">
|
||
<div class="step-number">第三步</div>
|
||
<div class="step-content">
|
||
<div class="step-title">选择取件驿站</div>
|
||
<div class="step-arrow">→</div>
|
||
<div class="step-description">输入取件码下单</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="step-divider"></div>
|
||
|
||
<div class="step-item">
|
||
<div class="step-number">第四步</div>
|
||
<div class="step-content">
|
||
<div class="step-title">成功下单</div>
|
||
<div class="step-arrow">→</div>
|
||
<div class="step-description">订单详情查看配送状态</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="step-divider"></div>
|
||
|
||
<div class="step-item">
|
||
<div class="step-number">第五步</div>
|
||
<div class="step-content">
|
||
<div class="step-title">快递到家</div>
|
||
<div class="step-arrow">→</div>
|
||
<div class="step-description">领取包裹,先享后付费</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="logo-container">
|
||
<img :src="beeLogo" alt="蜂快到家" class="logo-bee">
|
||
<img :src="textLogo" alt="蜂快到家" class="logo-text">
|
||
</div>
|
||
</div>
|
||
</template>
|
||
|
||
<script>
|
||
import beeLogo from '../assets/images/logo_bee@3x.png'
|
||
import textLogo from '../assets/images/logo_text@3x.png'
|
||
|
||
export default {
|
||
name: 'HowToUse',
|
||
data() {
|
||
return {
|
||
beeLogo,
|
||
textLogo
|
||
}
|
||
},
|
||
mounted() {
|
||
// 在组件挂载时设置页面标题
|
||
document.title = '快递服务流程'
|
||
},
|
||
beforeUnmount() {
|
||
// 在组件卸载前恢复默认标题
|
||
document.title = '蜂快到家'
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style scoped>
|
||
.how-to-use-container {
|
||
min-height: 100vh;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: flex-start;
|
||
background: linear-gradient(0deg, #ffffff 60%, #FFCC00);
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.steps-card {
|
||
width: 100%;
|
||
background-image: url('../assets/images/howtouse_background@3x.png');
|
||
background-position: center;
|
||
background-size: contain;
|
||
background-repeat: no-repeat;
|
||
margin-top: 15px;
|
||
height: 580px;
|
||
position: relative;
|
||
z-index: 1;
|
||
}
|
||
|
||
.card-bottom-cutout {
|
||
display: none;
|
||
}
|
||
|
||
.steps-card:after {
|
||
display: none;
|
||
}
|
||
|
||
.step-item {
|
||
padding: 18px 0;
|
||
}
|
||
|
||
.step-number {
|
||
font-size: 20px;
|
||
font-weight: bold;
|
||
color: #FFCC00;
|
||
margin-bottom: 12px;
|
||
text-align: center;
|
||
}
|
||
|
||
.step-content {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.step-title {
|
||
font-size: 16px;
|
||
font-weight: bold;
|
||
color: #333333;
|
||
}
|
||
|
||
.step-arrow {
|
||
margin: 0 12px;
|
||
font-size: 18px;
|
||
color: #333333;
|
||
}
|
||
|
||
.step-description {
|
||
font-size: 16px;
|
||
color: #999999;
|
||
}
|
||
|
||
.step-divider {
|
||
height: 1px;
|
||
background: linear-gradient(to right, transparent, #EEEEEE, transparent);
|
||
margin: 0 15px;
|
||
}
|
||
|
||
.logo-container {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
margin-top: 15px;
|
||
width: 85%;
|
||
max-width: 85%;
|
||
}
|
||
|
||
.logo-bee {
|
||
width: 35px;
|
||
height: 35px;
|
||
margin-bottom: 5px;
|
||
object-fit: contain;
|
||
}
|
||
|
||
.logo-text {
|
||
width: 85px;
|
||
height: auto;
|
||
object-fit: contain;
|
||
}
|
||
|
||
.page-title {
|
||
display: none;
|
||
}
|
||
|
||
@media (max-width: 480px) {
|
||
.steps-card {
|
||
clip-path: none;
|
||
}
|
||
|
||
.logo-container {
|
||
max-width: 90%;
|
||
}
|
||
|
||
.step-item {
|
||
padding: 14px 0;
|
||
}
|
||
|
||
.step-number {
|
||
margin-bottom: 10px;
|
||
}
|
||
|
||
.step-arrow {
|
||
margin: 0 8px;
|
||
font-size: 16px;
|
||
}
|
||
|
||
.logo-bee {
|
||
width: 30px;
|
||
height: 30px;
|
||
}
|
||
|
||
.logo-text {
|
||
width: 70px;
|
||
}
|
||
}
|
||
|
||
@media (max-height: 640px) {
|
||
.steps-card {
|
||
clip-path: none;
|
||
margin-top: 15px;
|
||
}
|
||
|
||
.step-item {
|
||
padding: 10px 0;
|
||
}
|
||
|
||
.step-number {
|
||
font-size: 16px;
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
.step-title {
|
||
font-size: 14px;
|
||
}
|
||
|
||
.step-arrow {
|
||
margin: 0 5px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.step-description {
|
||
font-size: 12px;
|
||
}
|
||
|
||
.logo-container {
|
||
margin-top: 25px;
|
||
}
|
||
|
||
.logo-bee {
|
||
width: 25px;
|
||
height: 25px;
|
||
margin-bottom: 3px;
|
||
}
|
||
|
||
.logo-text {
|
||
width: 60px;
|
||
}
|
||
}
|
||
|
||
@media (max-height: 568px) {
|
||
.steps-card {
|
||
clip-path: none;
|
||
margin-top: 10px;
|
||
}
|
||
|
||
.logo-bee {
|
||
width: 22px;
|
||
height: 22px;
|
||
margin-bottom: 2px;
|
||
}
|
||
|
||
.logo-text {
|
||
width: 50px;
|
||
}
|
||
|
||
.step-item {
|
||
padding: 8px 0;
|
||
}
|
||
|
||
.step-number {
|
||
font-size: 15px;
|
||
margin-bottom: 6px;
|
||
}
|
||
|
||
.step-title {
|
||
font-size: 13px;
|
||
}
|
||
|
||
.step-arrow {
|
||
margin: 0 4px;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.step-description {
|
||
font-size: 11px;
|
||
}
|
||
|
||
.logo-container {
|
||
margin-top: 20px;
|
||
}
|
||
}
|
||
</style> |