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
c0cdac08
authored
Aug 20, 2024
by
pierce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bugs
parent
45c11296
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
20 deletions
DevelopmentPods/FUSCommon/FUSCommon/FUSRouter/Routers/ChatRouter/FUSChatPublicDefine.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/LinkMicro/View/FUSLinkMicroUserListView.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/ShareToChat/FUSLiveShareToChatView.m
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Login/Other/FUSRecieveNotificationHelper.m
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Search/Controller/FUSMainSearchViewController.m
DevelopmentPods/FUSCommon/FUSCommon/FUSRouter/Routers/ChatRouter/FUSChatPublicDefine.m
View file @
c0cdac08
...
@@ -17,27 +17,27 @@
...
@@ -17,27 +17,27 @@
/// 官方消息类型
/// 官方消息类型
+
(
NSString
*
)
fus_officialMsgType
{
+
(
NSString
*
)
fus_officialMsgType
{
return
@"fus_
singleChat
MsgType"
;
return
@"fus_
official
MsgType"
;
}
}
/// fusi官方消息类型
/// fusi官方消息类型
+
(
NSString
*
)
fus_fusiAccompanyMsgType
{
+
(
NSString
*
)
fus_fusiAccompanyMsgType
{
return
@"fus_
singleChat
MsgType"
;
return
@"fus_
fusiAccompany
MsgType"
;
}
}
/// 官方通知消息类型
/// 官方通知消息类型
+
(
NSString
*
)
fus_notificationMsgType
{
+
(
NSString
*
)
fus_notificationMsgType
{
return
@"fus_
singleChat
MsgType"
;
return
@"fus_
notification
MsgType"
;
}
}
/// 声视讯聊天记录消息类型
/// 声视讯聊天记录消息类型
+
(
NSString
*
)
fus_singleLiveRecordType
{
+
(
NSString
*
)
fus_singleLiveRecordType
{
return
@"fus_single
ChatMsg
Type"
;
return
@"fus_single
LiveRecord
Type"
;
}
}
/// 动态消息类型
/// 动态消息类型
+
(
NSString
*
)
fus_newsfeedMsgType
{
+
(
NSString
*
)
fus_newsfeedMsgType
{
return
@"fus_
singleChat
MsgType"
;
return
@"fus_
newsfeed
MsgType"
;
}
}
#pragma mark - 客服id
#pragma mark - 客服id
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/LinkMicro/View/FUSLinkMicroUserListView.m
View file @
c0cdac08
...
@@ -402,11 +402,11 @@
...
@@ -402,11 +402,11 @@
[
FUSDeviceHelper
fus_checkOldIPhoneDeviceHandler
:
^
(
BOOL
oldDev
)
{
[
FUSDeviceHelper
fus_checkOldIPhoneDeviceHandler
:
^
(
BOOL
oldDev
)
{
if
(
oldDev
)
{
if
(
oldDev
)
{
for
(
int
i
=
0
;
i
<
_
views
.
count
;
i
++
)
{
for
(
int
i
=
0
;
i
<
self
.
views
.
count
;
i
++
)
{
FUSLinkMicroHeaderView
*
userView
=
_
views
[
i
];
FUSLinkMicroHeaderView
*
userView
=
self
.
views
[
i
];
userView
.
cancelAnim
=
YES
;
userView
.
cancelAnim
=
YES
;
if
(
i
<
_
models
.
count
)
{
if
(
i
<
self
.
models
.
count
)
{
userView
.
model
=
[
_
models
objectAtIndex
:
i
];
userView
.
model
=
[
self
.
models
objectAtIndex
:
i
];
}
else
{
}
else
{
userView
.
model
=
nil
;
userView
.
model
=
nil
;
}
}
...
@@ -490,7 +490,6 @@
...
@@ -490,7 +490,6 @@
}
}
/// 更新尺寸
/// 更新尺寸
/// @param index
-
(
void
)
fus_updateHeaderViewSizeWithIndex
:
(
NSInteger
)
index
{
-
(
void
)
fus_updateHeaderViewSizeWithIndex
:
(
NSInteger
)
index
{
[
UIView
animateWithDuration
:
0
.
3
animations
:
^
{
[
UIView
animateWithDuration
:
0
.
3
animations
:
^
{
...
@@ -499,12 +498,12 @@
...
@@ -499,12 +498,12 @@
if
(
FUSLocalizationHelper
.
isArbicLanguage
)
{
if
(
FUSLocalizationHelper
.
isArbicLanguage
)
{
tempX
=
self
.
width
-
self
.
height
;
tempX
=
self
.
width
-
self
.
height
;
}
}
for
(
int
i
=
0
;
i
<
_
views
.
count
;
i
++
)
{
for
(
int
i
=
0
;
i
<
self
.
views
.
count
;
i
++
)
{
FUSLinkMicroHeaderView
*
userView
=
_
views
[
i
];
FUSLinkMicroHeaderView
*
userView
=
self
.
views
[
i
];
CGFloat
headerViewW
=
self
.
height
;
CGFloat
headerViewW
=
self
.
height
;
if
((
_models
.
count
*
self
.
height
*
1
.
2
+
VIEW_MARGIN
*
(
_
models
.
count
-
1
))
>
UIView
.
fus_screenW
)
{
if
((
self
.
models
.
count
*
self
.
height
*
1
.
2
+
VIEW_MARGIN
*
(
self
.
models
.
count
-
1
))
>
UIView
.
fus_screenW
)
{
headerViewW
=
(
UIView
.
fus_screenW
-
VIEW_MARGIN
*
(
_models
.
count
-
1
))
/
(
_
models
.
count
*
1
.
2
);
headerViewW
=
(
UIView
.
fus_screenW
-
VIEW_MARGIN
*
(
self
.
models
.
count
-
1
))
/
(
self
.
models
.
count
*
1
.
2
);
}
}
userView
.
size
=
CGSizeMake
(
headerViewW
,
headerViewW
);
userView
.
size
=
CGSizeMake
(
headerViewW
,
headerViewW
);
...
@@ -665,7 +664,6 @@
...
@@ -665,7 +664,6 @@
}
}
/// 处理新列表和老列表的数据
/// 处理新列表和老列表的数据
/// @param models
-
(
void
)
fus_dealListDataModels
:
(
NSArray
*
)
models
{
-
(
void
)
fus_dealListDataModels
:
(
NSArray
*
)
models
{
NSDictionary
*
tempDict
=
self
.
modelInfo
;
NSDictionary
*
tempDict
=
self
.
modelInfo
;
...
@@ -874,7 +872,6 @@
...
@@ -874,7 +872,6 @@
#pragma mark - 接收到通知处理
#pragma mark - 接收到通知处理
/// 用户收到主播发送连麦邀请
/// 用户收到主播发送连麦邀请
/// @param noti
-
(
void
)
receiveUserLinkSendMicInviteResult
:
(
NSNotification
*
)
noti
{
-
(
void
)
receiveUserLinkSendMicInviteResult
:
(
NSNotification
*
)
noti
{
FUSSocketMessageModel
*
messageModel
=
noti
.
object
;
FUSSocketMessageModel
*
messageModel
=
noti
.
object
;
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/ShareToChat/FUSLiveShareToChatView.m
View file @
c0cdac08
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
[
self
.
searchBtn
setImage
:[
FUSShowRoomCenterBunble
imageNamed
:
@"fus_home_navi_search_icon"
]
forState
:
UIControlStateNormal
];
[
self
.
searchBtn
setImage
:[
FUSShowRoomCenterBunble
imageNamed
:
@"fus_home_navi_search_icon"
]
forState
:
UIControlStateNormal
];
[
self
.
selectedAllBtn
setImage
:[
FUSShowRoomCenterBunble
imageNamed
:
@"live_share_check_unselected"
]
forState
:
UIControlStateNormal
];
[
self
.
selectedAllBtn
setImage
:[
FUSShowRoomCenterBunble
imageNamed
:
@"live_share_check_unselected"
]
forState
:
UIControlStateNormal
];
[
self
.
selectedAllBtn
setImage
:[
FUSShowRoomCenterBunble
imageNamed
:
@"live_share_check_selected"
]
forState
:
UIControlState
Normal
];
[
self
.
selectedAllBtn
setImage
:[
FUSShowRoomCenterBunble
imageNamed
:
@"live_share_check_selected"
]
forState
:
UIControlState
Selected
];
[
self
.
selectedAllBtn
setTitle
:[
NSString
fus_localString
:
@"全选"
]
forState
:
UIControlStateNormal
];
[
self
.
selectedAllBtn
setTitle
:[
NSString
fus_localString
:
@"全选"
]
forState
:
UIControlStateNormal
];
self
.
selectedAllBtn
.
semanticContentAttribute
=
FUSRTL
.
isRTL
?
UISemanticContentAttributeForceLeftToRight
:
UISemanticContentAttributeForceRightToLeft
;
self
.
selectedAllBtn
.
semanticContentAttribute
=
FUSRTL
.
isRTL
?
UISemanticContentAttributeForceLeftToRight
:
UISemanticContentAttributeForceRightToLeft
;
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Login/Other/FUSRecieveNotificationHelper.m
View file @
c0cdac08
...
@@ -149,14 +149,16 @@
...
@@ -149,14 +149,16 @@
[
FUSRouter
.
chatRouter
fus_initiativeHandUpConversation
];
[
FUSRouter
.
chatRouter
fus_initiativeHandUpConversation
];
[
FUSRouter
.
chatRouter
fus_logOffWithSuccess
:
nil
failure
:
nil
];
[
FUSRouter
.
chatRouter
fus_logOffWithSuccess
:
nil
failure
:
nil
];
[[
FUSLoginHelper
sharedInstance
]
logOut
];
[[
FUSLoginHelper
sharedInstance
]
logOut
];
[
FUSAlertView
showAlertWithTitle
:
nil
message
:
message
cancelButtonTitle
:
[
NSString
fus_localString
:
@"确定"
]
otherButtonTitles
:
nil
clickBlock
:^
(
NSInteger
buttonIndex
)
{
// 转跳到启动页
// 转跳到启动页
FUSStartPageViewController
*
startPageVC
=
[[
FUSStartPageViewController
alloc
]
initNeedWaitTime
:
NO
];
FUSStartPageViewController
*
startPageVC
=
[[
FUSStartPageViewController
alloc
]
initNeedWaitTime
:
NO
];
UINavigationController
*
navGuide
=
[[
UINavigationController
alloc
]
initWithRootViewController
:
startPageVC
];
UINavigationController
*
navGuide
=
[[
UINavigationController
alloc
]
initWithRootViewController
:
startPageVC
];
[[[[
UIApplication
sharedApplication
]
delegate
]
window
]
setRootViewController
:
navGuide
];
[[[[
UIApplication
sharedApplication
]
delegate
]
window
]
setRootViewController
:
navGuide
];
[
navGuide
popToRootViewControllerAnimated
:
YES
];
[
navGuide
popToRootViewControllerAnimated
:
YES
];
dispatch_after
(
dispatch_time
(
DISPATCH_TIME_NOW
,
(
int64_t
)(
0
.
3
*
NSEC_PER_SEC
)),
dispatch_get_main_queue
(),
^
{
[
FUSAlertView
showAlertWithTitle
:
nil
message
:
message
cancelButtonTitle
:
[
NSString
fus_localString
:
@"确定"
]
otherButtonTitles
:
nil
clickBlock
:^
(
NSInteger
buttonIndex
)
{
}];
}];
});
}
}
// 主播推荐
// 主播推荐
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Search/Controller/FUSMainSearchViewController.m
View file @
c0cdac08
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
_searchTableView
.
tableFooterView
=
[[
UIView
alloc
]
init
];
_searchTableView
.
tableFooterView
=
[[
UIView
alloc
]
init
];
_searchTableView
.
delegate
=
self
;
_searchTableView
.
delegate
=
self
;
_searchTableView
.
dataSource
=
self
;
_searchTableView
.
dataSource
=
self
;
[
_searchTableView
registerNib
:[
UINib
nibWithNibName
:
CELL_INDENTIFIER
bundle
:[
FUS
UserCenterBunb
le
bundle
]]
forCellReuseIdentifier
:
CELL_INDENTIFIER
];
[
_searchTableView
registerNib
:[
UINib
nibWithNibName
:
CELL_INDENTIFIER
bundle
:[
FUS
CommonBund
le
bundle
]]
forCellReuseIdentifier
:
CELL_INDENTIFIER
];
_searchTableView
.
backgroundColor
=
UIColor
.
fus_appBGColor
;
_searchTableView
.
backgroundColor
=
UIColor
.
fus_appBGColor
;
self
.
panScrollableView
=
_searchTableView
;
self
.
panScrollableView
=
_searchTableView
;
if
(
_searchType
==
FUSSearchTypePeopleNetwork
||
_searchType
==
FUSSearchTypeIntimacyNetwork
)
{
if
(
_searchType
==
FUSSearchTypePeopleNetwork
||
_searchType
==
FUSSearchTypeIntimacyNetwork
)
{
...
...
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