2020-06-01 16:51:11 +08:00
|
|
|
<template>
|
|
|
|
<view class="mine-help">
|
2020-06-19 18:07:11 +08:00
|
|
|
<ArticleList :articleList="helpList"></ArticleList>
|
2020-06-01 16:51:11 +08:00
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
<script>
|
2020-06-04 08:21:34 +08:00
|
|
|
import ArticleList from '@/components/mine/article-list/index'
|
2020-06-01 16:51:11 +08:00
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
2020-06-19 18:07:11 +08:00
|
|
|
page: 1,
|
|
|
|
helpList: []
|
2020-06-01 16:51:11 +08:00
|
|
|
}
|
2020-06-02 15:35:19 +08:00
|
|
|
},
|
2020-06-04 08:21:34 +08:00
|
|
|
components: {
|
|
|
|
ArticleList
|
2020-06-02 15:35:19 +08:00
|
|
|
},
|
2020-06-19 18:07:11 +08:00
|
|
|
onLoad() {
|
|
|
|
this.getUseHelpList();
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
getUseHelpList() {
|
|
|
|
this.$u.api.getUseHelpList({
|
|
|
|
page: this.page,
|
|
|
|
tid: 1 // 1:使用帮助列表 2: 售后政策列表
|
|
|
|
}).then((res)=>{
|
|
|
|
if (res.errCode == 0) {
|
|
|
|
this.helpList = res.data.helpList;
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
},
|
2020-06-01 16:51:11 +08:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.mine-help {
|
2020-06-04 08:21:34 +08:00
|
|
|
min-height: calc(100vh - var(--window-top));
|
2020-06-02 11:42:13 +08:00
|
|
|
background-color: #ECECEC;
|
2020-06-01 16:51:11 +08:00
|
|
|
}
|
|
|
|
</style>
|