12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- var app = getApp();
- var util = require('../../utils/util.js');
- var WxParse = require('../../wxParse/wxParse.js');
- var status = require('../../utils/index.js');
- Page({
-
- data: {
- },
-
- onLoad: function (options) {
- status.setNavBgColor();
- let that = this;
- app.util.request({
- 'url': 'entry/wxapp/index',
- 'data': {
- controller: 'supply.get_apply_page'
- },
- dataType: 'json',
- success: function (res) {
- if (res.data.code == 0) {
- console.log(res)
- let article = res.data.data || '';
- WxParse.wxParse('article', 'html', article, that, 5);
- }
- }
- })
- },
-
- onReady: function () {
- },
-
- onShow: function () {
- },
-
- onHide: function () {
- },
-
- onUnload: function () {
- },
-
- onPullDownRefresh: function () {
- },
-
- onReachBottom: function () {
- },
-
- onShareAppMessage: function () {
- }
- })
|