C端小程序
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

31 wiersze
593 B

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