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
8d4845d0
Commit
8d4845d0
authored
Nov 11, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9cef89f6
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
24 additions
and
17 deletions
+24
-17
exml.json
egret/.wing/exml.json
+2
-2
index.html
egret/index.html
+1
-1
Scene.ts
egret/libs/new_wx/components/Scene.ts
+2
-0
signprize_btn.png
egret/resource/assets/signprize/signprize_btn.png
+0
-0
singprizebg.png
egret/resource/assets/signprize/singprizebg.png
+0
-0
SignPrizeSkin.exml
egret/resource/skins/SignPrizeSkin.exml
+10
-9
SignPrizePanel.ts
egret/src/panels/SignPrizePanel.ts
+6
-2
doSign.json
mock/sign/doSign.json
+2
-2
getSignInfo.json
mock/sign/getSignInfo.json
+1
-1
No files found.
egret/.wing/exml.json
View file @
8d4845d0
...
...
@@ -118,7 +118,7 @@
},
{
"key"
:
"data.url"
,
"value"
:
"
common_prop3_
png"
"value"
:
"
https://yun.dui88.com/images/201910/e6pmpk2pne.
png"
},
{
"key"
:
"data.url2"
,
...
...
@@ -207,7 +207,7 @@
"bindingDataTestObj"
:
[
{
"key"
:
"data.img"
,
"value"
:
"http://yun.duiba.com.cn/db_games/
0927/33256
.png"
"value"
:
"http://yun.duiba.com.cn/db_games/
1022/59029
.png"
}
]
},
...
...
egret/index.html
View file @
8d4845d0
...
...
@@ -131,7 +131,7 @@
{
nums
:
'0.28元'
,
type
:
'quan28'
}
];
// localStorage.clear();
window
[
'imgver'
]
=
'1
022
'
window
[
'imgver'
]
=
'1
111
'
window
[
'total_level'
]
=
18
+
13
*
16
;
window
[
'last_level'
]
=
225
;
//必须大于等于total_level
...
...
egret/libs/new_wx/components/Scene.ts
View file @
8d4845d0
...
...
@@ -10,7 +10,9 @@ export default class Scene extends ComponentBase {
this
.
height
=
this
.
stage
.
stageHeight
;
this
.
playAnimation
();
}
getAllPromise
(){
}
updateScene
(){
}
...
...
egret/resource/assets/signprize/signprize_btn.png
View replaced file @
9cef89f6
View file @
8d4845d0
20.2 KB
|
W:
|
H:
21.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/assets/signprize/singprizebg.png
View replaced file @
9cef89f6
View file @
8d4845d0
90.6 KB
|
W:
|
H:
139 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/skins/SignPrizeSkin.exml
View file @
8d4845d0
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"SignPrizeSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16d5c2563cb"
/>
<e:Component
y=
"698.52"
skinName=
"ADSmallSkin"
x=
"84"
visible=
"false"
/>
<e:Image
source=
"singprizebg_png"
y=
"20"
horizontalCenter=
"0"
/>
<e:Image
id=
"img"
y=
"297"
touchEnabled=
"true"
source=
"{data.img}"
width=
"512"
height=
"240"
scaleX=
"1"
scaleY=
"1"
horizontalCenter=
"0"
visible=
"false"
/>
<e:Image
id=
"money"
source=
"signprize元宝_png"
y=
"270.88"
horizontalCenter=
"0"
scaleX=
"0.8"
scaleY=
"0.8"
/>
<e:Image
id=
"blood"
source=
"singprize体力_png"
y=
"233.8"
horizontalCenter=
"0"
visible=
"false"
/>
<e:Group
id=
"numsgroup"
x=
"396.38"
y=
"283.76"
>
<e:Component
y=
"733.37"
skinName=
"ADSmallSkin"
x=
"84"
visible=
"false"
/>
<e:Image
source=
"singprizebg_png"
y=
"54.85"
horizontalCenter=
"0"
/>
<e:Image
id=
"img"
y=
"375.77"
touchEnabled=
"true"
source=
"{data.img}"
width=
"512"
height=
"240"
scaleX=
"1"
scaleY=
"1"
horizontalCenter=
"0"
/>
<e:Image
id=
"money"
y=
"366.4"
horizontalCenter=
"0.5"
scaleX=
"0.7"
scaleY=
"0.7"
source=
"common_money_png"
visible=
"false"
/>
<e:Label
id=
"propnums2"
text=
"30"
textColor=
"0x885037"
bold=
"true"
y=
"523.64"
width=
"75"
textAlign=
"right"
x=
"282.6"
fontFamily=
"FZY3JW"
visible=
"false"
/>
<e:Image
id=
"blood"
y=
"368.16"
horizontalCenter=
"0"
source=
"common_blood_png"
scaleX=
"0.7"
scaleY=
"0.7"
visible=
"false"
/>
<e:Group
id=
"numsgroup"
x=
"396.38"
y=
"367.12"
>
<e:Image
id=
"numsbg"
source=
"signprize_numsbg_png"
x=
"0"
y=
"0"
/>
<e:Label
id=
"nums"
text=
"X8"
size=
"22"
horizontalCenter=
"0"
verticalCenter=
"0"
verticalAlign=
"middle"
textAlign=
"center"
/>
<e:Label
id=
"nums"
text=
"X8"
size=
"22"
horizontalCenter=
"0"
verticalCenter=
"0"
verticalAlign=
"middle"
textAlign=
"center"
fontFamily=
"FZY3JW"
/>
</e:Group>
<e:Button
id=
"closeBtn"
label=
""
x=
"6
07.12"
y=
"180.96
"
>
<e:Button
id=
"closeBtn"
label=
""
x=
"6
22.16"
y=
"265.81
"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"closeCommonBtn_png"
source.down=
"closeCommonBtn_png"
source.disabled=
"closeCommonBtn_png"
/>
...
...
@@ -18,7 +19,7 @@
</e:Skin>
</e:skinName>
</e:Button>
<e:Button
id=
"close2Btn"
label=
""
y=
"
564
"
horizontalCenter=
"0"
>
<e:Button
id=
"close2Btn"
label=
""
y=
"
636.73
"
horizontalCenter=
"0"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"signprize_btn_png"
source.down=
"signprize_btn_png"
source.disabled=
"signprize_btn_png"
/>
...
...
egret/src/panels/SignPrizePanel.ts
View file @
8d4845d0
...
...
@@ -25,13 +25,17 @@ export default class SignPrizePanel extends Panel {
this
[
'nums'
].
text
=
'x'
+
customInfo
.
prizeCount
;
if
(
prizeType
==
'prop'
)
{
this
[
'numsgroup'
].
x
=
396.38
;
this
[
'numsgroup'
].
y
=
3
20.3
8
;
//
this['numsgroup'].x=396.38;
this
[
'numsgroup'
].
y
=
3
80.
8
;
}
this
[
'img'
].
visible
=
prizeType
!=
'times'
&&
prizeType
!=
'coin'
;
this
[
'money'
].
visible
=
prizeType
==
'coin'
;
this
[
'propnums2'
].
visible
=
prizeType
==
'coin'
;
this
[
'blood'
].
visible
=
prizeType
==
'times'
;
if
(
prizeType
==
'coin'
)
{
this
[
'numsgroup'
].
visible
=
false
;
}
addAdComp
(
84
,
698.52
,
this
,
24
);
this
.
showlog
();
}
...
...
mock/sign/doSign.json
View file @
8d4845d0
...
...
@@ -5,10 +5,10 @@
"success"
:
true
,
"errorMsg"
:
null
,
"code"
:
""
,
"prizeType"
:
"
coin
"
,
"prizeType"
:
"
prop
"
,
"prizeName"
:
"奖品名称"
,
"logo"
:
"http://yun.duiba.com.cn/db_games/activity/game/guideImage/guide2.png"
,
"prizeCount"
:
11
,
"itemId"
:
33256
"itemId"
:
59029
}
}
\ No newline at end of file
mock/sign/getSignInfo.json
View file @
8d4845d0
...
...
@@ -2,6 +2,6 @@
"success"
:
true
,
"signInfoVO"
:
{
"continueDay"
:
1
,
"todaySigned"
:
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