riku
2022-08-23 8fbd6b8d09e70494d920cc0b77812e9643be3196
pages/promiseresult/promiseresult.js
@@ -8,7 +8,7 @@
   */
  data: {
    promise: {
      picPath: '',
      picPath: [],
      pdfPath: '',
    }
  },
@@ -20,33 +20,12 @@
    var that = this
    this.getOpenerEventChannel().on('acceptDataFromOpenerPage', function (data) {
      console.log(data);
      data.promise.picPath = $f.basePicUrl + data.promise.picPath
      data.promise.pdfPath = $f.basePicUrl + data.promise.pdfPath
      // data.promise.picPath = $f.basePicUrl + data.promise.picPath
      // data.promise.pdfPath = $f.basePicUrl + data.promise.pdfPath
      that.setData({
        promise: data.promise
      })
    })
  },
  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
  },
  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
  },
  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {
  },
  /**
@@ -62,25 +41,4 @@
      complete: (res) => {},
    })
  },
  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {
  },
  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {
  },
  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
  }
})