var deviceWidth = parseInt(window.screen.width); if(deviceWidth<640){ var width = 360; }else{ var width = 640; } var deviceScale = deviceWidth/width; console.log('~~dpr:'+window.devicePixelRatio+'/width:'+window.screen.width+'/scale:'+deviceScale); MIP.setData({ myviewport:'width='+width+',initial-scale=' + deviceScale + ', minimum-scale = ' + deviceScale + ', maximum-scale = ' + deviceScale + ', user-scalable=no' });

迎客松(新)烟多少钱