partnerMineEarnings.js 649 B

12345678910111213141516171819202122232425262728293031
  1. // pages/partner/mineEarnings/mineEarnings.js
  2. var that;
  3. var Util = require('../../utils/util.js');
  4. var app = getApp();
  5. Page({
  6. data: {
  7. userPhoto : '', //用户头像
  8. userName : '', //用户昵称
  9. },
  10. onLoad: function (options) {
  11. var that = this;
  12. var host = getApp().globalData.servsers;
  13. var un_id = getApp().globalData.un_id;
  14. var open_id = getApp().globalData.open_id;
  15. var userPhoto = getApp().globalData.userInfo.avatarUrl;
  16. var userName = getApp().globalData.userInfo.nickName;
  17. that.setData({
  18. userPhoto: userPhoto,
  19. userName: userName
  20. })
  21. },
  22. onShow: function () {
  23. },
  24. })