C端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

paySuccess.js 1.3 KiB

6 vuotta sitten
6 vuotta sitten
1 vuosi sitten
6 vuotta sitten
1 vuosi sitten
6 vuotta sitten
1 vuosi sitten
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px';
  2. let Util = require("../../utils/util");
  3. const imgurl = require("../../utils/imgurl");
  4. Page({
  5. /**
  6. * 页面的初始数据
  7. */
  8. data: {
  9. navigationBarHeight,
  10. data: null,
  11. pay_success: imgurl.pay_success.url
  12. },
  13. /**
  14. * 生命周期函数--监听页面加载
  15. */
  16. onLoad: function (options) {
  17. let pamars = JSON.parse(options.data);
  18. pamars.updateDate = Util.formatTime(pamars.updateDate, "yyyy-MM-dd hh:mm:ss");
  19. this.setData({
  20. data: pamars
  21. })
  22. },
  23. goIndex: function () {
  24. // wx.navigateBack({
  25. // delta: 2
  26. // })
  27. wx.navigateTo({
  28. url: '/pages/cardorder/index/index',
  29. })
  30. },
  31. /**
  32. * 生命周期函数--监听页面初次渲染完成
  33. */
  34. onReady: function () {
  35. },
  36. /**
  37. * 生命周期函数--监听页面显示
  38. */
  39. onShow: function () {
  40. },
  41. /**
  42. * 生命周期函数--监听页面隐藏
  43. */
  44. onHide: function () {
  45. },
  46. /**
  47. * 生命周期函数--监听页面卸载
  48. */
  49. onUnload: function () {
  50. },
  51. /**
  52. * 页面相关事件处理函数--监听用户下拉动作
  53. */
  54. onPullDownRefresh: function () {
  55. },
  56. /**
  57. * 页面上拉触底事件的处理函数
  58. */
  59. onReachBottom: function () {
  60. },
  61. })