移动端自适应

var baseWidth=414,scale=screen.width/baseWidth,viewport='<meta name="viewport" content="width='+baseWidth+", initial-scale="+scale+", maximum-scale="+scale+", minimum-scale="+scale+', user-scalable=no, target-densitydpi=device-dpi, minimal-ui" >';document.write(viewport);var ncData=[];

posted @ 2018-09-17 15:23  小菜与小鸟  阅读(113)  评论(0编辑  收藏  举报