search_user.js 651 B

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