<template>
    <view class="xzcxlistIcon">
        <img  :src="carpic" alt="" class="icon">
        <view class="carname">{{carname}}</view>
    </view>
</template>

<script>
export default {
name:"xzcxlistIcon",
props:{
    carname:{
        type:String
    },
    carpic:{
        type:String
    }
}
}
</script>

<style lang="scss">
.xzcxlistIcon{
width:75upx;
height: 106upx;
.icon{
    width: 75upx;
    height: 75upx;;
}
.carname{   
    width: 75upx;
    color: #3C3A3C;
    font-size: 21upx;
    text-align: center;
    margin-top: 11upx;
}
}
</style>