Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
xiaoxiaole
Commits
10d84d24
Commit
10d84d24
authored
Dec 18, 2019
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
74f641fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
xiaoxiaole.iml
.idea/xiaoxiaole.iml
+1
-5
RechargePanel.ts
egret/src/panels/RechargePanel.ts
+2
-1
No files found.
.idea/xiaoxiaole.iml
View file @
10d84d24
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<module
type=
"WEB_MODULE"
version=
"4"
>
<module
type=
"WEB_MODULE"
version=
"4"
>
<component
name=
"NewModuleRootManager"
>
<component
name=
"NewModuleRootManager"
>
<content
url=
"file://$MODULE_DIR$"
>
<content
url=
"file://$MODULE_DIR$"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/.tmp"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/temp"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/tmp"
/>
</content>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
</component>
...
...
egret/src/panels/RechargePanel.ts
View file @
10d84d24
...
@@ -149,8 +149,8 @@ export default class RechargePanel extends Panel {
...
@@ -149,8 +149,8 @@ export default class RechargePanel extends Panel {
console
.
warn
(
error
)
console
.
warn
(
error
)
}
}
NetManager
.
ins
.
exchangeCoin
((
success
,
res
)
=>
{
NetManager
.
ins
.
exchangeCoin
((
success
,
res
)
=>
{
this
.
btn
.
touchEnabled
=
true
;
if
(
!
success
)
{
if
(
!
success
)
{
this
.
btn
.
touchEnabled
=
true
;
showToast
(
'网络开小差啦,请稍后再试'
);
showToast
(
'网络开小差啦,请稍后再试'
);
return
;
return
;
}
}
...
@@ -160,6 +160,7 @@ export default class RechargePanel extends Panel {
...
@@ -160,6 +160,7 @@ export default class RechargePanel extends Panel {
this
.
onTouchTap_closeBtn
();
this
.
onTouchTap_closeBtn
();
// PanelCtrl.instance.show('Shop');
// PanelCtrl.instance.show('Shop');
SceneCtrl
.
instance
.
updateScene
();
SceneCtrl
.
instance
.
updateScene
();
this
.
btn
.
touchEnabled
=
true
;
},
window
[
'collectRuleId'
]);
},
window
[
'collectRuleId'
]);
},
this
.
nowNumber
);
},
this
.
nowNumber
);
}
}
...
...
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