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
5c8e1ed0
Commit
5c8e1ed0
authored
Aug 06, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
762d3985
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
97 additions
and
50 deletions
+97
-50
index.html
project/index.html
+2
-2
carouselInfo.do.json
project/mock/webNet/carousel/carouselInfo.do.json
+27
-7
createItem.do.json
project/mock/webNet/shareAssist/createItem.do.json
+6
-1
shareInfo.do.json
project/mock/webNet/shareAssist/shareInfo.do.json
+4
-4
acquireExperienceAmount.do.json
project/mock/webNet/wallet/acquireExperienceAmount.do.json
+2
-2
alreadyAcquired.do.json
project/mock/webNet/wallet/alreadyAcquired.do.json
+2
-2
alreadyAcquired.do2.json
project/mock/webNet/wallet/alreadyAcquired.do2.json
+6
-0
myWallet.do.json
project/mock/webNet/wallet/myWallet.do.json
+11
-12
withDraw.do.json
project/mock/webNet/wallet/withDraw.do.json
+6
-1
withDraw.do2.json
project/mock/webNet/wallet/withDraw.do2.json
+6
-0
toastBg.png
project/resource/common/toastBg.png
+0
-0
ResJson.ts
project/src/ResJson.ts
+12
-12
IndexScene.ts
project/src/scenes/IndexScene.ts
+6
-5
ShareScene.ts
project/src/scenes/ShareScene.ts
+7
-2
No files found.
project/index.html
View file @
5c8e1ed0
...
@@ -66,8 +66,8 @@
...
@@ -66,8 +66,8 @@
</script>
</script>
<!-- 构建的js -->
<!-- 构建的js -->
<
script
src=
"output.js"
crossorigin=
"anonymous"
></script
>
<
!-- <script src="output.js" crossorigin="anonymous"></script> --
>
<
!-- <script src="https://yun.duiba.com.cn/db_games/activity/template/1627916159/output.js" crossorigin="anonymous"></script> --
>
<
script
src=
"https://yun.duiba.com.cn/db_games/activity/template/1628215312/output.js"
crossorigin=
"anonymous"
></script
>
...
...
project/mock/webNet/carousel/carouselInfo.do.json
View file @
5c8e1ed0
...
@@ -2,18 +2,38 @@
...
@@ -2,18 +2,38 @@
"code"
:
null
,
"code"
:
null
,
"data"
:
[
"data"
:
[
{
{
"
nickname"
:
"138****5678
"
,
"
amount"
:
"70
"
,
"
amount"
:
"9999
"
"
nickname"
:
"n**l
"
},
},
{
{
"
nickname"
:
"138****5678
"
,
"
amount"
:
"30
"
,
"
amount"
:
"7777
"
"
nickname"
:
"n**l
"
},
},
{
{
"nickname"
:
"138****5678"
,
"amount"
:
"600"
,
"amount"
:
"8888"
"nickname"
:
"n**l"
},
{
"amount"
:
"500"
,
"nickname"
:
"n**l"
},
{
"amount"
:
"500"
,
"nickname"
:
"n**l"
},
{
"amount"
:
"200"
,
"nickname"
:
"n**l"
},
{
"amount"
:
"200"
,
"nickname"
:
"n**l"
},
{
"amount"
:
"600"
,
"nickname"
:
"n**l"
}
}
],
],
"message"
:
"sed dolor nulla sint ut"
,
"message"
:
null
,
"success"
:
true
"success"
:
true
}
}
\ No newline at end of file
project/mock/webNet/shareAssist/createItem.do.json
View file @
5c8e1ed0
{
"code"
:
null
,
"data"
:
"aliqua in"
,
"message"
:
"eu anim ex Ut nisi"
,
"success"
:
true
}
{
\ No newline at end of file
"code"
:
null
,
"data"
:
"704OSQ"
,
"message"
:
null
,
"success"
:
true
}
\ No newline at end of file
project/mock/webNet/shareAssist/shareInfo.do.json
View file @
5c8e1ed0
{
{
"code"
:
null
,
"code"
:
null
,
"data"
:
{
"data"
:
{
"experienceAmount"
:
44282255.96922323
,
"experienceAmount"
:
1000
,
"preIncom"
:
"ad nulla consequat velit ut"
,
"preIncom"
:
0.41
,
"remainAssist"
:
-16454472.534332782
"remainAssist"
:
9
},
},
"message"
:
"nulla Ut consequat irure"
,
"message"
:
null
,
"success"
:
true
"success"
:
true
}
}
\ No newline at end of file
project/mock/webNet/wallet/acquireExperienceAmount.do.json
View file @
5c8e1ed0
{
{
"code"
:
null
,
"code"
:
null
,
"data"
:
500
000
,
"data"
:
1
000
,
"message"
:
"reprehenderit ullamco minim esse"
,
"message"
:
null
,
"success"
:
true
"success"
:
true
}
}
\ No newline at end of file
project/mock/webNet/wallet/alreadyAcquired.do.json
View file @
5c8e1ed0
{
{
"code"
:
null
,
"code"
:
null
,
"data"
:
0
,
"data"
:
false
,
"message"
:
"occaecat"
,
"message"
:
null
,
"success"
:
true
"success"
:
true
}
}
\ No newline at end of file
project/mock/webNet/wallet/alreadyAcquired.do2.json
0 → 100644
View file @
5c8e1ed0
{
"code"
:
null
,
"data"
:
true
,
"message"
:
null
,
"success"
:
true
}
\ No newline at end of file
project/mock/webNet/wallet/myWallet.do.json
View file @
5c8e1ed0
{
{
"code"
:
null
,
"code"
:
null
,
"data"
:
{
"data"
:
{
"alreadyOpenAccount"
:
true
,
"alreadyOpenAccount"
:
false
,
"assistFriendAmount"
:
-14187613.920878664
,
"assistFriendNum"
:
0
,
"assistFriendNum"
:
-91701800.34001528
,
"canWithdraw"
:
false
,
"assistIncrAmount"
:
-80077469.46236338
,
"experienceAmount"
:
1000
,
"canWithdraw"
:
true
,
"maxExperienceAmount"
:
2500
,
"experienceAmount"
:
1000000
,
"millionShares"
:
null
,
"maxExperienceAmount"
:
1000000
,
"otherExperienceAmount"
:
0
,
"yesterdayIncome"
:
"velit dolor magna non anim"
,
"sevenDayAnnualization"
:
"2.250%"
,
"sumIncome"
:
"in enim nulla"
,
"sumIncome"
:
0.00
,
"millionShares"
:
"pariatur reprehenderit ea ut eiusmod"
,
"yesterdayIncome"
:
0.00
"sevenDayAnnualization"
:
"exercitation consectetur nostrud ea et"
},
},
"message"
:
"fugiat"
,
"message"
:
null
,
"success"
:
true
"success"
:
true
}
}
\ No newline at end of file
project/mock/webNet/wallet/withDraw.do.json
View file @
5c8e1ed0
{
"code"
:
null
,
"data"
:
"id"
,
"message"
:
"minim commodo deserunt"
,
"success"
:
false
}
{
\ No newline at end of file
"code"
:
"200010"
,
"data"
:
1000
,
"message"
:
"收益未满7天不能提现"
,
"success"
:
true
}
\ No newline at end of file
project/mock/webNet/wallet/withDraw.do2.json
0 → 100644
View file @
5c8e1ed0
{
"code"
:
"200010"
,
"data"
:
null
,
"message"
:
"收益未满7天不能提现"
,
"success"
:
false
}
\ No newline at end of file
project/resource/common/toastBg.png
View replaced file @
762d3985
View file @
5c8e1ed0
679 KB
|
W:
|
H:
1.24 KB
|
W:
|
H:
2-up
Swipe
Onion skin
project/src/ResJson.ts
View file @
5c8e1ed0
...
@@ -179,28 +179,28 @@ export const ResJson = {
...
@@ -179,28 +179,28 @@ export const ResJson = {
"toastBg.png"
:
{
"toastBg.png"
:
{
"x"
:
2
,
"x"
:
2
,
"y"
:
2
,
"y"
:
2
,
"w"
:
750
,
"w"
:
503
,
"h"
:
1
624
,
"h"
:
1
19
,
"ox"
:
0
,
"ox"
:
0
,
"oy"
:
0
,
"oy"
:
0
,
"sw"
:
750
,
"sw"
:
503
,
"sh"
:
1
624
,
"sh"
:
1
19
,
"ro"
:
false
"ro"
:
false
},
},
"waitingBg.png"
:
{
"waitingBg.png"
:
{
"x"
:
754
,
"x"
:
2
,
"y"
:
2
,
"y"
:
123
,
"w"
:
160
,
"w"
:
160
,
"h"
:
180
,
"h"
:
180
,
"ox"
:
0
,
"ox"
:
0
,
"oy"
:
0
,
"oy"
:
0
,
"sw"
:
160
,
"sw"
:
160
,
"sh"
:
180
,
"sh"
:
180
,
"ro"
:
fals
e
"ro"
:
tru
e
},
},
"waitingRot.png"
:
{
"waitingRot.png"
:
{
"x"
:
75
4
,
"x"
:
18
4
,
"y"
:
1
84
,
"y"
:
1
23
,
"w"
:
56
,
"w"
:
56
,
"h"
:
56
,
"h"
:
56
,
"ox"
:
0
,
"ox"
:
0
,
...
@@ -210,8 +210,8 @@ export const ResJson = {
...
@@ -210,8 +210,8 @@ export const ResJson = {
"ro"
:
false
"ro"
:
false
},
},
"comCloseBtn.png"
:
{
"comCloseBtn.png"
:
{
"x"
:
812
,
"x"
:
184
,
"y"
:
18
4
,
"y"
:
18
1
,
"w"
:
48
,
"w"
:
48
,
"h"
:
48
,
"h"
:
48
,
"ox"
:
0
,
"ox"
:
0
,
...
@@ -820,5 +820,5 @@ export const ResJson = {
...
@@ -820,5 +820,5 @@ export const ResJson = {
}
}
}
}
],
],
"path"
:
"https://yun.duiba.com.cn/db_games/activity/template/162821
5284
/resource/"
"path"
:
"https://yun.duiba.com.cn/db_games/activity/template/162821
8126
/resource/"
}
}
\ No newline at end of file
project/src/scenes/IndexScene.ts
View file @
5c8e1ed0
import
{
unwatchPageVisibility
,
watchPageVisibility
}
from
'@spark/utils'
;
import
{
unwatchPageVisibility
,
watchPageVisibility
}
from
'@spark/utils'
;
import
{
closeCurrentPanel
,
showPanel
}
from
"../../module/ctrls"
;
import
{
showPanel
}
from
"../../module/ctrls"
;
import
PanelCtrl
from
'../../module/ctrls/panelCtrl'
;
import
PanelCtrl
from
'../../module/ctrls/panelCtrl'
;
import
{
Scene
}
from
"../../module/views/Scene"
;
import
{
Scene
}
from
"../../module/views/Scene"
;
import
Marquee
from
'../common/Marquee'
;
import
Marquee
from
'../common/Marquee'
;
import
ShareMask
,
{
hideShareMask
}
from
'../common/ShareMask'
;
import
{
hideShareMask
}
from
'../common/ShareMask'
;
import
TestButton
from
'../common/TestButton'
;
import
getObject
from
'../getObject'
;
import
getObject
from
'../getObject'
;
import
getQueryParams
from
'../getQueryParams'
;
import
getQueryParams
from
'../getQueryParams'
;
import
{
DrawPanel
}
from
'../panels/draw'
;
import
{
DrawPanel
}
from
'../panels/draw'
;
...
@@ -26,10 +25,12 @@ const checkUpdateShare = () => {
...
@@ -26,10 +25,12 @@ const checkUpdateShare = () => {
export
class
IndexScene
extends
Scene
{
export
class
IndexScene
extends
Scene
{
onclick_index_drawBtn
(){
onclick_index_drawBtn
(){
sendWebNet
(
WebNetName
.
withDraw
).
then
(
res
=>
{
showPanel
(
DrawPanel
);
showPanel
(
DrawPanel
);
});
}
}
page
:
FYGE
.
ScrollPage
;
page
:
FYGE
.
ScrollPage
;
initUi
()
{
initUi
()
{
super
.
initUi
();
super
.
initUi
();
...
...
project/src/scenes/ShareScene.ts
View file @
5c8e1ed0
...
@@ -2,13 +2,16 @@ import { showPanel } from "../../module/ctrls";
...
@@ -2,13 +2,16 @@ import { showPanel } from "../../module/ctrls";
import
{
Scene
}
from
"../../module/views/Scene"
;
import
{
Scene
}
from
"../../module/views/Scene"
;
import
Marquee
from
"../common/Marquee"
;
import
Marquee
from
"../common/Marquee"
;
import
getObject
from
"../getObject"
;
import
getObject
from
"../getObject"
;
import
getQueryParams
from
"../getQueryParams"
;
import
{
AssistPanel
}
from
"../panels/assist"
;
import
{
AssistPanel
}
from
"../panels/assist"
;
import
{
sendWebNet
,
WebNetName
}
from
"../WebNet"
;
import
{
sendWebNet
,
WebNetName
}
from
"../WebNet"
;
export
class
ShareScene
extends
Scene
{
export
class
ShareScene
extends
Scene
{
onClick_share_assist
(){
onClick_share_assist
(){
const
query
=
getQueryParams
();
sendWebNet
(
WebNetName
.
assist
,{
code
:
query
.
shareCode
}).
then
(
res
=>
{
showPanel
(
AssistPanel
)
showPanel
(
AssistPanel
)
})
}
}
get
groupNames
()
{
return
[
"share"
]
}
get
groupNames
()
{
return
[
"share"
]
}
get
skinName
()
{
return
"share"
}
get
skinName
()
{
return
"share"
}
...
@@ -22,6 +25,8 @@ export class ShareScene extends Scene {
...
@@ -22,6 +25,8 @@ export class ShareScene extends Scene {
super
.
start
();
super
.
start
();
console
.
log
(
'ShareScene query>>'
,
JSON
.
stringify
(
data
.
query
));
console
.
log
(
'ShareScene query>>'
,
JSON
.
stringify
(
data
.
query
));
sendWebNet
(
WebNetName
.
shareInfo
,{
code
:
getQueryParams
().
shareCode
}).
then
(
res
=>
{});
sendWebNet
(
WebNetName
.
carouselInfo
).
then
(
res
=>
{
sendWebNet
(
WebNetName
.
carouselInfo
).
then
(
res
=>
{
console
.
log
(
'carouselInfo '
,
res
);
console
.
log
(
'carouselInfo '
,
res
);
...
...
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