Authored by 梁志锋

购物车尺码颜色选择逻辑

@@ -82,16 +82,20 @@ function show(data) { @@ -82,16 +82,20 @@ function show(data) {
82 $chosePanel.html(panelTmpl(data)); 82 $chosePanel.html(panelTmpl(data));
83 init(); 83 init();
84 } 84 }
85 -}  
86 -  
87 -//显示当前Panel  
88 -function show() {  
89 $('.chose-panel').show(); 85 $('.chose-panel').show();
90 86
91 $('body').css('overflow', 'hidden'); 87 $('body').css('overflow', 'hidden');
92 $num = $('#good-num'); 88 $num = $('#good-num');
93 } 89 }
94 90
  91 +////显示当前Panel
  92 +//function show() {
  93 +// $('.chose-panel').show();
  94 +//
  95 +// $('body').css('overflow', 'hidden');
  96 +// $num = $('#good-num');
  97 +//}
  98 +
95 //隐藏当前Panel 99 //隐藏当前Panel
96 function hide() { 100 function hide() {
97 $('.chose-panel').hide(); 101 $('.chose-panel').hide();
@@ -58,6 +58,7 @@ @@ -58,6 +58,7 @@
58 </a> 58 </a>
59 </div> 59 </div>
60 <span class="left-num"></span> 60 <span class="left-num"></span>
  61 + <input id="left-num" type="hidden" value="0">
61 </div> 62 </div>
62 </div> 63 </div>
63 </div> 64 </div>