Authored by 梁志锋

merge develop/wap

@@ -137,6 +137,16 @@ function showPage() { @@ -137,6 +137,16 @@ function showPage() {
137 $('.payapp-list').css('visibility', 'visible'); 137 $('.payapp-list').css('visibility', 'visible');
138 } 138 }
139 139
  140 +function bindTouchedEvent() {
  141 + var $boxs = $('.box');
  142 +
  143 + $boxs.on('touchstart', function(e) {
  144 + $(this).addClass('bytouch');
  145 + }).on('touchend touchcancel', function() {
  146 + $boxs.removeClass('bytouch');
  147 + });
  148 +}
  149 +
140 if (wxHammer) { 150 if (wxHammer) {
141 wxHammer.on('tap', function() { 151 wxHammer.on('tap', function() {
142 callpay(theOrderCode); 152 callpay(theOrderCode);
@@ -148,6 +158,7 @@ function main() { @@ -148,6 +158,7 @@ function main() {
148 loading.hideLoadingMask(); 158 loading.hideLoadingMask();
149 showPage(); 159 showPage();
150 loadIcon(); 160 loadIcon();
  161 + bindTouchedEvent();
151 } 162 }
152 163
153 loading.showLoadingMask(); 164 loading.showLoadingMask();
@@ -130,7 +130,6 @@ @@ -130,7 +130,6 @@
130 z-index: 2; 130 z-index: 2;
131 position: relative; 131 position: relative;
132 132
133 -  
134 &.boys { 133 &.boys {
135 @include background-image(linear-gradient(#323232, #414141)); 134 @include background-image(linear-gradient(#323232, #414141));
136 } 135 }