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
456bb728
Commit
456bb728
authored
Dec 18, 2019
by
谭新宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改ios时间转换问题
parent
9dca18c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
index.js
showPhotos/js/page/index.js
+4
-2
No files found.
showPhotos/js/page/index.js
View file @
456bb728
...
@@ -116,8 +116,10 @@ function btnBindClick() {
...
@@ -116,8 +116,10 @@ function btnBindClick() {
// 报名按钮
// 报名按钮
$
(
"#act31527459124456"
).
off
(
"click"
).
on
(
"click"
,
function
(){
$
(
"#act31527459124456"
).
off
(
"click"
).
on
(
"click"
,
function
(){
var
endTime
=
new
Date
(
_settings
.
szRule
.
votingStartTime
).
getTime
()
-
new
Date
(
currentTime
).
getTime
();
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 跳转特殊处理金港镇晒照活动,投票开始时候不能报名
// 2019-12-9 跳转特殊处理金港镇晒照活动,投票开始时候不能报名
if
(
activityCode
===
'HD1191209101728'
&&
endTime
/
1000
<
0
)
{
if
(
activityCode
===
'HD1191209101728'
&&
endTime
/
1000
<
0
)
{
alert
(
'当前活动投票已经开始,不可再报名!'
);
alert
(
'当前活动投票已经开始,不可再报名!'
);
...
...
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