...
|
...
|
@@ -137,6 +137,16 @@ function showPage() { |
|
|
$('.payapp-list').css('visibility', 'visible');
|
|
|
}
|
|
|
|
|
|
function bindTouchedEvent() {
|
|
|
var $boxs = $('.box');
|
|
|
|
|
|
$boxs.on('touchstart', function(e) {
|
|
|
$(this).addClass('bytouch');
|
|
|
}).on('touchend touchcancel', function() {
|
|
|
$boxs.removeClass('bytouch');
|
|
|
});
|
|
|
}
|
|
|
|
|
|
if (wxHammer) {
|
|
|
wxHammer.on('tap', function() {
|
|
|
callpay(theOrderCode);
|
...
|
...
|
@@ -148,6 +158,7 @@ function main() { |
|
|
loading.hideLoadingMask();
|
|
|
showPage();
|
|
|
loadIcon();
|
|
|
bindTouchedEvent();
|
|
|
}
|
|
|
|
|
|
loading.showLoadingMask();
|
...
|
...
|
|