|
@@ -55,8 +55,7 @@ const isShowOperationTip = ref(true)
|
|
const touchEnd = (event) => {
|
|
const touchEnd = (event) => {
|
|
let currentY = event.changedTouches[0].pageY
|
|
let currentY = event.changedTouches[0].pageY
|
|
let ty = currentY - lastY.value
|
|
let ty = currentY - lastY.value
|
|
- if (ty > 0 && curPageIndex.value == 1) {
|
|
|
|
- console.log("向下")
|
|
|
|
|
|
+ if (ty > 0 && curPageIndex.value == 1 && !isShowHotspotDetail1.value && !isShowHotspotDetail3.value && !isShowPaintingDesc.value && ! isShowAuthorDesc.value) {
|
|
isShowOperationTip.value = true
|
|
isShowOperationTip.value = true
|
|
curPageIndex.value = 0
|
|
curPageIndex.value = 0
|
|
} else if (ty < 0 && curPageIndex.value == 0) {
|
|
} else if (ty < 0 && curPageIndex.value == 0) {
|