From 4e64e4f6488f477ec3c75af7864f99bb6ae9964d Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 29 七月 2024 19:05:38 +0800
Subject: [PATCH] ll

---
 wechat_staff/pages/detailDis/product.js |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/wechat_staff/pages/detailDis/product.js b/wechat_staff/pages/detailDis/product.js
index f22f525..1d3a8c5 100644
--- a/wechat_staff/pages/detailDis/product.js
+++ b/wechat_staff/pages/detailDis/product.js
@@ -16,6 +16,7 @@
     info: {},
     member: {},
     showShare: false,
+    isFold: false,
     enjoyList: []
   },
   onShow(){
@@ -92,7 +93,7 @@
       info
     } = this.data
     wx.previewImage({
-      urls: info.imageurlList,
+      urls: info.bannerImgList,
       current: url
     })
   },
@@ -105,7 +106,7 @@
       info
     } = this.data
     wx.previewImage({
-      urls: info.imageurlList,
+      urls: info.spaceList.map(i => i.spaceImg),
       current: url
     })
   },
@@ -167,6 +168,9 @@
     //   this.setData({showShare: false})
     // })
   },
+  changeFold() {
+    this.setData({ isFold: !this.data.isFold })
+  },
   // onShareAppMessage: function () {
   //   // let { productDetail, userInfo } = this.data
   //   return {

--
Gitblit v1.9.3