swiper基本问题?

发布于 7 年前作者 junxie1027 次浏览最后编辑 7 年前来自 issues

新手小白

<swiper indicator-dots=‘true’ indicator-color=‘red’></swiper>

<swiper-item>

<image src=‘…/…/images/1.jpg’>

</swiper-item>

为什么会出现错误?

6 回复
yanren
yanren1 楼6 年前

你还真是货真价实的小白

<swiper indicator-dots='true' indicator-color='red'>

    <swiper-item>

    <image src='../../images/1.jpg'>

    </swiper-item>

</swiper>

zhongjing
zhongjing2 楼6 年前

子元素离家出走

ping09
ping093 楼6 年前

子元素离家出走 哈哈哈哈哈哈

liuyan
liuyan4 楼6 年前

兄die 敢不敢 把 swiper-item 放在 swiper里面呢?官方示例

tao20
tao205 楼6 年前

新手建议你先去改官方的model,差不多都搞懂了再去自己写

gang57
gang576 楼5 年前

……你倒是包裹起来啊。。