首页 > 代码库 > 自动适应手机Iphone5、Iphone7 plus屏幕

自动适应手机Iphone5、Iphone7 plus屏幕

    
<!DOCTYPE html>
<html>
 <head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui" />
  <meta name="apple-touch-fullscreen" content="yes" />
  <link rel="apple-touch-icon" href="favicon.ico" />
  <meta name="format-detection" content="telephone=no" />
  <meta name="format-detection" content="email=no" />
  <meta name="renderer" content="webkit" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="HandheldFriendly" content="true" />
  <meta name="MobileOptimized" content="320" />
  <meta name="screen-orientation" content="portrait" />
  <meta name="x5-orientation" content="portrait" />
  <meta name="full-screen" content="yes" />
  <meta name="x5-fullscreen" content="true" />
  <meta name="browsermode" content="application" />
  <meta name="x5-page-mode" content="app" />
  <meta name="msapplication-tap-highlight" content="no" />
  <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
    <title>WEIXIN</title> 
<style> 
body{ text-align:center} 
.pageCnt{ margin:auto auto; width:277px;  border:0px solid red;} 
</style>    
    </head> 
    <body> 
                <div class="pageCnt"><h1><a href="javascript:history.go(-1);">返回</a></h1></div>
                <br>
                <div class="pageCnt"><font color="#FF0000" size="3"> 1:截图二维码保存相册</font><br /> <font color="#FF0000" size="3">2:打开微信扫一扫 选择    <br />   相册中保存的二维码图片</font><br />             <div class="pageCnt"><img width="277" height="277" src="qr/qr.php?url=wxp%253A%252F%252Ff2f0-eCoXaDnkWpem0uo-CBe3I8yyNjzBuIC" /></div> <br>
            <div class="pageCnt"><h4>充值编号:2034-1498930119</h4></div>
            <br>
                <div  class="pageCnt">
                <img src="https://static.heepay.com/Pay/V1/Images/AliPay/alipay_smsyt.png" width="277px">
            </div>
        </div>
    </body> 
    </html> 

 

自动适应手机Iphone5、Iphone7 plus屏幕