package.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. },
  7. onPullDownRefresh: function () {
  8. wx.stopPullDownRefresh();
  9. },
  10. onLoad: function (options) {
  11. var that = this;
  12. that.setData({
  13. Containnerheight: main.getWindowHeight(),
  14. });
  15. },
  16. onShow:function(){
  17. var that = this;
  18. },
  19. goto: function (e) {
  20. var url = e.currentTarget.dataset.url;
  21. wx.navigateTo({
  22. url: url,
  23. });
  24. },
  25. onShareAppMessage: function () {
  26. return {
  27. title: app.globalData.ShareTitle,
  28. path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
  29. imageUrl: app.globalData.ShareImage,
  30. }
  31. },
  32. })