【外包杯】【报错】(表面解决实际未解决)微信小程序报错:[渲染层错误] TypeError: Cannot read property ‘$$‘ of undefined

半解不解吧,反正实现了就行

 渲染层出错,滑动图片组件无法显示,(swiper是轮播图插件,因此错误应该出现在swiper渲染中)

可以这样移动,但是没有图片

我觉得是路径的问题

兄弟们,目前没有解决接口的问题,所以我只用自己在网上找到的图片资源直接贴上去,然后自动轮播,现在就只能做到这样了,有时间再学习

我用的是这个👇

<swiper
autoplay="{{true}}"
circular="{{true}}"
indicator-dots="{{true}}"
interval="2000"
>
<swiper-item>
<image mode="widthFix" src="https://cbu01.alicdn.com/img/ibank/2018/494/719/9100917494_1365127198.jpg" />
</swiper-item>
<swiper-item>
<image mode="widthFix" src="https://img.zcool.cn/community/01bb565c934346a8012141685a66d1.jpg@1280w_1l_2o_100sh.jpg" />
</swiper-item>
<swiper-item>
<image mode="widthFix" src="https://cbu01.alicdn.com/img/ibank/2017/566/451/4228154665_2086121525.jpg" />
</swiper-item>
<swiper-item>
<image mode="widthFix" src="https://tse1-mm.cn.bing.net/th/id/OIP-C.8locl_LfYxjHHohFH3D3rAHaF7?pid=ImgDet&rs=1" />
</swiper-item>
</swiper>

 

本文作者:喝着农药吐泡泡o

本文链接:https://www.cnblogs.com/gbrr/p/17335206.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   喝着农药吐泡泡o  阅读(222)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
💬
评论
📌
收藏
💗
关注
👍
推荐
🚀
回顶
收起
🔑