feat:iOS support webp image

This commit is contained in:
pengfei.zhou
2019-11-22 10:30:01 +08:00
parent 83d71e1703
commit 06c6b5f5a5
4 changed files with 40 additions and 12 deletions

View File

@@ -29,6 +29,18 @@ class ImageDemo extends Panel {
loadCallback: (ret) => {
}
}),
label('Animated WebP'),
image({
imageUrl: "https://p.upyun.com/demo/webp/webp/animated-gif-0.webp",
loadCallback: (ret) => {
}
}),
label('WebP'),
image({
imageUrl: "https://p.upyun.com/demo/webp/webp/jpg-0.webp",
loadCallback: (ret) => {
}
}),
label('ScaleToFill'),
image({
imageUrl,