单独--
--图片是能出来的
循环就不行,想知道是什么原因,我是智能微信小程序转过来的,还有样式也要改吗


微信小程序开发问题解答
微信小程序开发者回答:
参考下文档:https://developers.weixin.qq.com/miniprogram/dev/component/swiper.html
布尔型的参数设置值需要写成{{true}}或者{{false}}
其它变量(包括wx:for,wx:key)也需要用{{}}来包裹起来。
微信小程序开发者回答:
看看调试器的 wxml 里,这个图片的src是正常的吗?
本文网址:http://www.91bianli.com/weixinxiaochengxu/7582.html