Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
9 years ago
Commit
931037b119fba42a4d1f68d77f715586e93c37f5
1 parent
b5c1b179
gulp ge
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
static/dist/myohobuy/4.9.26/index-debug.js
static/dist/myohobuy/4.9.26/index.css
static/dist/myohobuy/4.9.26/index.js
static/dist/myohobuy/4.9.26/index-debug.js
View file @
931037b
...
...
@@ -7837,18 +7837,17 @@ var $ = require("jquery"),
Swiper
=
require
(
"swiper"
),
tip
=
require
(
"js/plugin/tip"
);
var
isCouponClick
=
true
,
appVersion
=
$
(
'input[name="app_version"]'
).
val
();
var
appVersion
=
$
(
'input[name="app_version"]'
).
val
();
$
(
".coupon-content .receive-btn"
).
closest
(
'.swiper-slide'
).
on
(
'click'
,
function
(
e
)
{
var
that
=
this
,
code
=
$
(
this
).
data
(
'id'
)
||
''
;
if
(
isCouponClick
===
false
)
{
if
(
that
.
isCouponClick
===
false
)
{
return
false
;
}
isCouponClick
=
false
;
that
.
isCouponClick
=
false
;
$
.
ajax
({
method
:
'POST'
,
...
...
@@ -7862,7 +7861,7 @@ $(".coupon-content .receive-btn").closest('.swiper-slide').on('click', function(
},
success
:
function
(
data
)
{
isCouponClick
=
true
;
that
.
isCouponClick
=
true
;
if
(
data
.
code
===
200
)
{
tip
.
show
(
'领取成功'
);
...
...
@@ -7880,7 +7879,7 @@ $(".coupon-content .receive-btn").closest('.swiper-slide').on('click', function(
},
error
:
function
()
{
tip
.
show
(
'网络断开连接了~'
);
isCouponClick
=
true
;
that
.
isCouponClick
=
true
;
}
});
});
...
...
static/dist/myohobuy/4.9.26/index.css
View file @
931037b
This diff could not be displayed because it is too large.
static/dist/myohobuy/4.9.26/index.js
View file @
931037b
This diff could not be displayed because it is too large.
Please
register
or
login
to post a comment