// pages/index/success/success.js
Page({
  data: {
  
  },
  returnPage(){
    tt.switchTab({
      url: '/pages/index/index',
    })
  },
  checkList(e){
    let type = e.currentTarget.dataset.type
    tt.navigateTo({
      url: `../transaction/transaction?type=${type}`,
    })
  }
})