Toggle navigation
This project
Loading...
Sign in
xt
/
xcx-book
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
437b8693d7de457007cfe63ecc39c3706ee5f768
Authored by
vking
2020-09-03 09:37:31 +0800
1 parent
b278e271
build: skipped
fix activity.status
Changes
1
Builds
0
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
pages/reserve/discount.js
pages/reserve/discount.js
View file @
437b869
...
...
@@ -147,6 +147,7 @@ Page({
console
.
log
(
'hasActivityEvent'
,
e
);
App
.
Task
.
GetTaskInfo
({
pos
:
'home'
}).
then
(
res
=>
{
let
activity
=
res
.
data
.
activity
if
(
!
activity
)
return
;
let
time
=
new
Date
()
/
1000
if
(
activity
.
status
==
1
&&
activity
.
starttime
<
time
&&
time
<
activity
.
endtime
){
this
.
setData
({
...
...
Please
register
or
login
to post a comment