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
ca60edda
authored
Jul 18, 2024
by
pierce
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/UI修改版本' of
http://git.yabolive.net:88/pidan/FuSiLive
into feature/UI修改版本
parents
a1f39fb5
99995492
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
69 additions
and
55 deletions
DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Views/FUSStyleButton.m
FuSiLive/Classes/Common/MainControllerHelper/FUSMainViewControllerHelper.m
FuSiLive/Classes/Common/View/FUSEditPickerView.m
FuSiLive/Classes/Foundation/Socket/SocketMessage/FUSSocketMessageDBOperate.m
FuSiLive/Classes/FusiVersionFeature/Others/FUSControllerPushHelper.m
FuSiLive/Classes/InstantMessaging/Controller/FUSChatDetailViewController.m
FuSiLive/Classes/InstantMessaging/Other/FUSIMChatService.h
FuSiLive/Classes/InstantMessaging/Other/FUSIMChatService.m
FuSiLive/Classes/InstantMessaging/Other/FUSIMUserService.m
FuSiLive/Classes/NewLive/Main/View/FunctionView/MessageBox/FUSLiveMessageBoxView.m
FuSiLive/Classes/NewsFeed/Controller/FUSNewsFeedListViewController.m
FuSiLive/Classes/NewsFeed/Controller/FUSNewsFeedMessageViewController.m
FuSiLive/Classes/NewsFeed/Other/FUSNewsFeedNoticeShownHelper.m
FuSiLive/Classes/NewsFeed/RichEditor/Controller/FUSPublishNewsFeedViewController.m
FuSiLive/Classes/NewsFeed/RichEditor/TZImagePickerController/TZPhotoPickerController.m
FuSiLive/Classes/SingleChat/Main/Controller/FUSSingleChatViewController.m
FuSiLive/Classes/ZhaiXin/Main/Controller/FUSSingleLiveRecordViewController.m
FuSiLive/Classes/ZhaiXin/Main/View/FUSZhaiXinTableView.m
FuSiLive/Classes/ZhaiXin/Official/Controller/FUSOfficialViewController.m
FuSiLive/Classes/Zone/Controller/FireFlyMyZone/FUSZoneTaskCenterViewController.m
FuSiLive/Classes/Zone/View/TaskCenter/FUSTaskCenterListTableViewCell.m
FuSiLive/Classes/Zone/View/TaskCenter/FUSTaskCenterProcessTableViewCell.m
FuSiLive/FUSAPPConfigs/FUSFuSiWebViewEventHelper.m
FuSiLive/Resources/LocalizationString/Fusi_Arbic.strings
FuSiLive/Resources/LocalizationString/Fusi_Chinese.strings
FuSiLive/Resources/LocalizationString/Fusi_Chinese_Traditional.strings
FuSiLive/Resources/LocalizationString/Fusi_English.strings
FuSiLive/Resources/LocalizationString/Fusi_Indonesian.strings
FuSiLive/Resources/LocalizationString/Fusi_Japanese.strings
FuSiLive/Resources/LocalizationString/Fusi_Thai.strings
FuSiLive/Resources/LocalizationString/Fusi_vietnamese.strings
DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Views/FUSStyleButton.m
View file @
ca60edda
...
...
@@ -219,7 +219,9 @@
{
[
_gradientView
.
layer
removeFromSuperlayer
];
_gradientView
=
[
FUSGradientView
fus_gradientViewWithType
:
FUSGradientViewTypeGrayBorder
frame
:
_bgLayer
.
bounds
];
self
.
layer
.
cornerRadius
=
_gradientView
.
height
/
2
.
0
;
self
.
layer
.
cornerRadius
=
self
.
height
/
2
.
0
f
;
self
.
layer
.
borderColor
=
[
UIColor
fus_textColorLight2
].
CGColor
;
self
.
layer
.
borderWidth
=
1
;
_gradientView
.
cornerRadius
=
_gradientView
.
height
/
2
.
0
;
[
_bgLayer
addSublayer
:
_gradientView
.
layer
];
[
self
.
layer
insertSublayer
:
self
.
imageView
.
layer
above
:
_bgLayer
];
...
...
FuSiLive/Classes/Common/MainControllerHelper/FUSMainViewControllerHelper.m
View file @
ca60edda
...
...
@@ -80,7 +80,7 @@
[[
UIApplication
sharedApplication
].
keyWindow
bringSubviewToFront
:[
UIApplication
sharedApplication
].
keyWindow
.
subviews
.
firstObject
];
// 更新未讀消息
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
}
/**
...
...
FuSiLive/Classes/Common/View/FUSEditPickerView.m
View file @
ca60edda
...
...
@@ -97,7 +97,7 @@
self
.
frame
=
[
UIScreen
mainScreen
].
bounds
;
self
.
tag
=
100
;
self
.
alpha
=
0
;
self
.
backgroundColor
=
[
[
UIColor
blackColor
]
colorWithAlphaComponent
:
0
.
5
];
self
.
backgroundColor
=
[
UIColor
fus_alertViewBackgroundColor
];
[
self
addGestureRecognizer
:[[
UITapGestureRecognizer
alloc
]
initWithTarget
:
self
action
:
@selector
(
onTapPickerViewAction
:)]];
_bgView
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
UIView
.
fus_screenH
+
TOOLBAR_HEIGHT
+
PICKER_VIEW_HEIGHT
,
UIView
.
fus_screenH
,
PICKER_VIEW_HEIGHT
+
TOOLBAR_HEIGHT
)];
...
...
@@ -116,7 +116,7 @@
// toolbar工具条
UIView
*
toolBar
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
UIView
.
fus_screenW
,
TOOLBAR_HEIGHT
)];
toolBar
.
backgroundColor
=
[
UIColor
colorWithHex
:
@"#191923"
];
toolBar
.
backgroundColor
=
[
UIColor
fus_appBGColor
];
[
_bgView
addSubview
:
toolBar
];
CGFloat
cancelX
=
FUSRTL
.
isRTL
?
UIView
.
fus_screenW
-
70
:
10
;
...
...
@@ -128,7 +128,7 @@
cancelBtn
.
width
=
cancelBtn
.
width
+
20
;
cancelBtn
.
x
=
FUSRTL
.
isRTL
?
UIView
.
fus_screenW
-
cancelBtn
.
width
-
10
:
10
;
[
toolBar
addSubview
:
cancelBtn
];
[
cancelBtn
setTitleColor
:[
UIColor
colorWithHex
:
@"#58DBD7"
]
forState
:
UIControlStateNormal
];
[
cancelBtn
setTitleColor
:[
UIColor
fus_textColorMedium
]
forState
:
UIControlStateNormal
];
[
cancelBtn
addTarget
:
self
action
:
@selector
(
onTapCancelBtnAction
:
)
forControlEvents
:
UIControlEventTouchUpInside
];
CGFloat
certainX
=
FUSRTL
.
isRTL
?
10
:
UIView
.
fus_screenW
-
70
;
...
...
@@ -139,21 +139,21 @@
certainBtn
.
height
=
TOOLBAR_HEIGHT
;
certainBtn
.
x
=
FUSRTL
.
isRTL
?
10
:
UIView
.
fus_screenW
-
certainBtn
.
width
-
10
;
[
toolBar
addSubview
:
certainBtn
];
[
certainBtn
setTitleColor
:[
UIColor
colorWithHex
:
@"#58DBD7"
]
forState
:
UIControlStateNormal
];
[
certainBtn
setTitleColor
:[
UIColor
fus_textColorRich
]
forState
:
UIControlStateNormal
];
[
certainBtn
addTarget
:
self
action
:
@selector
(
onTapCertainBtnAction
:
)
forControlEvents
:
UIControlEventTouchUpInside
];
_titleLb
=
[[
UILabel
alloc
]
initWithFrame
:
CGRectMake
(
CGRectGetMaxX
(
cancelBtn
.
frame
),
0
,
self
.
width
-
cancelBtn
.
width
-
certainBtn
.
width
-
30
,
toolBar
.
height
)];
_titleLb
.
font
=
[
UIFont
systemFontOfSize
:
17
weight
:
UIFontWeightMedium
];
_titleLb
.
textColor
=
[
UIColor
colorWithHex
:
@"#CCCCCC"
];
_titleLb
.
textColor
=
[
UIColor
fus_textColorRich
];
_titleLb
.
textAlignment
=
NSTextAlignmentCenter
;
_titleLb
.
text
=
_title
;
[
_titleLb
sizeToFit
];
_titleLb
.
center
=
toolBar
.
center
;
[
toolBar
addSubview
:
_titleLb
];
UIView
*
view
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
toolBar
.
height
-
1
,
toolBar
.
width
,
0
.
5
)];
view
.
backgroundColor
=
[[
UIColor
whiteColor
]
colorWithAlphaComponent
:
0
.
09
];
[
toolBar
addSubview
:
view
];
//
UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, toolBar.height - 1, toolBar.width, 0.5)];
//
view.backgroundColor = [[UIColor whiteColor] colorWithAlphaComponent:0.09];
//
[toolBar addSubview:view];
[
self
.
pickerView
reloadAllComponents
];
[
self
.
pickerView
selectRow
:
_currentSelectRow
inComponent
:
0
animated
:
YES
];
...
...
@@ -250,8 +250,8 @@
UIButton
*
titleBtn
=
(
UIButton
*
)
view
;
if
(
!
titleBtn
)
{
titleBtn
=
[
UIButton
buttonWithType
:
UIButtonTypeCustom
];
[
titleBtn
setTitleColor
:[
UIColor
whiteColor
]
forState
:
UIControlStateNormal
];
[
titleBtn
setTitleColor
:[
UIColor
whiteColor
]
forState
:
UIControlStateSelected
];
[
titleBtn
setTitleColor
:[
UIColor
fus_textColorRich
]
forState
:
UIControlStateNormal
];
[
titleBtn
setTitleColor
:[
UIColor
fus_textColorRich
]
forState
:
UIControlStateSelected
];
if
(
row
==
0
)
{
_lastSelectBtn
=
titleBtn
;
}
...
...
@@ -320,7 +320,7 @@
_pickerView
.
dataSource
=
self
;
_pickerView
.
tag
=
101
;
[
_pickerView
selectRow
:
0
inComponent
:
0
animated
:
YES
];
_pickerView
.
backgroundColor
=
[
UIColor
colorWithHex
:
@"#191923"
];
_pickerView
.
backgroundColor
=
[
UIColor
fus_appBGColor
];
}
return
_pickerView
;
}
...
...
FuSiLive/Classes/Foundation/Socket/SocketMessage/FUSSocketMessageDBOperate.m
View file @
ca60edda
...
...
@@ -179,7 +179,7 @@
}
// 通知刷新寨信界面
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
// 消息数量置0
[
self
.
classifyMessageDict
removeAllObjects
];
...
...
FuSiLive/Classes/FusiVersionFeature/Others/FUSControllerPushHelper.m
View file @
ca60edda
...
...
@@ -67,6 +67,7 @@
webVC
.
webUrlString
=
[
NSString
stringWithFormat
:
@"%@?lang=%@"
,
webURL
,
FUSLocalizationHelper
.
fus_currentLanguage
.
languageID
];
vc
=
webVC
;
[
UINavigationController
fus_updateWebServicesReadStatus
:
serviceUID
];
webVC
.
closeWebViewHandler
=
^
(
NSInteger
cidType
)
{
// 更新未读
[
UINavigationController
fus_updateWebServicesReadStatus
:
serviceUID
];
...
...
@@ -83,6 +84,7 @@
webVC
.
webUrlString
=
[
NSString
stringWithFormat
:
@"%@?lang=%@"
,
webURL
,
FUSLocalizationHelper
.
fus_currentLanguage
.
languageID
];
vc
=
webVC
;
[
UINavigationController
fus_updateWebServicesReadStatus
:
serviceUID
];
webVC
.
closeWebViewHandler
=
^
(
NSInteger
cidType
)
{
// 更新未读
[
UINavigationController
fus_updateWebServicesReadStatus
:
serviceUID
];
...
...
@@ -105,7 +107,7 @@
+
(
void
)
fus_updateWebServicesReadStatus
:(
NSString
*
)
serviceUID
{
[
FUSSingleChatDBOperate
fus_updateReadStatusToSingleChatTableWithFid
:
serviceUID
];
[
FUSZhaiXinDBOperate
fus_updateUnreadToZhaiXinInfosTableWithTypeId
:[
NSString
stringWithFormat
:
@"%@%@"
,
SINGLE_CHAT
,
serviceUID
]
unread
:
0
];
[[
FUSIMChatService
shareInstance
]
fus_updateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_updateTalkListToLastMessage
Handler
];
}
-
(
void
)
fus_pushToBuyVIPControllerWithAnimate
:(
BOOL
)
animate
{
...
...
FuSiLive/Classes/InstantMessaging/Controller/FUSChatDetailViewController.m
View file @
ca60edda
...
...
@@ -459,7 +459,7 @@
// 设置数据库所有消息已读
[[
FUSIMChatService
shareInstance
]
fus_setCurrentTalkAllMessageRead
];
// 更新未读
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
[
self
fus_executeDefaultSetting
];
}
...
...
@@ -678,7 +678,7 @@
if
(
buttonIndex
==
1
)
{
[[
FUSIMChatService
shareInstance
]
fus_deleteAllMessageWithTalkID
:
self
.
talkID
];
[
FUSZhaiXinDBOperate
fus_deleteLastReceiveMessageWithTalkID
:
self
.
talkID
];
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
[
self
.
chatDetailArr
removeAllObjects
];
[
self
.
tableView
reloadData
];
}
...
...
@@ -990,7 +990,7 @@
[
self
fus_refrshVideoCellWithProgress
:
100
refreshIndex
:
refreshIndex
serverMsgID
:
serverMsgID
];
if
(
!
[
FUSIMChatService
shareInstance
].
chatDelegate
)
{
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
}
}
...
...
@@ -1184,7 +1184,7 @@
// 设置数据库所有消息已读
[[
FUSIMChatService
shareInstance
]
fus_setCurrentTalkAllMessageRead
];
// 更新会话列表
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
}
...
...
FuSiLive/Classes/InstantMessaging/Other/FUSIMChatService.h
View file @
ca60edda
...
...
@@ -230,9 +230,12 @@
-
(
void
)
fus_sendAllUnreadMessageReadAck
;
/**
更新所有会话到最新的消息
延迟 ---
更新所有会话到最新的消息
*/
-
(
void
)
fus_updateTalkListToLastMessage
;
-
(
void
)
fus_delayUpdateTalkListToLastMessage
;
/// 立刻--- 更新所有会话到最新的消息
-
(
void
)
fus_updateTalkListToLastMessageHandler
;
/**
删除一条会话中的所有消息
...
...
FuSiLive/Classes/InstantMessaging/Other/FUSIMChatService.m
View file @
ca60edda
...
...
@@ -446,21 +446,21 @@
// }
}
-
(
void
)
fus_
u
pdateTalkListToLastMessage
-
(
void
)
fus_
delayU
pdateTalkListToLastMessage
{
FUSLogInfo
(
@"pierce:fus_updateTalkListToLastMessage"
);
if
([
NSThread
isMainThread
])
{
[
NSObject
cancelPreviousPerformRequestsWithTarget
:
self
selector
:
@selector
(
fus_
delayUpdateTalkListToLastMessage
)
object
:
nil
];
[
self
performSelector
:
@selector
(
fus_
delayUpdateTalkListToLastMessage
)
withObject
:
nil
afterDelay
:
0
.
5
];
[
NSObject
cancelPreviousPerformRequestsWithTarget
:
self
selector
:
@selector
(
fus_
updateTalkListToLastMessageHandler
)
object
:
nil
];
[
self
performSelector
:
@selector
(
fus_
updateTalkListToLastMessageHandler
)
withObject
:
nil
afterDelay
:
0
.
5
];
}
else
{
dispatch_async
(
dispatch_get_main_queue
(),
^
{
[
NSObject
cancelPreviousPerformRequestsWithTarget
:
self
selector
:
@selector
(
fus_
delayUpdateTalkListToLastMessage
)
object
:
nil
];
[
self
performSelector
:
@selector
(
fus_
delayUpdateTalkListToLastMessage
)
withObject
:
nil
afterDelay
:
0
.
5
];
[
NSObject
cancelPreviousPerformRequestsWithTarget
:
self
selector
:
@selector
(
fus_
updateTalkListToLastMessageHandler
)
object
:
nil
];
[
self
performSelector
:
@selector
(
fus_
updateTalkListToLastMessageHandler
)
withObject
:
nil
afterDelay
:
0
.
5
];
});
}
}
-
(
void
)
fus_
delayUpdateTalkListToLastMessage
-
(
void
)
fus_
updateTalkListToLastMessageHandler
{
NSArray
*
latestTalkList
=
[[
EMClient
sharedClient
].
chatManager
getAllConversations
];
[
self
fus_transformSdkListToTalkList
:
latestTalkList
needCombinationOldTalkList
:
YES
];
...
...
@@ -807,7 +807,7 @@
[
FUSLoadingView
fus_dismissProgressView
];
if
(
!
_chatDelegate
)
{
// [self fus_
u
pdateTalkListToLastMessage];
// [self fus_
delayU
pdateTalkListToLastMessage];
// [[NSNotificationCenter defaultCenter] postNotificationName:ZhaiXin_Refresh object:nil];
}
...
...
@@ -1675,7 +1675,7 @@
}
}
else
{
// 界面外更新未读消息
[
self
fus_
u
pdateTalkListToLastMessage
];
[
self
fus_
delayU
pdateTalkListToLastMessage
];
if
(
sysType
==
FUSSystemNoticeTypeReceivePrivateVoiceLive
||
sysType
==
FUSSystemNoticeTypeReceivePrivateVideoLive
)
{
[
FUSSoundAndVibrateHelper
fus_playSystemSoundAndVibrate
];
}
...
...
@@ -1758,7 +1758,7 @@
}
}
else
{
// 界面外
[
self
fus_
u
pdateTalkListToLastMessage
];
[
self
fus_
delayU
pdateTalkListToLastMessage
];
[
FUSSoundAndVibrateHelper
fus_playSystemSoundAndVibrate
];
}
}
...
...
@@ -2378,7 +2378,7 @@
if
(
!
self
.
chatDelegate
)
{
// 发通知刷新寨信,修改发送状态
[
self
fus_
u
pdateTalkListToLastMessage
];
[
self
fus_
delayU
pdateTalkListToLastMessage
];
}
if
(
!
error
)
{
...
...
@@ -3597,7 +3597,7 @@
[
_chatDelegate
fus_triggerMessagesReceiveEvent
:
newMessageList
];
}
}
else
{
// 界面外
[
self
fus_
u
pdateTalkListToLastMessage
];
[
self
fus_
delayU
pdateTalkListToLastMessage
];
[
FUSSoundAndVibrateHelper
fus_playSystemSoundAndVibrate
];
}
...
...
FuSiLive/Classes/InstantMessaging/Other/FUSIMUserService.m
View file @
ca60edda
...
...
@@ -175,7 +175,7 @@
}
// 更新到最新的会话
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
});
...
...
@@ -209,7 +209,7 @@
dispatch_async
(
dispatch_get_main_queue
(),
^
{
// 更新到最新的离线会话
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
});
}
}];
...
...
FuSiLive/Classes/NewLive/Main/View/FunctionView/MessageBox/FUSLiveMessageBoxView.m
View file @
ca60edda
...
...
@@ -206,7 +206,7 @@ static dispatch_queue_t get_live_message_box_parse_queue(){
// 发通知刷新寨信
if
(
!
[
FUSIMChatService
shareInstance
].
chatDelegate
)
{
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
}
[
FUSDialogView
fus_showDialog
:[
NSString
fus_localString
:
@"所有私信已忽略"
]];
...
...
@@ -447,7 +447,7 @@ static dispatch_queue_t get_live_message_box_parse_queue(){
[[
FUSIMChatService
shareInstance
]
fus_deleteAllMessageWithTalkID
:
model
.
uid
];
}
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
[
weakSelf
.
tableView
beginUpdates
];
[
weakSelf
.
dataSource
removeObjectAtIndex
:
indexPath
.
row
];
...
...
FuSiLive/Classes/NewsFeed/Controller/FUSNewsFeedListViewController.m
View file @
ca60edda
...
...
@@ -47,7 +47,7 @@
[
self
configNavigation
];
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
@
(
NO
)
forKey
:
HAS_NEWS_FEED_NEW_PUBLISHED
([
FUSCacheDataShare
shareStore
].
userDetailInfo
.
uid
)];
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
}
-
(
void
)
viewWillAppear
:
(
BOOL
)
animated
{
...
...
@@ -299,7 +299,7 @@
NSInteger
unhandleCount
=
[[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
NEWS_FEED_NEW_FOCUS_PUBLISH_COUNT
([
FUSCacheDataShare
shareStore
].
userDetailInfo
.
uid
)]
integerValue
];
if
(
unhandleCount
>
0
)
{
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
@"0"
forKey
:
NEWS_FEED_NEW_FOCUS_PUBLISH_COUNT
([
FUSCacheDataShare
shareStore
].
userDetailInfo
.
uid
)];
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
}
}
if
(
FUSRTL
.
isRTL
)
{
...
...
FuSiLive/Classes/NewsFeed/Controller/FUSNewsFeedMessageViewController.m
View file @
ca60edda
...
...
@@ -38,7 +38,7 @@
[
self
fus_loadData
];
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
@
(
0
)
forKey
:
NEWS_FEED_UNHANDLE_COUNT
([
FUSCacheDataShare
shareStore
].
userDetailInfo
.
uid
)];
[[
NSNotificationCenter
defaultCenter
]
postNotificationName
:
FUS_NEWS_FEED_DID_RECEIVE_MESSAGE_NOTIFICATION
object
:
nil
];
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
dispatch_after
(
dispatch_time
(
DISPATCH_TIME_NOW
,
(
int64_t
)(
0
.
5
*
NSEC_PER_SEC
)),
dispatch_get_main_queue
(),
^
{
[
FUSNewsFeedNoticeShownHelper
fus_showEnterFeedMessagePageAlertIfNeeded
];
...
...
FuSiLive/Classes/NewsFeed/Other/FUSNewsFeedNoticeShownHelper.m
View file @
ca60edda
...
...
@@ -77,7 +77,7 @@
[
FUSZhaiXinDBOperate
fus_writeMultiDataToZhaiXinInfosTableWithModelArray
:@[
model
]
keyArray
:@[
@"typeId"
]];
// 通知刷新寨信界面
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
}
}
failure
:
^
(
NSString
*
_Nonnull
msg
,
int
code
)
{
...
...
FuSiLive/Classes/NewsFeed/RichEditor/Controller/FUSPublishNewsFeedViewController.m
View file @
ca60edda
...
...
@@ -258,6 +258,7 @@ FUSImagePickerViewControllerDelegate>
_switchAddress
=
[[
UISwitch
alloc
]
initWithFrame
:
CGRectMake
(
CGRectGetMaxX
(
_addressLb2
.
frame
),
0
,
40
,
view2
.
height
)];
_switchAddress
.
centerY
=
view2
.
height
/
2
.
0
;
_switchAddress
.
tag
=
1
;
_switchAddress
.
onTintColor
=
[
UIColor
fus_themeColor
];
[
_switchAddress
addTarget
:
self
action
:
@selector
(
fus_switchEvent
:
)
forControlEvents
:
UIControlEventTouchUpInside
];
[
view2
addSubview
:
_switchAddress
];
...
...
@@ -269,6 +270,7 @@ FUSImagePickerViewControllerDelegate>
_switchSync
=
[[
UISwitch
alloc
]
initWithFrame
:
CGRectMake
(
CGRectGetMaxX
(
lb3
.
frame
),
0
,
40
,
view3
.
height
)];
_switchSync
.
centerY
=
view3
.
height
/
2
.
0
;
_switchSync
.
onTintColor
=
[
UIColor
fus_themeColor
];
[
view3
addSubview
:
_switchSync
];
_switchSync
.
tag
=
2
;
[
_switchSync
addTarget
:
self
action
:
@selector
(
fus_switchEvent
:
)
forControlEvents
:
UIControlEventTouchUpInside
];
...
...
FuSiLive/Classes/NewsFeed/RichEditor/TZImagePickerController/TZPhotoPickerController.m
View file @
ca60edda
...
...
@@ -143,7 +143,7 @@ static CGFloat collectionViewMargin = 0;
_selectedStyleBtn
=
[
FUSStyleButton
buttonWithType
:
UIButtonTypeCustom
];
_selectedStyleBtn
.
frame
=
CGRectMake
(
0
,
0
,
60
,
30
);
[
_selectedStyleBtn
setTitle
:[
NSString
fus_localString
:
@"完成"
]
forState
:
UIControlStateNormal
];
_selectedStyleBtn
.
style
=
FUSButtonStyleBlue
Border
;
_selectedStyleBtn
.
style
=
FUSButtonStyleBlue
;
_selectedStyleBtn
.
titleLabel
.
font
=
[
UIFont
systemFontOfSize
:
13
];
[
_selectedStyleBtn
addTarget
:
self
action
:
@selector
(
doneButtonClick
)
forControlEvents
:
UIControlEventTouchUpInside
];
_selectedStyleBtn
.
enabled
=
NO
;
...
...
FuSiLive/Classes/SingleChat/Main/Controller/FUSSingleChatViewController.m
View file @
ca60edda
...
...
@@ -85,7 +85,7 @@
// 更新未读
[
FUSSingleChatDBOperate
fus_updateReadStatusToSingleChatTableWithFid
:
self
.
uid
];
[
FUSZhaiXinDBOperate
fus_updateUnreadToZhaiXinInfosTableWithTypeId
:[
NSString
stringWithFormat
:
@"%@%@"
,
SINGLE_CHAT
,
self
.
uid
]
unread
:
0
];
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
// 注册通知
[
self
registerNotification
];
...
...
FuSiLive/Classes/ZhaiXin/Main/Controller/FUSSingleLiveRecordViewController.m
View file @
ca60edda
...
...
@@ -125,7 +125,7 @@
{
NSString
*
uid
=
[[[
FUSCacheDataShare
shareStore
]
userDetailInfo
]
uid
];
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
@"0"
forKey
:
FUSBO_SINGLE_LIVE_RECORD_COUNT
(
uid
)];
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
}
-
(
void
)
loadSingleLiveRecordList
...
...
FuSiLive/Classes/ZhaiXin/Main/View/FUSZhaiXinTableView.m
View file @
ca60edda
...
...
@@ -169,7 +169,7 @@
[
self
.
viewController
.
navigationController
pushViewController
:
newsfeedVc
animated
:
YES
];
[
FUSZhaiXinDBOperate
fus_updateUnreadToZhaiXinInfosTableWithTypeId
:
NEWS_FEED_MESSAGE
unread
:
0
];
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
}
}
...
...
@@ -245,7 +245,7 @@
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
@"0"
forKey
:
FUSBO_SINGLE_LIVE_RECORD_COUNT
(
uid
)];
}
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
}
-
(
void
)
zhaiXinRefresh
...
...
FuSiLive/Classes/ZhaiXin/Official/Controller/FUSOfficialViewController.m
View file @
ca60edda
...
...
@@ -198,7 +198,7 @@
break
;
}
[
FUSZhaiXinDBOperate
fus_updateUnreadToZhaiXinInfosTableWithTypeId
:
typeId
unread
:
0
];
[[
FUSIMChatService
shareInstance
]
fus_
u
pdateTalkListToLastMessage
];
[[
FUSIMChatService
shareInstance
]
fus_
delayU
pdateTalkListToLastMessage
];
}
-
(
void
)
onClickNavBackBtn
...
...
FuSiLive/Classes/Zone/Controller/FireFlyMyZone/FUSZoneTaskCenterViewController.m
View file @
ca60edda
...
...
@@ -118,6 +118,7 @@ static NSString *const reuseIdentifyCell = @"cell";
_segmentView
.
segmentDelegate
=
self
;
_segmentView
.
isEqualSpace
=
YES
;
_segmentView
.
itemFont
=
[
UIFont
fus_themeFont
:
15
];
_segmentView
.
itemSelectedFont
=
[
UIFont
fus_themeBoldFont
:
15
];
_segmentView
.
backgroundColor
=
[
UIColor
clearColor
];
[
_segmentView
fus_setItemTitleColor
:[
UIColor
fus_textColorRich
]
forState
:
UIControlStateSelected
];
[
_segmentView
fus_setItemTitleColor
:[
UIColor
fus_textColorMedium
]
forState
:
UIControlStateNormal
];
...
...
FuSiLive/Classes/Zone/View/TaskCenter/FUSTaskCenterListTableViewCell.m
View file @
ca60edda
...
...
@@ -35,7 +35,7 @@
// SaveBtn.titleLabel.adjustsFontSizeToFitWidth = YES;
self
.
operationBtn
.
titleLabel
.
adjustsFontSizeToFitWidth
=
YES
;
self
.
taskNameLabel
.
textColor
=
[
UIColor
fus_textColorRich
];
self
.
taskNameLabel
.
font
=
[
UIFont
fus_themeFont
:
15
];
self
.
taskNameLabel
.
font
=
[
UIFont
fus_theme
Bold
Font
:
15
];
}
...
...
FuSiLive/Classes/Zone/View/TaskCenter/FUSTaskCenterProcessTableViewCell.m
View file @
ca60edda
...
...
@@ -49,6 +49,7 @@
[
super
awakeFromNib
];
// self.operationBtn.titleLabel.adjustsFontSizeToFitWidth = YES;
self
.
taskTitleLabel
.
textColor
=
[
UIColor
fus_textColorRich
];
self
.
taskTitleLabel
.
font
=
[
UIFont
fus_themeBoldFont
:
15
];
}
// 重写setter方法赋值
...
...
FuSiLive/FUSAPPConfigs/FUSFuSiWebViewEventHelper.m
View file @
ca60edda
...
...
@@ -975,8 +975,11 @@ static NSString *FUSWebRightBtnExtraInfoKey = @"FUSWebRightBtnExtraInfoKey";
if
([
dataDict
[
@"isBox"
]
boolValue
])
{
return
;
}
BOOL
hideTitle
=
[
dataDict
[
@"hideTitle"
]
boolValue
];
FUSWKWebViewController
*
wkVc
=
[[
FUSWKWebViewController
alloc
]
init
];
wkVc
.
needHideWebTitleBar
=
hideTitle
;
wkVc
.
webUrlString
=
openURLString
;
wkVc
.
shouldShowShareBtn
=
shouldShare
;
if
([
self
.
wkVC
isKindOfClass
:[
FUSWKWebViewController
class
]])
{
...
...
FuSiLive/Resources/LocalizationString/Fusi_Arbic.strings
View file @
ca60edda
...
...
@@ -326,7 +326,7 @@
"宝石储值" = "شحن GEMs";
"对方的信用指数低于%.1f分的基础,可能有一定的诚信风险,确认继续通话吗?" = "رصيد الجانب الآخر أقل من %
1$s، مما قد ينطوي على
مخاطر ائتمانية محتملة، هل تريد الاستمرار في الاتصال؟";
"对方的信用指数低于%.1f分的基础,可能有一定的诚信风险,确认继续通话吗?" = "رصيد الجانب الآخر أقل من %
.1f، مما قد يكون له
مخاطر ائتمانية محتملة، هل تريد الاستمرار في الاتصال؟";
"录制时长最短3秒。" = "Record time are 3 seconds at least";
...
...
FuSiLive/Resources/LocalizationString/Fusi_Chinese.strings
View file @
ca60edda
...
...
@@ -332,7 +332,7 @@
"宝石储值" = "寶石儲值";
"对方的信用指数低于%.1f分的基础,可能有一定的诚信风险,确认继续通话吗?" = "對方的信用指數低於%
1$s
分,可能存在一定的信用風險,確認繼續通話嗎?";
"对方的信用指数低于%.1f分的基础,可能有一定的诚信风险,确认继续通话吗?" = "對方的信用指數低於%
.1f
分,可能存在一定的信用風險,確認繼續通話嗎?";
"录制时长最短3秒。" = "錄製時長最短3秒";
...
...
FuSiLive/Resources/LocalizationString/Fusi_Chinese_Traditional.strings
View file @
ca60edda
...
...
@@ -332,7 +332,7 @@
"宝石储值" = "寶石儲值";
"对方的信用指数低于%.1f分的基础,可能有一定的诚信风险,确认继续通话吗?" = "對方的信用指數低於%
1$s
分,可能存在一定的信用風險,確認繼續通話嗎?";
"对方的信用指数低于%.1f分的基础,可能有一定的诚信风险,确认继续通话吗?" = "對方的信用指數低於%
.1f
分,可能存在一定的信用風險,確認繼續通話嗎?";
"录制时长最短3秒。" = "錄製時長最短3秒";
...
...
FuSiLive/Resources/LocalizationString/Fusi_English.strings
View file @
ca60edda
...
...
@@ -332,7 +332,7 @@
"宝石储值" = "Recharge GEMs";
"对方的信用指数低于%.1f分的基础,可能有一定的诚信风险,确认继续通话吗?" = "The credit of the other side is lower than %
1$s
,which may have potential credit risk ,continue to call?";
"对方的信用指数低于%.1f分的基础,可能有一定的诚信风险,确认继续通话吗?" = "The credit of the other side is lower than %
.1f
,which may have potential credit risk ,continue to call?";
"录制时长最短3秒。" = "Record time are 3 seconds at least";
...
...
FuSiLive/Resources/LocalizationString/Fusi_Indonesian.strings
View file @
ca60edda
...
...
@@ -328,7 +328,7 @@
"宝石储值" = "Tambahkan Saldo GEMs";
"对方的信用指数低于%.1f分的基础,可能有一定的诚信风险,确认继续通话吗?" = "Kredit pihak lain lebih rendah dari %
1$s
, yang mungkin memiliki potensi risiko kredit, terus menelepon?";
"对方的信用指数低于%.1f分的基础,可能有一定的诚信风险,确认继续通话吗?" = "Kredit pihak lain lebih rendah dari %
.1f
, yang mungkin memiliki potensi risiko kredit, terus menelepon?";
"录制时长最短3秒。" = "Record time are 3 seconds at least";
...
...
FuSiLive/Resources/LocalizationString/Fusi_Japanese.strings
View file @
ca60edda
...
...
@@ -330,7 +330,7 @@
"宝石储值" = "GEMsをトップアップ";
"对方的信用指数低于%.1f分的基础,可能有一定的诚信风险,确认继续通话吗?" = "相手側の信用度は %
1$s より低いため、
信用リスクがある可能性があります。引き続き電話をかけますか?";
"对方的信用指数低于%.1f分的基础,可能有一定的诚信风险,确认继续通话吗?" = "相手側の信用度は %
.1f より低いため、潜在的な
信用リスクがある可能性があります。引き続き電話をかけますか?";
"录制时长最短3秒。" = "Record time are 3 seconds at least";
...
...
FuSiLive/Resources/LocalizationString/Fusi_Thai.strings
View file @
ca60edda
...
...
@@ -328,7 +328,7 @@
"宝石储值" = "เติมเงิน GEMs";
"对方的信用指数低于%.1f分的基础,可能有一定的诚信风险,确认继续通话吗?" = "เครดิตของอีกฝ
ั่งต่ำกว่า %1$s
ซึ่งอาจมีความเสี่ยงด้านเครดิต เรียกต่อไปหรือไม่?";
"对方的信用指数低于%.1f分的基础,可能有一定的诚信风险,确认继续通话吗?" = "เครดิตของอีกฝ
่ายต่ำกว่า %.1f
ซึ่งอาจมีความเสี่ยงด้านเครดิต เรียกต่อไปหรือไม่?";
"录制时长最短3秒。" = "Record time are 3 seconds at least";
...
...
FuSiLive/Resources/LocalizationString/Fusi_vietnamese.strings
View file @
ca60edda
...
...
@@ -330,7 +330,7 @@
"宝石储值" = "Nạp GEMs";
"对方的信用指数低于%.1f分的基础,可能有一定的诚信风险,确认继续通话吗?" = "Tín dụng của bên kia thấp hơn %
1$s
, có thể tiềm ẩn rủi ro tín dụng, tiếp tục gọi?";
"对方的信用指数低于%.1f分的基础,可能有一定的诚信风险,确认继续通话吗?" = "Tín dụng của bên kia thấp hơn %
.1f
, có thể tiềm ẩn rủi ro tín dụng, tiếp tục gọi?";
"录制时长最短3秒。" = "Record time are 3 seconds at least";
...
...
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