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 @@
</script>
<!-- 构建的js -->
<
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="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 @@
"code"
:
null
,
"data"
:
[
{
"
nickname"
:
"138****5678
"
,
"
amount"
:
"9999
"
"
amount"
:
"70
"
,
"
nickname"
:
"n**l
"
},
{
"
nickname"
:
"138****5678
"
,
"
amount"
:
"7777
"
"
amount"
:
"30
"
,
"
nickname"
:
"n**l
"
},
{
"nickname"
:
"138****5678"
,
"amount"
:
"8888"
"amount"
:
"600"
,
"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
}
\ 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
,
"data"
:
{
"experienceAmount"
:
44282255.96922323
,
"preIncom"
:
"ad nulla consequat velit ut"
,
"remainAssist"
:
-16454472.534332782
"experienceAmount"
:
1000
,
"preIncom"
:
0.41
,
"remainAssist"
:
9
},
"message"
:
"nulla Ut consequat irure"
,
"message"
:
null
,
"success"
:
true
}
\ No newline at end of file
project/mock/webNet/wallet/acquireExperienceAmount.do.json
View file @
5c8e1ed0
{
"code"
:
null
,
"data"
:
500
000
,
"message"
:
"reprehenderit ullamco minim esse"
,
"data"
:
1
000
,
"message"
:
null
,
"success"
:
true
}
\ No newline at end of file
project/mock/webNet/wallet/alreadyAcquired.do.json
View file @
5c8e1ed0
{
"code"
:
null
,
"data"
:
0
,
"message"
:
"occaecat"
,
"data"
:
false
,
"message"
:
null
,
"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
,
"data"
:
{
"alreadyOpenAccount"
:
true
,
"assistFriendAmount"
:
-14187613.920878664
,
"assistFriendNum"
:
-91701800.34001528
,
"assistIncrAmount"
:
-80077469.46236338
,
"canWithdraw"
:
true
,
"experienceAmount"
:
1000000
,
"maxExperienceAmount"
:
1000000
,
"yesterdayIncome"
:
"velit dolor magna non anim"
,
"sumIncome"
:
"in enim nulla"
,
"millionShares"
:
"pariatur reprehenderit ea ut eiusmod"
,
"sevenDayAnnualization"
:
"exercitation consectetur nostrud ea et"
"alreadyOpenAccount"
:
false
,
"assistFriendNum"
:
0
,
"canWithdraw"
:
false
,
"experienceAmount"
:
1000
,
"maxExperienceAmount"
:
2500
,
"millionShares"
:
null
,
"otherExperienceAmount"
:
0
,
"sevenDayAnnualization"
:
"2.250%"
,
"sumIncome"
:
0.00
,
"yesterdayIncome"
:
0.00
},
"message"
:
"fugiat"
,
"message"
:
null
,
"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 = {
"toastBg.png"
:
{
"x"
:
2
,
"y"
:
2
,
"w"
:
750
,
"h"
:
1
624
,
"w"
:
503
,
"h"
:
1
19
,
"ox"
:
0
,
"oy"
:
0
,
"sw"
:
750
,
"sh"
:
1
624
,
"sw"
:
503
,
"sh"
:
1
19
,
"ro"
:
false
},
"waitingBg.png"
:
{
"x"
:
754
,
"y"
:
2
,
"x"
:
2
,
"y"
:
123
,
"w"
:
160
,
"h"
:
180
,
"ox"
:
0
,
"oy"
:
0
,
"sw"
:
160
,
"sh"
:
180
,
"ro"
:
fals
e
"ro"
:
tru
e
},
"waitingRot.png"
:
{
"x"
:
75
4
,
"y"
:
1
84
,
"x"
:
18
4
,
"y"
:
1
23
,
"w"
:
56
,
"h"
:
56
,
"ox"
:
0
,
...
...
@@ -210,8 +210,8 @@ export const ResJson = {
"ro"
:
false
},
"comCloseBtn.png"
:
{
"x"
:
812
,
"y"
:
18
4
,
"x"
:
184
,
"y"
:
18
1
,
"w"
:
48
,
"h"
:
48
,
"ox"
:
0
,
...
...
@@ -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
{
closeCurrentPanel
,
showPanel
}
from
"../../module/ctrls"
;
import
{
showPanel
}
from
"../../module/ctrls"
;
import
PanelCtrl
from
'../../module/ctrls/panelCtrl'
;
import
{
Scene
}
from
"../../module/views/Scene"
;
import
Marquee
from
'../common/Marquee'
;
import
ShareMask
,
{
hideShareMask
}
from
'../common/ShareMask'
;
import
TestButton
from
'../common/TestButton'
;
import
{
hideShareMask
}
from
'../common/ShareMask'
;
import
getObject
from
'../getObject'
;
import
getQueryParams
from
'../getQueryParams'
;
import
{
DrawPanel
}
from
'../panels/draw'
;
...
...
@@ -26,10 +25,12 @@ const checkUpdateShare = () => {
export
class
IndexScene
extends
Scene
{
onclick_index_drawBtn
(){
sendWebNet
(
WebNetName
.
withDraw
).
then
(
res
=>
{
showPanel
(
DrawPanel
);
});
}
page
:
FYGE
.
ScrollPage
;
initUi
()
{
super
.
initUi
();
...
...
project/src/scenes/ShareScene.ts
View file @
5c8e1ed0
...
...
@@ -2,13 +2,16 @@ import { showPanel } from "../../module/ctrls";
import
{
Scene
}
from
"../../module/views/Scene"
;
import
Marquee
from
"../common/Marquee"
;
import
getObject
from
"../getObject"
;
import
getQueryParams
from
"../getQueryParams"
;
import
{
AssistPanel
}
from
"../panels/assist"
;
import
{
sendWebNet
,
WebNetName
}
from
"../WebNet"
;
export
class
ShareScene
extends
Scene
{
onClick_share_assist
(){
const
query
=
getQueryParams
();
sendWebNet
(
WebNetName
.
assist
,{
code
:
query
.
shareCode
}).
then
(
res
=>
{
showPanel
(
AssistPanel
)
})
}
get
groupNames
()
{
return
[
"share"
]
}
get
skinName
()
{
return
"share"
}
...
...
@@ -22,6 +25,8 @@ export class ShareScene extends Scene {
super
.
start
();
console
.
log
(
'ShareScene query>>'
,
JSON
.
stringify
(
data
.
query
));
sendWebNet
(
WebNetName
.
shareInfo
,{
code
:
getQueryParams
().
shareCode
}).
then
(
res
=>
{});
sendWebNet
(
WebNetName
.
carouselInfo
).
then
(
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