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,45 @@
<template lang="pug">
.TV
TvList(:list-data="list" :is-show="false" @change="EnterInfo")
</template>
<script>
import TvList from "@/components/TvList"
export default {
name: "Tv",
components: {
TvList
},
data() {
return {
list: [],
params: {
page: 1,
count: 15
}
}
},
async created() {
await this.GetTvList()
},
methods: {
EnterInfo(index) {
this.$router.push({
path: '/TvInfo',
query: {
id: index
}
})
},
async GetTvList() {
let res = await this.$http.TvService.TvList(this.params);
this.list = res;
console.log(res)
}
}
}
</script>
<style scoped>
</style>