Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_taobao
Project
Project
Details
Activity
Releases
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
wildfirecode13
new_taobao
Commits
de903481
Commit
de903481
authored
Oct 18, 2020
by
zhangjinzhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码暂存
parent
c5d3ea55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
pagegamemain.js
taobao_jn/client/pages/pagegamemain/pagegamemain.js
+12
-3
No files found.
taobao_jn/client/pages/pagegamemain/pagegamemain.js
View file @
de903481
...
...
@@ -115,10 +115,14 @@ Page({
hidetime
:
0
,
othername
:
[],
overequest
:
false
,
laststat
:
""
laststat
:
""
,
firstin
:
true
,
},
onLoad
(
query
)
{
console
.
log
(
"onLoad========>"
,
query
);
this
.
setData
({
fistin
:
true
});
if
(
query
&&
query
.
laststat
)
{
let
laststat
=
query
.
laststat
;
this
.
setData
({
...
...
@@ -272,7 +276,7 @@ Page({
this
.
addAttionTxt
(
attiontxt1
);
this
.
updateAct
();
setTimeout
(()
=>
{
this
.
newAiControl
(
"task"
,
1
,
2
);
this
.
newAiControl
(
"task"
,
1
,
2
);
this
.
hideSetData
();
},
4000
);
},
...
...
@@ -583,7 +587,8 @@ Page({
},
onShow
()
{
let
laststat
=
this
.
data
.
laststat
;
if
(
laststat
==
"normal"
)
{
let
firstin
=
this
.
data
.
firstin
;
if
(
!
firstin
)
{
//laststat == "normal"
let
ntime
=
Date
.
now
();
let
hidetime
=
this
.
data
.
hidetime
;
if
(
hidetime
)
{
...
...
@@ -606,6 +611,9 @@ Page({
})
}
}
this
.
setData
({
firstin
:
false
});
let
ngametime
=
this
.
data
.
gametime
;
if
((
this
.
data
.
isnew
>
0
&&
this
.
data
.
isnew
<
7
)
||
this
.
data
.
show_v
!=
2
||
ngametime
<=
0
)
{
...
...
@@ -615,6 +623,7 @@ Page({
},
onHide
()
{
this
.
hideSetData
();
let
ntime
=
Date
.
now
();
this
.
setData
({
hidetime
:
ntime
});
...
...
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