forked from gzzfw/frontEnd/gzDyh

liuwh
2024-09-10 2ff67a5096a3fe43c2967c5a84fd78cbb1c0a459
gz-wxparty/pages/myRegisterDetail/index.js
@@ -29,6 +29,7 @@
   */
  data: {
    imgUrl: $$.url.img,
    fileUrl: $$.baseUrl + $$.url.fileShowUrl,
    submitData: {},
    oneList: [],
    fileList: []
@@ -57,6 +58,18 @@
    });
  },
  // 预览图片
  handlePreviewImage(e) {
    let item = e.currentTarget.dataset.item;
    let index = e.currentTarget.dataset.index;
    console.log('item,', item);
    console.log('item,', `${this.data.fileUrl}${item.showUrl}`);
    wx.previewImage({
      current: `${this.data.fileUrl}${item.showUrl}`,
      urls: [`${this.data.fileUrl}${item.showUrl}`] // 需要预览的图片http链接列表
    });
  },
  // 获取纠纷案件详情
  async getById(data) {
    $$.showLoading();