Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_taobao
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
new_taobao
Commits
2e2e9de0
Commit
2e2e9de0
authored
Sep 22, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab2.dui88.com:wanghongyuan/new_taobao
parents
8d7ceca7
4afb13ac
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
README.md
README.md
+16
-1
taobao_canvas_readme.md
taobao_canvas_readme.md
+0
-0
No files found.
README.md
View file @
2e2e9de0
# hello_taobao2
# canvas开发
http://gitlab2.dui88.com/wanghongyuan/hello_canvas
# 注意的点
-
不要一次性预加载整个项目的图片,只预加载canvas game需要的。
-
复杂动效用Lottie
-
project/src/canvas/game/resCanvasList.js里URL要https开头
# 打开弹窗
```
js
sendTbNet
(
TbNetName
.
showModal
,
{
name
:
'ruleModal'
},
(
s
,
res
)
=>
{
})
```
# 切换场景
```
js
sendTbNet
(
TbNetName
.
navigateToPage
,
{
name
:
'pageshop'
},
(
s
,
res
)
=>
{
})
```
\ No newline at end of file
taobao_canvas_readme.md
0 → 100644
View file @
2e2e9de0
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