C端小程序
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

29 行
628 B

  1. var config = require("../../config/config.js");
  2. const Http = require("../../utils/HttpBasics");
  3. Page({
  4. data: {},
  5. getPhoneNumber: function(e) {
  6. console.log(e.detail.errMsg);
  7. console.log(e.detail.iv);
  8. console.log(e.detail.encryptedData);
  9. wx.navigateBack({
  10. delta: 1
  11. });
  12. },
  13. onLoad() {
  14. let that = this;
  15. console.log(config.weapp.AppId)
  16. Http.get({
  17. url: config.api.marketicon,
  18. data: {
  19. appId: config.weapp.AppId
  20. }
  21. }).then(res=>{
  22. console.log(res.data.mallImgUrl);
  23. that.setData({
  24. mallImgUrl: res.data.mallImgUrl
  25. });
  26. })
  27. }
  28. });