Commit 0e2bcd182c0783556999d88dc304cd97a15e5ea2
1 parent
756e5565
暂时隐藏预售预热
Showing
3 changed files
with
8 additions
and
4 deletions
packageC/pages/presell/goodsInfo/goodsInfo.js
| @@ -420,13 +420,14 @@ Page({ | @@ -420,13 +420,14 @@ Page({ | ||
| 420 | }) | 420 | }) |
| 421 | } | 421 | } |
| 422 | }); | 422 | }); |
| 423 | + | ||
| 424 | + | ||
| 423 | //更新点击量 | 425 | //更新点击量 |
| 424 | getApp().request.put("/api/weshop/goods/updateClick", { | 426 | getApp().request.put("/api/weshop/goods/updateClick", { |
| 425 | data: { store_id: os.stoid, goods_id: gid } | 427 | data: { store_id: os.stoid, goods_id: gid } |
| 426 | }) | 428 | }) |
| 427 | }, | 429 | }, |
| 428 | 430 | ||
| 429 | - | ||
| 430 | //--- 设置一下默认库存的数量 ---- | 431 | //--- 设置一下默认库存的数量 ---- |
| 431 | set_def_storage(ee) { | 432 | set_def_storage(ee) { |
| 432 | var that = this, th = this; | 433 | var that = this, th = this; |
| @@ -799,6 +800,7 @@ Page({ | @@ -799,6 +800,7 @@ Page({ | ||
| 799 | 800 | ||
| 800 | } | 801 | } |
| 801 | else { | 802 | else { |
| 803 | + console.log('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx') | ||
| 802 | wx.showModal({ | 804 | wx.showModal({ |
| 803 | title: t.data.msg, | 805 | title: t.data.msg, |
| 804 | showCancel: !1, | 806 | showCancel: !1, |
packageC/pages/presell/list/list.wxml
| @@ -78,7 +78,8 @@ | @@ -78,7 +78,8 @@ | ||
| 78 | <view class="no-more" wx:elif="{{no_more}}">-- 没有更多 --</view> | 78 | <view class="no-more" wx:elif="{{no_more}}">-- 没有更多 --</view> |
| 79 | <view style="height:10rpx"></view> | 79 | <view style="height:10rpx"></view> |
| 80 | 80 | ||
| 81 | - <!-- 底部按钮 --> | 81 | + <!-- 底部按钮 暂时隐藏--> |
| 82 | + <!-- | ||
| 82 | <view class="kill-time xc-seckill-bottom"> | 83 | <view class="kill-time xc-seckill-bottom"> |
| 83 | <view class="theader" > | 84 | <view class="theader" > |
| 84 | <view bindtap='tip' data-ty="1" class="xc-border-right flex-center timeac left {{type==1?'active':''}}"> | 85 | <view bindtap='tip' data-ty="1" class="xc-border-right flex-center timeac left {{type==1?'active':''}}"> |
| @@ -93,7 +94,7 @@ | @@ -93,7 +94,7 @@ | ||
| 93 | 94 | ||
| 94 | </view> | 95 | </view> |
| 95 | </view> | 96 | </view> |
| 96 | - | 97 | +--> |
| 97 | 98 | ||
| 98 | </view> | 99 | </view> |
| 99 | 100 |
pages/goods/search/g_filter.wxs
| @@ -84,7 +84,8 @@ var g_filters = { | @@ -84,7 +84,8 @@ var g_filters = { | ||
| 84 | 84 | ||
| 85 | get_goods_url:function(item){ | 85 | get_goods_url:function(item){ |
| 86 | 86 | ||
| 87 | - var url1="/pages/goods/goodsInfo/goodsInfo?goods_id="+item.goods_id | 87 | + var url1="/pages/goods/goodsInfo/goodsInfo?goods_id="+item.goods_id |
| 88 | + // 预售活动 | ||
| 88 | if(item.prom_type==8){ | 89 | if(item.prom_type==8){ |
| 89 | url1="/packageC/pages/presell/goodsInfo/goodsInfo?goods_id="+item.goods_id+"&prom_id="+item.prom_id | 90 | url1="/packageC/pages/presell/goodsInfo/goodsInfo?goods_id="+item.goods_id+"&prom_id="+item.prom_id |
| 90 | } | 91 | } |