diff --git a/pages/activity/pind_list/pind_list.js b/pages/activity/pind_list/pind_list.js index f6e3289..a3e37d2 100644 --- a/pages/activity/pind_list/pind_list.js +++ b/pages/activity/pind_list/pind_list.js @@ -126,6 +126,13 @@ Page({ this.reloadGoodList(); }, + //---------分享配置-------- + onShareAppMessage: function (e) { + return { + title: "限时团购", + } + }, + //图片失败,默认图片 bind_bnerr2: function (e) { var _errImg = e.target.dataset.errorimg; diff --git a/pages/activity/seckill_list/seckill_list.js b/pages/activity/seckill_list/seckill_list.js index 469bc0b..a669049 100644 --- a/pages/activity/seckill_list/seckill_list.js +++ b/pages/activity/seckill_list/seckill_list.js @@ -123,6 +123,12 @@ Page({ this.setData({type:a,goodlist:null}); this.reloadGoodList(); }, + //---------分享配置-------- + onShareAppMessage: function (e) { + return { + title: "疯狂秒杀", + } + }, //图片失败,默认图片 bind_bnerr2: function (e) { var _errImg = e.target.dataset.errorimg; diff --git a/pages/goods/categoryList/categoryList.js b/pages/goods/categoryList/categoryList.js index 6035320..04fba8c 100644 --- a/pages/goods/categoryList/categoryList.js +++ b/pages/goods/categoryList/categoryList.js @@ -417,7 +417,12 @@ Page({ } }); }, - + //---------分享配置-------- + onShareAppMessage: function (e) { + return { + title: "商品分类", + } + }, //图片失败,默认图片 bind_bnerr: function (e) { var _errImg = e.target.dataset.errorimg; diff --git a/pages/goods/goodsList/goodsList.js b/pages/goods/goodsList/goodsList.js index 53b794b..da8135b 100644 --- a/pages/goods/goodsList/goodsList.js +++ b/pages/goods/goodsList/goodsList.js @@ -137,7 +137,12 @@ Page({ }); this.data.currentPage = 2; }, - +//---------分享配置-------- + onShareAppMessage: function (e) { + return { + title: "商品列表", + } + }, //---图片失败,默认图片--- bind_bnerr2: function (e) { var _errImg = e.target.dataset.errorimg; diff --git a/pages/goods/search/search.js b/pages/goods/search/search.js index 069dda7..f062bca 100644 --- a/pages/goods/search/search.js +++ b/pages/goods/search/search.js @@ -175,6 +175,12 @@ Page({ if ("string" != typeof t || "" == t) return a.showWarning("请输入搜索关键词"); this.resetData(), this.requestSearch(this.data.baseUrl + "&key_str=" + encodeURIComponent(t)); }, + //---------分享配置-------- + onShareAppMessage: function (e) { + return { + title: "商品分类", + } + }, //---------图片失败,默认图片-------- bind_bnerr: function (e) { var _errImg = e.target.dataset.errorimg;