liukangdong
2024-07-30 1a6905045d38bb50b0c6554c3440bdfd339c8d23
wechat_jiaxuan/pages/index/index.js
@@ -56,8 +56,8 @@
  },
  onShow() {
    let that = this
    const member = wx.getStorageSync('member')
    if (member && (member.authStatus == '1' || member.authStatus == '2')) {
    const member = wx.getStorageSync('member') || {}
    if (member && member.id) {
      getMemberInfo().then(res => {
        this.setData({
          member: res.data
@@ -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) {