不知道
不知道
  • 发布:2016-02-25 16:37
  • 更新:2016-02-25 16:37
  • 阅读:2367

ios端 nativeUI.showWaiting 设置的图标显示模糊

分类:HTML5+

H5+ demo 里面的nativeui_waiting.html 文件代码;

function customWaiting(){  
    var w=plus.nativeUI.showWaiting("处理中,请等待...\n5", {loading:{icon:"/img/waiting.png"}});  
    w.onclose=function(){  
        clearInterval(t);  
    }  
    var n=5;  
    var t=setInterval(function(){  
        n--;  
        w.setTitle("处理中,请等待...\n"+n);  
        if(n<=0){  
            w.close();  
            clearInterval(t);  
        }  
    },1000);  
}

HTML5+ API地址:
http://www.html5plus.org/doc/zh_cn/nativeui.html#plus.nativeUI.WaitingOptions
看下文档,没有查找到可以设置图片大小的地方;

在安卓上显示的没什么问题;
在ios上显示的图片模糊,目测是图片被放大了;

2016-02-25 16:37 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复