mine.ts 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. // pages/mine/mine.ts
  2. Page({
  3. /**
  4. * 页面的初始数据
  5. */
  6. data: {
  7. // 功能菜单项
  8. menulists: [{id: 1, title: '资金资产', img: 'cart-circle', path: "/mMine/pages/assets/assets"},
  9. {id: 2, title: "交易服务", img: 'point-gift', path: "/mMine/pages/tradeserver/tradeserver"},
  10. {id: 3, title: '现货挂牌', img: 'underway', path: "/mMine/pages/spotlisting/spotlisting"},
  11. {id: 4, title: '仓储服务', img: 'hot', path: "/mMine/pages/storageserver/storageserver"}],
  12. // 列表菜单项
  13. tablelists: [{id: 1, title: '实名认证', path: "/mMine/pages/realauthentication/realauthentication"},
  14. {id: 2, title: '签约解约管理', path: "/mMine/pages/bank/bank"},
  15. {id: 3, title: '我的库存', path: "/mMine/pages/myinventorys/myinventorys"},
  16. {id: 4, title: '单据查询', path: "/mMine/pages/ordersearch/ordersearch"},
  17. {id: 5, title: '我的订单', path: "/mMine/pages/myorders/myorders"},
  18. {id: 6, title: '我的报表', path: "/mMine/pages/myreports/myreports"}]
  19. },
  20. /**
  21. * 进入系统设置
  22. */
  23. goToSettings() {
  24. wx.navigateTo({
  25. url: '/mMine/pages/settings/settings'
  26. })
  27. },
  28. /**
  29. * 生命周期函数--监听页面加载
  30. */
  31. onLoad() {
  32. },
  33. /**
  34. * 生命周期函数--监听页面初次渲染完成
  35. */
  36. onReady() {
  37. },
  38. /**
  39. * 生命周期函数--监听页面显示
  40. */
  41. onShow() {
  42. this.getTabBar().init()
  43. },
  44. /**
  45. * 生命周期函数--监听页面隐藏
  46. */
  47. onHide() {
  48. },
  49. /**
  50. * 生命周期函数--监听页面卸载
  51. */
  52. onUnload() {
  53. },
  54. /**
  55. * 页面相关事件处理函数--监听用户下拉动作
  56. */
  57. onPullDownRefresh() {
  58. },
  59. /**
  60. * 页面上拉触底事件的处理函数
  61. */
  62. onReachBottom() {
  63. },
  64. /**
  65. * 用户点击右上角分享
  66. */
  67. onShareAppMessage() {
  68. }
  69. })