zoukankan      html  css  js  c++  java
  • vue在移动端显示禁用放大缩小

     在public 的index.html的head标签内添加以下代码即可
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=0,minimal-ui">
        <meta name="browsermode" content="application">
        <meta name="screen-orientation" content="portrait">
        <meta name="full-screen" content="yes">
        <meta name="wap-font-scale" content="no">
        <meta name="nightmode" content="disable">
        <meta name="imagemode" content="force">
        <meta name="x5-page-mode" content="app">
        <meta name="x5-orientation" content="portrait">
        <meta name="x5-fullscreen" content="true">
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
  • 相关阅读:
    python3 pyinstaller
    python3 random
    python3 turtle
    产生一个序列的所有排列组合
    蒙特卡洛算法
    lightoj 1014
    UVA11426
    nginx 配置本地https(免费证书)
    ElementUI
    Airbnb 代码规范
  • 原文地址:https://www.cnblogs.com/shink/p/11068373.html
Copyright © 2011-2022 走看看