Showing
3 changed files
with
9 additions
and
6 deletions
1 | // 调用秒杀js | 1 | // 调用秒杀js |
2 | $(window).on('seckill', function(event, detailData) { | 2 | $(window).on('seckill', function(event, detailData) { |
3 | - require('product/seckill/seckill-detail.page.css'); | ||
4 | 3 | ||
5 | /** | 4 | /** |
6 | * [秒抢页面js] | 5 | * [秒抢页面js] |
@@ -32,6 +31,9 @@ $(window).on('seckill', function(event, detailData) { | @@ -32,6 +31,9 @@ $(window).on('seckill', function(event, detailData) { | ||
32 | 31 | ||
33 | let secKillPrice = 0; | 32 | let secKillPrice = 0; |
34 | 33 | ||
34 | + // 隐藏折扣信息 | ||
35 | + $('.good-detail-page').addClass('hide-discount'); | ||
36 | + | ||
35 | require('common'); | 37 | require('common'); |
36 | 38 | ||
37 | seckillObj = { | 39 | seckillObj = { |
@@ -10,6 +10,12 @@ $basicBtnC: #eb0313; | @@ -10,6 +10,12 @@ $basicBtnC: #eb0313; | ||
10 | overflow: hidden; | 10 | overflow: hidden; |
11 | background-color: #f0f0f0; | 11 | background-color: #f0f0f0; |
12 | 12 | ||
13 | + &.hide-discount { | ||
14 | + .goods-discount { | ||
15 | + display: none; | ||
16 | + } | ||
17 | + } | ||
18 | + | ||
13 | .yoho-tip { | 19 | .yoho-tip { |
14 | z-index: 100; | 20 | z-index: 100; |
15 | } | 21 | } |
-
Please register or login to post a comment