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-10-12 16:19:12 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
86ff57aa0489c675ed06d86ecc7e81accb909d39
86ff57aa
2 parents
2002a3b6
25fdb48a
Merge remote-tracking branch 'origin/main'
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
5 deletions
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/view/PlayerTitleView.ets
sight_harmony/products/phone/src/main/ets/pages/view/AudioComponent.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/view/PlayerTitleView.ets
View file @
86ff57a
...
...
@@ -249,7 +249,16 @@ export struct PlayerTitleView {
}
})
if (this.isOverLines) {
Span('... 全文')
Span('... ')
.fontColor(Color.White)
.fontWeight(400)
.fontFamily('PingFang SC-Regular')
.fontSize(12)
.onClick(() => {
this.isOpenDetail = true
this.dialogController?.open()
})
Span('全文')
.fontColor('#99FFFFFF')
.fontWeight(400)
.fontFamily('PingFang SC-Regular')
...
...
@@ -309,9 +318,18 @@ export struct PlayerTitleView {
.fontWeight(600)
.fontFamily('PingFang SC-Regular')
if (this.isTitleOverLines) {
Span('... 全文')
Span('... ')
.fontColor(Color.White)
.fontWeight(400)
.fontFamily('PingFang SC-Regular')
.fontSize(12)
.onClick(() => {
this.isOpenDetail = true
this.dialogController?.open()
})
Span('全文')
.fontColor('#99FFFFFF')
.fontWeight(
6
00)
.fontWeight(
4
00)
.fontFamily('PingFang SC-Regular')
.fontSize(12)
.onClick(() => {
...
...
sight_harmony/products/phone/src/main/ets/pages/view/AudioComponent.ets
View file @
86ff57a
...
...
@@ -101,6 +101,7 @@ struct Index {
}
build() {
Column(){
Stack({ alignContent: Alignment.End }) {
Progress(
{
...
...
@@ -115,7 +116,7 @@ struct Index {
.backgroundColor($r('app.color.white'))
.width("100%")
.height(3)
.margin({ top: 57
})
.margin({ top: 56
})
.visibility(this.isExpand ? Visibility.Visible : Visibility.Hidden)
Stack({ alignContent: Alignment.End }) {
Column() { //标题 时间 进度条
...
...
@@ -166,7 +167,7 @@ struct Index {
left: 10,
right: 0
})
.width(243
)
.width(247
)
.height(60)
.justifyContent(FlexAlign.Start)
// .onClick(() => {
...
...
@@ -255,6 +256,15 @@ struct Index {
)
)
.borderRadius(4)
.shadow({
radius: vp2px(5),
color: 'rgba(0, 0, 0, 0.10)',
offsetX: 0,
offsetY: 1
}) // 设
.backgroundColor(Color.White)
}
.padding(1)
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment