var e = getApp();
var regeneratorRuntime = require('../../../utils/runtime.js');
Page({
  /**
   * 页面的初始数据
   */
  data: {
    url: e.globalData.setting.imghost,
    resourceUrl: e.globalData.setting.resourceUrl,
    iurl: e.globalData.setting.imghost,
    type:0
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    wx.setNavigationBarTitle({
      title: '支付成功',
    });
    this.setData({type:options.type});

  },

  goto: function () {
    var url = '/pages/index/index/index';
    getApp().goto(url)
  },
})