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 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
< / 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 ;
}
}
}
< / style >