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
wangliang_wd
2024-07-05 17:46:21 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d450639f006fe05fdcb5adaa6d8f6f354e908a2a
d450639f
1 parent
8542a3ad
feat:优化折叠屏展示
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
sight_harmony/features/wdComponent/src/main/ets/components/MultiPictureDetailItemComponent.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/DetailPlayShortVideoPage.ets
sight_harmony/products/phone/src/main/ets/pages/launchPage/LaunchPage.ets
sight_harmony/features/wdComponent/src/main/ets/components/MultiPictureDetailItemComponent.ets
View file @
d450639
...
...
@@ -219,7 +219,7 @@ export struct MultiPictureDetailItemComponent {
}
.scrollable(ScrollDirection.Vertical)
.scrollBarWidth(0)
.height(this.imageDefaultSize.height || "100%")
//
.height(this.imageDefaultSize.height || "100%")
}
.onBlur(() => {
this.resetCurrentImageInfo();
...
...
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/DetailPlayShortVideoPage.ets
View file @
d450639
...
...
@@ -249,11 +249,11 @@ export struct DetailPlayShortVideoPage {
// 视频宽高比屏幕大,则宽度撑满
if (this.ratio > width / height) {
this.playerWidth = '100%'
this.playerHeight =
px2vp(width / this.ratio)
this.playerHeight =
width / this.ratio
} else {
// 否则高度撑满
this.playerHeight = '100%'
this.playerWidth =
px2vp(height * this.ratio)
this.playerWidth =
height * this.ratio
}
console.log('calculatePlayerRect=====', width, height)
...
...
sight_harmony/products/phone/src/main/ets/pages/launchPage/LaunchPage.ets
View file @
d450639
...
...
@@ -166,8 +166,9 @@ struct LaunchPage {
Stack({alignContent:Alignment.Bottom}){
Image($r('app.media.LaunchPage_logo'))
.width(139)
.height(87)
.width(150)
.height(72)
.objectFit(ImageFit.Auto)
.margin({
bottom:24
})
...
...
Please
register
or
login
to post a comment