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
9e6e3d32
Commit
9e6e3d32
authored
Oct 21, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e10d7007
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
74 deletions
+9
-74
MainBase.ts
egret/libs/new_wx/MainBase.ts
+2
-1
start1暂无活动11.png
egret/resource/assets/start1/start1暂无活动11.png
+0
-0
start1暂无活动22.png
egret/resource/assets/start1/start1暂无活动22.png
+0
-0
Start1Skin.exml
egret/resource/skins/Start1Skin.exml
+2
-2
SuccessSkin.exml
egret/resource/skins/SuccessSkin.exml
+1
-1
TaskSkin.exml
egret/resource/skins/TaskSkin.exml
+4
-4
index.json
mock/esports/index.json
+0
-66
No files found.
egret/libs/new_wx/MainBase.ts
View file @
9e6e3d32
...
@@ -151,7 +151,8 @@ export default class MainBase extends eui.UILayer {
...
@@ -151,7 +151,8 @@ export default class MainBase extends eui.UILayer {
}
}
protected
async
createGameScene
()
{
protected
async
createGameScene
()
{
await
Promise
.
all
([
this
.
getIndex
(),
this
.
getProjectUserInfo
()]);
await
Promise
.
all
([
this
.
getIndex
(),
RES
.
getResAsync
(
'startscenebg_jpg'
)]);
// await Promise.all([this.getIndex(),this.getProjectUserInfo()]);
SceneCtrl
.
instance
.
change
(
ModuleTypes
.
START_SCENE
);
SceneCtrl
.
instance
.
change
(
ModuleTypes
.
START_SCENE
);
}
}
...
...
egret/resource/assets/start1/start1暂无活动11.png
View replaced file @
e10d7007
View file @
9e6e3d32
37.1 KB
|
W:
|
H:
11.1 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/assets/start1/start1暂无活动22.png
View replaced file @
e10d7007
View file @
9e6e3d32
43.7 KB
|
W:
|
H:
8.67 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/skins/Start1Skin.exml
View file @
9e6e3d32
...
@@ -37,6 +37,6 @@
...
@@ -37,6 +37,6 @@
</e:List>
</e:List>
</e:Group>
</e:Group>
</e:Scroller>
</e:Scroller>
<e:Image
id=
"pic2"
source=
"start1暂无活动11_png"
y=
"5
17.5
"
horizontalCenter=
"0"
/>
<e:Image
id=
"pic2"
source=
"start1暂无活动11_png"
y=
"5
95.2
"
horizontalCenter=
"0"
/>
<e:Image
id=
"pic1"
source=
"start1暂无活动22_png"
y=
"5
94"
x=
"163
"
/>
<e:Image
id=
"pic1"
source=
"start1暂无活动22_png"
y=
"5
85"
x=
"239
"
/>
</e:Skin>
</e:Skin>
\ No newline at end of file
egret/resource/skins/SuccessSkin.exml
View file @
9e6e3d32
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"SuccessSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Skin
class=
"SuccessSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
source=
"success成功点亮_png"
y=
"7"
horizontalCenter=
"0"
/>
<e:Image
source=
"success成功点亮_png"
y=
"7"
horizontalCenter=
"0"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"618"
y=
"1
71
"
>
<e:Button
id=
"closeBtn"
label=
""
x=
"618"
y=
"1
65
"
>
<e:skinName>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"closeCommonBtn_png"
source.down=
"closeCommonBtn_png"
source.disabled=
"closeCommonBtn_png"
/>
<e:Image
width=
"100%"
height=
"100%"
source=
"closeCommonBtn_png"
source.down=
"closeCommonBtn_png"
source.disabled=
"closeCommonBtn_png"
/>
...
...
egret/resource/skins/TaskSkin.exml
View file @
9e6e3d32
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"TaskSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Skin
class=
"TaskSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16d38b53df8"
/>
<w:Config
id=
"16d38b53df8"
/>
<e:Image
source=
"task完成任务_png"
y=
"8"
horizontalCenter=
"
0
"
/>
<e:Image
source=
"task完成任务_png"
y=
"8"
horizontalCenter=
"
-16
"
/>
<e:Button
id=
"closeBtn"
label=
""
horizontalCenter=
"216.5"
verticalCenter=
"-314.5
"
>
<e:Button
id=
"closeBtn"
label=
""
x=
"602.5"
y=
"153
"
>
<e:skinName>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"closeCommonBtn_png"
source.down=
"closeCommonBtn_png"
source.disabled=
"closeCommonBtn_png"
/>
<e:Image
width=
"100%"
height=
"100%"
source=
"closeCommonBtn_png"
source.down=
"closeCommonBtn_png"
source.disabled=
"closeCommonBtn_png"
/>
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
</e:Skin>
</e:Skin>
</e:skinName>
</e:skinName>
</e:Button>
</e:Button>
<e:Button
id=
"closeBtn1"
label=
""
horizontalCenter=
"0"
y=
"614
"
>
<e:Button
id=
"closeBtn1"
label=
""
y=
"614"
horizontalCenter=
"-2
"
>
<e:skinName>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"task按钮_png"
source.down=
"task按钮_png"
source.disabled=
"task按钮_png"
/>
<e:Image
width=
"100%"
height=
"100%"
source=
"task按钮_png"
source.down=
"task按钮_png"
source.disabled=
"task按钮_png"
/>
...
@@ -18,5 +18,5 @@
...
@@ -18,5 +18,5 @@
</e:Skin>
</e:Skin>
</e:skinName>
</e:skinName>
</e:Button>
</e:Button>
<e:Label
id=
"txt"
text=
"1.活动名称活动名称最多一行\n1.活动名称活动名称最多一行\n"
x=
"1
76"
y=
"465.84"
anchorOffsetX=
"0"
width=
"392"
anchorOffsetY=
"0"
height=
"170.31"
textColor=
"0x000000"
lineSpacing=
"10"
size=
"26"
textAlign=
"left"
verticalAlign=
"middl
e"
/>
<e:Label
id=
"txt"
text=
"1.活动名称活动名称最多一行\n1.活动名称活动名称最多一行\n"
x=
"1
54"
y=
"427.84"
anchorOffsetX=
"0"
width=
"463"
anchorOffsetY=
"0"
height=
"186.98"
lineSpacing=
"10"
size=
"34"
textAlign=
"left"
verticalAlign=
"middle"
textColor=
"0x8e8e8
e"
/>
</e:Skin>
</e:Skin>
\ No newline at end of file
mock/esports/index.json
View file @
9e6e3d32
...
@@ -7,72 +7,6 @@
...
@@ -7,72 +7,6 @@
"lighten"
:
1
,
"lighten"
:
1
,
"completeCount"
:
3
,
"completeCount"
:
3
,
"activityList"
:[
"activityList"
:[
{
"activityId"
:
"6"
,
"activityName"
:
"活动6"
,
"activityUrl"
:
"http://www.baidu.com"
,
"banner"
:
"https://yun.duiba.com.cn/db_games/yyhtest12.png"
,
"startTime"
:
"13423423423"
,
"endTime"
:
"1343242342"
,
"completeTime"
:
"134234323"
,
"activityStatus"
:
"1"
,
"userStatus"
:
"3"
},
{
"activityId"
:
"5"
,
"activityName"
:
"活动5"
,
"activityUrl"
:
"http://www.taobao.com"
,
"banner"
:
"https://yun.duiba.com.cn/db_games/yyhtest12.png"
,
"startTime"
:
"1242343242342"
,
"endTime"
:
"13424242423"
,
"completeTime"
:
"135435354334"
,
"activityStatus"
:
"1"
,
"userStatus"
:
"3"
},
{
"activityId"
:
"4"
,
"activityName"
:
"活动4"
,
"activityUrl"
:
"http://www.baidu.com"
,
"banner"
:
"https://yun.duiba.com.cn/db_games/yyhtest12.png"
,
"startTime"
:
"13423423423"
,
"endTime"
:
"1343242342"
,
"completeTime"
:
"134234323"
,
"activityStatus"
:
"2"
,
"userStatus"
:
"3"
},
{
"activityId"
:
"3"
,
"activityName"
:
"活动3"
,
"activityUrl"
:
"http://www.taobao.com"
,
"banner"
:
"https://yun.duiba.com.cn/db_games/yyhtest12.png"
,
"startTime"
:
"1242343242342"
,
"endTime"
:
"13424242423"
,
"completeTime"
:
"135435354334"
,
"activityStatus"
:
"1"
,
"userStatus"
:
"0"
},
{
"activityId"
:
"2"
,
"activityName"
:
"活动2"
,
"activityUrl"
:
"http://www.baidu.com"
,
"banner"
:
"https://yun.duiba.com.cn/db_games/yyhtest12.png"
,
"startTime"
:
"13423423423"
,
"endTime"
:
"1343242342"
,
"completeTime"
:
"134234323"
,
"activityStatus"
:
"1"
,
"userStatus"
:
"0"
},
{
"activityId"
:
"1"
,
"activityName"
:
"活动1"
,
"activityUrl"
:
"http://www.taobao.com"
,
"banner"
:
"https://yun.duiba.com.cn/db_games/yyhtest12.png"
,
"startTime"
:
"1242343242342"
,
"endTime"
:
"13424242423"
,
"completeTime"
:
"135435354334"
,
"activityStatus"
:
"1"
,
"userStatus"
:
"1"
}
]
]
}
}
}
}
\ No newline at end of file
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