currentVideo

This commit is contained in:
2024-06-25 17:07:59 +08:00
parent f8081fbec2
commit 6d0addb743
72 changed files with 11772 additions and 7898 deletions

View File

@@ -682,6 +682,9 @@ export default {
pjType: "",
};
},
onUnload(){
uni.getStorageSync("orderStatus",0)
},
onPullDownRefresh() {
console.log("下拉刷新了");
uni.stopPullDownRefresh();
@@ -717,6 +720,9 @@ export default {
// });
},
async onShow() {
console.log('onshow at line 723:', '先走onshow')
var status=uni.getStorageSync("orderStatus");
this.newList = [];
this.pagination = {
page: 1, //页码
@@ -724,19 +730,22 @@ export default {
total: 0, //总条数
};
this.$nextTick(async () => {
await this.ordersTabCLi(this.ordersTabs[0], 0);
await this.ordersTabCLi(this.ordersTabs[status], status);
});
},
async onTabItemTap() {
console.log('onshow at line 724:', 'onTabItemTap')
uni.setStorageSync("orderStatus", 0);
var status=uni.getStorageSync("orderStatus");
this.newList = [];
this.pagination = {
page: 1, //页码
limit: 20, //每页显示
total: 0, //总条数
};
// this.$nextTick(async () => {
// await this.ordersTabCLi(this.ordersTabs[0], 0);
// });
this.$nextTick(async () => {
await this.ordersTabCLi(this.ordersTabs[status], status);
});
},
onReady() {},
computed: {