Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
xiaoxiaole
Commits
b7a2aae0
Commit
b7a2aae0
authored
Oct 25, 2019
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1b2b44f0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
74 deletions
+1
-74
MapScene.ts
egret/src/mapScene/MapScene.ts
+0
-1
InvitePanel.ts
egret/src/panels/InvitePanel.ts
+1
-72
Turntable.ts
egret/src/panels/TurntablePanel/Turntable.ts
+0
-1
No files found.
egret/src/mapScene/MapScene.ts
View file @
b7a2aae0
...
...
@@ -24,7 +24,6 @@ import { GDispatcher } from "../../libs/tc/util/GDispatcher";
import
Loading
from
"../../libs/new_wx/components/Loading"
;
import
ScratchIcon
from
"./icon/ScratchIcon"
;
import
TurntableIcon
from
"./icon/TurntableIcon"
;
import
{
loadTurntableSvga
}
from
"../panels/TurntablePanel/Turntable"
;
let
doHelpFlag
=
false
;
// let adTag = false;
...
...
egret/src/panels/InvitePanel.ts
View file @
b7a2aae0
...
...
@@ -215,74 +215,3 @@ class InviteItem extends eui.ItemRenderer {
},
this
);
}
}
\ No newline at end of file
// ////////////////////////////////////////////////////////////////////////////////////////////////
// // 端内分享提示
// class ShareTips extends ComponentBase {
// public inviteGroup: eui.Group;
// public btn1: eui.Button;
// public btn2: eui.Button;
//
// private img: string;
//
// setUrl(img: string) {
// this.img = img;
// }
//
// start() {
// this.once(egret.TouchEvent.ADDED_TO_STAGE, () => {
// this.height = this.stage.stageHeight;
// }, this);
//
// this.addEventListener(egret.TouchEvent.TOUCH_TAP, () => {
// hideShare();
// }, this);
//
// this.btn1.addEventListener(egret.TouchEvent.TOUCH_TAP, () => {
// this.getFunc();//朋友圈
// hideShare();
// }, this);
//
// this.btn2.addEventListener(egret.TouchEvent.TOUCH_TAP, () => {
// this.getFunc();//朋友圈
// hideShare();
// }, this);
// }
//
// getFunc() {
// NetManager.ins.getShareCode((success, res) => {
// if(!success) {
// return;
// }
// if(iswx()) { //微信端
//
// } else {//端内
// window["inviteShare"](res.data);
// }
// });
// }
//
// get skinKey() {
// return 'ShareTips';
// }
// }
//
// let inited = false;
// let _share: ShareTips;
// const initShare = () => {
// const layer = layers.shareLayer;
// const share = new ShareTips();
// share.loadSkin();
// share.start();
// layer.addChild(share);
// _share = share;
// };
//
// const showShareTips = (url: string) => {
// if(!inited) {
// initShare();
// inited = true;
// }
// _share.setUrl(url);
// layers.shareLayer.visible = true;
// };
\ No newline at end of file
egret/src/panels/TurntablePanel/Turntable.ts
View file @
b7a2aae0
...
...
@@ -12,7 +12,6 @@ import { NetManager } from "../../../libs/tw/manager/NetManager";
import
Utils
from
"../../Utils"
;
import
{
loadSvga
}
from
"../../loadSvga"
;
import
getResPath
from
"../../../libs/new_tc/getResPath"
;
import
MapScene
from
"../../mapScene/MapScene"
;
import
wait
from
"../../../libs/new_tc/wait"
;
export
const
loadTurntableSvga
=
(
callback
)
=>
{
loadSvga
(
getResPath
()
+
'resource/assets/svgas/turntable.svga'
).
then
(
async
(
mv
:
any
)
=>
{
...
...
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