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
946ce572
authored
Mar 12, 2026
by
ludi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复一些bug
parent
35908849
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
72 additions
and
47 deletions
DevelopmentPods/FUSFoundation/FUSFoundation/Assets/LocalizationString/Fusi_Chinese.strings
DevelopmentPods/FUSFoundation/FUSFoundation/Assets/LocalizationString/Fusi_Chinese_Traditional.strings
DevelopmentPods/FUSFoundation/FUSFoundation/Assets/LocalizationString/Fusi_English.strings
DevelopmentPods/FUSFoundation/FUSFoundation/Assets/LocalizationString/Fusi_Japanese.strings
DevelopmentPods/FUSFoundation/FUSFoundation/Assets/LocalizationString/Fusi_Thai.strings
DevelopmentPods/FUSFoundation/FUSFoundation/Assets/LocalizationString/Fusi_vietnamese.strings
FuSiLive.xcodeproj/project.pbxproj
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Controller/FUSLiveMainViewController.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPKNew/FUSModel/FUSPKAnchorModel.swift
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPKNew/FUSModel/FUSPKContributeUserModel.swift
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPKNew/FUSView/FUSPKControlView/Cell/FUSPKControlContributionUserBlankCell.swift
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPKNew/FUSView/FUSPKControlView/Cell/FUSPKUserContributionLogCell.swift
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPKNew/FUSView/FUSPKControlView/FUSPKControlContributionView.swift
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPunishment/FUSLiveReleasePunishmentView.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartContentLiveActivityView.swift
DevelopmentPods/FUSFoundation/FUSFoundation/Assets/LocalizationString/Fusi_Chinese.strings
View file @
946ce572
...
...
@@ -3426,3 +3426,7 @@
"俱乐部" = "社团";
"邀请你进行PK" = "邀请你进行PK";
"昨日" = "昨日";
DevelopmentPods/FUSFoundation/FUSFoundation/Assets/LocalizationString/Fusi_Chinese_Traditional.strings
View file @
946ce572
...
...
@@ -3426,3 +3426,7 @@
"俱乐部" = "社團";
"邀请你进行PK" = "邀請你進行PK";
"昨日" = "昨日";
DevelopmentPods/FUSFoundation/FUSFoundation/Assets/LocalizationString/Fusi_English.strings
View file @
946ce572
...
...
@@ -3426,3 +3426,7 @@
"俱乐部" = "Fans group";
"邀请你进行PK" = "Inviting you to PK";
"昨日" = "Yesterday";
DevelopmentPods/FUSFoundation/FUSFoundation/Assets/LocalizationString/Fusi_Japanese.strings
View file @
946ce572
...
...
@@ -3404,3 +3404,7 @@
"俱乐部" = "Fans group";
"邀请你进行PK" = "PKに招待中";
"昨日" = "昨日";
DevelopmentPods/FUSFoundation/FUSFoundation/Assets/LocalizationString/Fusi_Thai.strings
View file @
946ce572
...
...
@@ -3398,3 +3398,7 @@
"俱乐部" = "Fans group";
"邀请你进行PK" = "เชิญคุณเข้าร่วม PK";
"昨日" = "เมื่อวาน";
DevelopmentPods/FUSFoundation/FUSFoundation/Assets/LocalizationString/Fusi_vietnamese.strings
View file @
946ce572
...
...
@@ -3404,3 +3404,7 @@
"俱乐部" = "Nhóm người hâm mộ";
"邀请你进行PK" = "Mời bạn vào PK";
"昨日" = "hôm qua";
FuSiLive.xcodeproj/project.pbxproj
View file @
946ce572
...
...
@@ -673,7 +673,7 @@
CLANG_CXX_LANGUAGE_STANDARD
=
"gnu++17"
;
CODE_SIGN_ENTITLEMENTS
=
FuSiLive/FuSiLive.entitlements
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
20250626003
8
;
CURRENT_PROJECT_VERSION
=
20250626003
9
;
DEFINES_MODULE
=
YES
;
DEVELOPMENT_TEAM
=
6GG26BHUMC
;
ENABLE_ON_DEMAND_RESOURCES
=
NO
;
...
...
@@ -938,7 +938,7 @@
CLANG_CXX_LANGUAGE_STANDARD
=
"gnu++17"
;
CODE_SIGN_ENTITLEMENTS
=
FuSiLive/FuSiLive.entitlements
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
20250626003
8
;
CURRENT_PROJECT_VERSION
=
20250626003
9
;
DEFINES_MODULE
=
YES
;
DEVELOPMENT_TEAM
=
6GG26BHUMC
;
ENABLE_ON_DEMAND_RESOURCES
=
NO
;
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/Controller/FUSLiveMainViewController.m
View file @
946ce572
...
...
@@ -675,7 +675,7 @@ typedef NS_ENUM(NSInteger, FUSStreamState) {
}
// 进入包房成功提示送礼view通知
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector
:
@selector
(
recieveJoinRoomSuccessNotification
)
name
:
FUSLiveUDKeys
.
fus_IS_JOIN_ROOM_SUCCESS
object
:
nil
];
//
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(recieveJoinRoomSuccessNotification) name:FUSLiveUDKeys.fus_IS_JOIN_ROOM_SUCCESS object:nil];
}
break
;
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPKNew/FUSModel/FUSPKAnchorModel.swift
View file @
946ce572
...
...
@@ -209,6 +209,8 @@ extension FUSVSIndexDevoteUserModel{
// model.total = contributeUserModel.point
model
.
inHide
=
contributeUserModel
.
inHide
==
true
?
"1"
:
"0"
model
.
inVip
=
contributeUserModel
.
vip
model
.
extraShow
=
contributeUserModel
.
extraShow
model
.
multiple
=
contributeUserModel
.
multiple
return
model
}
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPKNew/FUSModel/FUSPKContributeUserModel.swift
View file @
946ce572
...
...
@@ -22,6 +22,11 @@ class FUSPKContributeUserModel: FUSSwiftBaseModel {
@objc
var
inHide
:
Bool
=
false
/// 倍率
@objc
public
var
multiple
:
String
=
""
/// 是否显示倍率 (0:否\1:是)
@objc
public
var
extraShow
:
Int
=
0
var
index
=
0
...
...
@@ -37,6 +42,10 @@ class FUSPKContributeUserModel: FUSSwiftBaseModel {
model
.
vip
=
json
[
"vip"
]
.
intValue
model
.
point
=
json
[
"point"
]
.
intValue
model
.
inHide
=
json
[
"inHide"
]
.
boolValue
if
json
[
"extraShow"
]
.
count
>
0
{
model
.
extraShow
=
json
[
"extraShow"
]
.
intValue
model
.
multiple
=
json
[
"multiple"
]
.
stringValue
}
return
model
as!
Self
}
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPKNew/FUSView/FUSPKControlView/Cell/FUSPKControlContributionUserBlankCell.swift
View file @
946ce572
...
...
@@ -323,8 +323,8 @@ class FUSPKControlContributionHotDataCell: UITableViewCell {
let
avatarTapBtn
=
UIButton
(
type
:
.
custom
)
let
rankBtn
=
UIButton
(
type
:
.
custom
)
let
faceView
=
FUSRichIcon
View
(
frame
:
CGRectMake
(
0
,
0
,
40
,
40
))
let
richImageView
=
UIImageView
(
frame
:
.
init
(
x
:
0
,
y
:
0
,
width
:
37
,
height
:
14
)
)
let
faceView
=
UIImage
View
(
frame
:
CGRectMake
(
0
,
0
,
40
,
40
))
let
richImageView
=
UIImageView
()
let
nicknameLabel
=
UILabel
()
let
hotNumLabel
=
UILabel
()
let
hotImageView
=
UIImageView
(
image
:
FUSShowRoomCenterBunble
.
imageNamed
(
"live_list_room_popular_img"
))
...
...
@@ -341,6 +341,8 @@ class FUSPKControlContributionHotDataCell: UITableViewCell {
make
.
centerY
.
equalToSuperview
()
}
faceView
.
layer
.
cornerRadius
=
40
/
2.0
faceView
.
layer
.
masksToBounds
=
true
self
.
contentView
.
addSubview
(
faceView
)
faceView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
60
)
...
...
@@ -357,22 +359,22 @@ class FUSPKControlContributionHotDataCell: UITableViewCell {
})
.
disposed
(
by
:
disposeBag
)
richImageView
.
contentMode
=
.
scaleAspectFit
self
.
contentView
.
addSubview
(
richImageView
)
richImageView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
faceView
.
snp
.
right
)
.
offset
(
8
)
make
.
centerY
.
equalToSuperview
()
make
.
width
.
equalTo
(
37
)
make
.
height
.
equalTo
(
14
)
}
nicknameLabel
.
font
=
.
fus_themeMediumFont
(
15
)
nicknameLabel
.
textColor
=
.
fus_textColorRich
()
self
.
contentView
.
addSubview
(
nicknameLabel
)
nicknameLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
richImageView
.
snp
.
right
)
.
offset
(
6
)
make
.
centerY
.
equalTo
Superview
(
)
make
.
left
.
equalTo
(
faceView
.
snp
.
right
)
.
offset
(
8
)
make
.
centerY
.
equalTo
(
faceView
.
snp
.
centerY
)
make
.
width
.
lessThanOrEqualTo
(
174
)
}
richImageView
.
contentMode
=
.
scaleAspectFit
self
.
contentView
.
addSubview
(
richImageView
)
richImageView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
nicknameLabel
.
snp
.
right
)
.
offset
(
2
)
make
.
centerY
.
equalTo
(
faceView
.
snp
.
centerY
)
}
hotNumLabel
.
font
=
.
fus_themeMediumFont
(
15
)
hotNumLabel
.
textColor
=
.
fus_textColorRich
()
hotNumLabel
.
text
=
"0"
...
...
@@ -382,6 +384,7 @@ class FUSPKControlContributionHotDataCell: UITableViewCell {
make
.
centerY
.
equalToSuperview
()
}
hotImageView
.
contentMode
=
.
scaleAspectFit
self
.
contentView
.
addSubview
(
hotImageView
)
hotImageView
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalTo
(
hotNumLabel
.
snp
.
left
)
...
...
@@ -413,30 +416,12 @@ class FUSPKControlContributionHotDataCell: UITableViewCell {
let
isVip
=
model
.
privilege
[
"richPower"
]
as?
Int
??
0
var
level
=
model
.
level
self
.
nicknameLabel
.
textColor
=
.
fus_textColorRich
()
if
isVip
==
1
,
let
levelModel
=
FUSSwiftCacheDataShare
.
share
.
fus_levelModel
(
level
:
level
)
{
self
.
nicknameLabel
.
textColor
=
.
init
(
hex
:
levelModel
.
color
)
richImageView
.
setWebImageWithSubURLString
(
levelModel
.
icon
)
richImageView
.
isHidden
=
false
nicknameLabel
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalTo
(
richImageView
.
snp
.
right
)
.
offset
(
6
)
make
.
width
.
lessThanOrEqualTo
(
174
)
make
.
centerY
.
equalToSuperview
()
}
}
else
{
richImageView
.
isHidden
=
true
level
=
0
nicknameLabel
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalTo
(
faceView
.
snp
.
right
)
.
offset
(
8
)
make
.
width
.
lessThanOrEqualTo
(
174
)
make
.
centerY
.
equalToSuperview
()
}
if
isVip
==
0
{
level
=
-
1
}
nicknameLabel
.
layoutIfNeeded
()
self
.
faceView
.
fus_setupIcon
(
withFacePath
:
model
.
face
,
level
:
level
)
self
.
richImageView
.
image
=
.
fus_image
(
withLevel
:
level
)
self
.
faceView
.
setWebImageWithSubURLString
(
model
.
face
)
self
.
nicknameLabel
.
text
=
model
.
nickname
self
.
hotNumLabel
.
text
=
"
\(
model
.
total
)
"
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPKNew/FUSView/FUSPKControlView/Cell/FUSPKUserContributionLogCell.swift
View file @
946ce572
...
...
@@ -125,22 +125,22 @@ class FUSPKUserContributionLogCell: UITableViewCell {
firstBloodImageView
.
isHidden
=
true
bgView
.
addSubview
(
firstBloodImageView
)
firstBloodImageView
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalTo
(
-
12
)
make
.
bottom
.
equalTo
(
-
6
)
make
.
right
.
equalTo
(
plusLabel
.
snp
.
left
)
.
offset
(
-
4
)
make
.
centerY
.
equalTo
(
plusLabel
.
snp
.
centerY
)
}
eventDescLabel
.
font
=
.
fus_themeFont
(
1
5
)
eventDescLabel
.
textColor
=
.
white
eventDescLabel
.
font
=
.
fus_themeFont
(
1
3
)
//
eventDescLabel.textColor = .white
bgView
.
addSubview
(
eventDescLabel
)
eventDescLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
13
)
make
.
bottom
.
equalTo
(
-
6
)
make
.
bottom
.
equalTo
(
-
8
)
}
bgView
.
addSubview
(
giftBombDescLabel
)
giftBombDescLabel
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalTo
(
-
12
)
make
.
bottom
.
equalTo
(
-
6
)
make
.
bottom
.
equalTo
(
-
8
)
}
}
...
...
@@ -176,8 +176,8 @@ class FUSPKUserContributionLogCell: UITableViewCell {
}
make
.
append
(
.
fus_localString
(
"礼物暴击"
))
make
.
append
(
" "
)
make
.
append
(
model
.
multiple
+
"x"
)
.
textColor
(
.
yellow
)
make
.
font
(
.
fus_themeFont
(
1
5
))
.
textColor
(
.
fus_textColorRich
())
make
.
append
(
model
.
multiple
+
"x"
)
.
textColor
(
.
init
(
hex
:
"#FD9E08"
)
)
make
.
font
(
.
fus_themeFont
(
1
3
))
.
textColor
(
.
fus_textColorRich
())
})
}
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPKNew/FUSView/FUSPKControlView/FUSPKControlContributionView.swift
View file @
946ce572
...
...
@@ -666,6 +666,8 @@ extension FUSVSIndexDevoteUserModel {
model
.
favorType
=
json
[
"favorType"
]
.
intValue
model
.
favorName
=
json
[
"favorName"
]
.
stringValue
model
.
inVip
=
json
[
"inVip"
]
.
intValue
model
.
multiple
=
json
[
"multiple"
]
.
stringValue
model
.
extraShow
=
json
[
"extraShow"
]
.
intValue
return
model
as!
Self
}
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPunishment/FUSLiveReleasePunishmentView.m
View file @
946ce572
...
...
@@ -101,7 +101,7 @@
self
.
punishTitleLabel
=
[[
UILabel
alloc
]
init
];
self
.
punishTitleLabel
.
text
=
[
NSString
fus_localString
:
@"惩罚"
];
self
.
punishTitleLabel
.
font
=
[
UIFont
fus_themeFont
:
10
];
self
.
punishTitleLabel
.
textColor
=
[
UIColor
fus_textColorRich
];
self
.
punishTitleLabel
.
textColor
=
[
UIColor
whiteColor
];
// self.punishTitleLabel.userInteractionEnabled = YES;
[
self
.
progressView
addSubview
:
self
.
punishTitleLabel
];
[
self
.
punishTitleLabel
mas_makeConstraints
:
^
(
MASConstraintMaker
*
make
)
{
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartContentLiveActivityView.swift
View file @
946ce572
...
...
@@ -80,6 +80,9 @@ class FUSLiveStartContentLiveActivityView: UIView {
self
?
.
jumpUrl
=
publicizeConfig
[
"jumpUrl"
]
as?
String
}
else
{
self
?
.
isHidden
=
true
}
}
failure
:
{
msg
,
code
in
}
...
...
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