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
b11d2500
Commit
b11d2500
authored
Sep 18, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
5de3c0f5
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
783 deletions
+30
-783
index.do.json
project/mock/webNet/dazzle/index.do.json
+1
-1
Main.ts
project/src/Main.ts
+2
-1
ResJson.ts
project/src/ResJson.ts
+17
-775
SkinJson.ts
project/src/SkinJson.ts
+6
-6
notEnoughMoneyShare.ts
project/src/panels/notEnoughMoneyShare.ts
+1
-0
notEnoughMoneyShareHasTimes.ts
project/src/panels/notEnoughMoneyShareHasTimes.ts
+3
-0
No files found.
project/mock/webNet/dazzle/index.do.json
View file @
b11d2500
...
...
@@ -4,7 +4,7 @@
"needPop"
:
0
,
"activityOver"
:
false
,
"surplusCount"
:
1
,
"credits"
:
11111
0
,
"credits"
:
0
,
"needCredits"
:
1
,
"type"
:
1
,
"options"
:
[{
...
...
project/src/Main.ts
View file @
b11d2500
...
...
@@ -14,6 +14,7 @@ import { SkinJson } from "./SkinJson";
import
{
destroyWebNetData
,
sendWebNet
}
from
"./WebNet"
;
import
{
WebNetName
}
from
"./WebNetName"
;
import
{
SharePanel
}
from
"./panels/share"
import
{
notEnoughMoneySharePanel
}
from
"./panels/notEnoughMoneyShare"
;
/**
* 全局事件,为了和小程序交互
...
...
@@ -93,7 +94,7 @@ export class Main {
sendWebNet
(
WebNetName
.
getInviteCode
,
{},
null
,
true
);
sendWebNet
(
WebNetName
.
doAssist
,
{
inviteCode
:
getQueryParams
().
inviteCode
},
null
,
true
);
// setTimeout(() => {
// showPanel(
SharePanel);
showPanel
(
notEnoughMoney
SharePanel
);
// }, 4000);
}
...
...
project/src/ResJson.ts
View file @
b11d2500
This diff is collapsed.
Click to expand it.
project/src/SkinJson.ts
View file @
b11d2500
...
...
@@ -447,7 +447,7 @@ export const SkinJson = {
"y"
:
258
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"分享好友/群
即可获得
"
,
"text"
:
"分享好友/群"
,
"size"
:
32
,
"fillColor"
:
"#000000"
,
"bold"
:
"true"
,
...
...
@@ -460,7 +460,7 @@ export const SkinJson = {
"y"
:
303
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"
一
次免费拆盲盒机会"
,
"text"
:
"
好友访问活动首页
\n
即可增加1
次免费拆盲盒机会"
,
"size"
:
28
,
"fillColor"
:
"#000000"
,
"textAlpha"
:
1
...
...
@@ -519,7 +519,7 @@ export const SkinJson = {
"y"
:
258
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"分享好友/群
即可获得
"
,
"text"
:
"分享好友/群"
,
"size"
:
32
,
"fillColor"
:
"#000000"
,
"bold"
:
"true"
,
...
...
@@ -532,7 +532,7 @@ export const SkinJson = {
"y"
:
303
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"
一
次免费拆盲盒机会"
,
"text"
:
"
好友访问活动首页
\n
即可增加1
次免费拆盲盒机会"
,
"size"
:
28
,
"fillColor"
:
"#000000"
,
"textAlpha"
:
1
...
...
@@ -885,11 +885,11 @@ export const SkinJson = {
{
"name"
:
"prize_tips"
,
"x"
:
251
,
"y"
:
5
65
,
"y"
:
5
71
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"请在中奖后24小时内领取并填写地址提交~"
,
"size"
:
2
2
,
"size"
:
2
0
,
"fillColor"
:
"#000000"
,
"textAlpha"
:
1
}
...
...
project/src/panels/notEnoughMoneyShare.ts
View file @
b11d2500
...
...
@@ -48,6 +48,7 @@ export class notEnoughMoneySharePanel extends Panel {
var
skin
=
RES
.
getSkinDataByName
(
this
.
skinName
);
this
.
position
.
set
(
skin
.
x
,
skin
.
y
);
centerTextField
(
getObject
(
this
,
'notEnoughMoneyShare_tips'
),
496
);
centerTextField
(
getObject
(
this
,
'notEnoughMoneyShareFriend_tips'
),
496
);
}
initEvents
()
{
...
...
project/src/panels/notEnoughMoneyShareHasTimes.ts
View file @
b11d2500
...
...
@@ -48,6 +48,9 @@ export class notEnoughMoneyShareHasTimesPanel extends Panel {
var
skin
=
RES
.
getSkinDataByName
(
this
.
skinName
);
this
.
position
.
set
(
skin
.
x
,
skin
.
y
);
centerTextField
(
getObject
(
this
,
'notEnoughMoneyShareHasTimes_tips'
),
496
);
centerTextField
(
getObject
(
this
,
'notEnoughMoneyShareHasTimesFriend_tips'
),
496
);
}
initEvents
()
{
...
...
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