一、错误的效果图 二、正确的效果图: 解决方案:给webView增加属性: webView.getSettings().setDomStorageEnabled(true);// /有可能是DOM储存API没有打开