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
befec1b2
Commit
befec1b2
authored
Aug 11, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
d5bb9553
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
3 deletions
+33
-3
acquireOtherExperienceAmount.do.json
...t/mock/webNet/wallet/acquireOtherExperienceAmount.do.json
+1
-1
myWallet.do.json
project/mock/webNet/wallet/myWallet.do.json
+1
-1
datas.ts
project/src/datas.ts
+3
-1
share_fail.ts
project/src/panels/share_fail.ts
+14
-0
share_success.ts
project/src/panels/share_success.ts
+14
-0
No files found.
project/mock/webNet/wallet/acquireOtherExperienceAmount.do.json
View file @
befec1b2
{
"code"
:
null
,
"data"
:
500000
,
"message"
:
null
,
"success"
:
true
}
\ No newline at end of file
{
"code"
:
null
,
"data"
:
2500
,
"message"
:
null
,
"success"
:
true
}
\ No newline at end of file
project/mock/webNet/wallet/myWallet.do.json
View file @
befec1b2
...
...
@@ -4,7 +4,7 @@
"alreadyOpenAccount"
:
false
,
"assistFriendNum"
:
1
,
"canWithdraw"
:
false
,
"experienceAmount"
:
10
00
,
"experienceAmount"
:
25
00
,
"maxExperienceAmount"
:
2500
,
"millionShares"
:
null
,
"otherExperienceAmount"
:
1
,
...
...
project/src/datas.ts
View file @
befec1b2
export
const
MAX_MONEY
=
100
*
10000
;
export
const
MONEY_PERCENT
=
0.1
;
\ No newline at end of file
export
const
MONEY_PERCENT
=
0.1
;
export
const
WEIXIN_URL
=
'https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=Mzg5NTMyMTg3Nw==&scene=124#wechat_redirect'
;
\ No newline at end of file
project/src/panels/share_fail.ts
View file @
befec1b2
...
...
@@ -2,8 +2,13 @@ import { RES } from "../../module/RES";
import
{
Panel
}
from
"../../module/views/Panel"
;
import
centerTextField
from
"../common/centerTextField"
;
import
getObject
from
"../common/getObject"
;
import
{
WEIXIN_URL
}
from
"../datas"
;
export
class
ShareFailPanel
extends
Panel
{
share_success_btn
(){
location
.
href
=
WEIXIN_URL
}
initUi
()
{
super
.
initUi
();
var
skin
=
RES
.
getSkinDataByName
(
this
.
skinName
);
...
...
@@ -24,4 +29,13 @@ export class ShareFailPanel extends Panel {
async
start
(
data
)
{
super
.
start
();
}
initEvents
(){
super
.
initEvents
();
getObject
(
this
,
'share_fail_btn'
).
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
this
.
share_success_btn
,
this
);
}
removeEvents
(){
super
.
removeEvents
();
getObject
(
this
,
'share_fail_btn'
).
removeEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
this
.
share_success_btn
,
this
);
}
}
\ No newline at end of file
project/src/panels/share_success.ts
View file @
befec1b2
...
...
@@ -2,8 +2,13 @@ import { RES } from "../../module/RES";
import
{
Panel
}
from
"../../module/views/Panel"
;
import
centerTextField
from
"../common/centerTextField"
;
import
getObject
from
"../common/getObject"
;
import
{
WEIXIN_URL
}
from
"../datas"
;
export
class
ShareSuccessPanel
extends
Panel
{
share_success_btn
(){
location
.
href
=
WEIXIN_URL
}
initUi
()
{
super
.
initUi
();
var
skin
=
RES
.
getSkinDataByName
(
this
.
skinName
);
...
...
@@ -24,4 +29,13 @@ export class ShareSuccessPanel extends Panel {
super
.
start
();
}
initEvents
(){
super
.
initEvents
();
getObject
(
this
,
'share_success_btn'
).
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
this
.
share_success_btn
,
this
);
}
removeEvents
(){
super
.
removeEvents
();
getObject
(
this
,
'share_success_btn'
).
removeEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
this
.
share_success_btn
,
this
);
}
}
\ 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