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 @@
...
@@ -4,7 +4,7 @@
"needPop"
:
0
,
"needPop"
:
0
,
"activityOver"
:
false
,
"activityOver"
:
false
,
"surplusCount"
:
1
,
"surplusCount"
:
1
,
"credits"
:
11111
0
,
"credits"
:
0
,
"needCredits"
:
1
,
"needCredits"
:
1
,
"type"
:
1
,
"type"
:
1
,
"options"
:
[{
"options"
:
[{
...
...
project/src/Main.ts
View file @
b11d2500
...
@@ -14,6 +14,7 @@ import { SkinJson } from "./SkinJson";
...
@@ -14,6 +14,7 @@ import { SkinJson } from "./SkinJson";
import
{
destroyWebNetData
,
sendWebNet
}
from
"./WebNet"
;
import
{
destroyWebNetData
,
sendWebNet
}
from
"./WebNet"
;
import
{
WebNetName
}
from
"./WebNetName"
;
import
{
WebNetName
}
from
"./WebNetName"
;
import
{
SharePanel
}
from
"./panels/share"
import
{
SharePanel
}
from
"./panels/share"
import
{
notEnoughMoneySharePanel
}
from
"./panels/notEnoughMoneyShare"
;
/**
/**
* 全局事件,为了和小程序交互
* 全局事件,为了和小程序交互
...
@@ -93,7 +94,7 @@ export class Main {
...
@@ -93,7 +94,7 @@ export class Main {
sendWebNet
(
WebNetName
.
getInviteCode
,
{},
null
,
true
);
sendWebNet
(
WebNetName
.
getInviteCode
,
{},
null
,
true
);
sendWebNet
(
WebNetName
.
doAssist
,
{
inviteCode
:
getQueryParams
().
inviteCode
},
null
,
true
);
sendWebNet
(
WebNetName
.
doAssist
,
{
inviteCode
:
getQueryParams
().
inviteCode
},
null
,
true
);
// setTimeout(() => {
// setTimeout(() => {
// showPanel(
SharePanel);
showPanel
(
notEnoughMoney
SharePanel
);
// }, 4000);
// }, 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 = {
...
@@ -447,7 +447,7 @@ export const SkinJson = {
"y"
:
258
,
"y"
:
258
,
"type"
:
"text"
,
"type"
:
"text"
,
"props"
:
{
"props"
:
{
"text"
:
"分享好友/群
即可获得
"
,
"text"
:
"分享好友/群"
,
"size"
:
32
,
"size"
:
32
,
"fillColor"
:
"#000000"
,
"fillColor"
:
"#000000"
,
"bold"
:
"true"
,
"bold"
:
"true"
,
...
@@ -460,7 +460,7 @@ export const SkinJson = {
...
@@ -460,7 +460,7 @@ export const SkinJson = {
"y"
:
303
,
"y"
:
303
,
"type"
:
"text"
,
"type"
:
"text"
,
"props"
:
{
"props"
:
{
"text"
:
"
一
次免费拆盲盒机会"
,
"text"
:
"
好友访问活动首页
\n
即可增加1
次免费拆盲盒机会"
,
"size"
:
28
,
"size"
:
28
,
"fillColor"
:
"#000000"
,
"fillColor"
:
"#000000"
,
"textAlpha"
:
1
"textAlpha"
:
1
...
@@ -519,7 +519,7 @@ export const SkinJson = {
...
@@ -519,7 +519,7 @@ export const SkinJson = {
"y"
:
258
,
"y"
:
258
,
"type"
:
"text"
,
"type"
:
"text"
,
"props"
:
{
"props"
:
{
"text"
:
"分享好友/群
即可获得
"
,
"text"
:
"分享好友/群"
,
"size"
:
32
,
"size"
:
32
,
"fillColor"
:
"#000000"
,
"fillColor"
:
"#000000"
,
"bold"
:
"true"
,
"bold"
:
"true"
,
...
@@ -532,7 +532,7 @@ export const SkinJson = {
...
@@ -532,7 +532,7 @@ export const SkinJson = {
"y"
:
303
,
"y"
:
303
,
"type"
:
"text"
,
"type"
:
"text"
,
"props"
:
{
"props"
:
{
"text"
:
"
一
次免费拆盲盒机会"
,
"text"
:
"
好友访问活动首页
\n
即可增加1
次免费拆盲盒机会"
,
"size"
:
28
,
"size"
:
28
,
"fillColor"
:
"#000000"
,
"fillColor"
:
"#000000"
,
"textAlpha"
:
1
"textAlpha"
:
1
...
@@ -885,11 +885,11 @@ export const SkinJson = {
...
@@ -885,11 +885,11 @@ export const SkinJson = {
{
{
"name"
:
"prize_tips"
,
"name"
:
"prize_tips"
,
"x"
:
251
,
"x"
:
251
,
"y"
:
5
65
,
"y"
:
5
71
,
"type"
:
"text"
,
"type"
:
"text"
,
"props"
:
{
"props"
:
{
"text"
:
"请在中奖后24小时内领取并填写地址提交~"
,
"text"
:
"请在中奖后24小时内领取并填写地址提交~"
,
"size"
:
2
2
,
"size"
:
2
0
,
"fillColor"
:
"#000000"
,
"fillColor"
:
"#000000"
,
"textAlpha"
:
1
"textAlpha"
:
1
}
}
...
...
project/src/panels/notEnoughMoneyShare.ts
View file @
b11d2500
...
@@ -48,6 +48,7 @@ export class notEnoughMoneySharePanel extends Panel {
...
@@ -48,6 +48,7 @@ export class notEnoughMoneySharePanel extends Panel {
var
skin
=
RES
.
getSkinDataByName
(
this
.
skinName
);
var
skin
=
RES
.
getSkinDataByName
(
this
.
skinName
);
this
.
position
.
set
(
skin
.
x
,
skin
.
y
);
this
.
position
.
set
(
skin
.
x
,
skin
.
y
);
centerTextField
(
getObject
(
this
,
'notEnoughMoneyShare_tips'
),
496
);
centerTextField
(
getObject
(
this
,
'notEnoughMoneyShare_tips'
),
496
);
centerTextField
(
getObject
(
this
,
'notEnoughMoneyShareFriend_tips'
),
496
);
}
}
initEvents
()
{
initEvents
()
{
...
...
project/src/panels/notEnoughMoneyShareHasTimes.ts
View file @
b11d2500
...
@@ -48,6 +48,9 @@ export class notEnoughMoneyShareHasTimesPanel extends Panel {
...
@@ -48,6 +48,9 @@ export class notEnoughMoneyShareHasTimesPanel extends Panel {
var
skin
=
RES
.
getSkinDataByName
(
this
.
skinName
);
var
skin
=
RES
.
getSkinDataByName
(
this
.
skinName
);
this
.
position
.
set
(
skin
.
x
,
skin
.
y
);
this
.
position
.
set
(
skin
.
x
,
skin
.
y
);
centerTextField
(
getObject
(
this
,
'notEnoughMoneyShareHasTimes_tips'
),
496
);
centerTextField
(
getObject
(
this
,
'notEnoughMoneyShareHasTimes_tips'
),
496
);
centerTextField
(
getObject
(
this
,
'notEnoughMoneyShareHasTimesFriend_tips'
),
496
);
}
}
initEvents
()
{
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