1、swiper中如何默认切换到最后一页幻灯片?
2、在非本周幻灯片添加“返回本周”按钮
3、页面状态数据如何初始化、onLoad(options)
onShow、onReady
onHide、onUnload
4、小程序中,视图层的更新不会引起数据的更新。是单向绑定。
事件机制-响应用户交互。视图层---逻辑层交互
current="{{weekMovieList.length-1}}"
/** * 生命周期函数--监听页面加载 */ onLoad: function (options) { this.setData({ currentIndex:this.data.weekMovieList.length-1 }) },
4、未完待续。。。。。