Answers
在原有的PCweb 页面的head区加上
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<meta content="email=no" name="format-detection" />
其他的和写PC web没啥区别,不过要注意触摸特性和手机分辨率,浏览器差异的问题,好在不用兼容IE了
Gordius
answered 11 years, 7 months ago