From 883630c60e9a941d6cf721cfb4b9160ab406a7dd Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期二, 30 九月 2025 10:26:44 +0800 Subject: [PATCH] 商品行为分析 --- pages/tabbar/index/home.vue | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/pages/tabbar/index/home.vue b/pages/tabbar/index/home.vue index 00fd2d7..bd05123 100644 --- a/pages/tabbar/index/home.vue +++ b/pages/tabbar/index/home.vue @@ -441,7 +441,18 @@ userAction(param) }, onLoad(option) { - + if(option.shareId){ + console.log('瑙﹀彂onLoad') + this.actionParam.shareId = option.shareId; + this.actionParam.joinType = 'SHARE' + uni.setStorage({ + key: 'shareId', + data: option.shareId, + success: function () { + console.log('缂撳瓨shareId鎴愬姛'); + } + }); + } console.log('-----------鍒嗕韩鍑虹殑鏁版嵁---------->', option) //澶勭悊鎵爜鍑烘潵鐨勮棰� this.marginBottom = uni.getSystemInfoSync().safeAreaInsets.bottom @@ -513,7 +524,7 @@ // }) // 淇濆瓨鍒嗕韩璁板綍 - + // 杩斿洖涓�涓狿romise return new Promise((resolve) => { this.shareId = ''; -- Gitblit v1.8.0