This commit is contained in:
udf_admin@163.com
2020-05-25 20:08:52 +08:00
parent 0e96fcc946
commit 5caddb40a3
2 changed files with 9 additions and 1 deletions
+5
View File
@@ -145,5 +145,10 @@
</svg>
</div>
</div>
<script language="JavaScript">
document.body.addEventListener('touchmove', function (e) {
e.preventDefault();
}, false);
</script>
</body>
</html>
+4 -1
View File
@@ -5,7 +5,7 @@
@touchend="touchEnd">
<div class="loadDiv" v-if="this.moveDistance > 0">
<div v-if="moveState === 0" class="text-center">
<i class="el-icon-arrow-down" style="font-weight: bold;font-size: 25px;color: #FF6A00;"></i>
<el-button icon="el-icon-arrow-down" circle></el-button>
</div>
<div v-if="moveState === 1" class="text-center">
<div class="spinner-grow text-success" role="status">
@@ -270,6 +270,9 @@
if (this.moveState === 0) return;
this.moveState = 0;
}
} else {
this.moveDistance = 0;
this.moveState = 0;
}
}
},