2021-05-13 10:56:04 +08:00
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<footer class="footer">
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
<div class="icon-row">
|
|
|
|
|
<div class="footer-icon">
|
|
|
|
|
<h5 class="footer-icon-child"></h5>
|
|
|
|
|
<span class="footer-icon-text">品类齐全,轻松购物</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="footer-icon">
|
|
|
|
|
<h5 class="footer-icon-child footer-icon-child-2"></h5>
|
|
|
|
|
<span class="footer-icon-text">多仓直发,极速配送</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="footer-icon">
|
|
|
|
|
<h5 class="footer-icon-child footer-icon-child-3"></h5>
|
|
|
|
|
<span class="footer-icon-text">正品行货,精致服务</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="footer-icon">
|
|
|
|
|
<h5 class="footer-icon-child footer-icon-child-4"></h5>
|
|
|
|
|
<span class="footer-icon-text">天天低价,畅选无忧</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="service-intro">
|
|
|
|
|
<div class="servece-type">
|
|
|
|
|
<div class="servece-type-info" v-for="(guide, index) in guideArr" :key="index">
|
|
|
|
|
<ul>
|
|
|
|
|
<li v-for="(item, index) in guide" :key="index" @click="goArticle">{{item}}</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="clearfix"></div>
|
2021-10-19 16:40:43 +08:00
|
|
|
|
<div class="friend-link flex">
|
2021-05-13 10:56:04 +08:00
|
|
|
|
<div class="friend-link-item">
|
|
|
|
|
<ul>
|
|
|
|
|
<li v-for="(link, index) in moreLink" :key="index" @click="goArticle">
|
|
|
|
|
<span class="link-item" :class="{'link-last-item': index === 4}">{{link}}</span>
|
|
|
|
|
</li>
|
2021-10-19 16:40:43 +08:00
|
|
|
|
|
2021-05-13 10:56:04 +08:00
|
|
|
|
</ul>
|
2021-10-19 16:40:43 +08:00
|
|
|
|
<div class="icp">
|
|
|
|
|
<li v-if="config.icpCard">
|
|
|
|
|
<a href="https://beian.miit.gov.cn/" target="_blank">
|
|
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li v-if="config.icpMessage">
|
|
|
|
|
<a href="https://beian.miit.gov.cn/" target="_blank">
|
|
|
|
|
{{config.icpMessage}}
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="information">
|
|
|
|
|
|
|
|
|
|
<a class="flex " :href="config.company.href">
|
|
|
|
|
<img class="zhizhao" src="@/assets/images/zhizhao.jpg" mode="" />{{config.company.title}}
|
|
|
|
|
</a>
|
2021-05-13 10:56:04 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
<div class="copyright">
|
2021-10-19 16:40:43 +08:00
|
|
|
|
<p>Copyright © {{year}} {{config.title}}</p>
|
2021-05-13 10:56:04 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
2021-10-19 16:40:43 +08:00
|
|
|
|
import config from '@/config'
|
2021-05-13 10:56:04 +08:00
|
|
|
|
export default {
|
2021-10-19 16:40:43 +08:00
|
|
|
|
name: "Footer",
|
|
|
|
|
data() {
|
2021-05-13 10:56:04 +08:00
|
|
|
|
return {
|
2021-10-19 16:40:43 +08:00
|
|
|
|
config,
|
|
|
|
|
guideArr: [
|
|
|
|
|
// 导航链接
|
|
|
|
|
["购物指南", "购物流程", "会员介绍", "生活旅行", "常见问题"],
|
|
|
|
|
["配送方式", "上门自提", "配送服务查询", "收取标准", "物流规则"],
|
|
|
|
|
["支付方式", "在线支付", "公司转账", "余额支付", "积分支付"],
|
|
|
|
|
["售后服务", "售后政策", "退款说明", "返修/退货", "取消订单"],
|
2021-05-13 10:56:04 +08:00
|
|
|
|
],
|
2021-10-19 16:40:43 +08:00
|
|
|
|
moreLink: ["关于我们", "联系我们", "联系客服", "商家帮助", "隐私政策"], // 更多链接
|
|
|
|
|
year: new Date().getFullYear(), // 当前年份
|
2021-05-13 10:56:04 +08:00
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
2021-10-19 16:40:43 +08:00
|
|
|
|
goArticle() {
|
|
|
|
|
// 跳转文章页
|
2021-05-13 10:56:04 +08:00
|
|
|
|
let routeUrl = this.$router.resolve({
|
2021-10-19 16:40:43 +08:00
|
|
|
|
path: "/article",
|
|
|
|
|
});
|
|
|
|
|
window.open(routeUrl.href, "_blank");
|
|
|
|
|
},
|
|
|
|
|
},
|
2021-05-13 10:56:04 +08:00
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
/*****************************底 部 开 始*****************************/
|
|
|
|
|
.footer {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding-top: 30px;
|
|
|
|
|
|
|
|
|
|
@include background_color($light_background_color);
|
|
|
|
|
}
|
|
|
|
|
.icon-row {
|
|
|
|
|
margin: 15px auto;
|
|
|
|
|
padding-top: 8px;
|
|
|
|
|
width: 1000px;
|
|
|
|
|
height: 64px;
|
|
|
|
|
}
|
|
|
|
|
.footer-icon {
|
|
|
|
|
margin-left: 17px;
|
|
|
|
|
margin-right: 17px;
|
|
|
|
|
float: left;
|
|
|
|
|
}
|
|
|
|
|
.footer-icon-child {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 36px;
|
|
|
|
|
height: 42px;
|
|
|
|
|
background-image: url("../../assets/images/footer/ico_service.png");
|
|
|
|
|
text-indent: -999px;
|
|
|
|
|
}
|
|
|
|
|
.footer-icon-child-2 {
|
|
|
|
|
background-position: 0 -43px;
|
|
|
|
|
}
|
|
|
|
|
.footer-icon-child-3 {
|
|
|
|
|
background-position: 0 -86px;
|
|
|
|
|
}
|
|
|
|
|
.footer-icon-child-4 {
|
|
|
|
|
background-position: 0 -129px;
|
|
|
|
|
}
|
2021-10-19 16:40:43 +08:00
|
|
|
|
.icp {
|
|
|
|
|
>*{
|
|
|
|
|
margin: 0 4px;
|
|
|
|
|
}
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
.flex{
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
>img{
|
|
|
|
|
margin-right: 4px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.footer-icon-text {
|
2021-05-13 10:56:04 +08:00
|
|
|
|
margin-left: 45px;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
line-height: 64px;
|
|
|
|
|
}
|
|
|
|
|
.service-intro {
|
|
|
|
|
width: 100%;
|
|
|
|
|
border-top: 1px solid $border_color;
|
|
|
|
|
}
|
|
|
|
|
.servece-type {
|
|
|
|
|
margin: 15px auto;
|
|
|
|
|
width: 800px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.servece-type-info ul {
|
|
|
|
|
list-style: none;
|
|
|
|
|
}
|
|
|
|
|
.servece-type-info li {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
line-height: 26px;
|
|
|
|
|
}
|
|
|
|
|
.servece-type-info li:first-child {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
line-height: 28px;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.friend-link {
|
|
|
|
|
display: flex;
|
2021-10-19 16:40:43 +08:00
|
|
|
|
align-items: flex-start;
|
|
|
|
|
justify-content: space-between;
|
2021-05-13 10:56:04 +08:00
|
|
|
|
width: 908px;
|
2021-10-19 16:40:43 +08:00
|
|
|
|
padding: 10px 0;
|
2021-05-13 10:56:04 +08:00
|
|
|
|
margin: 0px auto;
|
|
|
|
|
border-top: 1px solid $border_color;
|
|
|
|
|
}
|
2021-10-19 16:40:43 +08:00
|
|
|
|
.information {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
> * {
|
|
|
|
|
margin: 2px 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.zhizhao {
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
border-radius: 50%;
|
2021-05-13 10:56:04 +08:00
|
|
|
|
}
|
|
|
|
|
.friend-link-item ul {
|
|
|
|
|
list-style: none;
|
|
|
|
|
}
|
|
|
|
|
.friend-link-item li {
|
|
|
|
|
padding: 5px 0px;
|
|
|
|
|
float: left;
|
|
|
|
|
}
|
|
|
|
|
.link-item {
|
|
|
|
|
padding: 0px 8px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
border-right: 1px solid $border_color;
|
|
|
|
|
}
|
|
|
|
|
.link-last-item {
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
|
|
|
|
.copyright {
|
|
|
|
|
width: 100%;
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
2021-10-19 16:40:43 +08:00
|
|
|
|
.copyright a {
|
2021-05-13 10:56:04 +08:00
|
|
|
|
color: #232323;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
}
|
2021-10-19 16:40:43 +08:00
|
|
|
|
.footer-icon-text {
|
|
|
|
|
@include title_color($light_title_color);
|
2021-05-13 10:56:04 +08:00
|
|
|
|
}
|
2021-10-19 16:40:43 +08:00
|
|
|
|
.copyright,
|
|
|
|
|
.friend-link,
|
|
|
|
|
.servece-type-info {
|
|
|
|
|
@include sub_color($light_sub_color);
|
2021-05-13 10:56:04 +08:00
|
|
|
|
}
|
|
|
|
|
/*****************************底 部 结 束*****************************/
|
|
|
|
|
</style>
|