Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
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
崔立强
db-game-template
Commits
9582e169
Commit
9582e169
authored
Feb 20, 2020
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
6f4247a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
TaskMsgPanel.ts
egret/src/ShootPlanet/Panel/TaskMsgPanel.ts
+1
-1
TaskPanel.ts
egret/src/ShootPlanet/Panel/TaskPanel.ts
+2
-2
No files found.
egret/src/ShootPlanet/Panel/TaskMsgPanel.ts
View file @
9582e169
...
@@ -21,7 +21,7 @@ export default class TaskMsgPanel extends Panel {
...
@@ -21,7 +21,7 @@ export default class TaskMsgPanel extends Panel {
this
.
okBtn
.
onTap
(
this
,
()
=>
{
this
.
okBtn
.
onTap
(
this
,
()
=>
{
//如果是绑定微信,直接跳
//如果是绑定微信,直接跳
if
(
urls
[
this
.
data
.
type
]
==
"bindWechat"
)
{
if
(
urls
[
this
.
data
.
type
]
==
"bindWechat"
)
{
location
.
href
=
"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx
74299203e73e2156&redirect_uri=http://emall.wjrcb.com/martjl
/appCustomer/weixinWbankLogin.htm?response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect"
location
.
href
=
"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx
80f9cc9f4b9da11f&redirect_uri=https://mall.wjrcb.com/app
/appCustomer/weixinWbankLogin.htm?response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect"
}
else
{
}
else
{
//中间页
//中间页
location
.
href
=
MConfigs
.
appLink
+
urls
[
this
.
data
.
type
];
location
.
href
=
MConfigs
.
appLink
+
urls
[
this
.
data
.
type
];
...
...
egret/src/ShootPlanet/Panel/TaskPanel.ts
View file @
9582e169
...
@@ -62,7 +62,7 @@ export default class TaskPanel extends Panel {
...
@@ -62,7 +62,7 @@ export default class TaskPanel extends Panel {
ShareGuide
.
instace
.
show
();
ShareGuide
.
instace
.
show
();
//直接延时,还是在回调里
//直接延时,还是在回调里
MTimer
.
set
(
60
*
6
,
()
=>
{
setTimeout
(
()
=>
{
const
timestamp
=
NetUtils
.
getTimestamp
();
const
timestamp
=
NetUtils
.
getTimestamp
();
Net
.
sendPost
(
Net
.
Url
.
share
,
{
Net
.
sendPost
(
Net
.
Url
.
share
,
{
timestamp
:
timestamp
,
timestamp
:
timestamp
,
...
@@ -73,7 +73,7 @@ export default class TaskPanel extends Panel {
...
@@ -73,7 +73,7 @@ export default class TaskPanel extends Panel {
//怎么更新首页的次数
//怎么更新首页的次数
SceneCtrl
.
instance
[
"_currentScene"
][
"updateTimes"
]();
SceneCtrl
.
instance
[
"_currentScene"
][
"updateTimes"
]();
},
()
=>
{
});
},
()
=>
{
});
});
}
,
7000
);
});
});
//事件
//事件
for
(
let
i
=
1
;
i
<
btns
.
length
;
i
++
)
{
for
(
let
i
=
1
;
i
<
btns
.
length
;
i
++
)
{
...
...
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