积分的实现

pull/1/MERGE
YunaiV 2023-08-21 23:58:13 +08:00
parent a7f96df500
commit 84e9e44b22
3 changed files with 70 additions and 96 deletions

6
api/member/point.js Normal file
View File

@ -0,0 +1,6 @@
import request from "@/utils/request.js";
// 获得用户积分记录分页
export function getPointRecordPage() {
return request.get('app-api/member/point/record/page');
}

File diff suppressed because one or more lines are too long

View File

@ -76,11 +76,11 @@
const list = res.data.list;
const loadend = list.length < this.limit;
this.signList = this.$util.SplitArray(list, this.signList);
this.$set(this,'signList',this.signList);
this.$set(this, 'signList', this.signList);
this.loadend = loadend;
this.loading = false;
this.loadtitle = loadend ? "哼😕~我也是有底线的~" : "加载更多"
}).catch(err=>{
}).catch(err => {
this.loading = false;
this.loadtitle = '加载更多';
});