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,15 @@
<template>
<div class="about">
<h1>关于我页面</h1>
</div>
</template>
<script>
export default {
}
</script>
<style>
</style>

View File

@@ -0,0 +1,15 @@
<template>
<div class="car">
<h1>购物车</h1>
</div>
</template>
<script>
export default {
}
</script>
<style>
</style>

View File

@@ -0,0 +1,37 @@
<template>
<div class="home">
<h1>home页面</h1>
<van-button type="info">信息按钮</van-button>
<ul>
<li v-for="(v,i) in newest.data" :key="i">
{{ v.title }}
</li>
</ul>
</div>
</template>
<script>
export default {
data () {
return {
newest: {}
}
},
created () {
this.GetIndexData()
},
methods: {
async GetIndexData () {
var a = await this.$api.home.index({
id: 1
})
console.log(a.data.result.newest)
this.newest = a.data.result.newest
}
}
}
</script>
<style>
</style>

View File

@@ -0,0 +1,15 @@
<template>
<div class="info">
<h1>详情页面</h1>
</div>
</template>
<script>
export default {
}
</script>
<style>
</style>

View File

@@ -0,0 +1,15 @@
<template>
<div class="type">
<h1>分类页面</h1>
</div>
</template>
<script>
export default {
}
</script>
<style>
</style>