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-23 19:41:10 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b3d43ba28fb7c0d97bb31bfe768d907a1a7e475e
b3d43ba2
1 parent
9c6e0c25
fix: 4G网络下,播放视频,流量费用提醒,鸿蒙版字体偏小,见截图
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/DetailPlayShortVideoPage.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/DetailPlayShortVideoPage.ets
View file @
b3d43ba
...
...
@@ -56,7 +56,7 @@ export struct DetailPlayShortVideoPage {
@State playerHeight: number | string = px2vp(this.windowHeight)
pageParam: ParamType = {}
PageName: string = ''
@State toastText: ResourceStr = "正在使用非W
I-FI
网络,播放将产生流量费用"
@State toastText: ResourceStr = "正在使用非W
i-Fi
网络,播放将产生流量费用"
@Consume onlyWifiLoadVideo: boolean
@Consume toastTextVisible: boolean
@StorageProp('currentBreakpoint') @Watch("currentChanged") currentBreakpoint: string = 'sm';
...
...
@@ -396,8 +396,8 @@ export struct DetailPlayShortVideoPage {
.fontFamily('PingFang SC-Regular')
.fontWeight(FontWeight.Regular)
.fontColor('#FFFFFF')
.fontSize(14)
.lineHeight(20)
.fontSize(16)
.lineHeight(24)
.textAlign(TextAlign.Center)
}
...
...
@@ -406,11 +406,18 @@ export struct DetailPlayShortVideoPage {
.fontFamily('PingFang SC-Regular')
.fontWeight(FontWeight.Regular)
.fontColor(Color.White)
.fontSize(12)
.fontSize(14)
.lineHeight(20)
.textAlign(TextAlign.Center)
.margin({
top: 5,
bottom: 5,
left: 8,
right: 8
})
}
.border({ width: 1, color: '#4DFFFFFF', radius: 4 })
.height(28)
.width(88)
.height(30)
.alignItems(HorizontalAlign.Center)
.justifyContent(FlexAlign.Center)
.margin({
...
...
Please
register
or
login
to post a comment