card.vue
580 Bytes
<template>
<div class="row" style="text-align: center">
<div class="dataModle0" v-for="row in rows">
<div class="dataModle" >
<p>{{row.name}}</p>
<h2>{{row.value}}</h2>
</div>
<div class="dataModle" >
<p>{{row.name1}}</p>
<h2>{{row.value1}}</h2>
</div>
</div>
</div>
</template>
<script>
export default {
props: {
rows: {
type: Array,
default: []
}
}
}
</script>