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
4aae7c57
Commit
4aae7c57
authored
Oct 12, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4e922d33
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
StartUISkin.exml
egret/resource/skins/StartUISkin.exml
+1
-1
StartUIPanel.ts
egret/src/panels/StartUIPanel.ts
+1
-1
No files found.
egret/resource/skins/StartUISkin.exml
View file @
4aae7c57
...
...
@@ -9,7 +9,7 @@
</e:Skin>
</e:skinName>
</e:Button>
<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=
"345.6"
anchorOffsetX=
"0"
width=
"425.52"
anchorOffsetY=
"0"
textAlign=
"center"
horizontalCenter=
"8"
lineSpacing=
"15"
size=
"
29
"
/>
<e:Button
id=
"recordBtn"
label=
""
y=
"264"
scaleX=
"1"
scaleY=
"1"
right=
"153"
visible=
"false"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
...
...
egret/src/panels/StartUIPanel.ts
View file @
4aae7c57
...
...
@@ -13,7 +13,7 @@ export default class StartUIPanel extends Panel {
recordBtn
;
start
()
{
const
ele
=
DataManager
.
ins
.
reconAjaxElementData
.
element
;
const
msg
=
`
消耗
${
ele
.
needCredits
}${
window
[
'CFG'
].
unitName
}
\n赢取金币大礼包
`
;
const
msg
=
`
小豆乐园上新啦! \n玩游戏抽好礼,快来试试吧!\n每次将扣除
${
ele
.
needCredits
}
个
${
window
[
'CFG'
].
unitName
}
`
;
this
.
data
.
msg
=
msg
;
//今日游戏机会:3次
// this.data.msg = `消耗${ele.needCredits}${CFG.unitName}\n赢取金币大礼包`;
...
...
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