Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wfc13
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
wfc13
Commits
c647d63a
Commit
c647d63a
authored
Aug 20, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
d7085fb8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
106 deletions
+70
-106
drawPrize.do.json
project/mock/webNet/dazzle/drawPrize.do.json
+14
-27
index.do.json
project/mock/webNet/dazzle/index.do.json
+50
-78
prize.ts
project/src/panels/prize.ts
+6
-1
No files found.
project/mock/webNet/dazzle/drawPrize.do.json
View file @
c647d63a
{
"code"
:
null
,
"data"
:
{
"extra"
:
null
,
"extra"
:
"obje11ct"
,
"options"
:
[
{
"extra"
:
null
,
"optionId"
:
"et esse laborum"
,
"optionImg"
:
"https://yun.duiba.com.cn/db_games/sxbank.png"
,
"optionName"
:
"aliquip dolore qui nulla"
,
"position"
:
-13810392
,
"prizeId"
:
"non labore eiusmod consequat"
,
"prizeType"
:
-25600732
,
"ruleId"
:
"fugiat minim in adipisicing"
,
"sendCount"
:
3860338
,
"url"
:
"eu veniam ipsum tempor"
,
"userRecordId"
:
-15254782
},
{
"extra"
:
null
,
"optionId"
:
"et esse laborum"
,
"optionImg"
:
"https://yun.duiba.com.cn/db_games/sxbank.png"
,
"optionName"
:
"aliquip dolore qui nulla"
,
"position"
:
-13810392
,
"prizeId"
:
"non labore eiusmod consequat"
,
"prizeType"
:
-25600732
,
"ruleId"
:
"fugiat minim in adipisicing"
,
"sendCount"
:
3860338
,
"url"
:
"eu veniam ipsum tempor"
,
"userRecordId"
:
-15254782
"extra"
:
"increase-credits"
,
"optionId"
:
"o0ef418bb"
,
"optionImg"
:
"//yun.dui88.com/projectxh5/credit-250-250.png"
,
"optionName"
:
"1积分"
,
"position"
:
4
,
"prizeId"
:
"sss_12"
,
"prizeType"
:
2
,
"ruleId"
:
"ru_1"
,
"sendCount"
:
1
,
"url"
:
"/aaw/projectx/takePrize?projectOrderNo=500065011"
,
"userRecordId"
:
500065011
}
]
},
"message"
:
"12312312"
,
"success"
:
1
"message"
:
null
,
"success"
:
true
}
\ No newline at end of file
project/mock/webNet/dazzle/index.do.json
View file @
c647d63a
{
"code"
:
null
,
"data"
:
{
"surplusCount"
:
5
,
"credits"
:
7546
,
"options"
:
[
{
"degree"
:
"10"
,
"icon"
:
"//yun.dui88.com/projectxh5/credit-250-250.png"
,
"icon2"
:
null
,
"id"
:
"oca13f7f4"
,
"index"
:
1
,
"name"
:
"积分"
,
"prizeId"
:
"sss_2"
,
"prizeType"
:
2
,
"refId"
:
""
,
"refType"
:
"increase-credits"
,
"sendCount"
:
1
},
{
"degree"
:
"10"
,
"icon"
:
"//yun.dui88.com/projectxh5/credit-250-250.png"
,
"icon2"
:
null
,
"id"
:
"oca13f7f4"
,
"index"
:
1
,
"name"
:
"积分"
,
"prizeId"
:
"sss_2"
,
"prizeType"
:
2
,
"refId"
:
""
,
"refType"
:
"increase-credits"
,
"sendCount"
:
1
},
{
"degree"
:
"10"
,
"icon"
:
"//yun.dui88.com/projectxh5/credit-250-250.png"
,
"degree"
:
null
,
"icon"
:
"//yun.dui88.com/images/202107/ya8vkiw78m.jpeg"
,
"icon2"
:
null
,
"id"
:
"oc
a13f7f4
"
,
"id"
:
"oc
cc67486
"
,
"index"
:
1
,
"name"
:
"
积分
"
,
"prizeId"
:
"sss_
2
"
,
"name"
:
"
奥运会竞猜奖品-电风扇
"
,
"prizeId"
:
"sss_
7
"
,
"prizeType"
:
2
,
"refId"
:
""
,
"refType"
:
"
increase-credits
"
,
"refId"
:
"
36443
"
,
"refType"
:
"
object
"
,
"sendCount"
:
1
},
{
"degree"
:
"10"
,
"icon"
:
"//yun.dui88.com/
projectxh5/credit-250-250.pn
g"
,
"degree"
:
null
,
"icon"
:
"//yun.dui88.com/
images/202107/fn6d17qj67.jpe
g"
,
"icon2"
:
null
,
"id"
:
"o
ca13f7f4
"
,
"index"
:
1
,
"name"
:
"
积分
"
,
"prizeId"
:
"sss_
2
"
,
"id"
:
"o
3e846f96
"
,
"index"
:
2
,
"name"
:
"
奥运会竞猜奖品-电脑
"
,
"prizeId"
:
"sss_
6
"
,
"prizeType"
:
2
,
"refId"
:
""
,
"refType"
:
"
increase-credits
"
,
"refId"
:
"
36444
"
,
"refType"
:
"
object
"
,
"sendCount"
:
1
},
{
"degree"
:
"10"
,
"icon"
:
"//yun.dui88.com/
projectxh5/credit-250-25
0.png"
,
"degree"
:
null
,
"icon"
:
"//yun.dui88.com/
images/202107/v9k9e50e0
0.png"
,
"icon2"
:
null
,
"id"
:
"o
ca13f7f
4"
,
"index"
:
1
,
"name"
:
"
积分
"
,
"prizeId"
:
"sss_
2
"
,
"id"
:
"o
408d3ea
4"
,
"index"
:
3
,
"name"
:
"
网易智能随行杯
"
,
"prizeId"
:
"sss_
5
"
,
"prizeType"
:
2
,
"refId"
:
""
,
"refType"
:
"
increase-credits
"
,
"refId"
:
"
36592
"
,
"refType"
:
"
object
"
,
"sendCount"
:
1
},
{
"degree"
:
"1
0
"
,
"degree"
:
"1"
,
"icon"
:
"//yun.dui88.com/projectxh5/credit-250-250.png"
,
"icon2"
:
null
,
"id"
:
"o
ca13f7f4
"
,
"index"
:
1
,
"name"
:
"积分"
,
"prizeId"
:
"sss_2"
,
"id"
:
"o
0ef418bb
"
,
"index"
:
4
,
"name"
:
"
1
积分"
,
"prizeId"
:
"sss_
1
2"
,
"prizeType"
:
2
,
"refId"
:
""
,
"refId"
:
null
,
"refType"
:
"increase-credits"
,
"sendCount"
:
1
},
{
"degree"
:
"10"
,
"icon"
:
"//yun.dui88.com/
projectxh5/credit-250-250
.png"
,
"degree"
:
null
,
"icon"
:
"//yun.dui88.com/
images/202107/8wvgykrxie
.png"
,
"icon2"
:
null
,
"id"
:
"o
ca13f7f4
"
,
"index"
:
1
,
"name"
:
"
积分
"
,
"id"
:
"o
f929ddce
"
,
"index"
:
5
,
"name"
:
"
网易严选自动折叠伞
"
,
"prizeId"
:
"sss_2"
,
"prizeType"
:
2
,
"refId"
:
""
,
"refType"
:
"
increase-credits
"
,
"refId"
:
"
36589
"
,
"refType"
:
"
object
"
,
"sendCount"
:
1
},
{
"degree"
:
"10"
,
"icon"
:
"//yun.dui88.com/
projectxh5/credit-250-250.pn
g"
,
"degree"
:
null
,
"icon"
:
"//yun.dui88.com/
images/202108/a2f2dwejcw.jp
g"
,
"icon2"
:
null
,
"id"
:
"o
ca13f7f
4"
,
"index"
:
1
,
"name"
:
"
积分
"
,
"prizeId"
:
"sss_
2
"
,
"id"
:
"o
1ab65b3
4"
,
"index"
:
6
,
"name"
:
"
地素自充卡券
"
,
"prizeId"
:
"sss_
4
"
,
"prizeType"
:
2
,
"refId"
:
""
,
"refType"
:
"
increase-credits
"
,
"refId"
:
"
36651
"
,
"refType"
:
"
virtual
"
,
"sendCount"
:
1
},
{
...
...
@@ -111,7 +87,7 @@
"icon"
:
"//yun.duiba.com.cn/db-m/app/turntable/circle/images/prize/谢谢参与_6311f27.png"
,
"icon2"
:
null
,
"id"
:
"thanks"
,
"index"
:
2
,
"index"
:
7
,
"name"
:
"谢谢参与"
,
"prizeId"
:
"thanks"
,
"prizeType"
:
0
,
...
...
@@ -120,13 +96,9 @@
"sendCount"
:
1
}
],
"surplusCount"
:
1
,
"credits"
:
111111
,
"needCredits"
:
110
,
"type"
:
1
,
"vip"
:
1
"vip"
:
true
,
"type"
:
2
},
"message"
:
null
,
"success"
:
true
}
}
\ No newline at end of file
project/src/panels/prize.ts
View file @
c647d63a
...
...
@@ -25,7 +25,12 @@ export class PrizePanel extends Panel {
this
.
hidePanel
();
sendLog
(
"click"
,
2
);
console
.
log
(
'click_prize_open'
);
location
.
href
=
'f34481928.html'
;
const
result
=
getWebData
(
WebNetName
.
drawPrize
);
if
(
result
.
data
.
extra
==
'object'
)
location
.
href
=
result
.
data
.
options
[
0
].
url
;
else
location
.
href
=
'f34481928.html'
;
}
get
groupNames
()
{
return
[
"prize"
]
}
...
...
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