uniapp开发小程序时,css设置的背景图无法显示?

uniapp开发小程序时,css设置的背景图无法显示问题:(如何解决)

第一种方式:
将图片转为base64格式。
使用站长工具, base64图片在线转换工具(https://tool.chinaz.com/tools/imgtobase)

第二种方式:

"item" :style="{
   background: 'url('+imageURL+')'}">

你可能感兴趣的:(uniapp,前端)