Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
babycare_xiaoxiao
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
王剑峰
babycare_xiaoxiao
Commits
e47216cc
Commit
e47216cc
authored
Sep 27, 2020
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
换了点皮,换了下接口
parent
fb235532
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
62 deletions
+35
-62
workspace.xml
.idea/workspace.xml
+26
-25
aaaa.html
src/aaaa.html
+0
-33
TaskPanel.ts
src/panels/TaskPanel.ts
+9
-4
No files found.
.idea/workspace.xml
View file @
e47216cc
This diff is collapsed.
Click to expand it.
src/aaaa.html
deleted
100644 → 0
View file @
fb235532
<audio
src=
"aaaa.mp3"
id=
"au"
autoplay=
'autoplay'
loop=
"loop"
></audio>
<script>
var
au
=
document
.
getElementById
(
'au'
);
au
.
src
=
"aaaaa.mp3"
;
//需要js引入路径
au
.
play
();
// 音乐兼容微信自动播放
document
.
addEventListener
(
'DOMContentLoaded'
,
function
()
{
function
audioAutoPlay
()
{
var
au
=
document
.
getElementById
(
'au'
);
au
.
play
();
document
.
addEventListener
(
"WeixinJSBridgeReady"
,
function
()
{
au
.
play
();
},
false
);
}
audioAutoPlay
();
});
document
.
addEventListener
(
"WeixinJSBridgeReady"
,
function
()
{
au
.
play
();
},
false
);
window
.
onclick
=
()
=>
{
au
.
play
();
window
.
onclick
=
null
;
}
</script>
src/panels/TaskPanel.ts
View file @
e47216cc
...
...
@@ -61,7 +61,7 @@ export class TaskPanel extends Panel {
this
.
isShowing
=
true
;
this
.
y
=
layers
.
stageHeight
+
this
.
height
;
Tween
.
get
(
this
)
.
to
({
y
:
0
},
500
,
Ease
.
quartOut
)
.
to
({
y
:
0
},
500
,
Ease
.
quartOut
)
.
call
(()
=>
{
this
.
isShowing
=
false
;
});
...
...
@@ -69,7 +69,6 @@ export class TaskPanel extends Panel {
closeBtn
:
Button
;
initUi
()
{
}
...
...
@@ -80,8 +79,14 @@ export class TaskPanel extends Panel {
}
public
updateTask
()
{
// showWaiting();
showWaiting
();
sendTbNet
(
TbNetName
.
getTaskList
,
{},
(
success
,
res
)
=>
{
hideWaiting
();
if
(
!
success
)
return
;
console
.
log
(
res
);
}
);
}
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