Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qiaqia_qx
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
邱旭
qiaqia_qx
Commits
1ba639a1
Commit
1ba639a1
authored
Jun 18, 2020
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1111
parent
f0c5a869
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
37 deletions
+61
-37
workspace.xml
.idea/workspace.xml
+39
-30
ResJson.ts
src/ResJson.ts
+1
-1
LoadingScene.ts
src/scenes/LoadingScene.ts
+8
-6
utils.ts
src/utils.ts
+13
-0
No files found.
.idea/workspace.xml
View file @
1ba639a1
This diff is collapsed.
Click to expand it.
src/ResJson.ts
View file @
1ba639a1
...
...
@@ -7133,5 +7133,5 @@ export const ResJson = {
}
}
],
"path"
:
"https://yun.duiba.com.cn/db_games/activity/anything/1592
385249
/resource/"
"path"
:
"https://yun.duiba.com.cn/db_games/activity/anything/1592
446436
/resource/"
}
\ No newline at end of file
src/scenes/LoadingScene.ts
View file @
1ba639a1
...
...
@@ -8,7 +8,7 @@ import OptionPool from "../const/OptionPool";
import
PlantEffectPool
from
"../const/PlantEffectPool"
;
import
{
RES
}
from
"../../module/RES"
;
import
{
gameResource
}
from
"../const/staticData"
;
import
{
checkShopFavoredStatus
,
getAuthUserInfo
}
from
"../utils"
;
import
{
checkShopFavoredStatus
,
getAuthUserInfo
,
taobaoReport
}
from
"../utils"
;
import
Container
=
FYGE
.
Container
;
import
Sprite
=
FYGE
.
Sprite
;
import
Tween
=
FYGE
.
Tween
;
...
...
@@ -55,12 +55,12 @@ export class LoadingScene extends Scene {
});
/// test
var
isFollow
=
tru
e
;
var
isFollow
=
fals
e
;
// @ts-ignore
//
isFollow = await checkShopFavoredStatus(sellerId).catch((err) => {
//
console.log(err);
//
isFollow = false;
//
});
isFollow
=
await
checkShopFavoredStatus
(
sellerId
).
catch
((
err
)
=>
{
console
.
log
(
err
);
isFollow
=
false
;
});
console
.
log
(
'isFollow'
,
isFollow
);
setTbData
(
TbNetName
.
isFollow
,
{
...
...
@@ -145,6 +145,8 @@ export class LoadingScene extends Scene {
});
});
taobaoReport
(
'in_index'
);
for
(
let
i
=
0
;
i
<=
20
;
i
++
)
{
MPush
(
new
ShopItemExchangeInfo
());
}
...
...
src/utils.ts
View file @
1ba639a1
...
...
@@ -314,3 +314,16 @@ export const getUserAddress = (opts = {}) => {
});
};
/**
* 自定义分析数据的上报接口
* @param logkey
*/
export
const
taobaoReport
=
logkey
=>
{
// @ts-ignore
my
.
reportAnalytics
(
'click'
,
{
// 标志某一类事件,方便数据分析进行分组
'logkey'
:
logkey
})
};
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