home.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. // pages/home/home.js
  2. Page({
  3. /**
  4. * 页面的初始数据
  5. */
  6. data: {
  7. imgUrls: [
  8. {
  9. "aa_urla": "http://113.105.74.140:8081/u/123/100123/201801/o/5e2b30db6a3c4f7399ff185ca7eee713.png"
  10. },
  11. {
  12. "aa_urla": "http://113.105.74.140:8081/u/123/100123/201801/o/5e2b30db6a3c4f7399ff185ca7eee713.png"
  13. },
  14. {
  15. "aa_urla": "http://113.105.74.140:8081/u/123/100123/201801/o/5e2b30db6a3c4f7399ff185ca7eee713.png"
  16. }
  17. ],
  18. indicatorDots: true,
  19. autoplay: true,
  20. interval: 5000,
  21. duration: 500,
  22. },
  23. /**
  24. * 生命周期函数--监听页面加载
  25. */
  26. onLoad: function (options) {
  27. },
  28. /**
  29. * 生命周期函数--监听页面初次渲染完成
  30. */
  31. onReady: function () {
  32. },
  33. /**
  34. * 生命周期函数--监听页面显示
  35. */
  36. onShow: function () {
  37. },
  38. /**
  39. * 生命周期函数--监听页面隐藏
  40. */
  41. onHide: function () {
  42. },
  43. /**
  44. * 生命周期函数--监听页面卸载
  45. */
  46. onUnload: function () {
  47. },
  48. /**
  49. * 页面相关事件处理函数--监听用户下拉动作
  50. */
  51. onPullDownRefresh: function () {
  52. },
  53. /**
  54. * 页面上拉触底事件的处理函数
  55. */
  56. onReachBottom: function () {
  57. },
  58. /**
  59. * 用户点击右上角分享
  60. */
  61. onShareAppMessage: function () {
  62. }
  63. })