You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
675 B
40 lines
675 B
//index.js
|
|
//获取应用实例
|
|
const app = getApp()
|
|
|
|
Page({
|
|
data: {
|
|
list: [
|
|
{
|
|
id: '1',
|
|
title: '啦啦啦量阿拉蕾阿拉啦',
|
|
showTop: true,
|
|
time: '刚刚'
|
|
},
|
|
{
|
|
id: '2',
|
|
title: '一条大河,向东流',
|
|
showTop: false,
|
|
time: '1分钟前'
|
|
},
|
|
{
|
|
id: '3',
|
|
title: '啦啦啦量阿拉蕾阿拉啦',
|
|
showTop: false,
|
|
time: '1小时前'
|
|
},
|
|
]
|
|
},
|
|
onLoad: function () {
|
|
|
|
},
|
|
tapSwiperItem (e) {
|
|
console.log(e.detail)
|
|
},
|
|
tapFocusItem (e) {
|
|
console.log(e.detail)
|
|
},
|
|
clickListItem (e) {
|
|
console.log(e.detail)
|
|
}
|
|
})
|
|
|