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.

87 satır
1.3KB

  1. // pages/TicketDetails/TicketDetails.js
  2. Page({
  3. /**
  4. * 页面的初始数据
  5. */
  6. data: {
  7. dataArr: [
  8. {
  9. "code":"11111",
  10. "name":"80元抵100元优惠券",
  11. "type":"未使用"
  12. },
  13. {
  14. "code": "11111",
  15. "name": "80元抵100元优惠券",
  16. "type": "未使用"
  17. },
  18. {
  19. "code": "11111",
  20. "name": "80元抵100元优惠券",
  21. "type": "未使用"
  22. },
  23. {
  24. "code": "11111",
  25. "name": "80元抵100元优惠券",
  26. "type": "未使用"
  27. },
  28. ],
  29. },
  30. /**
  31. * 生命周期函数--监听页面加载
  32. */
  33. onLoad: function (options) {
  34. },
  35. /**
  36. * 生命周期函数--监听页面初次渲染完成
  37. */
  38. onReady: function () {
  39. },
  40. /**
  41. * 生命周期函数--监听页面显示
  42. */
  43. onShow: function () {
  44. },
  45. /**
  46. * 生命周期函数--监听页面隐藏
  47. */
  48. onHide: function () {
  49. },
  50. /**
  51. * 生命周期函数--监听页面卸载
  52. */
  53. onUnload: function () {
  54. },
  55. /**
  56. * 页面相关事件处理函数--监听用户下拉动作
  57. */
  58. onPullDownRefresh: function () {
  59. },
  60. /**
  61. * 页面上拉触底事件的处理函数
  62. */
  63. onReachBottom: function () {
  64. },
  65. /**
  66. * 用户点击右上角分享
  67. */
  68. onShareAppMessage: function () {
  69. }
  70. })