wechat_jiaxuan/pages/index/index.js
@@ -233,9 +233,13 @@ }) }, bannerbindload(e) { const height = e.detail.height const { height, width } = e.detail let activeHeight = height * 670 / width this.setData({ bannerImgHeight: height bannerImgHeight: activeHeight }) }, consultbindload(e) { @@ -245,7 +249,7 @@ } = e.detail let activeHeight = height * 670 / width this.setData({ consultImgHeight: activeHeight consultImgHeight: activeHeight + 100 }) }, consultClick(e) {