ll
liukangdong
2024-08-06 d41f1f707dc643b726a42b9d2a63b186dd9e4f28
wechat_staff/pages/index/index.js
@@ -49,8 +49,6 @@
        rect.top // 节点的上边界坐标
        rect.bottom // 节点的下边界坐标
      }).exec(res => {
        console.log('res', res);
        console.log(windowInfo.windowHeight)
        this.setData({ videoTop: res[0].top,windowHeight: windowInfo.windowHeight})
      })
    }, 2000)
@@ -61,7 +59,7 @@
      fileType: '0'
    }).then(res => {
      this.setData({
        DailyUpdates: res.data
        DailyUpdates: res.data || {}
      })
    })
    // 产品视频
@@ -69,7 +67,7 @@
      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
        })