123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- // pages/growUp/growUp.js
- Page({
- /**
- * 页面的初始数据
- */
- data: {
- src:'http://wxsnsdy.tc.qq.com/105/20210/snsdyvideodownload?filekey=30280201010421301f0201690402534804102ca905ce620b1241b726bc41dcff44e00204012882540400&bizid=1023&hy=SH&fileparam=302c020101042530230204136ffd93020457e3c4ff02024ef202031e8d7f02030f42400204045a320a0201000400',
- list:[
- {
- time: '2021-02-01 11:11',
- name: '报名课程:小象钢琴 1',
- desc: '来自我的足迹',
- },
- {
- time: '2021-02-02 11:11',
- name: '报名课程:小象钢琴 2',
- desc: '来自我的足迹',
- },
- {
- time: '2021-02-03 11:11',
- name: '发布新动态',
- desc: '来自我的足迹',
- type: '2'
- },
- {
- time: '2021-02-04 11:11',
- name: '取得新成绩:二月调考 88 分',
- desc: '来自我的足迹',
- type: '1'
- },
- {
- time: '2021-02-05 11:11',
- name: '报名课程:小象钢琴 3',
- desc: '来自我的足迹',
- },
- ]
- },
- getImg:function(e){
- // const list = [e.currentTarget.dataset.url]
- const list = ['https://file.schoolwisdoms.com/image/26cf1980-5b25-4c2e-af7f-376677d76033.jpg']
- wx.previewImage({
- current: list[0],
- urls: list,
- })
- },
- /**
- * 生命周期函数--监听页面加载
- */
- onLoad: function (options) {
- },
- /**
- * 生命周期函数--监听页面初次渲染完成
- */
- onReady: function () {
- },
- /**
- * 生命周期函数--监听页面显示
- */
- onShow: function () {
- },
- /**
- * 生命周期函数--监听页面隐藏
- */
- onHide: function () {
- },
- /**
- * 生命周期函数--监听页面卸载
- */
- onUnload: function () {
- },
- /**
- * 页面相关事件处理函数--监听用户下拉动作
- */
- onPullDownRefresh: function () {
- },
- /**
- * 页面上拉触底事件的处理函数
- */
- onReachBottom: function () {
- },
- /**
- * 用户点击右上角分享
- */
- onShareAppMessage: function () {
- }
- })
|