const app = getApp();

Page({
  data: {
    StatusBar: app.globalData.StatusBar,
    CustomBar: app.globalData.CustomBar,
    mytask:[{
      img: "../../img/server/order.png",
      openpath: "/pages/task/rob/index?tab=0",
      text: "任务中心"
    },
    {
      img: "../../img/server/doing.png",
      openpath: "/pages/task/rob/index?tab=1",
      text: "待交付"
    },
    {
      img: "../../img/server/account.png",
      openpath: "/pages/task/rob/index?tab=2",
      text: "已交付"
    },
    {
      img: "../../img/server/history.png",
      openpath: "/pages/task/rob/index?tab=3",
      text: "已完成"
    }
    ],
    server:[
      {
        img: "../../img/server/identify.png",
        openpath: "/pages/tool/identify/index",
        text: "实名认证"
      },
      {
        img: "../../img/server/band.png",
        openpath: "/pages/tool/band/band",
        text: "绑定银行"
      },
      {
      img: "../../img/server/credit.png",
      openpath: "/pages/tool/empty/index",
      text: "营业执照"
    },
    {
      img: "../../img/server/info.png",
      openpath: "/pages/tool/sign/signature",
      text: "电子合同"
    }
    
  ],
    other:[
      {
        img: "../../img/icons/mesopen.png",
        openpath: "/pages/user/info/index",
        text: "我的信息"
      },
      {
        img: "../../img/server/help.png",
        openpath: "/pages/tool/empty/index",
        text: "联系客服"
      },
      {
        img: "../../img/server/more.png",
        openpath: "/pages/tool/empty/index",
        text: "其他更多"
      }
    ]
  },

  onLoad: function (options) {
    app.getMakerInfo()
  },
  gotoInfo( ){
    wx.navigateTo({
      url: '/pages/user/info/index',
    })
  },
  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})