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
3e87b381
Commit
3e87b381
authored
Mar 05, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9ff20cda
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
139 additions
and
136 deletions
+139
-136
SignItemSkin.exml
egret/resource/skins/SignItemSkin.exml
+1
-1
SignPanel.ts
egret/src/panels/SignPanel.ts
+1
-1
getSignConfig.json
mock/happyclear/getSignConfig.json
+137
-134
No files found.
egret/resource/skins/SignItemSkin.exml
View file @
3e87b381
...
...
@@ -13,7 +13,7 @@
<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=
"random"
x=
"98.73"
y=
"50.4"
source=
"signicon6_png"
visible=
"false"
/>
<e:Image
id=
"quan"
x=
"95.42"
y=
"5
6
.76"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
height=
"79.34"
source=
""
width=
"76"
visible=
"false"
/>
<e:Image
id=
"quan"
x=
"95.42"
y=
"5
4
.76"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
height=
"79.34"
source=
""
width=
"76"
visible=
"false"
/>
<e:Image
id=
"quan10"
x=
"95"
y=
"56"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
height=
"79.34"
source=
"sign_quan10_png"
visible=
"false"
/>
<e:Image
id=
"quan23"
x=
"95"
y=
"56"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
height=
"79.34"
source=
"sign_quan23_png"
visible=
"false"
/>
<e:Image
id=
"quan36"
x=
"95"
y=
"56"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
height=
"79.34"
source=
"sign_quan36_png"
visible=
"false"
/>
...
...
egret/src/panels/SignPanel.ts
View file @
3e87b381
...
...
@@ -156,7 +156,7 @@ export default class SignPanel extends Panel {
resultItem
.
nums
=
`
${
option
.
maxValue
}
元宝`
;
if
(
option
.
maxValue
!=
option
.
minValue
)
console
.
warn
(
'元宝配置错误'
);
}
else
if
(
option
.
categoryType
=
=
5
)
{
else
if
(
option
.
categoryType
>
=
5
)
{
resultItem
.
nums
=
option
.
name
;
resultItem
.
type
=
'quan'
;
resultItem
.
imgurl
=
option
.
smallImg
;
...
...
mock/happyclear/getSignConfig.json
View file @
3e87b381
{
"code"
:
"0000000000"
,
"data"
:{
"closeStatus"
:
true
,
"sixDaysBeforeOptions"
:[
"success"
:
true
,
"code"
:
"0000000000"
,
"desc"
:
"OK"
,
"timestamp"
:
1583390774876
,
"data"
:
{
"closeStatus"
:
true
,
"sixDaysBeforeOptions"
:
[
{
"appItemId"
:
1
,
"categoryType"
:
2
,
"coinType"
:
1
,
"day"
:
2
,
"img"
:
""
,
"maxValue"
:
1
,
"minValue"
:
1
,
"name"
:
""
,
"num"
:
2
,
"propType"
:
1
,
"rate"
:
""
,
"smallImg"
:
1
,
"title"
:
""
,
"value"
:
""
"id"
:
null
,
"day"
:
1
,
"categoryType"
:
7
,
"title"
:
null
,
"rate"
:
null
,
"minValue"
:
null
,
"maxValue"
:
null
,
"coinType"
:
null
,
"realValue"
:
null
,
"propType"
:
null
,
"num"
:
null
,
"img"
:
"//yun.dui88.com/images/202003/n3exi2tenh.png"
,
"smallImg"
:
"//yun.dui88.com/images/202003/cfay38i1rl.jpg"
,
"appItemId"
:
10361
,
"name"
:
null
,
"value"
:
"963"
},
{
"appItemId"
:
2
,
"categoryType"
:
3
,
"coinType"
:
2
,
"day"
:
2
,
"img"
:
""
,
"maxValue"
:
2
,
"minValue"
:
2
,
"name"
:
""
,
"num"
:
2
,
"propType"
:
2
,
"rate"
:
""
,
"smallImg"
:
2
,
"title"
:
""
,
"value"
:
""
"id"
:
null
,
"day"
:
2
,
"categoryType"
:
2
,
"title"
:
null
,
"rate"
:
null
,
"minValue"
:
null
,
"maxValue"
:
null
,
"coinType"
:
null
,
"realValue"
:
null
,
"propType"
:
null
,
"num"
:
2
,
"img"
:
null
,
"smallImg"
:
null
,
"appItemId"
:
null
,
"name"
:
null
,
"value"
:
null
},
{
"appItemId"
:
3
,
"categoryType"
:
4
,
"coinType"
:
3
,
"day"
:
3
,
"img"
:
""
,
"maxValue"
:
3
,
"minValue"
:
3
,
"name"
:
""
,
"num"
:
3
,
"propType"
:
3
,
"rate"
:
""
,
"smallImg"
:
3
,
"title"
:
""
,
"value"
:
""
"id"
:
null
,
"day"
:
3
,
"categoryType"
:
4
,
"title"
:
null
,
"rate"
:
null
,
"minValue"
:
10
,
"maxValue"
:
10
,
"coinType"
:
1
,
"realValue"
:
null
,
"propType"
:
null
,
"num"
:
null
,
"img"
:
null
,
"smallImg"
:
null
,
"appItemId"
:
null
,
"name"
:
null
,
"value"
:
null
},
{
"appItemId"
:
4
,
"categoryType"
:
5
,
"coinType"
:
4
,
"day"
:
4
,
"img"
:
""
,
"maxValue"
:
4
,
"minValue"
:
4
,
"name"
:
"fsdfs"
,
"num"
:
4
,
"propType"
:
4
,
"rate"
:
""
,
"smallImg"
:
"//yun.duiba.com.cn/aurora/assets/0f232042b831c55642be2ea31b7e367c127aa7e7.jpeg"
,
"title"
:
""
,
"value"
:
""
"id"
:
null
,
"day"
:
4
,
"categoryType"
:
3
,
"title"
:
null
,
"rate"
:
null
,
"minValue"
:
null
,
"maxValue"
:
null
,
"coinType"
:
null
,
"realValue"
:
null
,
"propType"
:
2
,
"num"
:
null
,
"img"
:
null
,
"smallImg"
:
null
,
"appItemId"
:
null
,
"name"
:
null
,
"value"
:
null
},
{
"appItemId"
:
5
,
"categoryType"
:
2
,
"coinType"
:
5
,
"day"
:
5
,
"img"
:
""
,
"maxValue"
:
5
,
"minValue"
:
5
,
"name"
:
""
,
"num"
:
5
,
"propType"
:
5
,
"rate"
:
""
,
"smallImg"
:
5
,
"title"
:
""
,
"value"
:
""
"id"
:
null
,
"day"
:
5
,
"categoryType"
:
4
,
"title"
:
null
,
"rate"
:
null
,
"minValue"
:
10
,
"maxValue"
:
20
,
"coinType"
:
2
,
"realValue"
:
null
,
"propType"
:
null
,
"num"
:
null
,
"img"
:
null
,
"smallImg"
:
null
,
"appItemId"
:
null
,
"name"
:
null
,
"value"
:
null
},
{
"appItemId"
:
6
,
"categoryType"
:
3
,
"coinType"
:
6
,
"day"
:
6
,
"img"
:
""
,
"maxValue"
:
6
,
"minValue"
:
6
,
"name"
:
""
,
"num"
:
6
,
"propType"
:
3
,
"rate"
:
""
,
"smallImg"
:
6
,
"title"
:
""
,
"value"
:
""
"id"
:
null
,
"day"
:
6
,
"categoryType"
:
3
,
"title"
:
null
,
"rate"
:
null
,
"minValue"
:
null
,
"maxValue"
:
null
,
"coinType"
:
null
,
"realValue"
:
null
,
"propType"
:
2
,
"num"
:
null
,
"img"
:
null
,
"smallImg"
:
null
,
"appItemId"
:
null
,
"name"
:
null
,
"value"
:
null
}
],
"theSeventhDayOptions"
:[
"theSeventhDayOptions"
:
[
{
"appItemId"
:
1
,
"categoryType"
:
2
,
"coinType"
:
1
,
"img"
:
""
,
"maxValue"
:
1
,
"minValue"
:
1
,
"name"
:
""
,
"num"
:
1
,
"propType"
:
1
,
"rate"
:
"100"
,
"smallImg"
:
1
,
"title"
:
""
,
"value"
:
""
"id"
:
""
,
"day"
:
null
,
"categoryType"
:
2
,
"title"
:
"1"
,
"rate"
:
"11"
,
"minValue"
:
null
,
"maxValue"
:
null
,
"coinType"
:
null
,
"realValue"
:
null
,
"propType"
:
null
,
"num"
:
1
,
"img"
:
""
,
"smallImg"
:
null
,
"appItemId"
:
null
,
"name"
:
""
,
"value"
:
""
},
{
"appItemId"
:
2
,
"categoryType"
:
0
,
"coinType"
:
2
,
"img"
:
""
,
"maxValue"
:
2
,
"minValue"
:
2
,
"name"
:
""
,
"num"
:
2
,
"propType"
:
2
,
"rate"
:
""
,
"smallImg"
:
2
,
"title"
:
""
,
"value"
:
""
},
{
"appItemId"
:
3
,
"categoryType"
:
0
,
"coinType"
:
3
,
"img"
:
""
,
"maxValue"
:
3
,
"minValue"
:
3
,
"name"
:
""
,
"num"
:
3
,
"propType"
:
3
,
"rate"
:
""
,
"smallImg"
:
3
,
"title"
:
""
,
"value"
:
""
"id"
:
""
,
"day"
:
null
,
"categoryType"
:
7
,
"title"
:
"1122"
,
"rate"
:
"11"
,
"minValue"
:
null
,
"maxValue"
:
null
,
"coinType"
:
null
,
"realValue"
:
null
,
"propType"
:
null
,
"num"
:
null
,
"img"
:
"//yun.dui88.com/images/202003/cjusviko1v.png"
,
"smallImg"
:
"//yun.dui88.com/images/202003/1fcggjz048.jpg"
,
"appItemId"
:
10000
,
"name"
:
"虚拟"
,
"value"
:
"fe"
}
]
},
"desc"
:
"OK"
,
"success"
:
true
,
"timestamp"
:
1583223052917
}
}
\ 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