You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
< template >
< div class = "layout-footer" >
< div class = "layout-footer-wrap" >
< div class = "layout-footer-wrap__promise flex flex-middle flex-between" >
< div
v-for ="(item, index) in promiseList"
:key="index"
class="wrap-promise-item flex flex-middle"
>
<img :src="item.icon" />
<div class="wrap-promise-item__info">
<strong>{{ item.label }}</strong>
<p class="promise-item-info__desc">{{ item.desc }}</p>
</div>
</div>
</div>
<div class="layout-footer-wrap__line"></div>
<div class="layout-footer-wrap__address">
© 2020 马士兵(北京)教育科技有限公司
地址: 北京市海淀区北三环中路44号4号楼1层114 京ICP备17012835号-1
<a href="https://oss-cdn.mashibing.com/teacher_attachment/user_00020172/yyzz.jpg" target="_blank">营业页执照</a>
<a href="https://oss-cdn.mashibing.com/default/cbwxkz.jpg" target="_blank" > 出 版 物 经 营 许 可 证 : 新 出 发 京 零 字 第 海 210140 号 < / a >
< / div >
< / div >
< / div >
< / template >
< script >
export default {
name : "LayoutFooter" ,
data ( ) {
return {
promiseList : [
{
label : "马士兵严选" ,
desc : "甄选优品" ,
icon : require ( "~/assets/img/layout/footer-1.png" ) ,
} ,
{
label : "100%正品" ,
desc : "正品保障" ,
icon : require ( "~/assets/img/layout/footer-2.png" ) ,
} ,
{
label : "365天质保" ,
desc : "品质护航 购物无忧" ,
icon : require ( "~/assets/img/layout/footer-3.png" ) ,
} ,
{
label : "售后无忧" ,
desc : "无忧退货" ,
icon : require ( "~/assets/img/layout/footer-4.png" ) ,
} ,
] ,
} ;
} ,
} ;
< / script >
< style lang = "scss" scoped >
. layout - footer {
background : # eeeeee ;
. layout - footer - wrap {
@ include layout - box ;
. layout - footer - wrap _ _promise {
padding : 42 px 72 px ;
. wrap - promise - item {
img {
width : 48 px ;
height : 48 px ;
margin - right : 20 px ;
}
. wrap - promise - item _ _info {
color : # 999999 ;
font - size : 18 px ;
. promise - item - info _ _desc {
margin - top : 6 px ;
font - size : 14 px ;
}
}
}
}
. layout - footer - wrap _ _line {
width : 100 % ;
height : 1 px ;
background : # cccccc ;
}
. layout - footer - wrap _ _address {
width : 496 px ;
margin : 0 auto ;
padding : 20 px 0 ;
font - size : 12 px ;
color : # 999999 ;
text - align : center ;
line - height : 20 px ;
a {
color : # 999 ;
}
}
}
}
< / style >