function galleryImg() {
// 从相册中选择图片
console.log("从相册中选择图片:");
plus.gallery.pick(function(path) {
console.log(path);
showImg(path);
}, function(e) {
console.log("取消选择图片");
}, {
filename: "_doc/image/head" + new Date().getTime() + ".jpg",
filter: "image"
});
}
leah_huang
- 发布:2015-09-29 10:07
- 更新:2015-09-29 10:07
- 阅读:1666
0 个回复