0000
This commit is contained in:
19
pages/singleStart/singleStart.js
Normal file
19
pages/singleStart/singleStart.js
Normal file
@@ -0,0 +1,19 @@
|
||||
Page({
|
||||
data: {
|
||||
banner: [],
|
||||
selectIndex: 0
|
||||
},
|
||||
onLoad: function(n) {},
|
||||
onReady: function() {},
|
||||
onShow: function() {},
|
||||
onHide: function() {},
|
||||
onUnload: function() {},
|
||||
onPullDownRefresh: function() {},
|
||||
onReachBottom: function() {},
|
||||
onShareAppMessage: function() {},
|
||||
selectItem: function(n) {
|
||||
this.setData({
|
||||
selectIndex: n.currentTarget.dataset.index
|
||||
});
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user