Commit 95e5237e authored by 华国豪's avatar 华国豪 🙄

禁用分享

parent 91653df4
......@@ -18,6 +18,9 @@ Page({
imgList: [],
openId: ''
},
onShareAppMessage: function () {
console.log(1111)
},
goSearchPage: function (){
wx.navigateTo({
url: "/pages/Product/Search/Search",
......
......@@ -170,6 +170,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu()
let searchKey = ''
if (typeof (options.searchKey) !== "undefined") {
searchKey = options.searchKey
......
......@@ -178,6 +178,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu()
let _this = this
wx.getSetting({
success(res) {
......
......@@ -62,6 +62,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu()
wx.setNavigationBarTitle({
title: '分类'
})
......
......@@ -12,6 +12,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu()
wx.setNavigationBarTitle({
title: '查看物流'
})
......
......@@ -16,6 +16,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu()
this.setData({
orderId: options.id
})
......
......@@ -247,6 +247,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu()
wx.setNavigationBarTitle({
title: '购物车'
})
......
......@@ -46,6 +46,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu()
let _this = this
wx.getStorage({
key: 'admin',
......
......@@ -112,6 +112,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu()
let _this = this
if (options.edit) {
wx.getStorage({
......
......@@ -135,6 +135,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu()
wx.setNavigationBarTitle({
title: '收货地址'
})
......
......@@ -158,6 +158,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu()
if (options.type) {
this.setData({
active: options.type * 1 === 0 ? -1 : options.type * 1
......
......@@ -83,6 +83,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.hideShareMenu()
this.setData({
CorderId: options.id
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment