This commit is contained in:
yanran200730
2023-01-09 17:04:27 +08:00
parent 1945909a29
commit 43d19a8e25

View File

@@ -0,0 +1,43 @@
<template>
<div class="AppAnswer">
</d>
</template>
<script>
import { mapState } from 'vuex'
export default {
name: 'AppAnswer',
appName: '学习问答',
data() {
return {
detail: {},
list: [],
wxLogin: 0,
current: 1,
total: 0
}
},
computed: {
...mapState(['user']),
},
methods: {
getList() {
},
handleDetail(id) {
if (!this.user.token) this.wxLogin++
else uni.navigateTo({url: './voteDetail?id=' + id})
}
},
onReachBottom () {
this.getList()
}
}
</script>
<style lang="scss" scoped>
.AppAnswer {
min-height: 100vh;
background: #fff;
}
</style>