Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
王士厅
2024-09-19 14:49:29 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a88ddd8552449517c85014f353955636f4a37ab9
a88ddd85
1 parent
adc64669
fix: 音频悬浮窗Marquee代码回退
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
sight_harmony/products/phone/src/main/ets/pages/view/AudioComponent.ets
sight_harmony/products/phone/src/main/ets/pages/view/AudioComponent.ets
View file @
a88ddd8
...
...
@@ -109,13 +109,12 @@ struct Index {
Stack({ alignContent: Alignment.End }) {
Column() { //标题 时间 进度条
Marquee({
start: t
his.start
,
start: t
rue
,
step: 5,
loop: Number.POSITIVE_INFINITY,
fromStart: true,
src: this.audioTitle
})
.marqueeUpdateStrategy(MarqueeUpdateStrategy.DEFAULT)
.width("60%")
.height(20)
.fontColor('#222222')
...
...
@@ -126,10 +125,9 @@ struct Index {
// .onStart(() => {
// console.info('Marquee animation complete onStart')
// })
.onBounce(() => {
console.info('Marquee animation complete onBounce')
this.start = false
})
// .onBounce(() => {
// console.info('Marquee animation complete onBounce')
// })
// .onFinish(() => {
// console.info('Marquee animation complete onFinish')
// })
...
...
Please
register
or
login
to post a comment