diff --git a/pages.json b/pages.json index 6df06a2..8b98ef5 100644 --- a/pages.json +++ b/pages.json @@ -240,7 +240,8 @@ { "path": "pages/book/myPhotoProducts/myPhotoProducts", "style": { - "navigationBarTitleText": "" + "navigationBarTitleText": "", + "enablePullDownRefresh": true //开启下拉刷新 } } ], diff --git a/pages/Shopping-cart/productmain/testproductmain.vue b/pages/Shopping-cart/productmain/testproductmain.vue index ddb53e2..653db31 100644 --- a/pages/Shopping-cart/productmain/testproductmain.vue +++ b/pages/Shopping-cart/productmain/testproductmain.vue @@ -150,6 +150,10 @@ onLoad(() => { getFonts() getProductCart() //再获取一次 + wx.showShareMenu({ + withShareTicket: true, + menus: ["shareAppMessage","shareTimeline"] + }) }) diff --git a/pages/home/home.vue b/pages/home/home.vue index 3713470..3bda1f3 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -65,6 +65,10 @@ onLoad(()=>{ getFonts() getZSFont() getMyUser() + wx.showShareMenu({ + withShareTicket: true, + menus: ["shareAppMessage","shareTimeline"] + }) }) const getMyUser = async () =>{ const res = await uni.request({ diff --git a/pages/mine/main/main.vue b/pages/mine/main/main.vue index 32c5dd5..5b0e180 100644 --- a/pages/mine/main/main.vue +++ b/pages/mine/main/main.vue @@ -139,6 +139,10 @@ onLoad(() => { getFonts() //启动使从服务器下载字体 + wx.showShareMenu({ + withShareTicket: true, + menus: ["shareAppMessage","shareTimeline"] + }) }) const gotoLogin = () => { diff --git a/pages/store-home/main/testMain.vue b/pages/store-home/main/testMain.vue index 6bfe4a9..44d1bcd 100644 --- a/pages/store-home/main/testMain.vue +++ b/pages/store-home/main/testMain.vue @@ -91,6 +91,10 @@ onLoad((options)=>{ // await changeTypes( sort.value[0] , 0 ) //首先获取最开始的类别 getAllGoods() getCarouseList() + wx.showShareMenu({ + withShareTicket: true, + menus: ["shareAppMessage","shareTimeline"] + }) }) onPullDownRefresh( ()=>{ //下拉刷新 // await Getsort()