BUG 30289
This commit is contained in:
@@ -35,7 +35,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
uni.$emit("reachBottom")
|
uni.$emit("reachBottom" + this.tabIndex)
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
uni.$emit("onShow")
|
uni.$emit("onShow")
|
||||||
@@ -50,7 +50,6 @@ export default {
|
|||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.AppCreditPoints {
|
.AppCreditPoints {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
overflow-x: hidden;
|
|
||||||
background-color: #f3f6f9;
|
background-color: #f3f6f9;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ export default {
|
|||||||
uni.$on("onShow", () => {
|
uni.$on("onShow", () => {
|
||||||
this.getInfo();
|
this.getInfo();
|
||||||
})
|
})
|
||||||
uni.$on("reachBottom", () => {
|
uni.$on("reachBottom0", () => {
|
||||||
if (this.list.length < 50) {
|
if (this.list.length < 50) {
|
||||||
this.current++;
|
this.current++;
|
||||||
this.getInfo()
|
this.getInfo()
|
||||||
@@ -158,7 +158,7 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
destroyed() {
|
destroyed() {
|
||||||
uni.$off("reachBottom")
|
uni.$off("reachBottom0")
|
||||||
uni.$off("onShow")
|
uni.$off("onShow")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getInfo()
|
this.getInfo()
|
||||||
uni.$on("reachBottom", () => {
|
uni.$on("reachBottom2", () => {
|
||||||
this.current++;
|
this.current++;
|
||||||
this.getInfo()
|
this.getInfo()
|
||||||
})
|
})
|
||||||
@@ -76,7 +76,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
destroyed() {
|
destroyed() {
|
||||||
uni.$off("reachBottom")
|
uni.$off("reachBottom2")
|
||||||
uni.$off("onShow")
|
uni.$off("onShow")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ export default {
|
|||||||
uni.$on("onShow", () => {
|
uni.$on("onShow", () => {
|
||||||
this.getInfo();
|
this.getInfo();
|
||||||
})
|
})
|
||||||
uni.$on("reachBottom", () => {
|
uni.$on("reachBottom1", () => {
|
||||||
if (this.list.length < 50) {
|
if (this.list.length < 50) {
|
||||||
this.current++;
|
this.current++;
|
||||||
this.getInfo()
|
this.getInfo()
|
||||||
@@ -158,7 +158,7 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
destroyed() {
|
destroyed() {
|
||||||
uni.$off("reachBottom")
|
uni.$off("reachBottom1")
|
||||||
uni.$off("onShow")
|
uni.$off("onShow")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user