Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
5436b430
Commit
5436b430
authored
Jan 07, 2025
by
DavidHuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 一处bug
parent
384db1bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
YHLivePlayerViewController.swift
.../LivestreamSales(直播销售)/C/YHLivePlayerViewController.swift
+2
-1
YHLiveStateViewController.swift
...s/LivestreamSales(直播销售)/C/YHLiveStateViewController.swift
+1
-0
No files found.
galaxy/galaxy/Classes/Modules/LivestreamSales(直播销售)/C/YHLivePlayerViewController.swift
View file @
5436b430
...
@@ -266,7 +266,8 @@ class YHLivePlayerViewController: YHBasePlayerViewController {
...
@@ -266,7 +266,8 @@ class YHLivePlayerViewController: YHBasePlayerViewController {
private
func
setupStateViewController
()
{
private
func
setupStateViewController
()
{
isLiveStateOn
=
true
isLiveStateOn
=
true
// 1. 添加子控制器
// 1. 添加子控制器
// addChild(liveStateVC)
addChild
(
liveStateVC
)
liveStateVC
.
view
.
frame
=
self
.
view
.
bounds
view
.
addSubview
(
liveStateVC
.
view
)
view
.
addSubview
(
liveStateVC
.
view
)
view
.
bringSubviewToFront
(
liveStateVC
.
view
)
view
.
bringSubviewToFront
(
liveStateVC
.
view
)
// 2. 使用SnapKit设置约束
// 2. 使用SnapKit设置约束
...
...
galaxy/galaxy/Classes/Modules/LivestreamSales(直播销售)/C/YHLiveStateViewController.swift
View file @
5436b430
...
@@ -68,6 +68,7 @@ class YHLiveStateViewController: YHBaseViewController {
...
@@ -68,6 +68,7 @@ class YHLiveStateViewController: YHBaseViewController {
}
}
func
setView
()
{
func
setView
()
{
gk_navigationBar
.
isHidden
=
true
view
.
backgroundColor
=
.
black
view
.
backgroundColor
=
.
black
bgLogoImageView
=
{
bgLogoImageView
=
{
let
view
=
UIImageView
(
frame
:
view
.
bounds
)
let
view
=
UIImageView
(
frame
:
view
.
bounds
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment