text: //index.js
  //获取应用实例
  //const app = getApp();
  
  Page({
    data: {
      show:false,
    },
    handlerGobackClick(delta) {
      const pages = getCurrentPages();
      if (pages.length >= 2) {
        wx.navigateBack({
          delta: delta
        });
      } else {
        wx.navigateTo({
          url: '/pages/index/index'
        });
      }
    },
    handlerGohomeClick() {
      this.selectComponent('#idraw').show();
    }
  });
  