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' });

中南海(5mg香港达裕)烟价格