payfinished.js 883 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. import common from '../../utils/util';
  2. import server from '../../utils/main';
  3. const app = getApp();
  4. Page({
  5. data: {
  6. },
  7. onLoad: function (options) {
  8. this.setData({
  9. Height: common.getSystemHeight(),
  10. });
  11. },
  12. deblocking: function () {
  13. wx.reLaunch({
  14. url: '../index/index'
  15. });
  16. },
  17. gotoPayList: function () {
  18. wx.navigateTo({
  19. url: './paylist',
  20. });
  21. },
  22. gotoNewUserList: function () {
  23. wx.navigateTo({
  24. url: './newuserlist',
  25. });
  26. },
  27. onShareAppMessage: function () {
  28. return {
  29. title: '让阅读赢在起点',
  30. path: 'pages/index/index?UserID=' + app.globalData.userInfo.UserID,
  31. imageUrl: '../../images/07001.png',
  32. success: function (res) {
  33. },
  34. fail: function (err) {
  35. console.log(err);
  36. },
  37. complete: function (res) {
  38. console.log(res);
  39. },
  40. }
  41. },
  42. })