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(), TestDivEquation1: [{ Type: 'number', Array: ['', '', '', '1', '2', '3'] }, { Type: 'number', Array: ['×', '', '', '', '4', '5', '0', '0'] }, { Type: 'line', Array: ['1', '1', '1', '1', '1', '1', '1', '1'] }, { Type: 'number', Array: ['', '', '', '6', '1', '5'] }, { Type: 'number', Array: ['', '', '4', '9', '2'] }, { Type: 'line', Array: ['1', '1', '1', '1', '1', '1', '1', '1'] }, { Type: 'number', Array: ['', '', '5', '5', '3', '5', '0', '0'] }], TestDivEquation2: [{ Type: 'number', Array: ['', '', '', '', '0', '.', '6', '2', '5'] }, { Type: 'line', Array: ['', '', '0.5', '1', '1', '1', '1', '1', '1'] }, { Type: 'number', Array: ['5', '6', '√', '3', '5', '0'] }, { Type: 'number', Array: ['', '', '', '3', '3', '6'] }, { Type: 'line', Array: ['', '', '', '1', '1', '1'] }, { Type: 'number', Array: ['', '', '', '', '1', '4', '0'] }, { Type: 'number', Array: ['', '', '', '', '1', '1', '2'] }, { Type: 'line', Array: ['', '', '', '', '1', '1', '1'] }, { Type: 'number', Array: ['', '', '', '', '', '2', '8', '0'] }, { Type: 'number', Array: ['', '', '', '', '', '2', '8', '0'] }, { Type: 'line', Array: ['', '', '', '', '', '1', '1', '1'] }, { Type: 'number', Array: ['', '', '', '', '', '', '', '0'] }] }); }, onShareAppMessage: function() { return { title: '', path: 'pages/index/index', success: function(res) {}, fail: function(err) { console.log(err); }, complete: function(res) { console.log(res); }, } }, })