Files
dvcp_v2_wxcp_app/src/project/fd/AppAnswer/AppAnswer.vue

44 lines
714 B
Vue
Raw Normal View History

2023-01-09 17:04:27 +08:00
<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>