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