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
8ca3aed9
Commit
8ca3aed9
authored
Aug 09, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
a87626e8
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
928 additions
and
22 deletions
+928
-22
index.html
project/index.html
+1
-0
Main.ts
project/src/Main.ts
+1
-1
ResJson.ts
project/src/ResJson.ts
+909
-14
prize.ts
project/src/panels/prize.ts
+1
-1
IndexScene.ts
project/src/scenes/IndexScene.ts
+1
-1
share.ts
project/src/share.ts
+15
-0
updateShare.ts
project/src/updateShare.ts
+0
-5
No files found.
project/index.html
View file @
8ca3aed9
...
...
@@ -11,6 +11,7 @@
<meta
name=
"screen-orientation"
content=
"portrait"
/>
<meta
name=
"x5-fullscreen"
content=
"true"
/>
<meta
name=
"360-fullscreen"
content=
"true"
/>
<script
src=
"//res.wx.qq.com/open/js/jweixin-1.3.2.js"
crossorigin=
"anonymous"
></script>
<!-- 渲染引擎 -->
<script
src=
"//yun.duiba.com.cn/db_games/libs0924/fyge2018.minSpine.js"
crossorigin=
"anonymous"
></script>
<!-- svga解析库 -->
...
...
project/src/Main.ts
View file @
8ca3aed9
...
...
@@ -9,7 +9,7 @@ import { IndexScene } from "./scenes/IndexScene";
import
{
NewbieScene
}
from
"./scenes/NewbieScene"
;
import
{
ShareScene
}
from
"./scenes/ShareScene"
;
import
{
SkinJson
}
from
"./SkinJson"
;
import
updateShare
from
"./
updateS
hare"
;
import
updateShare
from
"./
s
hare"
;
import
{
destroyWebNetData
,
sendWebNet
,
WebNetName
}
from
"./WebNet"
;
...
...
project/src/ResJson.ts
View file @
8ca3aed9
This diff is collapsed.
Click to expand it.
project/src/panels/prize.ts
View file @
8ca3aed9
...
...
@@ -5,7 +5,7 @@ import getObject from "../common/getObject";
import
{
ProgressBarS
}
from
"../common/ProgressBarS"
;
import
{
showShareMask
}
from
"../common/ShareMask"
;
import
{
IndexScene
}
from
"../scenes/IndexScene"
;
import
updateShare
from
"../
updateS
hare"
;
import
updateShare
from
"../
s
hare"
;
import
{
getPxTokenSave
,
sendWebNet
,
WebNetName
}
from
"../WebNet"
;
export
class
PrizePanel
extends
Panel
{
amountTxt
:
FYGE
.
TextField
;
...
...
project/src/scenes/IndexScene.ts
View file @
8ca3aed9
...
...
@@ -14,7 +14,7 @@ import { DrawPanel } from '../panels/draw';
import
{
RulePanel
}
from
'../panels/rule'
;
import
{
ShareFailPanel
}
from
'../panels/share_fail'
;
import
{
ShareSuccessPanel
}
from
'../panels/share_success'
;
import
updateShare
from
'../
updateS
hare'
;
import
updateShare
from
'../
s
hare'
;
import
{
getPxTokenSave
,
getWebData
,
sendWebNet
,
WebNetName
}
from
'../WebNet'
;
export
class
IndexScene
extends
Scene
{
...
...
project/src/share.ts
0 → 100644
View file @
8ca3aed9
// export const updateShare = (type, code) => {
// console.log('updateShare', 'type=', type, 'code=', code)
// }
import
{
start
,
WeixinMini
}
from
'@spark/share'
start
([
WeixinMini
],
(
way
,
success
,
payload
)
=>
{
console
.
log
(
'分享'
+
success
?
'成功'
:
'失败'
)
})
const
updateShare
=
(...
args
)
=>
{}
export
default
updateShare
\ No newline at end of file
project/src/updateShare.ts
deleted
100644 → 0
View file @
a87626e8
const
updateShare
=
(
type
,
code
)
=>
{
console
.
log
(
'updateShare'
,
'type='
,
type
,
'code='
,
code
)
}
export
default
updateShare
\ 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