| | |
| | | rect.top // 节点的上边界坐标 |
| | | rect.bottom // 节点的下边界坐标 |
| | | }).exec(res => { |
| | | console.log('res', res); |
| | | console.log(windowInfo.windowHeight) |
| | | this.setData({ videoTop: res[0].top,windowHeight: windowInfo.windowHeight}) |
| | | }) |
| | | }, 2000) |
| | |
| | | fileType: '0' |
| | | }).then(res => { |
| | | this.setData({ |
| | | DailyUpdates: res.data |
| | | DailyUpdates: res.data || {} |
| | | }) |
| | | }) |
| | | // 产品视频 |
| | |
| | | pageSize: 1, |
| | | pageNum: 1 |
| | | }).then(res => { |
| | | if (res.data.records && res.data.records.length > 0) { |
| | | if (res.data && res.data.records && res.data.records.length > 0) { |
| | | this.setData({ |
| | | productVideo: res.data.records |
| | | }) |