【微信小程序】随机点名系统(点击开始滚动名字点击结束按钮结束滚动) 1、效果图: 2、js代码 { Page({ data:{ condition: Math.floor(Math.random()*7+1)//有多少名*多少名 比如有7位 *7+1 }, changeMotto: function() { var that = this; this.interval =setInterval(function () { that.changeContent(); console