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
b1d8b614
authored
Jul 01, 2025
by
ludi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/私享房需求' of
http://git.yabolive.net:88/pidan/FuSiLive
into feature/私享房需求
parents
d1f9847b
400bae57
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
DevelopmentPods/FUSCommon/FUSCommon/FUSRouter/Routers/LiveRouter/FUSPublicModels/Live/FUSRoomInfoModel.h
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/InstantMessaging/Other/FUSIMChatService.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/ChatInputView/FUSShareView/View/FUSShareToolSheetView.swift
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartSetPasswordView.swift
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartSetPrivacyView.swift
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartView.swift
DevelopmentPods/FUSCommon/FUSCommon/FUSRouter/Routers/LiveRouter/FUSPublicModels/Live/FUSRoomInfoModel.h
View file @
b1d8b614
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
@property
(
nonatomic
,
strong
)
FUSLiveThemeModel
*
theme
;
@property
(
nonatomic
,
strong
)
FUSLiveThemeModel
*
theme
;
/// 私享房信息
/// 私享房信息
@property
(
nonatomic
,
strong
)
FUSRoomEncryptionData
*
encryptionData
;
@property
(
nonatomic
,
strong
)
FUSRoomEncryptionData
*
__nullable
encryptionData
;
@property
(
nonatomic
,
copy
)
NSArray
<
NSString
*>
*
reminderKeys
;
@property
(
nonatomic
,
copy
)
NSArray
<
NSString
*>
*
reminderKeys
;
...
...
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/InstantMessaging/Other/FUSIMChatService.m
View file @
b1d8b614
...
@@ -2524,14 +2524,14 @@
...
@@ -2524,14 +2524,14 @@
liveTitle
=
[
NSString
fus_localString
:
@"我的直播開始啦"
];
liveTitle
=
[
NSString
fus_localString
:
@"我的直播開始啦"
];
liveContent
=
[
NSString
fus_localString
:
@"房間已開好,快來一起玩耍吧"
];
liveContent
=
[
NSString
fus_localString
:
@"房間已開好,快來一起玩耍吧"
];
}
else
{
}
else
{
liveTitle
=
[
NSString
fus_versionLocalString
:
@"我在私
密
屋直播"
];
liveTitle
=
[
NSString
fus_versionLocalString
:
@"我在私
享
屋直播"
];
liveContent
=
[
NSString
fus_versionLocalString
:
@"需要输入密码进入直播屋"
];
liveContent
=
[
NSString
fus_versionLocalString
:
@"需要输入密码进入直播屋"
];
}
}
[
self
fus_sendLiveRoomShareWithRoomId
:
roomModel
.
roomId
[
self
fus_sendLiveRoomShareWithRoomId
:
roomModel
.
roomId
pullFlowUrl
:
roomModel
.
publishUrl
pullFlowUrl
:
roomModel
.
publishUrl
liveTitle
:
liveTitle
liveTitle
:
liveTitle
roomName
:
roomModel
.
nickName
roomName
:
roomModel
.
nickName
content
:
[
NSString
fus_localString
:
@"房間已開好,快來一起玩耍吧"
]
content
:
liveContent
roomCover
:
roomModel
.
face
roomCover
:
roomModel
.
face
password
:
password
password
:
password
toUser
:
userID
toUser
:
userID
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/ChatInputView/FUSShareView/View/FUSShareToolSheetView.swift
View file @
b1d8b614
...
@@ -228,7 +228,7 @@ var isShowShareToolSheetView = true
...
@@ -228,7 +228,7 @@ var isShowShareToolSheetView = true
if
FUSLiveHelper
.
shareInstance
()
.
roomScopeType
==
.
password
{
if
FUSLiveHelper
.
shareInstance
()
.
roomScopeType
==
.
password
{
self
.
passwordLabel
.
isHidden
=
false
self
.
passwordLabel
.
isHidden
=
false
self
.
passwordDescLabel
.
isHidden
=
false
self
.
passwordDescLabel
.
isHidden
=
false
self
.
passwordLabel
.
text
=
FUSLiveHelper
.
shareInstance
()
.
roomInfoModel
?
.
encryptionData
.
password
self
.
passwordLabel
.
text
=
FUSLiveHelper
.
shareInstance
()
.
roomInfoModel
?
.
encryptionData
?
.
password
??
""
}
else
{
}
else
{
self
.
passwordLabel
.
isHidden
=
true
self
.
passwordLabel
.
isHidden
=
true
self
.
passwordDescLabel
.
isHidden
=
true
self
.
passwordDescLabel
.
isHidden
=
true
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartSetPasswordView.swift
View file @
b1d8b614
...
@@ -112,7 +112,7 @@ import RxSwift
...
@@ -112,7 +112,7 @@ import RxSwift
let
tipLabel
=
UILabel
()
let
tipLabel
=
UILabel
()
tipLabel
.
font
=
.
fus_themeFont
(
13
)
tipLabel
.
font
=
.
fus_themeFont
(
13
)
tipLabel
.
textColor
=
.
fus_textColorLight2
()
tipLabel
.
textColor
=
.
fus_textColorLight2
()
tipLabel
.
text
=
FUSLiveHelper
.
shareInstance
()
.
roomInfoModel
?
.
encryptionData
.
passwordShow
tipLabel
.
text
=
FUSLiveHelper
.
shareInstance
()
.
roomInfoModel
?
.
encryptionData
?
.
passwordShow
??
""
contentView
.
addSubview
(
tipLabel
)
contentView
.
addSubview
(
tipLabel
)
tipLabel
.
snp
.
makeConstraints
{
make
in
tipLabel
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
self
.
passwordView
.
snp
.
bottom
)
.
offset
(
33
)
make
.
top
.
equalTo
(
self
.
passwordView
.
snp
.
bottom
)
.
offset
(
33
)
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartSetPrivacyView.swift
View file @
b1d8b614
...
@@ -103,7 +103,7 @@ import FUSCommon
...
@@ -103,7 +103,7 @@ import FUSCommon
//这里特殊用户有不一样的逻辑
//这里特殊用户有不一样的逻辑
let
iconImagesList
=
[
"live_start_openScope_cell"
,
"live_start_passwordScope_cell"
/*,"live_start_intimacyScope_cell"*/
]
let
iconImagesList
=
[
"live_start_openScope_cell"
,
"live_start_passwordScope_cell"
/*,"live_start_intimacyScope_cell"*/
]
let
titlesList
=
[
String
.
fus_versionLocalString
(
"公开屋"
),
.
fus_versionLocalString
(
"私享屋"
)
/*, .fus_localString("亲密圈")*/
]
let
titlesList
=
[
String
.
fus_versionLocalString
(
"公开屋"
),
.
fus_versionLocalString
(
"私享屋"
)
/*, .fus_localString("亲密圈")*/
]
let
subTitlesList
=
[
String
.
fus_localString
(
"所有人可进入房间"
),
.
fus_versionLocalString
(
"
已关闭窗帘,玩家输入密码打开
"
)
/*, .fus_localString("仅亲密好友可进入房间")*/
]
let
subTitlesList
=
[
String
.
fus_localString
(
"所有人可进入房间"
),
.
fus_versionLocalString
(
"
玩家正确输入密码后可进入屋内
"
)
/*, .fus_localString("仅亲密好友可进入房间")*/
]
let
itemHeight
=
56.0
let
itemHeight
=
56.0
privacyContentView
.
snp
.
makeConstraints
{
make
in
privacyContentView
.
snp
.
makeConstraints
{
make
in
...
@@ -116,7 +116,7 @@ import FUSCommon
...
@@ -116,7 +116,7 @@ import FUSCommon
for
(
index
,
iconStr
)
in
iconImagesList
.
enumerated
()
{
for
(
index
,
iconStr
)
in
iconImagesList
.
enumerated
()
{
var
canSelect
=
true
var
canSelect
=
true
if
index
==
0
{
if
index
==
0
{
if
FUSLiveHelper
.
shareInstance
()
.
roomInfoModel
?
.
encryptionData
.
liveScopeOpen
.
intValue
==
-
1
{
if
FUSLiveHelper
.
shareInstance
()
.
roomInfoModel
?
.
encryptionData
?
.
liveScopeOpen
.
intValue
==
-
1
{
canSelect
=
false
canSelect
=
false
}
}
}
}
...
@@ -183,7 +183,7 @@ import FUSCommon
...
@@ -183,7 +183,7 @@ import FUSCommon
switch
index
{
switch
index
{
case
0
:
case
0
:
if
FUSLiveHelper
.
shareInstance
()
.
roomInfoModel
?
.
encryptionData
.
liveScopeOpen
.
intValue
==
-
1
{
if
FUSLiveHelper
.
shareInstance
()
.
roomInfoModel
?
.
encryptionData
?
.
liveScopeOpen
.
intValue
==
-
1
{
self
.
scopeType
=
.
password
self
.
scopeType
=
.
password
}
else
{
}
else
{
self
.
scopeType
=
.
open
self
.
scopeType
=
.
open
...
@@ -350,7 +350,7 @@ class FUSLiveStartSetPrivacyItemView: UIView {
...
@@ -350,7 +350,7 @@ class FUSLiveStartSetPrivacyItemView: UIView {
cantSelectTipLabel
.
numberOfLines
=
0
cantSelectTipLabel
.
numberOfLines
=
0
bgTapBtn
.
addSubview
(
cantSelectTipLabel
)
bgTapBtn
.
addSubview
(
cantSelectTipLabel
)
cantSelectTipLabel
.
isHidden
=
true
cantSelectTipLabel
.
isHidden
=
true
cantSelectTipLabel
.
text
=
FUSLiveHelper
.
shareInstance
()
.
roomInfoModel
?
.
encryptionData
.
liveScopeOpenShow
cantSelectTipLabel
.
text
=
FUSLiveHelper
.
shareInstance
()
.
roomInfoModel
?
.
encryptionData
?
.
liveScopeOpenShow
??
""
cantSelectTipLabel
.
snp
.
makeConstraints
{
make
in
cantSelectTipLabel
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalToSuperview
()
.
inset
(
12
)
make
.
right
.
equalToSuperview
()
.
inset
(
12
)
make
.
centerY
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartView.swift
View file @
b1d8b614
...
@@ -204,7 +204,7 @@ import FUSCommon
...
@@ -204,7 +204,7 @@ import FUSCommon
if
succeed
{
if
succeed
{
model
.
scopeType
=
scopeType
model
.
scopeType
=
scopeType
model
.
password
=
password
model
.
password
=
password
FUSLiveHelper
.
shareInstance
()
.
roomInfoModel
?
.
encryptionData
.
password
=
password
FUSLiveHelper
.
shareInstance
()
.
roomInfoModel
?
.
encryptionData
?
.
password
=
password
self
?
.
startLiveModel
.
accept
(
model
)
self
?
.
startLiveModel
.
accept
(
model
)
}
}
})
})
...
@@ -229,7 +229,7 @@ import FUSCommon
...
@@ -229,7 +229,7 @@ import FUSCommon
FUSLiveStartSetPasswordView
.
fus_create
(
clickHandler
:
{
[
weak
self
]
succeed
,
password
in
FUSLiveStartSetPasswordView
.
fus_create
(
clickHandler
:
{
[
weak
self
]
succeed
,
password
in
if
succeed
{
if
succeed
{
model
.
password
=
password
model
.
password
=
password
FUSLiveHelper
.
shareInstance
()
.
roomInfoModel
?
.
encryptionData
.
password
=
password
FUSLiveHelper
.
shareInstance
()
.
roomInfoModel
?
.
encryptionData
?
.
password
=
password
self
?
.
startLiveModel
.
accept
(
model
)
self
?
.
startLiveModel
.
accept
(
model
)
}
}
})
})
...
...
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