| 123456789101112131415161718192021222324252627282930313233 |
- const reqInterface = require("../../../../api/models");
-
- Page({
-
- /**
- * 页面的初始数据
- */
- data: {
- title: '',
- content: '',
- total: 0,
- },
-
- onLoad(options) {
- reqInterface.GetGuide().then(res => {
- this.setData({
- title: res.title,
- content: res.content
- })
- })
- reqInterface.GetQuotaGet().then(res => {
- this.setData({
- total: res.remaining
- })
- })
- },
-
- toApplyFor() {
- wx.navigateTo({
- url: '/pages/info/index/index',
- })
- }
- })
|