This commit is contained in:
曹辉 2023-03-09 10:21:09 +08:00
parent 703bec0577
commit 36eeb4a4bc

View File

@ -127,11 +127,9 @@
methods: {
// touch
start(e) { //@touchstart
console.log(e)
this.startData.pageY = e.changedTouches[0].pageY; //Y
},
end(e) { //@touchend
console.log(this.startData.pageY - this.touch.pageY)
if ((this.startData.pageY - this.touch.pageY) > 200) { //
if (this.goodsList.length >= this.total) {} else {
this.pageNum++;