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
23f16ff6
Commit
23f16ff6
authored
Aug 29, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
79ad2f27
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
1 deletion
+8
-1
map.tmproject
egret/resource/TextureMerger/map.tmproject
+1
-1
Buy1Panel.ts
egret/src/panels/Buy1Panel.ts
+3
-0
Buy2Panel.ts
egret/src/panels/Buy2Panel.ts
+2
-0
Buy3Panel.ts
egret/src/panels/Buy3Panel.ts
+2
-0
No files found.
egret/resource/TextureMerger/map.tmproject
View file @
23f16ff6
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"map","version":5,"files":["../assets/map/progress2.png","../assets/map/progress1.png","../assets/map/icon.png","../assets/map/animal1.png","../assets/map/元宝bg.png","../assets/map/有星星.png","../assets/map/音乐.png","../assets/map/星星bg.png","../assets/map/星星.png","../assets/map/无星星.png","../assets/map/问题.png","../assets/map/退出.png","../assets/map/狮子.png","../assets/map/声音.png","../assets/map/设置bg.png","../assets/map/设置.png","../assets/map/关闭 拷贝.png","../assets/map/道具.png","../assets/map/宝箱btn.png","../assets/map/宝箱bg.png","../assets/map/宝箱.png","../assets/map/宝箱3.png","../assets/map/宝箱2.png","../assets/map/宝箱1.png","../assets/map/iconbg.png","../assets/map/光 副本 4.png","../assets/map/音乐关闭.png","../assets/map/声音关闭.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"map","version":5,"files":["../assets/map/progress2.png","../assets/map/progress1.png","../assets/map/icon.png","../assets/map/animal1.png","../assets/map/元宝bg.png","../assets/map/有星星.png","../assets/map/音乐.png","../assets/map/星星bg.png","../assets/map/星星.png","../assets/map/无星星.png","../assets/map/问题.png","../assets/map/退出.png","../assets/map/狮子.png","../assets/map/声音.png","../assets/map/设置bg.png","../assets/map/设置.png","../assets/map/关闭 拷贝.png","../assets/map/道具.png","../assets/map/宝箱btn.png","../assets/map/宝箱bg.png","../assets/map/宝箱.png","../assets/map/宝箱3.png","../assets/map/宝箱2.png","../assets/map/宝箱1.png","../assets/map/iconbg.png","../assets/map/光 副本 4.png","../assets/map/音乐关闭.png","../assets/map/声音关闭.png","../assets/map/recordbtn.png"]}
\ No newline at end of file
egret/src/panels/Buy1Panel.ts
View file @
23f16ff6
...
...
@@ -4,6 +4,7 @@ import PropType from "../PropType";
import
SceneCtrl
from
"../../libs/new_wx/ctrls/sceneCtrl"
;
import
{
getlogItem
}
from
"../Main"
;
import
{
showToast
}
from
"../../libs/new_wx/ctrls/toastCtrl"
;
import
setGlow
from
"../setGlow"
;
export
default
class
Buy1Panel
extends
Panel
{
buyBtn
:
eui
.
Button
...
...
@@ -13,6 +14,8 @@ export default class Buy1Panel extends Panel {
this
[
'buyBtn'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
this
.
ontap
,
this
);
this
.
showlog
();
this
[
'priceTxt'
].
text
=
'X'
+
window
[
'price3'
];
setGlow
(
this
[
'priceTxt'
],
0x0083e8
,
1
);
}
showlog
()
{
...
...
egret/src/panels/Buy2Panel.ts
View file @
23f16ff6
...
...
@@ -4,6 +4,7 @@ import PropType from "../PropType";
import
SceneCtrl
from
"../../libs/new_wx/ctrls/sceneCtrl"
;
import
{
getlogItem
}
from
"../Main"
;
import
{
showToast
}
from
"../../libs/new_wx/ctrls/toastCtrl"
;
import
setGlow
from
"../setGlow"
;
export
default
class
Buy2Panel
extends
Panel
{
start
(
data
)
{
...
...
@@ -12,6 +13,7 @@ export default class Buy2Panel extends Panel {
this
[
'buyBtn'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
this
.
ontap
,
this
);
this
.
showlog
();
this
[
'priceTxt'
].
text
=
'X'
+
window
[
'price2'
];
setGlow
(
this
[
'priceTxt'
],
0x0083e8
,
1
);
}
showlog
()
{
NetManager
.
ins
.
showLog
(
getlogItem
(
8
));
...
...
egret/src/panels/Buy3Panel.ts
View file @
23f16ff6
...
...
@@ -4,6 +4,7 @@ import PropType from "../PropType";
import
SceneCtrl
from
"../../libs/new_wx/ctrls/sceneCtrl"
;
import
{
getlogItem
}
from
"../Main"
;
import
{
showToast
}
from
"../../libs/new_wx/ctrls/toastCtrl"
;
import
setGlow
from
"../setGlow"
;
export
default
class
Buy3Panel
extends
Panel
{
start
(
data
)
{
...
...
@@ -12,6 +13,7 @@ export default class Buy3Panel extends Panel {
this
[
'buyBtn'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
this
.
ontap
,
this
);
this
.
showlog
();
this
[
'priceTxt'
].
text
=
'X'
+
window
[
'price4'
];
setGlow
(
this
[
'priceTxt'
],
0x0083e8
,
1
);
}
showlog
()
{
NetManager
.
ins
.
showLog
(
getlogItem
(
14
));
...
...
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