diff --git a/packageA/pages/goodsInfo/goodsInfo.js b/packageA/pages/goodsInfo/goodsInfo.js index d604836..b8da79a 100644 --- a/packageA/pages/goodsInfo/goodsInfo.js +++ b/packageA/pages/goodsInfo/goodsInfo.js @@ -2777,13 +2777,11 @@ Page({ }, previewImage() { - wx.previewImage({ - //将图片预览出来 - urls: [this.data.shareImgPath] - }); + getApp().pre_img(this.data.shareImgPath); }, onShareTimeline() { + getApp().globalData.no_clear=1 var store_name=getApp().globalData.config?getApp().globalData.config.store_name:''; if(!store_name) store_name=getApp().globalData.setting.appName; diff --git a/packageA/pages/jfbuy/jfbuy.js b/packageA/pages/jfbuy/jfbuy.js index 46685b3..52ce5b1 100644 --- a/packageA/pages/jfbuy/jfbuy.js +++ b/packageA/pages/jfbuy/jfbuy.js @@ -270,6 +270,7 @@ Page({ onShareTimeline() { + getApp().globalData.no_clear=1; var store_name = getApp().globalData.config ? getApp().globalData.config.store_name:''; var pagePath = this.route; //当前页面url diff --git a/packageA/pages/liveStream/liveStream.js b/packageA/pages/liveStream/liveStream.js index 0e8184a..3545b1b 100644 --- a/packageA/pages/liveStream/liveStream.js +++ b/packageA/pages/liveStream/liveStream.js @@ -362,6 +362,7 @@ Page({ }, onShareTimeline: function (res) { + getApp().globalData.no_clear=1; if (res.from === 'button') { // 来自页面内转发按钮 // console.log(res.target) diff --git a/packageA/pages/liveStreamDetails/liveStreamDetails.js b/packageA/pages/liveStreamDetails/liveStreamDetails.js index 3dc4728..472479d 100644 --- a/packageA/pages/liveStreamDetails/liveStreamDetails.js +++ b/packageA/pages/liveStreamDetails/liveStreamDetails.js @@ -631,6 +631,7 @@ drawText: function(ctx, str, leftWidth, initHeight, titleHeight, canvasWidth, un }, onShareTimeline: function (res) { + getApp().globalData.no_clear=1; if (res.from === 'button') { // 来自页面内转发按钮 console.log(res.target) diff --git a/packageB/pages/zuhegou/index/index.js b/packageB/pages/zuhegou/index/index.js index 6b7ba41..734ed71 100644 --- a/packageB/pages/zuhegou/index/index.js +++ b/packageB/pages/zuhegou/index/index.js @@ -467,6 +467,7 @@ Page({ * 用户分享朋友圈 */ onShareTimeline() { + getApp().globalData.no_clear=1; var title = this.data.act.name; var url = "/packageB/pages/zuhegou/index/index?id=" + this.data.act.id; if (getApp().globalData.user_id) { diff --git a/packageB/pages/zuhegou/preindex/index.js b/packageB/pages/zuhegou/preindex/index.js index 90a38b2..faf319d 100644 --- a/packageB/pages/zuhegou/preindex/index.js +++ b/packageB/pages/zuhegou/preindex/index.js @@ -468,6 +468,7 @@ Page({ * 用户分享朋友圈 */ onShareTimeline() { + getApp().globalData.no_clear=1; var title = this.data.act.name; var url = "/packageB/pages/zuhegou/index/index?id=" + this.data.act.id; if (getApp().globalData.user_id) { diff --git a/packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js b/packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js index f4a7a0b..b39f883 100644 --- a/packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js +++ b/packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js @@ -6181,6 +6181,7 @@ Page({ }, onShareTimeline() { + getApp().globalData.no_clear=1; var store_name = getApp().globalData.config ? getApp().globalData.config.store_name : ''; if (!store_name) store_name = getApp().globalData.setting.appName; diff --git a/packageC/pages/presell/goodsInfo/goodsInfo.js b/packageC/pages/presell/goodsInfo/goodsInfo.js index b8d75d6..ca13be2 100644 --- a/packageC/pages/presell/goodsInfo/goodsInfo.js +++ b/packageC/pages/presell/goodsInfo/goodsInfo.js @@ -3831,6 +3831,7 @@ Page({ onShareTimeline() { + getApp().globalData.no_clear=1; var store_name = getApp().globalData.config ? getApp().globalData.config.store_name : ''; if (!store_name) store_name = getApp().globalData.setting.appName; diff --git a/packageC/pages/presell/pregoodsInfo/goodsInfo.js b/packageC/pages/presell/pregoodsInfo/goodsInfo.js index ec5f20e..4ed4b77 100644 --- a/packageC/pages/presell/pregoodsInfo/goodsInfo.js +++ b/packageC/pages/presell/pregoodsInfo/goodsInfo.js @@ -3795,6 +3795,7 @@ Page({ onShareTimeline() { + getApp().globalData.no_clear=1; var store_name = getApp().globalData.config ? getApp().globalData.config.store_name : ''; if (!store_name) store_name = getApp().globalData.setting.appName; diff --git a/pages/activity/pind_list/pind_list.js b/pages/activity/pind_list/pind_list.js index a4b2f1f..b434b0b 100644 --- a/pages/activity/pind_list/pind_list.js +++ b/pages/activity/pind_list/pind_list.js @@ -250,6 +250,7 @@ Page({ }, onShareTimeline() { + getApp().globalData.no_clear=1; var store_name = getApp().globalData.config ? getApp().globalData.config.store_name : ''; if (!store_name) store_name = getApp().globalData.setting.appName; diff --git a/pages/activity/seckill_list/seckill_list.js b/pages/activity/seckill_list/seckill_list.js index 4c9356c..918d2e3 100644 --- a/pages/activity/seckill_list/seckill_list.js +++ b/pages/activity/seckill_list/seckill_list.js @@ -268,6 +268,7 @@ Page({ }, onShareTimeline() { + getApp().globalData.no_clear=1; var store_name = getApp().globalData.config ? getApp().globalData.config.store_name : ''; if (!store_name) store_name = getApp().globalData.setting.appName; diff --git a/pages/giftpack/mygiftpack/mygiftpack.js b/pages/giftpack/mygiftpack/mygiftpack.js index a7749f9..dfee9d8 100644 --- a/pages/giftpack/mygiftpack/mygiftpack.js +++ b/pages/giftpack/mygiftpack/mygiftpack.js @@ -178,6 +178,7 @@ Page({ }, onShareTimeline() { + getApp().globalData.no_clear=1; var curPage = this; var pagePath = curPage.route; //当前页面url if (pagePath.indexOf('/') != 0) { diff --git a/pages/goods/categoryList/categoryList.js b/pages/goods/categoryList/categoryList.js index e0959b4..71daaa0 100644 --- a/pages/goods/categoryList/categoryList.js +++ b/pages/goods/categoryList/categoryList.js @@ -1060,6 +1060,7 @@ Page({ }, onShareTimeline(){ + getApp().globalData.no_clear=1; var store_name=getApp().globalData.config?getApp().globalData.config.store_name:''; if(!store_name) store_name=getApp().globalData.setting.appName; diff --git a/pages/goods/goodsInfo/goodsInfo.js b/pages/goods/goodsInfo/goodsInfo.js index 971034f..21dbc81 100644 --- a/pages/goods/goodsInfo/goodsInfo.js +++ b/pages/goods/goodsInfo/goodsInfo.js @@ -6359,6 +6359,7 @@ Page({ }, onShareTimeline() { + getApp().globalData.no_clear=1; var store_name = getApp().globalData.config ? getApp().globalData.config.store_name : ''; if (!store_name) store_name = getApp().globalData.setting.appName; diff --git a/pages/index/index/index.js b/pages/index/index/index.js index fd5d9a2..daaec2c 100644 --- a/pages/index/index/index.js +++ b/pages/index/index/index.js @@ -1166,6 +1166,8 @@ Page({ onShareTimeline() { + getApp().globalData.no_clear=1; + // getApp().getConfig(function(t) { // return { // title: '首页-' + getApp().globalData.config.store_name, diff --git a/pages/template/index.js b/pages/template/index.js index 2f2321a..13d8475 100644 --- a/pages/template/index.js +++ b/pages/template/index.js @@ -102,6 +102,7 @@ Page({ * 用户分享朋友圈 */ async onShareTimeline(){ + getApp().globalData.no_clear=1; getApp().getConfig(await function(e){ this.setData({ store_config:e diff --git a/pages/user/assistance/assistance.js b/pages/user/assistance/assistance.js index 43cd63f..55acd63 100644 --- a/pages/user/assistance/assistance.js +++ b/pages/user/assistance/assistance.js @@ -241,6 +241,7 @@ Page({ }, onShareTimeline() { + getApp().globalData.no_clear=1; var store_name = getApp().globalData.config ? getApp().globalData.config.store_name : ''; if (!store_name) store_name = getApp().globalData.setting.appName;