在index.html里面写

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">

ios中还要添加:

<script>
window.onload = function() {
document.addEventListener('touchstart', function(event) {
if (event.touches.length > 1) {
event.preventDefault()
}
})
document.addEventListener('gesturestart', function(event) {
event.preventDefault()
})
}
</script>

最新文章

  1. django(3) 一对多跨表查询、ajax、多对多
  2. 解决:Error: JAVA_HOME is not defined correctly
  3. AJAX总结
  4. ldap实现用户认证
  5. mysql安装tcmalloc
  6. createObjectURL方法 实现本地图片预览
  7. 与众不同 windows phone (11) - Background Task(后台任务)之警报(Alarm)和提醒(Reminder)
  8. Redis集群之优化系统参数
  9. 获得32位UUID字符串和指定数目的UUID
  10. OutOfMemoryError 到底能不能被捕获?
  11. Windows代替touch命令
  12. Python os.removedirs() 和shutil.rmtree() 用于删除文件夹
  13. JVM总结-反射
  14. Spring 属性注入(三)AbstractNestablePropertyAccessor
  15. POJ 2965&amp;&amp;1753
  16. Python基本语法_强制数据类型转换
  17. 洛谷2530(codevs2098)化工厂装箱员
  18. 如何将int整型转换成String字符串类型
  19. 疯狂JAVA——第五章 面向对象(上)
  20. GIS-009-Cesium 使用

热门文章

  1. idea 2019.3 最新版破解教程
  2. JavaWeb系统(增删改查、多条件查询功能)
  3. P1559 运动员最佳匹配问题 by hyl 天梦
  4. 「扫盲」Elasticsearch
  5. 一张图快速上手Xmind思维导图
  6. SqlServer分页存储过程(多表查询,多条件排序),Repeater控件呈现数据以及分页
  7. java中implements和extends的区别
  8. 第二次作业hzw
  9. SpringBoot项目的parent依赖和配置文件*.properties、*.yml详解
  10. React的环境搭建以及脚手架的安装