Authored by 郭成尧

'shop-coupon-page'

@@ -4,7 +4,7 @@ var $ = require('yoho-jquery'), @@ -4,7 +4,7 @@ var $ = require('yoho-jquery'),
4 4
5 var appVersion = $('input[name="app_version"]').val(); 5 var appVersion = $('input[name="app_version"]').val();
6 6
7 -$(".coupon-content .receive-btn").closest('.swiper-slide').on('click', function(e) { 7 +$('.coupon-content .receive-btn').closest('.swiper-slide').on('click', function() {
8 var that = this, 8 var that = this,
9 code = $(this).data('id') || ''; 9 code = $(this).data('id') || '';
10 10
@@ -55,4 +55,4 @@ $(function() { @@ -55,4 +55,4 @@ $(function() {
55 slidesPerView: 'auto', 55 slidesPerView: 'auto',
56 watchSlidesVisibility: true 56 watchSlidesVisibility: true
57 }); 57 });
58 -}) 58 +});
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 .coupon-big { 6 .coupon-big {
7 height: 120px; 7 height: 120px;
8 width: 580px; 8 width: 580px;
9 - background: resolve('product/coupon-big.png') no-repeat; 9 + background: resolve("product/coupon-big.png") no-repeat;
10 background-size: 580px 120px; 10 background-size: 580px 120px;
11 margin: 30px; 11 margin: 30px;
12 position: relative; 12 position: relative;
@@ -21,11 +21,11 @@ @@ -21,11 +21,11 @@
21 float: left; 21 float: left;
22 } 22 }
23 23
24 - .coupon-left .coupon-left-price .coupon-sign{ 24 + .coupon-left .coupon-left-price .coupon-sign {
25 font-size: 50px; 25 font-size: 50px;
26 } 26 }
27 27
28 - .coupon-left .coupon-left-price .coupon-price{ 28 + .coupon-left .coupon-left-price .coupon-price {
29 font-size: 72px; 29 font-size: 72px;
30 } 30 }
31 31
@@ -53,7 +53,7 @@ @@ -53,7 +53,7 @@
53 .coupon-small { 53 .coupon-small {
54 height: 120px; 54 height: 120px;
55 width: 245px; 55 width: 245px;
56 - background: resolve('product/coupon-small.png') no-repeat; 56 + background: resolve("product/coupon-small.png") no-repeat;
57 background-size: 245px 120px; 57 background-size: 245px 120px;
58 margin: 30px 0 30px 30px; 58 margin: 30px 0 30px 30px;
59 position: relative; 59 position: relative;
@@ -74,11 +74,11 @@ @@ -74,11 +74,11 @@
74 height: 62px; 74 height: 62px;
75 } 75 }
76 76
77 - .coupon-left .coupon-left-price .coupon-sign{ 77 + .coupon-left .coupon-left-price .coupon-sign {
78 font-size: 42px; 78 font-size: 42px;
79 } 79 }
80 80
81 - .coupon-left .coupon-left-price .coupon-price{ 81 + .coupon-left .coupon-left-price .coupon-price {
82 font-size: 52px; 82 font-size: 52px;
83 } 83 }
84 84