import { RRule, RRuleSet, rrulestr } from "rrule";
import { getHomeUserSchedule1 } from "../../api/request";
import {
getFormatDate,
getCurrentMonthFirst,
getCurrentMonthLast,
throttle
} from "../../utils/utils";
import create from "dd-store";
create.Page({
mixins: [],
data: {
list: [],
allList: [],
startIndex: 0,
endIndex: 50
},
onLoad() {
let list = [];
for (let i = 0; i < 2000; i++) {
list.push({
key: i,
value: `列表${i}`
});
}
this.setData({
list: list.slice(0, 50),
allList: list
});
},
onPageScroll(e) {
console.log(e);
}
});