1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- 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: 'community.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 () {
- }
- })
|