list.js 660 B

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