withdraw_deposit.js 715 B

1234567891011121314151617181920212223242526272829303132333435
  1. import common from '../../utils/util';
  2. import main from '../../utils/main';
  3. const app = getApp();
  4. Page({
  5. data: {
  6. IsPromotion:false,
  7. },
  8. onLoad: function (options) {
  9. var that = this;
  10. var isPromotion=true;
  11. if (options.AgentCategory=="promotion"){
  12. isPromotion=true;
  13. }
  14. that.setData({
  15. Containnerheight: main.getWindowHeight(),
  16. IsPromotion:isPromotion,
  17. });
  18. },
  19. onPullDownRefresh: function () {
  20. wx.stopPullDownRefresh();
  21. },
  22. onShareAppMessage: function () {
  23. return {
  24. title: app.globalData.ShareTitle,
  25. path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
  26. imageUrl: app.globalData.ShareImage,
  27. }
  28. },
  29. })