RankContent.vue
656 Bytes
<template>
<div class='rank'>
<VehicleType :showType='showType'></VehicleType>
<ProductRank :showType='showType'></ProductRank>
</div>
</template>
<script>
import VehicleType from 'views/equity/components/VehicleType'
import ProductRank from 'views/equity/components/ProductRank'
export default {
name: 'RankContent',
props: {
showType: {
type: String,
default: ''
}
},
components: { ProductRank, VehicleType },
methods: {
}
}
</script>
<style lang='scss' scoped>
.rank {
margin: 2vh 0 3vh;
width: 100%;
height: 15vh;
display: flex;
align-items: center;
justify-content: space-around;
}
</style>