Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
pidan
/
FuSiLive
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ecdcf290
authored
Jul 18, 2024
by
ludi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/UI修改版本' of
http://git.yabolive.net:88/pidan/FuSiLive
into feature/UI修改版本
parents
29c473c6
3cea9d2e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
5 deletions
FuSiLive.xcodeproj/xcshareddata/xcschemes/FuSiLive.xcscheme
FuSiLive/Classes/NewLive/Main/View/FunctionView/LinkMicro/Other/FUSAgoraHelper.m
FuSiLive/Classes/NewLive/Main/View/FunctionView/PK/View/FUSPkWinningStreakView.swift
FuSiLive/Classes/NewLive/Main/View/FunctionView/TreasureBox/View/FUSLiveBoxDetailSettingView.m
FuSiLive.xcodeproj/xcshareddata/xcschemes/FuSiLive.xcscheme
View file @
ecdcf290
...
...
@@ -34,6 +34,7 @@
buildConfiguration =
"Debug"
selectedDebuggerIdentifier =
"Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier =
"Xcode.DebuggerFoundation.Launcher.LLDB"
disableMainThreadChecker =
"YES"
launchStyle =
"0"
useCustomWorkingDirectory =
"NO"
ignoresPersistentStateOnLaunch =
"NO"
...
...
FuSiLive/Classes/NewLive/Main/View/FunctionView/LinkMicro/Other/FUSAgoraHelper.m
View file @
ecdcf290
...
...
@@ -436,6 +436,7 @@ NSString * const kLiveLinkMicRoleDidChanged = @"linkMicRoleChange";
-
(
void
)
setLocalMicEnable
:
(
BOOL
)
localMicEnable
{
_localMicEnable
=
localMicEnable
;
[
_agoraEngine
enableLocalAudio
:
localMicEnable
];
[
_agoraEngine
muteLocalAudioStream
:
!
localMicEnable
];
}
-
(
void
)
setAgoraHelperDelegate
:
(
id
<
FUSAgoraHelperDelegate
>
)
agoraHelperDelegate
{
...
...
FuSiLive/Classes/NewLive/Main/View/FunctionView/PK/View/FUSPkWinningStreakView.swift
View file @
ecdcf290
...
...
@@ -69,7 +69,8 @@ class FUSPkWinningStreakView: UIView {
override
func
layoutSubviews
()
{
super
.
layoutSubviews
()
self
.
bgImageView
.
frame
=
self
.
bounds
// self.bgImageView.frame = self.bounds
self
.
bgImageView
.
size
=
CGSizeMake
(
64
,
56
)
self
.
xImageView
.
x
=
12.5
self
.
xImageView
.
bottom
=
self
.
height
-
15
...
...
FuSiLive/Classes/NewLive/Main/View/FunctionView/TreasureBox/View/FUSLiveBoxDetailSettingView.m
View file @
ecdcf290
...
...
@@ -146,7 +146,11 @@
}
[
_numberSetingView
addSubview
:
_collectionView
];
_currentIndexPath
=
[
NSIndexPath
indexPathForRow
:
0
inSection
:
0
];
if
(
_optionsList
.
count
)
{
_currentIndexPath
=
[
NSIndexPath
indexPathForRow
:
_optionsList
.
count
-
1
inSection
:
0
];
}
else
{
_currentIndexPath
=
[
NSIndexPath
indexPathForRow
:
0
inSection
:
0
];
}
if
(
boxType
==
FUSTreasureTypeOrder
)
{
_normalView
.
hidden
=
YES
;
...
...
@@ -191,7 +195,7 @@
FUSLiveBoxNumSettingCollectionViewCell
*
lastCell
=
(
FUSLiveBoxNumSettingCollectionViewCell
*
)[
_collectionView
cellForItemAtIndexPath
:
_currentIndexPath
];
lastCell
.
contentView
.
layer
.
borderWidth
=
0
;
_currentIndexPath
=
[
NSIndexPath
indexPathForRow
:
0
inSection
:
0
];
_currentIndexPath
=
[
NSIndexPath
indexPathForRow
:
_optionsList
.
count
-
1
inSection
:
0
];
FUSLiveBoxNumSettingCollectionViewCell
*
cell
=
(
FUSLiveBoxNumSettingCollectionViewCell
*
)[
_collectionView
cellForItemAtIndexPath
:
_currentIndexPath
];
cell
.
contentView
.
layer
.
borderWidth
=
1
;
...
...
@@ -238,10 +242,11 @@
cell
.
optionModel
=
model
;
}
if
(
indexPath
.
row
==
0
&&
_firstLoad
)
{
if
(
indexPath
.
row
==
_currentIndexPath
.
row
)
{
cell
.
contentView
.
layer
.
borderWidth
=
1
;
cell
.
contentView
.
layer
.
borderColor
=
UIColor
.
fus_appMainColor
.
CGColor
;
}
else
{
cell
.
contentView
.
layer
.
borderWidth
=
0
;
}
return
cell
;
...
...
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