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
e1512fb6
Commit
e1512fb6
authored
Oct 18, 2020
by
Edwise
🍷
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'refs/remotes/origin/jiaoneiqunuan' into jiaoneiqunuan
parents
11c766c5
b8debddb
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 @
e1512fb6
...
@@ -115,10 +115,14 @@ Page({
...
@@ -115,10 +115,14 @@ Page({
hidetime
:
0
,
hidetime
:
0
,
othername
:
[],
othername
:
[],
overequest
:
false
,
overequest
:
false
,
laststat
:
""
laststat
:
""
,
firstin
:
true
,
},
},
onLoad
(
query
)
{
onLoad
(
query
)
{
console
.
log
(
"onLoad========>"
,
query
);
console
.
log
(
"onLoad========>"
,
query
);
this
.
setData
({
fistin
:
true
});
if
(
query
&&
query
.
laststat
)
{
if
(
query
&&
query
.
laststat
)
{
let
laststat
=
query
.
laststat
;
let
laststat
=
query
.
laststat
;
this
.
setData
({
this
.
setData
({
...
@@ -272,7 +276,7 @@ Page({
...
@@ -272,7 +276,7 @@ Page({
this
.
addAttionTxt
(
attiontxt1
);
this
.
addAttionTxt
(
attiontxt1
);
this
.
updateAct
();
this
.
updateAct
();
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
newAiControl
(
"task"
,
1
,
2
);
this
.
newAiControl
(
"task"
,
1
,
2
);
this
.
hideSetData
();
this
.
hideSetData
();
},
4000
);
},
4000
);
},
},
...
@@ -583,7 +587,8 @@ Page({
...
@@ -583,7 +587,8 @@ Page({
},
},
onShow
()
{
onShow
()
{
let
laststat
=
this
.
data
.
laststat
;
let
laststat
=
this
.
data
.
laststat
;
if
(
laststat
==
"normal"
)
{
let
firstin
=
this
.
data
.
firstin
;
if
(
!
firstin
)
{
//laststat == "normal"
let
ntime
=
Date
.
now
();
let
ntime
=
Date
.
now
();
let
hidetime
=
this
.
data
.
hidetime
;
let
hidetime
=
this
.
data
.
hidetime
;
if
(
hidetime
)
{
if
(
hidetime
)
{
...
@@ -606,6 +611,9 @@ Page({
...
@@ -606,6 +611,9 @@ Page({
})
})
}
}
}
}
this
.
setData
({
firstin
:
false
});
let
ngametime
=
this
.
data
.
gametime
;
let
ngametime
=
this
.
data
.
gametime
;
if
((
this
.
data
.
isnew
>
0
&&
this
.
data
.
isnew
<
7
)
||
this
.
data
.
show_v
!=
2
||
ngametime
<=
0
)
{
if
((
this
.
data
.
isnew
>
0
&&
this
.
data
.
isnew
<
7
)
||
this
.
data
.
show_v
!=
2
||
ngametime
<=
0
)
{
...
@@ -615,6 +623,7 @@ Page({
...
@@ -615,6 +623,7 @@ Page({
},
},
onHide
()
{
onHide
()
{
this
.
hideSetData
();
this
.
hideSetData
();
let
ntime
=
Date
.
now
();
this
.
setData
({
this
.
setData
({
hidetime
:
ntime
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