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

123456789101112131415161718192021222324252627282930313233
  1. const reqInterface = require("../../../../api/models");
  2. Page({
  3. /**
  4. * 页面的初始数据
  5. */
  6. data: {
  7. title: '',
  8. content: '',
  9. total: 0,
  10. },
  11. onLoad(options) {
  12. reqInterface.GetGuide().then(res => {
  13. this.setData({
  14. title: res.title,
  15. content: res.content
  16. })
  17. })
  18. reqInterface.GetQuotaGet().then(res => {
  19. this.setData({
  20. total: res.remaining
  21. })
  22. })
  23. },
  24. toApplyFor() {
  25. wx.navigateTo({
  26. url: '/pages/info/index/index',
  27. })
  28. }
  29. })