goldPrice.ts 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. // mHome/pages/goldPrice/goldPrice.ts
  2. Page({
  3. /**
  4. * 页面的初始数据
  5. */
  6. data: {
  7. /// 底部安全区域
  8. safeBottom: getApp().globalData.safeBottom,
  9. /// 列头
  10. headers: ['产品', '最新价', '涨跌价', '更新时间'],
  11. /// 列表内容
  12. values: [['黄金999', '373.15', '0.19', '2022-07-20'],
  13. ['黄金T+D', '373.15', '0.19', '2022-07-20'],
  14. ['m黄金T+D', '373.15', '0.19', '2022-07-20'],
  15. ['白银T+D', '373.15', '0.19', '2022-07-20'],
  16. ['黄金9995', '373.15', '0.19', '2022-07-20'],
  17. ['白金100g', '373.15', '0.19', '2022-07-20'],
  18. ['黄金999', '373.15', '0.19', '2022-07-20'],
  19. ['黄金T+D', '373.15', '0.19', '2022-07-20'],
  20. ['m黄金T+D', '373.15', '0.19', '2022-07-20'],
  21. ['白银T+D', '373.15', '0.19', '2022-07-20'],
  22. ['黄金9995', '373.15', '0.19', '2022-07-20'],
  23. ['白金100g', '373.15', '0.19', '2022-07-20'],
  24. ['黄金999', '373.15', '0.19', '2022-07-20'],
  25. ['黄金T+D', '373.15', '0.19', '2022-07-20'],
  26. ['m黄金T+D', '373.15', '0.19', '2022-07-20'],
  27. ['白银T+D', '373.15', '0.19', '2022-07-20'],
  28. ['黄金9995', '373.15', '0.19', '2022-07-20'],
  29. ['白金100g', '373.15', '0.19', '2022-07-20'],
  30. ['黄金999', '373.15', '0.19', '2022-07-20'],
  31. ['黄金T+D', '373.15', '0.19', '2022-07-20'],
  32. ['m黄金T+D', '373.15', '0.19', '2022-07-20'],
  33. ['白银T+D', '373.15', '0.19', '2022-07-20'],
  34. ['黄金9995', '373.15', '0.19', '2022-07-20'],
  35. ['白金100g', '373.15', '0.19', '2022-07-20'],
  36. ['黄金999', '373.15', '0.19', '2022-07-20'],
  37. ['黄金T+D', '373.15', '0.19', '2022-07-20'],
  38. ['m黄金T+D', '373.15', '0.19', '2022-07-20'],
  39. ['白银T+D', '373.15', '0.19', '2022-07-20'],
  40. ['黄金9995', '373.15', '0.19', '2022-07-20'],
  41. ['白金100g', '373.15', '0.19', '2022-07-20'],
  42. ['黄金999', '373.15', '0.19', '2022-07-20'],
  43. ['黄金T+D', '373.15', '0.19', '2022-07-20'],
  44. ['m黄金T+D', '373.15', '0.19', '2022-07-20'],
  45. ['白银T+D', '373.15', '0.19', '2022-07-20'],
  46. ['黄金9995', '373.15', '0.19', '2022-07-20']]
  47. },
  48. /**
  49. * 生命周期函数--监听页面加载
  50. */
  51. onLoad() {
  52. },
  53. /**
  54. * 生命周期函数--监听页面初次渲染完成
  55. */
  56. onReady() {
  57. },
  58. /**
  59. * 生命周期函数--监听页面显示
  60. */
  61. onShow() {
  62. },
  63. /**
  64. * 生命周期函数--监听页面隐藏
  65. */
  66. onHide() {
  67. },
  68. /**
  69. * 生命周期函数--监听页面卸载
  70. */
  71. onUnload() {
  72. },
  73. /**
  74. * 页面相关事件处理函数--监听用户下拉动作
  75. */
  76. onPullDownRefresh() {
  77. },
  78. /**
  79. * 页面上拉触底事件的处理函数
  80. */
  81. onReachBottom() {
  82. },
  83. /**
  84. * 用户点击右上角分享
  85. */
  86. onShareAppMessage() {
  87. }
  88. })