@rancheer/marquee
v1.0.0
Published
配置属性 | props属性 | 类型 | 默认值| 描述 | ---- | ---- | ---- | ---- | | showMarquee | Boolean | false | 控制跑马灯显示隐藏 | | showButton | Boolean | false | 是否显示控制按钮 | | marqueelist | Array | [] | 跑马灯数据|
Downloads
2
Readme
微信组件 - 无限循环跑马灯
配置属性 | props属性 | 类型 | 默认值| 描述 | ---- | ---- | ---- | ---- | | showMarquee | Boolean | false | 控制跑马灯显示隐藏 | | showButton | Boolean | false | 是否显示控制按钮 | | marqueelist | Array | [] | 跑马灯数据|
案例
wxml
<marquee
showMarquee="{{showMarquee}}"
marqueelist="{{marqueelist}}"
showButton="{{true}}"
bind:onNaviHandle="onMarqueeNaviHandle"
bind:onMarqueeClose="onMarqueeClose"
></marquee>
js
data: {
showMarquee: false,
marqueelist: [],
},
onMarqueeNaviHandle () {},
onMarqueeClose (e) {}