From 296fc0dbd38fb9528c9d1f91ec9bc3758e27e994 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 26 七月 2024 19:31:20 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia
---
wechat_staff/pages/homeId/index.js | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/wechat_staff/pages/homeId/index.js b/wechat_staff/pages/homeId/index.js
index 4f403de..0a7dded 100644
--- a/wechat_staff/pages/homeId/index.js
+++ b/wechat_staff/pages/homeId/index.js
@@ -53,11 +53,11 @@
itemClick(e) {
const item = e.currentTarget.dataset.item
console.log('item', item);
- actionDo({actionType: 'view',id: item.id})
if(item.contentType == 'video'){
wx.previewMedia({
sources: [{ url: item.content, type: 'video' }]
- })
+ })
+ actionDo({actionType: 'view',id: item.id})
}
if(item.contentType == 'link'){
wx.navigateTo({
@@ -66,13 +66,15 @@
// 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹�
res.eventChannel.emit('data',{link:item.content} );
}
- })
+ })
+ actionDo({actionType: 'view',id: item.id})
}
if(item.contentType == 'page'){
getApp().globalData.catalogCode=item.content
wx.switchTab({
url: '/pages/discover/discover'
- })
+ })
+ actionDo({actionType: 'view',id: item.id})
}
},
cateClick(e) {
--
Gitblit v1.9.3