路径时这个没错 各位帮忙看看写法有错吗? 为什么获取不到
var snowflowerURl = [
'img/Magpie-Festival/snowflower/snow1.png',
'img/Magpie-Festival/snowflower/snow2.png',
'img/Magpie-Festival/snowflower/snow3.png',
'img/Magpie-Festival/snowflower/snow4.png',
'img/Magpie-Festival/snowflower/snow5.png',
'img/Magpie-Festival/snowflower/snow6.png'
]
把图片下载到本地,直接写图片所在的路径即可。例如: D:/文件/练习/images/2016_08_02/snowflake/snowflake1.png
路径错了
文件夹名字改成 images 试试。