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
630f1579
authored
Jan 16, 2025
by
ludi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复一些bug
parent
de1d830b
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
22 additions
and
18 deletions
Modules/FUSChatCenterModule/FUSChatCenterModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
Modules/FUSShowRoomModule/FUSShowRoomModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/FFLiveAgreementAlertView/FUSLiveAgreementAlertView.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartContentBottomView.swift
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartSetPrivacyView.swift
Modules/FUSShowRoomModule/FUSShowRoomModule/Others/FUSShowRoomURLs.m
Modules/FUSUserCenterModule/FUSUserCenterModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
Pods/Pods.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
Modules/FUSChatCenterModule/FUSChatCenterModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
630f1579
...
@@ -7,12 +7,12 @@
...
@@ -7,12 +7,12 @@
<
k
e
y
>
FUSChatCenterBundle.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
k
e
y
>
FUSChatCenterBundle.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
int
e
g
e
r
>
7
8
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
7
2
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
k
e
y
>
FUSChatCenterModule.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
k
e
y
>
FUSChatCenterModule.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
int
e
g
e
r
>
7
2
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
7
7
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
630f1579
...
@@ -7,12 +7,12 @@
...
@@ -7,12 +7,12 @@
<
k
e
y
>
FUSShowRoomBundle.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
k
e
y
>
FUSShowRoomBundle.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
int
e
g
e
r
>
7
7
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
7
5
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
k
e
y
>
FUSShowRoomModule.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
k
e
y
>
FUSShowRoomModule.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
int
e
g
e
r
>
7
4
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
7
3
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/FFLiveAgreementAlertView/FUSLiveAgreementAlertView.m
View file @
630f1579
...
@@ -100,12 +100,15 @@
...
@@ -100,12 +100,15 @@
make
.
centerX
.
offset
(
0
);
make
.
centerX
.
offset
(
0
);
}];
}];
// 新版本不需要标题
self
.
titleLabel
.
hidden
=
YES
;
self
.
headerImgView
=
[[
UIImageView
alloc
]
init
];
self
.
headerImgView
=
[[
UIImageView
alloc
]
init
];
self
.
headerImgView
.
layer
.
cornerRadius
=
68
/
2
.
0
f
;
self
.
headerImgView
.
layer
.
cornerRadius
=
68
/
2
.
0
f
;
self
.
headerImgView
.
layer
.
masksToBounds
=
YES
;
self
.
headerImgView
.
layer
.
masksToBounds
=
YES
;
[
self
.
contentView
addSubview
:
self
.
headerImgView
];
[
self
.
contentView
addSubview
:
self
.
headerImgView
];
[
self
.
headerImgView
mas_makeConstraints
:
^
(
MASConstraintMaker
*
make
)
{
[
self
.
headerImgView
mas_makeConstraints
:
^
(
MASConstraintMaker
*
make
)
{
make
.
top
.
equalTo
(
self
.
titleLabel
.
mas_bottom
).
offset
(
22
);
make
.
top
.
/*equalTo(self.titleLabel.mas_bottom).*/
offset
(
22
);
make
.
centerX
.
offset
(
0
);
make
.
centerX
.
offset
(
0
);
make
.
width
.
height
.
offset
(
68
);
make
.
width
.
height
.
offset
(
68
);
}];
}];
...
@@ -204,7 +207,9 @@
...
@@ -204,7 +207,9 @@
self
.
clickHandler
(
isConfirmAll
?
FUSLiveAgreementClickedOK
:
FUSLiveAgreementClickedOKNotConfirmAll
);
self
.
clickHandler
(
isConfirmAll
?
FUSLiveAgreementClickedOK
:
FUSLiveAgreementClickedOKNotConfirmAll
);
}
}
if
(
isConfirmAll
)
{
[
self
fus_dismissWithAnimate
];
[
self
fus_dismissWithAnimate
];
}
}
}
#pragma mark - dismiss method
#pragma mark - dismiss method
...
@@ -302,7 +307,7 @@
...
@@ -302,7 +307,7 @@
for
(
int
i
=
0
;
i
<
responsibilityContentTextList
.
count
;
i
++
)
{
for
(
int
i
=
0
;
i
<
responsibilityContentTextList
.
count
;
i
++
)
{
FUSLiveAgreementConfirmSectionView
*
sectionView
=
[[
FUSLiveAgreementConfirmSectionView
alloc
]
init
];
FUSLiveAgreementConfirmSectionView
*
sectionView
=
[[
FUSLiveAgreementConfirmSectionView
alloc
]
init
];
sectionView
.
isConfirm
=
YES
;
//
sectionView.isConfirm = YES;
sectionView
.
messageLabel
.
text
=
[
NSString
stringWithFormat
:
@"%d、%@"
,
i
+
1
,
responsibilityContentTextList
[
i
]];
sectionView
.
messageLabel
.
text
=
[
NSString
stringWithFormat
:
@"%d、%@"
,
i
+
1
,
responsibilityContentTextList
[
i
]];
[
self
.
responsibilityContentView
addSubview
:
sectionView
];
[
self
.
responsibilityContentView
addSubview
:
sectionView
];
[
self
.
confirmContentViewList
addObject
:
sectionView
];
[
self
.
confirmContentViewList
addObject
:
sectionView
];
...
@@ -314,13 +319,13 @@
...
@@ -314,13 +319,13 @@
NSString
*
protocolStr
=
[
NSString
stringWithFormat
:
@"%ld、%@%@"
,
responsibilityContentTextList
.
count
+
1
,
text1
,
text2
];
NSString
*
protocolStr
=
[
NSString
stringWithFormat
:
@"%ld、%@%@"
,
responsibilityContentTextList
.
count
+
1
,
text1
,
text2
];
NSMutableAttributedString
*
protocolAttriStr
=
[[
NSMutableAttributedString
alloc
]
initWithString
:
protocolStr
];
NSMutableAttributedString
*
protocolAttriStr
=
[[
NSMutableAttributedString
alloc
]
initWithString
:
protocolStr
];
protocolAttriStr
.
alignment
=
NSTextAlignmentLeft
;
protocolAttriStr
.
alignment
=
NSTextAlignmentLeft
;
protocolAttriStr
.
font
=
[
UIFont
fus_themeFont
:
15
];
protocolAttriStr
.
font
=
[
UIFont
fus_theme
Medium
Font
:
15
];
protocolAttriStr
.
color
=
[
UIColor
fus_textColor
Rich
];
protocolAttriStr
.
color
=
[
UIColor
fus_textColor
Medium
];
NSRange
range
=
[
protocolStr
rangeOfString
:
text2
];
NSRange
range
=
[
protocolStr
rangeOfString
:
text2
];
[
protocolAttriStr
setColor
:[
UIColor
fus_t
hemeColor
]
range
:
range
];
[
protocolAttriStr
setColor
:[
UIColor
fus_t
extColorDeep
]
range
:
range
];
MJWeakSelf
MJWeakSelf
[
protocolAttriStr
setTextHighlightRange
:
range
color
:[
UIColor
fus_t
hemeColor
]
backgroundColor
:
[
UIColor
clearColor
]
tapAction
:^
(
UIView
*
_Nonnull
containerView
,
NSAttributedString
*
_Nonnull
text
,
NSRange
range
,
CGRect
rect
)
{
[
protocolAttriStr
setTextHighlightRange
:
range
color
:[
UIColor
fus_t
extColorDeep
]
backgroundColor
:
[
UIColor
clearColor
]
tapAction
:^
(
UIView
*
_Nonnull
containerView
,
NSAttributedString
*
_Nonnull
text
,
NSRange
range
,
CGRect
rect
)
{
if
(
weakSelf
.
clickHandler
)
{
if
(
weakSelf
.
clickHandler
)
{
weakSelf
.
clickHandler
(
FUSLiveAgreementClickedAgreement
);
weakSelf
.
clickHandler
(
FUSLiveAgreementClickedAgreement
);
}
}
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartContentBottomView.swift
View file @
630f1579
...
@@ -48,7 +48,7 @@ class FUSLiveStartContentBottomView: UIView {
...
@@ -48,7 +48,7 @@ class FUSLiveStartContentBottomView: UIView {
// 设置 "直播管理条例" 的文本属性(包括颜色和下划线)
// 设置 "直播管理条例" 的文本属性(包括颜色和下划线)
let
policyTextAttributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
policyTextAttributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
foregroundColor
:
UIColor
.
fus_theme
()
,
.
foregroundColor
:
UIColor
.
white
,
.
underlineStyle
:
NSUnderlineStyle
.
single
.
rawValue
.
underlineStyle
:
NSUnderlineStyle
.
single
.
rawValue
]
]
let
policyRange
=
NSRange
(
location
:
beginString
.
count
+
1
,
length
:
protocalString
.
count
)
// "直播管理条例" 的范围
let
policyRange
=
NSRange
(
location
:
beginString
.
count
+
1
,
length
:
protocalString
.
count
)
// "直播管理条例" 的范围
...
@@ -111,8 +111,7 @@ class FUSLiveStartContentBottomView: UIView {
...
@@ -111,8 +111,7 @@ class FUSLiveStartContentBottomView: UIView {
guard
let
topVC
=
UIViewController
.
fus_top
()
else
{
return
}
guard
let
topVC
=
UIViewController
.
fus_top
()
else
{
return
}
let
lang
=
FUSLocalizationHelper
.
fus_currentLanguage
()
.
languageID
let
url
=
FUSShowRoomWebURLs
.
fus_liveAndCommunityAgreementUrl
()
let
url
=
FUSShowRoomWebURLs
.
fus_liveRuleAdminRuleUrl
()
+
"?lang="
+
lang
let
webVC
=
FUSWKWebViewController
()
let
webVC
=
FUSWKWebViewController
()
webVC
.
webUrlString
=
url
webVC
.
webUrlString
=
url
topVC
.
navigationController
?
.
pushViewController
(
webVC
,
animated
:
true
)
topVC
.
navigationController
?
.
pushViewController
(
webVC
,
animated
:
true
)
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartSetPrivacyView.swift
View file @
630f1579
...
@@ -267,7 +267,6 @@ class FUSLiveStartSetPrivacyItemView: UIView {
...
@@ -267,7 +267,6 @@ class FUSLiveStartSetPrivacyItemView: UIView {
}
}
iconImageView
.
isUserInteractionEnabled
=
false
iconImageView
.
isUserInteractionEnabled
=
false
iconImageView
.
backgroundColor
=
.
init
(
hex
:
"#CDE9F0"
)
iconImageView
.
layer
.
cornerRadius
=
4
iconImageView
.
layer
.
cornerRadius
=
4
iconImageView
.
layer
.
masksToBounds
=
true
iconImageView
.
layer
.
masksToBounds
=
true
bgTapBtn
.
addSubview
(
iconImageView
)
bgTapBtn
.
addSubview
(
iconImageView
)
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Others/FUSShowRoomURLs.m
View file @
630f1579
...
@@ -693,7 +693,8 @@
...
@@ -693,7 +693,8 @@
}
}
/// 社区公约
/// 社区公约
+
(
NSString
*
)
fus_liveAndCommunityAgreementUrl
{
+
(
NSString
*
)
fus_liveAndCommunityAgreementUrl
{
return
[
FUSConfig
.
sharedInstanced
.
pathConfigs
webUrl
:
@"/Nesting/liveCommunity/index.html"
];
// return [FUSConfig.sharedInstanced.pathConfigs webUrl:@"/Nesting/liveCommunity/index.html"];
return
[
NSString
stringWithFormat
:
@"%@?lang=%@"
,
FUSCommonWebURLs
.
fus_regulation
,
FUSLocalizationHelper
.
fus_currentLanguage
.
languageID
];
}
}
/// 主播评分介绍
/// 主播评分介绍
+
(
NSString
*
)
fus_liveAnchorAssessIntroURL
{
+
(
NSString
*
)
fus_liveAnchorAssessIntroURL
{
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
630f1579
...
@@ -7,12 +7,12 @@
...
@@ -7,12 +7,12 @@
<
k
e
y
>
FUSUserCenterModule.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
k
e
y
>
FUSUserCenterModule.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
int
e
g
e
r
>
7
3
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
7
4
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
k
e
y
>
FUSUserCenterModuleBundle.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
k
e
y
>
FUSUserCenterModuleBundle.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
int
e
g
e
r
>
7
6
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
7
8
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
...
...
Pods/Pods.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
630f1579
...
@@ -392,7 +392,7 @@
...
@@ -392,7 +392,7 @@
<
k
e
y
>
SSZipArchive.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
k
e
y
>
SSZipArchive.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
int
e
g
e
r
>
7
5
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
7
6
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
k
e
y
>
SnapKit-SnapKit_Privacy.xcscheme
<
/k
e
y
>
<
k
e
y
>
SnapKit-SnapKit_Privacy.xcscheme
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
...
...
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