first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<template>
<div class="about">
{{ title }}
</div>
</template>
<script>
export default {
data () {
return {
title: '我的'
}
}
}
</script>
<style scoped>
</style>

View File

@@ -0,0 +1,37 @@
<template>
<div class="home">
{{ title }}
<van-button type="warning">警告按钮</van-button>
<v-item :data="arr.list"></v-item>
</div>
</template>
<script>
import item from "@/components/Item"
export default {
data () {
return {
title: '首页',
arr: {}
}
},
created () {
this.getHomeData()
},
methods: {
async getHomeData () {
var res = await this.$http.index.home()
this.arr = res
}
},
components: {
"v-item": item
// item
}
}
</script>
<style scoped lang='less'>
@import "~@page/home.less";
</style>