This commit is contained in:
2020-08-03 14:34:56 +08:00
parent 7ae10c200d
commit af768bff80
11 changed files with 258 additions and 36 deletions

View File

@@ -18,12 +18,16 @@ export default {
onLoad() {
this.getPolicyList();
},
onPullDownRefresh() {
this.getPolicyList();
},
methods: {
getPolicyList () {
this.$u.api.getUseHelpList({
page: this.page,
tid: 2 // 1:使用帮助列表 2: 售后政策列表
}).then((res)=>{
uni.stopPullDownRefresh();
if (res.errCode == 0) {
this.policyList = res.data.helpList;
}