Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
014000ae939b3cb97627f06e7d28e969ed83ff8b
1 parent
95da97a6
merge beta/wap分支
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
static/js/me/pay.js
static/js/me/pay.js
View file @
014000a
...
...
@@ -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
();
...
...
Please
register
or
login
to post a comment