index.js 652 B

123456789101112131415161718192021222324252627282930
  1. import common from '../../utils/util';
  2. import main from '../../utils/main';
  3. const app = getApp();
  4. Page({
  5. data: {
  6. },
  7. onLoad: function (options) {
  8. var that = this;
  9. that.setData({
  10. Containnerheight: main.getWindowHeight(),
  11. Version:app.globalData.Version,
  12. });
  13. },
  14. goto: function (e) {
  15. let that=this;
  16. var url=e.currentTarget.dataset.url;
  17. wx.navigateTo({
  18. url: url,
  19. });
  20. },
  21. onShareAppMessage: function () {
  22. return {
  23. title: app.globalData.ShareTitle,
  24. path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
  25. imageUrl: app.globalData.ShareImage,
  26. }
  27. },
  28. })