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

l&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;m(土耳其免税红版)香烟真假鉴别