<template>
  <view class="proyearcarinfo">
      <view>
           <img :src="carpic" class="icon"/>
           <text class="carname">{{carname}}</text>
      </view>
     
  </view>
</template>
<script>
export default {
  name: "proyearCarinfo",
  props:{
    carname:{
      type:String
    },
    carpic:{
      type:String
    }
  }
};
</script>
<style lang="scss" scoped>
.proyearcarinfo {
  height: 90upx;
  width: 100vm;
  background-color: #df3348;
  display:flex;
  flex-direction: column;
  justify-content: center;
  .icon{
      width: 85upx;
      height: 41upx;
      margin-left: 17upx;
  }
  .carname{
      color: white;
      font-size: 26upx;
  }
}
</style>