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