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
ad3ca1b5
Commit
ad3ca1b5
authored
Sep 29, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
cde8dbca
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
5 deletions
+20
-5
index.html
egret/index.html
+3
-3
signbg.png
egret/resource/assets/sign/signbg.png
+0
-0
signicon_quan1.png
egret/resource/assets/sign/signicon_quan1.png
+0
-0
signicon_quan2.png
egret/resource/assets/sign/signicon_quan2.png
+0
-0
default.res.json
egret/resource/default.res.json
+11
-1
SignItemSkin.exml
egret/resource/skins/SignItemSkin.exml
+3
-1
SignSkin.exml
egret/resource/skins/SignSkin.exml
+1
-0
SignItem.ts
egret/src/panels/SignItem.ts
+2
-0
No files found.
egret/index.html
View file @
ad3ca1b5
...
@@ -49,13 +49,13 @@
...
@@ -49,13 +49,13 @@
<img
id=
"pic"
style=
"width:100%;position: absolute;z-index: 999;display: none;"
/>
<img
id=
"pic"
style=
"width:100%;position: absolute;z-index: 999;display: none;"
/>
<script>
<script>
window
[
'signconfigs'
]
=
[
window
[
'signconfigs'
]
=
[
{
nums
:
'0.38元'
,
type
:
'
object
'
},
{
nums
:
'0.38元'
,
type
:
'
quan38
'
},
{
nums
:
'1'
,
type
:
'hammer'
},
{
nums
:
'1'
,
type
:
'hammer'
},
{
nums
:
'50'
,
type
:
'money'
},
{
nums
:
'50'
,
type
:
'money'
},
{
nums
:
'1'
,
type
:
'boom'
},
{
nums
:
'1'
,
type
:
'boom'
},
{
nums
:
'0.8元'
,
type
:
'
object
'
},
{
nums
:
'0.8元'
,
type
:
'
quan80
'
},
{
nums
:
'1'
,
type
:
'steps'
},
{
nums
:
'1'
,
type
:
'steps'
},
{
nums
:
''
,
type
:
'random'
}
{
nums
:
'
随机奖励
'
,
type
:
'random'
}
];
];
// localStorage.clear();
// localStorage.clear();
window
[
'total_level'
]
=
18
+
13
*
5
;
window
[
'total_level'
]
=
18
+
13
*
5
;
...
...
egret/resource/assets/sign/signbg.png
View replaced file @
cde8dbca
View file @
ad3ca1b5
112 KB
|
W:
|
H:
98.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/assets/sign/signicon_quan1.png
0 → 100644
View file @
ad3ca1b5
10.9 KB
egret/resource/assets/sign/signicon_quan2.png
0 → 100644
View file @
ad3ca1b5
123 KB
egret/resource/default.res.json
View file @
ad3ca1b5
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
"name"
:
"exchange"
"name"
:
"exchange"
},
},
{
{
"keys"
:
"signitem_png,signicon5_png,signicon4_png,signicon3_png,signicon2_png,signbtn4_png,signbtn3_png,signbtn2_png,signbtn1_png,signbg_png,sign_line2_png,sign_line_png,sign_light_png,sign_icon1_png,signicon6_png,signicon_blood_png"
,
"keys"
:
"signitem_png,signicon5_png,signicon4_png,signicon3_png,signicon2_png,signbtn4_png,signbtn3_png,signbtn2_png,signbtn1_png,signbg_png,sign_line2_png,sign_line_png,sign_light_png,sign_icon1_png,signicon6_png,signicon_blood_png
,signicon_quan2_png,signicon_quan1_png
"
,
"name"
:
"sign"
"name"
:
"sign"
},
},
{
{
...
@@ -1939,6 +1939,16 @@
...
@@ -1939,6 +1939,16 @@
"url"
:
"assets/mainScene/exLighting14.png"
,
"url"
:
"assets/mainScene/exLighting14.png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"name"
:
"exLighting14_png"
"name"
:
"exLighting14_png"
},
{
"url"
:
"assets/sign/signicon_quan1.png"
,
"type"
:
"image"
,
"name"
:
"signicon_quan1_png"
},
{
"url"
:
"assets/sign/signicon_quan2.png"
,
"type"
:
"image"
,
"name"
:
"signicon_quan2_png"
}
}
]
]
}
}
\ No newline at end of file
egret/resource/skins/SignItemSkin.exml
View file @
ad3ca1b5
...
@@ -12,7 +12,9 @@
...
@@ -12,7 +12,9 @@
<e:Image
id=
"boom"
source=
"signicon4_png"
x=
"103"
y=
"55"
visible=
"false"
/>
<e:Image
id=
"boom"
source=
"signicon4_png"
x=
"103"
y=
"55"
visible=
"false"
/>
<e:Image
id=
"steps"
source=
"signicon5_png"
x=
"104"
y=
"57"
visible=
"false"
/>
<e:Image
id=
"steps"
source=
"signicon5_png"
x=
"104"
y=
"57"
visible=
"false"
/>
<e:Image
id=
"blood"
x=
"98.04"
y=
"60.35"
source=
"signicon_blood_png"
visible=
"false"
/>
<e:Image
id=
"blood"
x=
"98.04"
y=
"60.35"
source=
"signicon_blood_png"
visible=
"false"
/>
<e:Image
id=
"random"
x=
"98.73"
y=
"50.4"
source=
"signicon6_png"
/>
<e:Image
id=
"random"
x=
"98.73"
y=
"50.4"
source=
"signicon6_png"
visible=
"false"
/>
<e:Image
id=
"quan80"
x=
"95.42"
y=
"49.76"
source=
"signicon_quan1_png"
anchorOffsetX=
"0"
width=
"170"
anchorOffsetY=
"0"
height=
"79.34"
visible=
"false"
/>
<e:Image
id=
"quan38"
x=
"95.42"
y=
"49.76"
anchorOffsetX=
"0"
width=
"170"
anchorOffsetY=
"0"
height=
"79.34"
source=
"signicon_quan2_png"
visible=
"false"
/>
<e:Button
id=
"btn1"
label=
""
x=
"364"
y=
"65"
>
<e:Button
id=
"btn1"
label=
""
x=
"364"
y=
"65"
>
<e:skinName>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Skin
states=
"up,down,disabled"
>
...
...
egret/resource/skins/SignSkin.exml
View file @
ad3ca1b5
...
@@ -16,4 +16,5 @@
...
@@ -16,4 +16,5 @@
</e:List>
</e:List>
</e:Group>
</e:Group>
</e:Scroller>
</e:Scroller>
<e:Label
text=
"签到中断,要从头开始哦"
y=
"360.4"
textColor=
"0xf54504"
horizontalCenter=
"0"
size=
"28"
/>
</e:Skin>
</e:Skin>
\ No newline at end of file
egret/src/panels/SignItem.ts
View file @
ad3ca1b5
...
@@ -15,6 +15,8 @@ export default class SignItem extends eui.ItemRenderer {
...
@@ -15,6 +15,8 @@ export default class SignItem extends eui.ItemRenderer {
this
[
'steps'
].
visible
=
false
;
this
[
'steps'
].
visible
=
false
;
this
[
'blood'
].
visible
=
false
;
this
[
'blood'
].
visible
=
false
;
this
[
'random'
].
visible
=
false
;
this
[
'random'
].
visible
=
false
;
this
[
'quan80'
].
visible
=
false
;
this
[
'quan38'
].
visible
=
false
;
this
[
'btn1'
].
visible
=
false
;
this
[
'btn1'
].
visible
=
false
;
this
[
'btn2'
].
visible
=
false
;
this
[
'btn2'
].
visible
=
false
;
...
...
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