Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
h5_activity
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谭新宇
h5_activity
Commits
958cb736
Commit
958cb736
authored
Dec 19, 2019
by
谭新宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
特殊逻辑控制
parent
456bb728
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
common.js
showPhotos/js/page/common.js
+11
-0
No files found.
showPhotos/js/page/common.js
View file @
958cb736
...
@@ -595,6 +595,17 @@ function visitorNoVoteDialogBind(){
...
@@ -595,6 +595,17 @@ function visitorNoVoteDialogBind(){
$
(
'#html-template-7 .vote-btn-1'
).
off
(
"click"
).
on
(
'click'
,
function
(){
$
(
'#html-template-7 .vote-btn-1'
).
off
(
"click"
).
on
(
'click'
,
function
(){
$
(
'#html-template-7'
).
fadeOut
();
$
(
'#html-template-7'
).
fadeOut
();
var
_t
=
getToken
();
var
_t
=
getToken
();
var
_votingStartTime
=
_settings
.
szRule
.
votingStartTime
.
replace
(
/-/g
,
'/'
);
var
_cTime
=
currentTime
.
replace
(
/-/g
,
'/'
);
var
endTime
=
new
Date
(
_votingStartTime
).
getTime
()
-
new
Date
(
_cTime
).
getTime
();
// 2019-12-9 跳转特殊处理金港镇晒照活动,投票开始时候不能报名
if
(
activityCode
===
'HD1191209101728'
&&
endTime
/
1000
<
0
)
{
alert
(
'当前活动投票已经开始,不可再报名!'
);
return
}
// 跳转到报名
// 跳转到报名
transPage
(
'2'
,
activityCode
,
_t
);
transPage
(
'2'
,
activityCode
,
_t
);
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment