...
|
...
|
@@ -143,6 +143,16 @@ function showPage() { |
|
|
$pageList.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);
|
...
|
...
|
@@ -154,9 +164,11 @@ function main() { |
|
|
loading.hideLoadingMask();
|
|
|
showPage();
|
|
|
loadIcon();
|
|
|
bindTouchedEvent();
|
|
|
}
|
|
|
|
|
|
loading.showLoadingMask();
|
|
|
|
|
|
$(document).ready(main);
|
|
|
|
|
|
|
...
|
...
|
|