微信小程序 编写中遇到的问题,不知道错在哪里了,swiper语句
<swiper class-'swipeer' indicator-dots-'true'>
<swiper-item>收拾2</swiper-item>
<swiper-item>收1拾</swiper-item>
</swiper>
报错是这样的:
[ WXML 文件编译错误] ./news/news.wxml
unexpected attribute name, near `'swipee...`
5 | </view>
6 |
> 7 | <swiper class-'swipeer' indicator-dots-'true'>
| ^
8 | <swiper-item>收拾2</swiper-item>
9 | <swiper-item>收1拾</swiper-item>
10 | </swiper>
at files://miniprogram\news\news.wxml#7
(env: Windows,mp,1.05.2204250; lib: 2.24.2)