deming/pageE/more/AfterSalesHelp.vue

40 lines
732 B
Vue
Raw Normal View History

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