热门景点
export default { name: 'HomeIcons' } @import '~styles/varibles.styl'; .icons height :0 padding-bottom :50% overflow : hidden background :gray .icon position: relative float: left width : 25% padding-bottom :25% overflow: hidden height :0 .icon-img position :absolute top: 0 left: 0 right: 0 bottom : .44rem box-sizing :border-box padding : .1rem .icon-img-content display :block height : 100% margin : 0 auto /*margin:5px 15px */ .icon-desc position : absolute left:0 right :0 bottom:0 height :.44rem line-height : .44rem color : $darkTextColor; text-align :center