获取网络状态:wx.getNetworkType

btnclick:function(){
wx.getNetworkType({
success:function(res){
console.log(res);
};
});
}
04-14 01:23