From 997036b27927bcc1e9207a40b7a69c106a10f30c Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 31 七月 2024 15:49:52 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia

---
 wechat_staff/pages/detailDis/case.js |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/wechat_staff/pages/detailDis/case.js b/wechat_staff/pages/detailDis/case.js
index 92ab8dd..9d7c6ba 100644
--- a/wechat_staff/pages/detailDis/case.js
+++ b/wechat_staff/pages/detailDis/case.js
@@ -39,6 +39,20 @@
   openShare() {
     this.setData({showShare: true})
   },
+  priviewLayout() {
+    wx.previewImage({
+      urls: [this.data.info.layoutUlr]
+    })
+  },
+  priviewSpace(e) {
+    const url = e.currentTarget.dataset.url
+    const index = e.currentTarget.dataset.index
+    const { info } = this.data
+    wx.previewImage({
+      urls: info.apiSpaceCaseVos[index].imgList,
+      current: url
+    })
+  },
   handleShare() {
     console.log('鐐瑰嚮浜嗗垎浜�');
     actionDo({ actionType: 'share', id: this.data.info.id })
@@ -86,7 +100,8 @@
         wx.showToast({title: flag ? '鏀惰棌鎴愬姛' : '鍙栨秷鏀惰棌'})
         this.setData({
           info
-        })
+        }) 
+        wx.setStorageSync('conentCountTemp', this.data.info)
       })
     }
   },
@@ -113,7 +128,8 @@
       }})
       wx.setNavigationBarTitle({
         title: res.data.title
-     })
+     }) 
+     wx.setStorageSync('conentCountTemp', this.data.info)   
     })
   },
   handleDesign() {

--
Gitblit v1.9.3