完善我的页面

This commit is contained in:
陈淳
2022-10-09 13:30:42 +08:00
parent c7d64554ad
commit cf37f7c950
8 changed files with 1517 additions and 22 deletions

View File

@@ -0,0 +1,31 @@
<template>
<van-row>
<van-col span="24">
<p > {{data.head}}</p>
</van-col>
<van-col class="col-body" span="6" v-for="item in data.body"><van-icon name="chat-o" size="2rem" /> <br>{{item.title}}</van-col>
</van-row>
</template>
<script setup lang="ts">
import { ref } from 'vue'
import {AppGridData} from '@/type/class/AppGridData.ts'
defineProps<{ data: AppGridData }>()
const count = ref(0)
</script>
<style scoped>
.col-body
{
text-align: center;
}
.col-body .van-icon
{
margin-bottom: 0.6rem;
}
p{
font-size: large;
font-weight: 545;
}
</style>