| 123456789101112131415161718192021222324252627282930313233 |
- import common from '../../utils/util';
- import server from '../../utils/main';
- const app = getApp()
- Page({
- data: {
- version: app.globalData.version,
- FileUrl: app.globalData.fileUrl,
- },
- onLoad: function () {
- this.setData({
- Containnerheight: server.getWindowHeight(),
- ProgramList: server.getProgramList(),
- });
- },
- onShareAppMessage: function () {
- return {
- title: '',
- path: 'pages/index/index',
- success: function (res) {
- },
- fail: function (err) {
- console.log(err);
- },
- complete: function (res) {
- console.log(res);
- },
- }
- },
- })
|