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' });
首页好茶黑茶易记茶业老款易记茶业黑茶价格表_黑茶茶叶_黑茶属于什么茶_茶叶价格表