微信小程序设置背景图片
不能设置background-image:url(/img/pic.png) no-repeat center;
1、要么将图片转成base64设置为背景图片
2.要么放在服务器上
图片在线转换为base64网址:http://imgbase64.duoshitong.com/
微信小程序设置背景图片
不能设置background-image:url(/img/pic.png) no-repeat center;
1、要么将图片转成base64设置为背景图片
2.要么放在服务器上
图片在线转换为base64网址:http://imgbase64.duoshitong.com/