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
4e922d33
Commit
4e922d33
authored
Oct 12, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d70e391b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
StartUISkin.exml
egret/resource/skins/StartUISkin.exml
+1
-2
StartUIPanel.ts
egret/src/panels/StartUIPanel.ts
+2
-1
No files found.
egret/resource/skins/StartUISkin.exml
View file @
4e922d33
...
@@ -9,8 +9,7 @@
...
@@ -9,8 +9,7 @@
</e:Skin>
</e:Skin>
</e:skinName>
</e:skinName>
</e:Button>
</e:Button>
<e:Label
y=
"359.48"
anchorOffsetX=
"0"
width=
"470.97"
anchorOffsetY=
"0"
height=
"48.19"
textAlign=
"center"
lineSpacing=
"15"
size=
"32"
text=
"欢乐度六一,小招陪你玩游戏!"
horizontalCenter=
"0.5"
/>
<e:Label
text=
"{data.msg}"
y=
"345.6"
anchorOffsetX=
"0"
width=
"425.52"
anchorOffsetY=
"0"
textAlign=
"center"
horizontalCenter=
"8"
lineSpacing=
"15"
size=
"33"
/>
<e:Label
text=
"{data.msg}"
y=
"443.6"
anchorOffsetX=
"0"
width=
"425.52"
anchorOffsetY=
"0"
height=
"43.64"
textAlign=
"center"
horizontalCenter=
"8"
lineSpacing=
"15"
size=
"28"
/>
<e:Button
id=
"recordBtn"
label=
""
y=
"264"
scaleX=
"1"
scaleY=
"1"
right=
"153"
visible=
"false"
>
<e:Button
id=
"recordBtn"
label=
""
y=
"264"
scaleX=
"1"
scaleY=
"1"
right=
"153"
visible=
"false"
>
<e:skinName>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Skin
states=
"up,down,disabled"
>
...
...
egret/src/panels/StartUIPanel.ts
View file @
4e922d33
...
@@ -13,7 +13,8 @@ export default class StartUIPanel extends Panel {
...
@@ -13,7 +13,8 @@ export default class StartUIPanel extends Panel {
recordBtn
;
recordBtn
;
start
()
{
start
()
{
const
ele
=
DataManager
.
ins
.
reconAjaxElementData
.
element
;
const
ele
=
DataManager
.
ins
.
reconAjaxElementData
.
element
;
this
.
data
.
msg
=
`今日游戏机会:
${
ele
.
freeLimit
}
次`
;
const
msg
=
`消耗
${
ele
.
needCredits
}${
window
[
'CFG'
].
unitName
}
\n赢取金币大礼包`
;
this
.
data
.
msg
=
msg
;
//今日游戏机会:3次
//今日游戏机会:3次
// this.data.msg = `消耗${ele.needCredits}${CFG.unitName}\n赢取金币大礼包`;
// this.data.msg = `消耗${ele.needCredits}${CFG.unitName}\n赢取金币大礼包`;
this
.
showlog
();
this
.
showlog
();
...
...
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