| | |
| | | globalData: { |
| | | userInfo: null, |
| | | pageData: {}, |
| | | url: 'https://nsjcy.hugeinfo.com.cn/nsjc-charge', |
| | | // url: 'https://nsjcy.hugeinfo.com.cn/nsjc-charge', |
| | | // url: 'http://1p885086k1.iok.la/nsjc-charge', |
| | | //url: 'http://192.168.0.31:8085/nsjc-charge', |
| | | imgUrl: 'https://nsjcy.hugeinfo.com.cn/nsjc-charge', |
| | | // url: 'http://nsjc.vaiwan.com/nsjc-charge', |
| | | url: 'http://nsjc.vaiwan.com/nsjc-charge', |
| | | // imgUrl: 'http://nsjc.vaiwan.com/nsjc-charge' |
| | | }, |
| | | // 过滤数组 |
| | |
| | | var evalList = these.data.evalList; |
| | | var evalListType = 'evalList' + associateTypeId; |
| | | var data = JSON.parse(res.data) |
| | | console.log(data) |
| | | console.log('path', path) |
| | | console.log('evalList', evalList) |
| | | console.log('associateTypeId', associateTypeId) |
| | | these.setData({ |
| | | evalList: { |
| | | ...evalList, |
| | |
| | | return year + "-" + month + "-" + date + " " + hour + ":" + minute; |
| | | }, |
| | | |
| | | //转换时间戳 |
| | | formatDateday: function (ts) { |
| | | var now = new Date(ts); |
| | | var year = now.getFullYear(); |
| | | var month = now.getMonth() + 1; |
| | | var date = now.getDate(); |
| | | var hour = now.getHours() < 10 ? '0' + now.getHours() : now.getHours(); |
| | | var minute = now.getMinutes() < 10 ? '0' + now.getMinutes() : now.getMinutes(); |
| | | var second = now.getSeconds(); |
| | | return year + "-" + month + "-" + date; |
| | | }, |
| | | |
| | | // 页面正在开发中 |
| | | developIng: function() { |
| | | wx.navigateTo({ |