Commit 49dc133144bf57a6e2698b505db4535535d46c86
1 parent
04dc5713
1、 商品详情页面的 秒杀指定门店的有哈
2、 优惠券限定链接领取的优化成 不能分享
Showing
2 changed files
with
7 additions
and
1 deletions
packageA/pages/quan_pro/quan_pro.js
| ... | ... | @@ -85,6 +85,11 @@ Page({ |
| 85 | 85 | th.setData({is_get:1}); |
| 86 | 86 | th.setData({ q_data:r_data }); |
| 87 | 87 | |
| 88 | + //如果只限定链接的时候,要取消分享按钮 | |
| 89 | + if(r_data.is_share){ | |
| 90 | + wx.hideShareMenu(); | |
| 91 | + } | |
| 92 | + | |
| 88 | 93 | |
| 89 | 94 | // var user_id=getApp().globalData.user_id; |
| 90 | 95 | // await getApp().request.promiseGet("/api/weshop/prom/coupon/pageCouponList", { | ... | ... |
pages/goods/goodsInfo/goodsInfo.js
| ... | ... | @@ -8506,11 +8506,12 @@ Page({ |
| 8506 | 8506 | openSpecModal_flash_normal: 1 |
| 8507 | 8507 | }); |
| 8508 | 8508 | } else { |
| 8509 | - th.get_sto(1); | |
| 8509 | + | |
| 8510 | 8510 | th.get_sku(o.stoid, th.data.data, th.data.gid, 1, function () { |
| 8511 | 8511 | th.setData({ |
| 8512 | 8512 | openSpecModal_flash_normal: 1 |
| 8513 | 8513 | }); |
| 8514 | + th.get_sto(1); | |
| 8514 | 8515 | }); |
| 8515 | 8516 | } |
| 8516 | 8517 | if (!this.data.data.whsle_id) this.check_is_youhui(th.data.gid, 1); | ... | ... |