帖子
帖子
用户
博客
课程
显示全部楼层
4
帖子
0
勋章
4
Y币

[BUG] UIPullRefreshMotive模块自定义图片不显示

[复制链接]
发表于 2017-10-24 09:38:54
UIPullRefreshMotive模块,自定义image图片,下拉刷新的时候只显示文字,不显示图片,是什么原因呢
api.setCustomRefreshHeaderInfo({
                bgColor: '#eee',
                images: ['../image/Refresh_Icon/refresh_icon1.png', '../image/Refresh_Icon/refresh_icon2.png', '../image/Refresh_Icon/refresh_icon3.png', '../image/Refresh_Icon/refresh_icon4.png'],
                tips: {
                        pull: '下拉刷新',
                        threshold: '松开立即刷新',
                        load: '正在刷新'
                }
        }, function() {
                setTimeout("Close()", 1000)
        });


function Close() {
        api.refreshHeaderLoadDone();
}

4
帖子
0
勋章
2750
Y币
你得写绝对路径,如widget://image/con1.png

文件夹和文件名最好不要有大写字母和 _  
您需要登录后才可以回帖 登录

本版积分规则