Authored by 王水玲

分期优化

@@ -25,15 +25,6 @@ function setDetailText() { @@ -25,15 +25,6 @@ function setDetailText() {
25 }); 25 });
26 } 26 }
27 27
28 -// function setDefaultHeight() {  
29 -// var $detailImg = $('.good-detail-img');  
30 -//  
31 -// $detailImg.css({  
32 -// height: $detailImg.find('img').height() - 1,  
33 -// background: '#c3c3c3'  
34 -// });  
35 -// }  
36 -  
37 setDetailText(); 28 setDetailText();
38 29
39 $('.detail-tab span').on('click', function() { 30 $('.detail-tab span').on('click', function() {
@@ -43,17 +34,9 @@ $('.detail-tab span').on('click', function() { @@ -43,17 +34,9 @@ $('.detail-tab span').on('click', function() {
43 if ($(this).index() === 1) { 34 if ($(this).index() === 1) {
44 setDetailText(); 35 setDetailText();
45 lazyLoad($('img.lazy')); 36 lazyLoad($('img.lazy'));
46 -  
47 - // setTimeout(function() {  
48 - // setDefaultHeight();  
49 - // }, 2500);  
50 } 37 }
51 }); 38 });
52 39
53 -// setTimeout(function() {  
54 -// setDefaultHeight();  
55 -// }, 2500);  
56 -  
57 window.setCookie('installmentUid', window.queryString.uid); 40 window.setCookie('installmentUid', window.queryString.uid);
58 window.setCookie('udid', window.queryString.udid); 41 window.setCookie('udid', window.queryString.udid);
59 window.setCookie('clientType', window.queryString.client_type); 42 window.setCookie('clientType', window.queryString.client_type);
@@ -103,13 +103,9 @@ @@ -103,13 +103,9 @@
103 height: auto; 103 height: auto;
104 } 104 }
105 105
106 - .good-thumb {  
107 - width: 100%;  
108 - height: 100%;  
109 - }  
110 -  
111 .good-detail-img { 106 .good-detail-img {
112 height: auto; 107 height: auto;
  108 + background: #c3c3c3;
113 109
114 img { 110 img {
115 height: 100%; 111 height: 100%;