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
59a842c5
Commit
59a842c5
authored
Apr 07, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整资源,签到
parent
cae7c42c
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
36 additions
and
22 deletions
+36
-22
virprizebg.png
egret/resource/assets/sign/virprizebg.png
+0
-0
default.res.json
egret/resource/default.res.json
+10
-1
BagSkin.exml
egret/resource/skins/BagSkin.exml
+2
-2
BloodSkin.exml
egret/resource/skins/BloodSkin.exml
+2
-2
BoxSkin.exml
egret/resource/skins/BoxSkin.exml
+2
-2
Buy1Skin.exml
egret/resource/skins/Buy1Skin.exml
+2
-2
Buy2Skin.exml
egret/resource/skins/Buy2Skin.exml
+2
-2
Buy3Skin.exml
egret/resource/skins/Buy3Skin.exml
+2
-2
SignSkin.exml
egret/resource/skins/SignSkin.exml
+7
-2
SignPanel.ts
egret/src/panels/SignPanel.ts
+4
-4
doSign.json
mock/sign/doSign.json
+2
-2
getSignInfo.json
mock/sign/getSignInfo.json
+1
-1
No files found.
egret/resource/assets/sign/virprizebg.png
0 → 100644
View file @
59a842c5
21.6 KB
egret/resource/default.res.json
View file @
59a842c5
...
...
@@ -73,7 +73,7 @@
"name"
:
"exchange"
},
{
"keys"
:
"signitem_png,signicon6_png,signicon5_png,signicon4_png,signicon3_png,signicon2_png,signicon_blood_png,signbtn4_png,signbtn3_png,signbtn2_png,signbtn1_png,signbg_png,sign_quan88_png,sign_quan8_png,sign_quan58_png,sign_quan38_png,sign_quan28_png,sign_quan16_png,sign_quan15_png,sign_quan12_png,sign_line2_png,sign_line_png,sign_light_png,sign_icon1_png,sign_quan10_png,sign_quan23_png,sign_quan36_png,sign_quan25_png,sign_quan35_png,sign_quan30_png,sign_mask_png,signitemno_png,signitemyes_png,unsignbtn_png"
,
"keys"
:
"signitem_png,signicon6_png,signicon5_png,signicon4_png,signicon3_png,signicon2_png,signicon_blood_png,signbtn4_png,signbtn3_png,signbtn2_png,signbtn1_png,signbg_png,sign_quan88_png,sign_quan8_png,sign_quan58_png,sign_quan38_png,sign_quan28_png,sign_quan16_png,sign_quan15_png,sign_quan12_png,sign_line2_png,sign_line_png,sign_light_png,sign_icon1_png,sign_quan10_png,sign_quan23_png,sign_quan36_png,sign_quan25_png,sign_quan35_png,sign_quan30_png,sign_mask_png,signitemno_png,signitemyes_png,unsignbtn_png
,virprizebg_png
"
,
"name"
:
"sign"
},
{
...
...
@@ -239,6 +239,10 @@
{
"keys"
:
"help_blood_1_btn_png,help_blood_1_text_png,help_blood_fail_btn_png,help_blood_fail_text_png,help_blood_fail_text2_png,help_blood_fail_text3_png,help_blood_fail_text4_png,help_blood_success_text_png,help_blood_success_text2_png,help_card_bg_png,help_card_prize_png,help_closebtn1_png,help_invite2_btn_png,help_invite2_btn2_png,help_invite2_text_png,help_invite2_text2_png,help_invite2_text3_png,help_invite2_text4_png,help_invite_bg_png,help_invite_btn1_png,help_invite_fail_btn_png,help_invite_fail_text1_png,help_invite_fail_text2_png,help_invite_fail_text3_png,help_invite_fail_text4_png,help_invite_success_btn_png,help_invite_success_txt_png,help_invite_text_png,help_light_png"
,
"name"
:
"helpGroup"
},
{
"keys"
:
"virprizebg_png"
,
"name"
:
"preload"
}
],
"resources"
:
[
...
...
@@ -5382,6 +5386,11 @@
"url"
:
"assets/sign/unsignbtn.png"
,
"type"
:
"image"
,
"name"
:
"unsignbtn_png"
},
{
"url"
:
"assets/sign/virprizebg.png"
,
"type"
:
"image"
,
"name"
:
"virprizebg_png"
}
]
}
\ No newline at end of file
egret/resource/skins/BagSkin.exml
View file @
59a842c5
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"BagSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"
371.64
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"
371.64
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"
414.06
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"
414.06
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
source=
"bagbg_png"
horizontalCenter=
"0"
verticalCenter=
"-71.5"
/>
<e:Group
id=
"group1"
y=
"377"
horizontalCenter=
"0"
visible=
"false"
>
<e:Image
source=
"bag我的道具_png"
y=
"0"
x=
"0"
/>
...
...
egret/resource/skins/BloodSkin.exml
View file @
59a842c5
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"BloodSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"3
41.32
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"3
41.32
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"3
98.89
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"3
98.89
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"bg2"
fillMode=
"clip"
y=
"-75.58"
source=
"blooduanm_png"
horizontalCenter=
"0"
scale9Grid=
"140,498,445,80"
/>
<e:Group
id=
"topinfo"
width=
"750"
height=
"50"
y=
"355.57"
horizontalCenter=
"0"
>
<e:Image
source=
"bloodhert_png"
x=
"293.98"
scaleX=
"0.4"
scaleY=
"0.4"
verticalCenter=
"2.5"
/>
...
...
egret/resource/skins/BoxSkin.exml
View file @
59a842c5
...
...
@@ -2,8 +2,8 @@
<e:Skin
class=
"BoxSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16cc233ca3b"
/>
<e:Component
y=
"854.52"
skinName=
"ADSmallSkin"
horizontalCenter=
"0.5"
visible=
"false"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"
241
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"
241
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"
380.39
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"
380.39
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
source=
"boxbg_png"
y=
"-147.9"
scale9Grid=
"93,413,564,43"
x=
"0"
/>
<e:Image
id=
"bg"
source=
"commom_prop_bg_png"
x=
"113.02"
y=
"403.62"
/>
<e:Label
id=
"propnums"
text=
"X8"
size=
"50"
horizontalCenter=
"59"
verticalCenter=
"-86"
verticalAlign=
"middle"
textAlign=
"center"
textColor=
"0xC17343"
fontFamily=
"FZY3JW"
x=
"510.38"
y=
"534.4"
bold=
"true"
visible=
"false"
/>
...
...
egret/resource/skins/Buy1Skin.exml
View file @
59a842c5
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"Buy1Skin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16c95475a4e"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"4
07.32
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"4
07.32
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"4
13.38
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"4
13.38
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
y=
"-62"
source=
"购买锤子_png"
horizontalCenter=
"0"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"608"
y=
"289"
>
<e:skinName>
...
...
egret/resource/skins/Buy2Skin.exml
View file @
59a842c5
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"Buy2Skin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"4
07.32
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"4
07.32
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"4
13.38
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"4
13.38
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
y=
"-62"
horizontalCenter=
"0"
source=
"购买炸弹_png"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"597.39"
y=
"278.7"
>
<e:skinName>
...
...
egret/resource/skins/Buy3Skin.exml
View file @
59a842c5
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"Buy3Skin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16c984f7919"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"4
04.98
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"4
04.98
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"4
11.04
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"4
11.04
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
y=
"-62"
horizontalCenter=
"0"
source=
"购买步数增加_png"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"592"
y=
"289"
>
<e:skinName>
...
...
egret/resource/skins/SignSkin.exml
View file @
59a842c5
...
...
@@ -36,13 +36,18 @@
</e:Skin>
</e:skinName>
</e:Button>
<e:Group
id=
"prizegroup"
width=
"750"
height=
"1206"
x=
"0"
y=
"0"
visible=
"false"
>
<e:Group
id=
"prizegroup"
width=
"750"
height=
"1206"
x=
"0"
y=
"0"
>
<e:Rect
id=
"mask1"
fillAlpha=
"0.8"
x=
"0"
y=
"0"
scaleX=
"1"
scaleY=
"1"
width=
"750"
height=
"1206"
/>
<e:Group
id=
"lightbot"
width=
"750"
height=
"1206"
x=
"0"
y=
"0"
/>
<e:Group
id=
"giftbox"
width=
"750"
height=
"1206"
/>
<e:Group
id=
"contmid"
width=
"750"
height=
"1206"
anchorOffsetX=
"375"
x=
"375"
anchorOffsetY=
"603"
y=
"603"
>
<e:Image
id=
"prizeimg"
scaleX=
"2"
scaleY=
"2"
y=
"537"
source=
""
horizontalCenter=
"0"
/>
<e:Image
id=
"prizeimg1"
scaleX=
"1"
scaleY=
"1"
y=
"480"
source=
""
horizontalCenter=
"0.5"
/>
<e:Group
id=
"prize1"
width=
"606"
height=
"286"
y=
"526.39"
scaleX=
"1"
scaleY=
"1"
horizontalCenter=
"0"
>
<e:Image
source=
"virprizebg_png"
scaleX=
"1"
scaleY=
"1"
horizontalCenter=
"0"
verticalCenter=
"0"
/>
<e:Image
id=
"prizeimg1"
scaleX=
"1"
scaleY=
"1"
source=
""
width=
"585"
height=
"273"
anchorOffsetX=
"0"
verticalCenter=
"0"
horizontalCenter=
"0"
/>
<e:Image
id=
"maskimg"
source=
"virprizebg_png"
scaleX=
"1"
scaleY=
"1"
horizontalCenter=
"0"
verticalCenter=
"0"
x=
"10"
y=
"10"
width=
"585"
height=
"273"
/>
</e:Group>
<e:Image
id=
"prizeimg2"
source=
"turnprize_icon2_png"
scaleX=
"1"
scaleY=
"1"
x=
"317"
y=
"545"
visible=
"false"
/>
<e:Group
id=
"numsgroup"
anchorOffsetX=
"0"
width=
"188"
anchorOffsetY=
"0"
height=
"62"
x=
"281"
y=
"684"
>
<e:Label
id=
"nums"
text=
"×8"
size=
"48"
verticalAlign=
"middle"
fontFamily=
"FZY3JW"
textColor=
"0xC17343"
bold=
"true"
y=
"7"
x=
"68"
/>
...
...
egret/src/panels/SignPanel.ts
View file @
59a842c5
...
...
@@ -28,7 +28,7 @@ export default class SignPanel extends Panel {
sevenIsGift
:
boolean
=
false
;
async
start
(
data
)
{
super
.
start
();
this
[
"prizeimg1"
].
mask
=
this
[
"maskimg"
];
const
{
signInfoVO
}
=
DataManager
.
ins
.
getData
(
'getSignInfo'
);
let
todayIndex
=
signInfoVO
.
continueDay
-
1
;
...
...
@@ -368,7 +368,7 @@ export default class SignPanel extends Panel {
// virtual虚拟商品,coupon券,
// 道具prop,元宝coin,体力times,
if
(
logo
&&
prizeType
!=
'times'
&&
prizeType
!=
'coin'
&&
prizeType
!=
'prop'
){
this
[
"prize
img
1"
].
visible
=
true
;
this
[
"prize1"
].
visible
=
true
;
this
[
"prizeimg1"
].
source
=
logo
;
this
[
'numsgroup'
].
visible
=
false
;
}
else
{
...
...
@@ -406,8 +406,8 @@ export default class SignPanel extends Panel {
this
[
'prizeimg'
].
visible
=
showprizeimg
;
if
(
showprizeimg
){
if
(
this
[
"prize
img
1"
].
visible
){
this
[
"prize
img
1"
].
visible
=
false
;
if
(
this
[
"prize1"
].
visible
){
this
[
"prize1"
].
visible
=
false
;
}
if
(
this
[
'prizeimg2'
].
visible
){
this
[
"prizeimg2"
].
visible
=
false
;
...
...
mock/sign/doSign.json
View file @
59a842c5
...
...
@@ -5,9 +5,9 @@
"success"
:
true
,
"errorMsg"
:
null
,
"code"
:
""
,
"prizeType"
:
"
vir
"
,
"prizeType"
:
"
times
"
,
"prizeName"
:
"奖品名称"
,
"logo"
:
"http://yun.dui
ba.com.cn/db_games/activity/game/guideImage/guide2.pn
g"
,
"logo"
:
"http://yun.dui
88.com/images/202003/6n6am25t08.jp
g"
,
"prizeCount"
:
11
,
"itemId"
:
33257
}
...
...
mock/sign/getSignInfo.json
View file @
59a842c5
{
"success"
:
true
,
"signInfoVO"
:
{
"continueDay"
:
0
,
"continueDay"
:
1
,
"todaySigned"
:
0
}
}
\ 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