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
0f8db65f
authored
Mar 16, 2026
by
ludi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复一些bug
parent
f48c2f6c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
53 additions
and
16 deletions
DevelopmentPods/FUSCommon/FUSCommon/Classes/Common/View/MediaPreview/FUSBaseMediaPreview.m
DevelopmentPods/FUSCommon/FUSCommon/Classes/Foundation/Http/FUSCommonURLs.m
FuSiLive.xcodeproj/project.pbxproj
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/HomePage/cell/FUSHomeAnchorListSmallCell.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPKNew/FUSView/FUSPKControlView/FUSPKControlWebView.swift
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPKNew/FUSView/FUSPKControlView/FUSPKUserContributionLogInLiveAlertView.swift
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPKNew/FUSView/FUSPKControlView/ViewModel/FUSPKControlViewModel.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/NewsFeed/Views/NewsFeedDetailHeaderView/FUSNewsFeedDetailPhotoHeaderView.m
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/NewsFeed/Views/NewsFeedDetailHeaderView/FUSNewsFeedDetailVideoHeaderView.m
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/Controller/FireFlyMyZone/FUSZoneTaskCenterViewController.m
DevelopmentPods/FUSCommon/FUSCommon/Classes/Common/View/MediaPreview/FUSBaseMediaPreview.m
View file @
0f8db65f
...
...
@@ -183,7 +183,7 @@
cell
.
cellShownAnimationDoneHandler
=
nil
;
}
//
[cell fus_setupMediaCellWithModel:self.mediaList[indexPath.row]];
[
cell
fus_setupMediaCellWithModel
:
self
.
mediaList
[
indexPath
.
row
]];
// FUSLogDebug(@"=====model_mid:%@",model.mid);
return
cell
;
...
...
DevelopmentPods/FUSCommon/FUSCommon/Classes/Foundation/Http/FUSCommonURLs.m
View file @
0f8db65f
...
...
@@ -81,7 +81,8 @@
}
+
(
NSString
*
)
fus_newsfeedInput
{
return
[
FUSConfig
.
sharedInstanced
.
pathConfigs
webUrl
:
@"/fusi/moving/news.html"
];
// return [FUSConfig.sharedInstanced.pathConfigs webUrl:@"/fusi/moving/news.html"];
return
[
FUSConfig
.
sharedInstanced
.
pathConfigs
webUrl
:
@"/vestApp/moving/news.html"
];
}
/// 邀请有奖-下载帮助页地址
...
...
FuSiLive.xcodeproj/project.pbxproj
View file @
0f8db65f
...
...
@@ -673,7 +673,7 @@
CLANG_CXX_LANGUAGE_STANDARD
=
"gnu++17"
;
CODE_SIGN_ENTITLEMENTS
=
FuSiLive/FuSiLive.entitlements
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
20250626004
0
;
CURRENT_PROJECT_VERSION
=
20250626004
1
;
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
=
20250626004
0
;
CURRENT_PROJECT_VERSION
=
20250626004
1
;
DEFINES_MODULE
=
YES
;
DEVELOPMENT_TEAM
=
6GG26BHUMC
;
ENABLE_ON_DEMAND_RESOURCES
=
NO
;
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/HomePage/cell/FUSHomeAnchorListSmallCell.m
View file @
0f8db65f
...
...
@@ -21,6 +21,8 @@
@property
(
nonatomic
,
strong
)
UIButton
*
locationBtn
;
///用户名
@property
(
nonatomic
,
strong
)
UILabel
*
nickNameLabel
;
/// 直播主题
@property
(
nonatomic
,
strong
)
UILabel
*
themeLabel
;
/// 这个是龟龟左上角new的那个图标,找了一万年没找到
@property
(
nonatomic
,
strong
)
FUSBaoFangTagView
*
tagView
;
///pk标识动画
...
...
@@ -80,13 +82,22 @@
make
.
width
.
offset
(
40
);
}];
self
.
themeLabel
=
[[
UILabel
alloc
]
init
];
self
.
themeLabel
.
font
=
[
UIFont
fus_themeMediumFont
:
12
];
self
.
themeLabel
.
textColor
=
[
UIColor
fus_textColorVeryLight
];
[
self
.
bgImageView
addSubview
:
self
.
themeLabel
];
[
self
.
themeLabel
mas_makeConstraints
:
^
(
MASConstraintMaker
*
make
)
{
make
.
left
.
offset
(
8
);
make
.
bottom
.
offset
(
-
9
);
}];
self
.
nickNameLabel
=
[[
UILabel
alloc
]
init
];
self
.
nickNameLabel
.
font
=
[
UIFont
fus_themeBoldFont
:
16
];
self
.
nickNameLabel
.
textColor
=
[
UIColor
fus_textColorVeryLight
];
[
self
.
bgImageView
addSubview
:
self
.
nickNameLabel
];
[
self
.
nickNameLabel
mas_makeConstraints
:
^
(
MASConstraintMaker
*
make
)
{
make
.
left
.
offset
(
8
);
make
.
bottom
.
offset
(
-
9
);
make
.
left
.
equalTo
(
self
.
themeLabel
.
mas_left
);
make
.
bottom
.
equalTo
(
self
.
themeLabel
.
mas_top
).
offset
(
-
4
);
}];
self
.
locationBtn
=
[
UIButton
buttonWithType
:
UIButtonTypeCustom
];
...
...
@@ -179,6 +190,8 @@
}
if
(
model
.
fus_itemType
==
0
)
{
self
.
themeLabel
.
hidden
=
NO
;
self
.
themeLabel
.
text
=
model
.
introduce
;
self
.
nickNameLabel
.
hidden
=
NO
;
self
.
nickNameLabel
.
text
=
model
.
nickname
;
self
.
bottomAlphaBgView
.
hidden
=
NO
;
...
...
@@ -235,6 +248,7 @@
}
else
if
(
model
.
fus_itemType
==
1
||
model
.
fus_itemType
==
2
||
model
.
fus_itemType
==
3
){
// 不是正常主播的卡片
self
.
themeLabel
.
hidden
=
YES
;
self
.
nickNameLabel
.
hidden
=
YES
;
self
.
locationBtn
.
hidden
=
YES
;
self
.
hotNumBtn
.
hidden
=
YES
;
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPKNew/FUSView/FUSPKControlView/FUSPKControlWebView.swift
View file @
0f8db65f
...
...
@@ -34,7 +34,7 @@ class FUSPKControlWebView: FUSPKControlSubBaseView {
contentView
.
addSubview
(
webView
)
webView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
bottom
.
right
.
equalToSuperview
()
make
.
top
.
equalTo
(
naviView
.
snp
.
bottom
)
make
.
top
.
equalTo
(
naviView
.
snp
.
bottom
)
.
offset
(
8
)
}
}
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPKNew/FUSView/FUSPKControlView/FUSPKUserContributionLogInLiveAlertView.swift
View file @
0f8db65f
...
...
@@ -20,7 +20,7 @@ class FUSPKUserContributionLogInLiveAlertView: FUSPKControlSubBaseView {
let
scoreProgressView
=
FUSPKScoreProgressLargeSmallView
(
frame
:
CGRectMake
(
0
,
0
,
UIView
.
fus_screenW
(),
FUSPKScoreProgressLargeSmallView
.
viewHeight
))
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
plain
)
private
let
emptyView
=
FUSEmpty
View
(
frame
:
CGRectMake
(
0
,
0
,
UIView
.
fus_screenW
(),
400
))
private
let
emptyView
=
UI
View
(
frame
:
CGRectMake
(
0
,
0
,
UIView
.
fus_screenW
(),
400
))
/// 当前页
var
currentPage
:
Int
=
1
...
...
@@ -75,7 +75,13 @@ class FUSPKUserContributionLogInLiveAlertView: FUSPKControlSubBaseView {
emptyView
.
backgroundColor
=
.
clear
self
.
emptyView
.
fus_setEmptyViewIcon
(
.
fus_emptyImg
(),
title
:
.
fus_localString
(
"暂无数据"
),
buttonTittle
:
""
)
let
emptyShowView
=
FUSEmptyView
(
frame
:
CGRectMake
(
0
,
0
,
240
,
240
))
emptyShowView
.
fus_setEmptyViewIcon
(
.
fus_emptyImg
(),
title
:
.
fus_localString
(
"暂无数据"
),
buttonTittle
:
""
)
emptyView
.
addSubview
(
emptyShowView
)
emptyShowView
.
snp
.
makeConstraints
{
make
in
make
.
center
.
equalToSuperview
()
make
.
size
.
equalTo
(
emptyShowView
.
size
)
}
}
override
func
bindViewModel
()
{
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/PK/FUSPKNew/FUSView/FUSPKControlView/ViewModel/FUSPKControlViewModel.swift
View file @
0f8db65f
...
...
@@ -166,7 +166,7 @@ extension FUSPKControlViewType {
switch
self
{
case
.
base
,
.
contribution
,
.
pkRecord
,
.
pkDescription
,
.
contributionLogListInMatch
:
return
620
+
UIView
.
fus_SafeBottom
()
case
.
pkMode
,
.
searchPlayer
,
.
matching
,
.
opponent
,
.
setting
:
case
.
searchPlayer
,
.
matching
,
.
opponent
,
.
setting
:
return
428
+
UIView
.
fus_SafeBottom
()
case
.
contributionListInMatch
:
return
513
+
UIView
.
fus_SafeBottom
()
...
...
@@ -176,8 +176,8 @@ extension FUSPKControlViewType {
return
495
+
UIView
.
fus_SafeBottom
()
case
.
punishActivate
:
return
240
+
UIView
.
fus_SafeBottom
()
case
.
pkGamePlay
:
return
528
+
UIView
.
fus_SafeBottom
()
case
.
pkGamePlay
,
.
pkMode
:
return
442
+
UIView
.
fus_SafeBottom
()
default
:
return
0
}
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/NewsFeed/Views/NewsFeedDetailHeaderView/FUSNewsFeedDetailPhotoHeaderView.m
View file @
0f8db65f
...
...
@@ -22,7 +22,7 @@
@interface
FUSNewsFeedDetailPhotoHeaderView
()
<
FUSRecycleViewDataSource
,
FUSRecycleViewDelegate
>
/// 内容的Label
@property
(
nonatomic
,
strong
)
UI
Label
*
contentLabel
;
@property
(
nonatomic
,
strong
)
YY
Label
*
contentLabel
;
/// 滚动
@property
(
nonatomic
,
strong
)
FUSRecycleView
*
recycleView
;
...
...
@@ -76,10 +76,17 @@
-
(
void
)
layoutSubviews
{
YYTextLayout
*
layout
=
[
YYTextLayout
layoutWithContainerSize
:
CGSizeMake
(
UIView
.
fus_screenW
-
FUSNFDPHVContentLeftMargin
*
2
,
CGFLOAT_MAX
)
text
:
self
.
contentLabel
.
attributedText
];
CGRect
contentLabelRect
=
layout
.
textBoundingRect
;
self
.
contentLabel
.
x
=
FUSNFDPHVContentLeftMargin
;
self
.
contentLabel
.
y
=
FUSNFDPHVContentTopMargin
;
if
(
self
.
model
.
headerContentHeight
<=
0
)
{
if
(
contentLabelRect
.
size
.
width
>
0
)
{
self
.
contentLabel
.
size
=
contentLabelRect
.
size
;
}
else
{
self
.
contentLabel
.
size
=
[
self
.
model
.
subtitle
sizeWithFont
:[
UIFont
fus_themeFont
:
14
]
maxWidth
:
UIView
.
fus_screenW
-
FUSNFDPHVContentLeftMargin
*
2
];
}
self
.
model
.
headerContentHeight
=
self
.
contentLabel
.
size
.
height
;
}
else
{
self
.
contentLabel
.
width
=
UIView
.
fus_screenW
-
FUSNFDPHVContentLeftMargin
*
2
;
...
...
@@ -108,7 +115,8 @@
}
else
{
self
.
unlockPriceView
.
hidden
=
YES
;
}
self
.
contentLabel
.
text
=
model
.
subtitle
;
// self.contentLabel.text = model.subtitle;
self
.
contentLabel
.
attributedText
=
[
FUSFormatContentHelper
fus_createContentAttributedStringWithHTMLString
:
model
.
subtitle
font
:[
UIFont
fus_themeFont
:
14
]
defaultColor
:
[
UIColor
fus_textColorMedium
]
imageSize
:
CGSizeMake
(
14
,
14
)];
self
.
photoCountLabel
.
hidden
=
model
.
images
.
count
<=
1
;
self
.
photoCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"%d/%d"
,
1
,(
int
)
self
.
model
.
images
.
count
];
[
self
.
recycleView
reloadData
];
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/NewsFeed/Views/NewsFeedDetailHeaderView/FUSNewsFeedDetailVideoHeaderView.m
View file @
0f8db65f
...
...
@@ -21,7 +21,7 @@
@interface
FUSNewsFeedDetailVideoHeaderView
()
/// 内容的Label
@property
(
nonatomic
,
strong
)
UI
Label
*
contentLabel
;
@property
(
nonatomic
,
strong
)
YY
Label
*
contentLabel
;
/// 滚动
@property
(
nonatomic
,
strong
)
UIImageView
*
bottomMaskImageView
;
...
...
@@ -120,10 +120,17 @@
-
(
void
)
layoutSubviews
{
YYTextLayout
*
layout
=
[
YYTextLayout
layoutWithContainerSize
:
CGSizeMake
(
UIView
.
fus_screenW
-
FUSNFDVHVContentLeftMargin
*
2
,
CGFLOAT_MAX
)
text
:
self
.
contentLabel
.
attributedText
];
CGRect
contentLabelRect
=
layout
.
textBoundingRect
;
self
.
contentLabel
.
x
=
FUSNFDVHVContentLeftMargin
;
self
.
contentLabel
.
y
=
FUSNFDVHVContentTopMargin
;
if
(
self
.
model
.
headerContentHeight
<=
0
)
{
if
(
contentLabelRect
.
size
.
width
>
0
)
{
self
.
contentLabel
.
size
=
contentLabelRect
.
size
;
}
else
{
self
.
contentLabel
.
size
=
[
self
.
model
.
subtitle
sizeWithFont
:[
UIFont
fus_themeFont
:
14
]
maxWidth
:
UIView
.
fus_screenW
-
FUSNFDVHVContentLeftMargin
*
2
];
}
self
.
model
.
headerContentHeight
=
self
.
contentLabel
.
size
.
height
;
}
else
{
self
.
contentLabel
.
width
=
UIView
.
fus_screenW
-
FUSNFDVHVContentLeftMargin
*
2
;
...
...
@@ -163,7 +170,8 @@
}
else
{
self
.
unlockPriceView
.
hidden
=
YES
;
}
self
.
contentLabel
.
text
=
model
.
subtitle
;
// self.contentLabel.text = model.subtitle;
self
.
contentLabel
.
attributedText
=
[
FUSFormatContentHelper
fus_createContentAttributedStringWithHTMLString
:
model
.
subtitle
font
:[
UIFont
fus_themeFont
:
14
]
defaultColor
:
[
UIColor
fus_textColorMedium
]
imageSize
:
CGSizeMake
(
14
,
14
)];
__weak
typeof
(
self
)
weakSelf
=
self
;
[
self
.
videoView
.
preImageView
setWebImageWithSubURLString
:
self
.
model
.
videos
.
firstObject
.
cover
placeholder
:
nil
completion
:^
(
UIImage
*
_Nullable
result
,
NSURL
*
_Nonnull
url
,
YYWebImageFromType
from
,
YYWebImageStage
stage
,
NSError
*
_Nullable
error
)
{
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/Controller/FireFlyMyZone/FUSZoneTaskCenterViewController.m
View file @
0f8db65f
This diff is collapsed.
Click to expand it.
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