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
9e1eded7
Commit
9e1eded7
authored
Dec 05, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a355853d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
MyDreamSkin.exml
egret/resource/skins/MyDreamSkin.exml
+1
-0
MyDreamScene.ts
egret/src/MyDreamScene.ts
+2
-1
join1dreamDetail.json
mock/esports/join1dreamDetail.json
+1
-1
No files found.
egret/resource/skins/MyDreamSkin.exml
View file @
9e1eded7
...
@@ -34,4 +34,5 @@
...
@@ -34,4 +34,5 @@
<e:Rect
id=
"progressmask"
width=
"594"
height=
"60"
/>
<e:Rect
id=
"progressmask"
width=
"594"
height=
"60"
/>
<e:Label
id=
"progresstxt"
text=
"80/100"
size=
"26"
horizontalCenter=
"0"
verticalCenter=
"0"
verticalAlign=
"middle"
textAlign=
"center"
/>
<e:Label
id=
"progresstxt"
text=
"80/100"
size=
"26"
horizontalCenter=
"0"
verticalCenter=
"0"
verticalAlign=
"middle"
textAlign=
"center"
/>
</e:Group>
</e:Group>
<e:Image
id=
"backbtnxx"
source=
"common_backbtn_png"
x=
"33.2"
y=
"22.96"
/>
</e:Skin>
</e:Skin>
\ No newline at end of file
egret/src/MyDreamScene.ts
View file @
9e1eded7
...
@@ -2,6 +2,7 @@ import Scene from "../libs/new_wx/components/Scene";
...
@@ -2,6 +2,7 @@ import Scene from "../libs/new_wx/components/Scene";
import
{
DataManager
}
from
"../libs/tw/manager/DataManager"
;
import
{
DataManager
}
from
"../libs/tw/manager/DataManager"
;
import
gotoShare
from
"./gotoShare"
;
import
gotoShare
from
"./gotoShare"
;
import
{
getEnergyLimit
}
from
"./datas"
;
import
{
getEnergyLimit
}
from
"./datas"
;
import
setBackBtn
from
"./setBackBtn"
;
export
const
getProvince
=
(
address
:
string
)
=>
{
export
const
getProvince
=
(
address
:
string
)
=>
{
return
address
.
split
(
','
)[
0
];
return
address
.
split
(
','
)[
0
];
};
};
...
@@ -10,7 +11,7 @@ export default class MyDreamScene extends Scene {
...
@@ -10,7 +11,7 @@ export default class MyDreamScene extends Scene {
async
start
(
data
?)
{
async
start
(
data
?)
{
super
.
start
();
super
.
start
();
this
.
showlog
();
this
.
showlog
();
setBackBtn
(
this
);
const
yyh_join1_dreamDetail
=
DataManager
.
ins
.
getData
(
'yyh_join1_dreamDetail'
).
data
;
const
yyh_join1_dreamDetail
=
DataManager
.
ins
.
getData
(
'yyh_join1_dreamDetail'
).
data
;
this
[
'img'
].
mask
=
this
[
'imgMask'
];
this
[
'img'
].
mask
=
this
[
'imgMask'
];
...
...
mock/esports/join1dreamDetail.json
View file @
9e1eded7
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
"consumerId"
:
"500208012"
,
"consumerId"
:
"500208012"
,
"dreamContent"
:
"test content2"
,
"dreamContent"
:
"test content2"
,
"dreamPic"
:
"http://yun.duiba.com.cn/duibaimage/1574660334863500208012.png"
,
"dreamPic"
:
"http://yun.duiba.com.cn/duibaimage/1574660334863500208012.png"
,
"dreamStatus"
:
"
-
1"
,
"dreamStatus"
:
"1"
,
"dreamTitle"
:
"testtitle2"
,
"dreamTitle"
:
"testtitle2"
,
"energy"
:
2
,
"energy"
:
2
,
"energyLimit"
:
100
,
"energyLimit"
:
100
,
...
...
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