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
xugenyuan
2024-10-14 17:40:42 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f992673788576313899c8c3c03d2e9595e1e0562
f9926737
1 parent
0690e1bc
ref |> 处理一处误处理直播弹wifi提示
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/video/TopPlayComponet.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/details/video/TopPlayComponet.ets
View file @
f992673
...
...
@@ -108,21 +108,25 @@ export struct TopPlayComponent {
this.resizeWindow()
if (this.liveDetailPageLogic.livingNeedShowNoWifiTip()) {
this.livingDialogToast = new CustomDialogController({
builder: CustomToast({
bgColor: 0xB3000000,
opacityValue: 1,
fontSizeValue: "25lpx",
lineHeightValue: "36lpx",
msg: "正在使用非Wi-Fi网络,播放将产生流量费用",
marginTop:211/2+px2vp(this.topSafeHeight)-px2vp(84/2)
}),
autoCancel: false,
alignment: DialogAlignment.Top,
customStyle: true,
maskColor: "#00000000"
onlyWifiLoadVideo().then((onlyWifiLoadVideo) => {
if (!onlyWifiLoadVideo) {
this.livingDialogToast = new CustomDialogController({
builder: CustomToast({
bgColor: 0xB3000000,
opacityValue: 1,
fontSizeValue: "25lpx",
lineHeightValue: "36lpx",
msg: "正在使用非Wi-Fi网络,播放将产生流量费用",
marginTop:211/2+px2vp(this.topSafeHeight)-px2vp(84/2)
}),
autoCancel: false,
alignment: DialogAlignment.Top,
customStyle: true,
maskColor: "#00000000"
})
this.livingDialogToast.open()
}
})
this.livingDialogToast.open()
} else if (this.liveDetailPageLogic.noLivingNeedShowNoWifiTip()) {
onlyWifiLoadVideo().then((onlyWifiLoadVideo) => {
if (!onlyWifiLoadVideo) {
...
...
Please
register
or
login
to post a comment