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
4f67aa18
authored
Jul 15, 2024
by
ludi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决一系列bug
parent
fde78eb3
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
90 additions
and
55 deletions
DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Views/WebView/FUSWKWebViewController.m
FuSiLive/Classes/Foundation/DataStores/FUSAccountStore.m
FuSiLive/Classes/Foundation/Models/FUSAccountModel.h
FuSiLive/Classes/Foundation/Models/FUSAccountModel.m
FuSiLive/Classes/FusiVersionFeature/Others/FUSControllerPushHelper.m
FuSiLive/Classes/FusiVersionFeature/ViewController/HomePage/View/FUSHomeView.m
FuSiLive/Classes/FusiVersionFeature/ViewController/HomePage/View/FUSMyView.m
FuSiLive/Classes/Login/View/FUSBoundAgentInfoView.m
FuSiLive/Classes/Setting/Controller/FUSSettingViewController.m
FuSiLive/Classes/Zone/View/FireFlyView/View/Cell/MyZoneCell/FUSMyZoneVideoCreditCell.m
FuSiLive/Classes/Zone/View/FireFlyView/View/FUSMyZoneTableView.m
FuSiLive/Resources/LocalizationString/Fusi_Chinese.strings
DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Views/WebView/FUSWKWebViewController.m
View file @
4f67aa18
...
@@ -25,6 +25,8 @@
...
@@ -25,6 +25,8 @@
// 在无标题栏情况下的关闭按钮
// 在无标题栏情况下的关闭按钮
@property
(
nonatomic
,
strong
)
UIButton
*
closeBtn
;
@property
(
nonatomic
,
strong
)
UIButton
*
closeBtn
;
/// 储存关闭按钮是否要隐藏逻辑
@property
(
nonatomic
,
assign
)
BOOL
isCloseBtnHidden
;
// 客服按钮
// 客服按钮
@property
(
nonatomic
,
strong
)
UIButton
*
serviceBtn
;
@property
(
nonatomic
,
strong
)
UIButton
*
serviceBtn
;
...
@@ -44,6 +46,8 @@
...
@@ -44,6 +46,8 @@
// 默認都帶上用戶基礎信息
// 默認都帶上用戶基礎信息
self
.
shouldIncludeIdentifyInfo
=
YES
;
self
.
shouldIncludeIdentifyInfo
=
YES
;
self
.
clearCache
=
YES
;
self
.
clearCache
=
YES
;
self
.
isCloseBtnHidden
=
NO
;
}
}
return
self
;
return
self
;
}
}
...
@@ -92,6 +96,7 @@
...
@@ -92,6 +96,7 @@
-
(
void
)
fus_hideCloseBtn
{
-
(
void
)
fus_hideCloseBtn
{
self
.
closeBtn
.
hidden
=
YES
;
self
.
closeBtn
.
hidden
=
YES
;
self
.
isCloseBtnHidden
=
YES
;
}
}
#pragma mark - 初始化参数
#pragma mark - 初始化参数
...
@@ -204,6 +209,8 @@
...
@@ -204,6 +209,8 @@
[
self
.
closeBtn
setImage
:
UIImage
.
fus_backImage
forState
:
UIControlStateNormal
];
[
self
.
closeBtn
setImage
:
UIImage
.
fus_backImage
forState
:
UIControlStateNormal
];
[
self
.
closeBtn
addTarget
:
self
action
:
@selector
(
navLeftCancelBtnClick
)
forControlEvents
:
UIControlEventTouchUpInside
];
[
self
.
closeBtn
addTarget
:
self
action
:
@selector
(
navLeftCancelBtnClick
)
forControlEvents
:
UIControlEventTouchUpInside
];
[
self
.
view
addSubview
:
self
.
closeBtn
];
[
self
.
view
addSubview
:
self
.
closeBtn
];
self
.
closeBtn
.
hidden
=
self
.
isCloseBtnHidden
;
}
}
}
else
{
}
else
{
...
...
FuSiLive/Classes/Foundation/DataStores/FUSAccountStore.m
View file @
4f67aa18
...
@@ -149,9 +149,9 @@
...
@@ -149,9 +149,9 @@
// 返回最后登录的账户
// 返回最后登录的账户
-
(
FUSAccountModel
*
)
lastAccount
-
(
FUSAccountModel
*
)
lastAccount
{
{
if
(
!
[
NSArray
isNull
:
self
.
accountArray
])
{
//
if(![NSArray isNull:self.accountArray]) {
return
[
FUSAccountModel
fus_modelWithDict
:[
self
.
accountArray
firstObject
]];
return
[
FUSAccountModel
fus_modelWithDict
:[
self
.
accountArray
firstObject
]];
}
//
}
return
nil
;
return
nil
;
}
}
...
...
FuSiLive/Classes/Foundation/Models/FUSAccountModel.h
View file @
4f67aa18
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
@property
(
nonatomic
,
copy
)
NSString
*
countryCode
;
// 区码
@property
(
nonatomic
,
copy
)
NSString
*
countryCode
;
// 区码
@property
(
nonatomic
,
copy
)
NSString
*
countryName
;
// 国家英文名称
@property
(
nonatomic
,
copy
)
NSString
*
countryName
;
// 国家英文名称
@property
(
nonatomic
,
copy
)
NSString
*
password
;
// 登录密码
@property
(
nonatomic
,
copy
)
NSString
*
password
;
// 登录密码
@property
(
nonatomic
,
retain
)
NSDate
*
lastTime
;
// 最后登录时间
@property
(
nonatomic
,
copy
)
NSString
*
lastTime
;
// 最后登录时间
/**
/**
...
...
FuSiLive/Classes/Foundation/Models/FUSAccountModel.m
View file @
4f67aa18
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
_account
=
account
;
_account
=
account
;
_password
=
password
;
_password
=
password
;
_lastTime
=
lastTime
;
_lastTime
=
[
NSString
stringWithFormat
:
@"%f"
,[
lastTime
timeIntervalSince1970
]]
;
_countryCode
=
countryCode
;
_countryCode
=
countryCode
;
_countryName
=
countryName
;
_countryName
=
countryName
;
_yaboid
=
yaboId
;
_yaboid
=
yaboId
;
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
if
(
self
)
{
if
(
self
)
{
[
self
setAccount
:
account
];
[
self
setAccount
:
account
];
[
self
setPassword
:
password
];
[
self
setPassword
:
password
];
[
self
setLastTime
:
lastTime
];
[
self
setLastTime
:
[
NSString
stringWithFormat
:
@"%f"
,[
lastTime
timeIntervalSince1970
]]
];
}
}
return
self
;
return
self
;
}
}
...
...
FuSiLive/Classes/FusiVersionFeature/Others/FUSControllerPushHelper.m
View file @
4f67aa18
...
@@ -7,12 +7,16 @@
...
@@ -7,12 +7,16 @@
#import "FUSControllerPushHelper.h"
#import "FUSControllerPushHelper.h"
#import "FUSSingleChatViewController.h"
#import "FUSSingleChatViewController.h"
#import "FUSSingleChatDBOperate.h"
#import "FUSZhaiXinDBOperate.h"
#import "FUSIMChatService.h"
@implementation
FUSControllerPushHelper
@implementation
FUSControllerPushHelper
+
(
UIViewController
*
)
fus_getBuyVIPController
{
+
(
UIViewController
*
)
fus_getBuyVIPController
{
FUSWKWebViewController
*
wkwVC
=
[[
FUSWKWebViewController
alloc
]
init
];
FUSWKWebViewController
*
wkwVC
=
[[
FUSWKWebViewController
alloc
]
init
];
// wkwVC.shouldShowShareBtn = NO;
// wkwVC.shouldShowShareBtn = NO;
// wkwVC.navigationController.navigationBar.barTintColor = [UIColor redColor];
wkwVC
.
needHideWebTitleBar
=
YES
;
wkwVC
.
needHideWebTitleBar
=
YES
;
wkwVC
.
webUrlString
=
[
FUSCacheDataShare
shareStore
].
settingInitDataModel
.
fusiConfig
.
vipOpenAddress
;
wkwVC
.
webUrlString
=
[
FUSCacheDataShare
shareStore
].
settingInitDataModel
.
fusiConfig
.
vipOpenAddress
;
return
wkwVC
;
return
wkwVC
;
...
@@ -43,11 +47,14 @@
...
@@ -43,11 +47,14 @@
// 普通调起客服流程
// 普通调起客服流程
NSString
*
serviceUID
=
uid
?
uid
:
@
(
SERVEICE_UID
).
stringValue
;
if
([
FUSCacheDataShare
shareStore
].
settingInitDataModel
.
kfConfig
.
model
==
1
)
{
if
([
FUSCacheDataShare
shareStore
].
settingInitDataModel
.
kfConfig
.
model
==
1
)
{
if
(
FUSConfig
.
sharedInstanced
.
devConfigs
.
appStatus
)
{
if
(
FUSConfig
.
sharedInstanced
.
devConfigs
.
appStatus
)
{
FUSSingleChatViewController
*
serviceChat
=
[[
FUSSingleChatViewController
alloc
]
initWithUID
:
uid
?
uid
:
@
(
SERVEICE_UID
).
stringValue
face
:
facePath
nikename
:
nikename
];
FUSSingleChatViewController
*
serviceChat
=
[[
FUSSingleChatViewController
alloc
]
initWithUID
:
serviceUID
face
:
facePath
nikename
:
nikename
];
serviceChat
.
isServiceAccount
=
YES
;
serviceChat
.
isServiceAccount
=
YES
;
if
(
!
[
NSString
isNull
:
welcomeStr
])
{
if
(
!
[
NSString
isNull
:
welcomeStr
])
{
serviceChat
.
welcomeStr
=
welcomeStr
;
serviceChat
.
welcomeStr
=
welcomeStr
;
...
@@ -59,6 +66,11 @@
...
@@ -59,6 +66,11 @@
NSString
*
webURL
=
FUSLocalizationHelper
.
isArbicLanguage
?
URL_WEB_ARBIC_HELP
:
URL_WEB_HELP
;
NSString
*
webURL
=
FUSLocalizationHelper
.
isArbicLanguage
?
URL_WEB_ARBIC_HELP
:
URL_WEB_HELP
;
webVC
.
webUrlString
=
[
NSString
stringWithFormat
:
@"%@?lang=%@"
,
webURL
,
FUSLocalizationHelper
.
fus_currentLanguage
.
languageID
];
webVC
.
webUrlString
=
[
NSString
stringWithFormat
:
@"%@?lang=%@"
,
webURL
,
FUSLocalizationHelper
.
fus_currentLanguage
.
languageID
];
vc
=
webVC
;
vc
=
webVC
;
// 更新未读
[
FUSSingleChatDBOperate
fus_updateReadStatusToSingleChatTableWithFid
:
serviceUID
];
[
FUSZhaiXinDBOperate
fus_updateUnreadToZhaiXinInfosTableWithTypeId
:[
NSString
stringWithFormat
:
@"%@%@"
,
SINGLE_CHAT
,
serviceUID
]
unread
:
0
];
[[
FUSIMChatService
shareInstance
]
fus_updateTalkListToLastMessage
];
}
}
}
else
if
([
FUSCacheDataShare
shareStore
].
settingInitDataModel
.
kfConfig
.
model
==
2
)
{
}
else
if
([
FUSCacheDataShare
shareStore
].
settingInitDataModel
.
kfConfig
.
model
==
2
)
{
...
@@ -66,6 +78,11 @@
...
@@ -66,6 +78,11 @@
NSString
*
webURL
=
[
FUSCacheDataShare
shareStore
].
settingInitDataModel
.
kfConfig
.
url
;
NSString
*
webURL
=
[
FUSCacheDataShare
shareStore
].
settingInitDataModel
.
kfConfig
.
url
;
webVC
.
webUrlString
=
[
NSString
stringWithFormat
:
@"%@?lang=%@"
,
webURL
,
FUSLocalizationHelper
.
fus_currentLanguage
.
languageID
];
webVC
.
webUrlString
=
[
NSString
stringWithFormat
:
@"%@?lang=%@"
,
webURL
,
FUSLocalizationHelper
.
fus_currentLanguage
.
languageID
];
vc
=
webVC
;
vc
=
webVC
;
// 更新未读
[
FUSSingleChatDBOperate
fus_updateReadStatusToSingleChatTableWithFid
:
serviceUID
];
[
FUSZhaiXinDBOperate
fus_updateUnreadToZhaiXinInfosTableWithTypeId
:[
NSString
stringWithFormat
:
@"%@%@"
,
SINGLE_CHAT
,
serviceUID
]
unread
:
0
];
[[
FUSIMChatService
shareInstance
]
fus_updateTalkListToLastMessage
];
}
}
NSArray
*
viewControllers
=
self
.
viewControllers
;
NSArray
*
viewControllers
=
self
.
viewControllers
;
UIViewController
*
viewVC
=
[
viewControllers
lastObject
];
UIViewController
*
viewVC
=
[
viewControllers
lastObject
];
...
...
FuSiLive/Classes/FusiVersionFeature/ViewController/HomePage/View/FUSHomeView.m
View file @
4f67aa18
...
@@ -295,13 +295,8 @@
...
@@ -295,13 +295,8 @@
break
;
break
;
case
FUSHomeNaviViewClickTypeRank
:{
case
FUSHomeNaviViewClickTypeRank
:{
FUSWKWebViewController
*
wkwVC
=
[[
FUSWKWebViewController
alloc
]
init
];
FUSWKWebViewController
*
wkwVC
=
[[
FUSWKWebViewController
alloc
]
init
];
// wkwVC.shouldShowShareBtn = NO;
// wkwVC.needShowReload = YES;
// wkwVC.from = FUSFromInvitShare;
// wkwVC.shouldIncludeIdentifyInfo = YES;
wkwVC
.
needHideWebTitleBar
=
YES
;
wkwVC
.
needHideWebTitleBar
=
YES
;
//TODO: 暂时写死榜单的,等阿甘回来再说,URL_WEB_HOME_RANK这个定义里有地址
wkwVC
.
webUrlString
=
[
FUSCacheDataShare
shareStore
].
settingInitDataModel
.
fusiConfig
.
rankAddress
;
wkwVC
.
webUrlString
=
@"https://ceshi.yabolive.tv/fusi/allRank/index.html"
;
[
self
.
parentController
.
navigationController
pushViewController
:
wkwVC
animated
:
YES
];
[
self
.
parentController
.
navigationController
pushViewController
:
wkwVC
animated
:
YES
];
}
}
break
;
break
;
...
...
FuSiLive/Classes/FusiVersionFeature/ViewController/HomePage/View/FUSMyView.m
View file @
4f67aa18
...
@@ -295,10 +295,10 @@ typedef NS_ENUM(NSInteger, FUSMySettingItemType){
...
@@ -295,10 +295,10 @@ typedef NS_ENUM(NSInteger, FUSMySettingItemType){
case
FUSMySettingItemTypeSetIntitationCode
:{
case
FUSMySettingItemTypeSetIntitationCode
:{
BOOL
isClick
=
[[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
ZONE_BOUND_AGENT_RED_CLICK
]
boolValue
];
BOOL
isClick
=
[[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
ZONE_BOUND_AGENT_RED_CLICK
]
boolValue
];
itemModel
.
isShowRedCirclePoint
=
!
isClick
;
itemModel
.
isShowRedCirclePoint
=
!
isClick
;
//
if (self.leftTime > 0) {
if
(
self
.
leftTime
>
0
)
{
//
itemModel.rightShowText = [self changeTimeFormatteWithLeftTime:[NSString stringWithFormat:@"%f",_leftTime]];
itemModel
.
rightShowText
=
[
self
changeTimeFormatteWithLeftTime
:[
NSString
stringWithFormat
:
@"%f"
,
_leftTime
]];
//
}
}
itemModel
.
rightShowText
=
@""
;
//
itemModel.rightShowText = @"";
}
}
break
;
break
;
case
FUSMySettingItemTypeIntitationReward
:{
case
FUSMySettingItemTypeIntitationReward
:{
...
@@ -404,7 +404,8 @@ typedef NS_ENUM(NSInteger, FUSMySettingItemType){
...
@@ -404,7 +404,8 @@ typedef NS_ENUM(NSInteger, FUSMySettingItemType){
//时间间隔
//时间间隔
NSInteger
intevalTime
=
[
nowDate
timeIntervalSinceReferenceDate
]
-
[
lastDate
timeIntervalSinceReferenceDate
];
NSInteger
intevalTime
=
[
nowDate
timeIntervalSinceReferenceDate
]
-
[
lastDate
timeIntervalSinceReferenceDate
];
// 计算剩余时间
// 计算剩余时间
CGFloat
leftTime
=
[
infoDic
[
@"bindagenttime"
]
floatValue
]
*
60
-
intevalTime
/
10
;
// CGFloat leftTime = [infoDic[@"bindagenttime"] floatValue] * 60 - intevalTime / 10;
CGFloat
leftTime
=
[
infoDic
[
@"bindagenttime"
]
floatValue
]
*
60
-
intevalTime
;
// 记录剩余时间
// 记录剩余时间
_leftTime
=
leftTime
;
_leftTime
=
leftTime
;
...
@@ -415,9 +416,9 @@ typedef NS_ENUM(NSInteger, FUSMySettingItemType){
...
@@ -415,9 +416,9 @@ typedef NS_ENUM(NSInteger, FUSMySettingItemType){
#pragma mark --- notification
#pragma mark --- notification
-
(
void
)
receiveBoundAgentResult
:
(
NSNotification
*
)
notifi
{
-
(
void
)
receiveBoundAgentResult
:
(
NSNotification
*
)
notifi
{
if
(
!
FUSConfig
.
sharedInstanced
.
devConfigs
.
appStatus
)
{
//
if (!FUSConfig.sharedInstanced.devConfigs.appStatus) {
return
;
//
return;
}
//
}
if
(
self
.
fus_needShowInviteTaskDewItems
&&
self
.
inputInviteCodeItem
!=
nil
)
{
if
(
self
.
fus_needShowInviteTaskDewItems
&&
self
.
inputInviteCodeItem
!=
nil
)
{
for
(
FUSCustomSettingGroup
*
tempGroup
in
self
.
allGroups
)
{
for
(
FUSCustomSettingGroup
*
tempGroup
in
self
.
allGroups
)
{
if
([
tempGroup
.
items
containsObject
:
self
.
inputInviteCodeItem
])
{
if
([
tempGroup
.
items
containsObject
:
self
.
inputInviteCodeItem
])
{
...
@@ -516,7 +517,6 @@ typedef NS_ENUM(NSInteger, FUSMySettingItemType){
...
@@ -516,7 +517,6 @@ typedef NS_ENUM(NSInteger, FUSMySettingItemType){
switch
(
item
.
itemTag
)
{
switch
(
item
.
itemTag
)
{
case
FUSMySettingItemTypeImAnchor
:{
case
FUSMySettingItemTypeImAnchor
:{
FUSImAnchorViewController
*
vc
=
[[
FUSImAnchorViewController
alloc
]
init
];
FUSImAnchorViewController
*
vc
=
[[
FUSImAnchorViewController
alloc
]
init
];
// vc.zoneModel = self.zoneModel;
[[
UINavigationController
fus_topViewController
].
navigationController
pushViewController
:
vc
animated
:
YES
];
[[
UINavigationController
fus_topViewController
].
navigationController
pushViewController
:
vc
animated
:
YES
];
}
}
break
;
break
;
...
...
FuSiLive/Classes/Login/View/FUSBoundAgentInfoView.m
View file @
4f67aa18
...
@@ -118,13 +118,22 @@
...
@@ -118,13 +118,22 @@
if
([
NSString
isNull
:
self
.
agentName
])
{
if
([
NSString
isNull
:
self
.
agentName
])
{
[
self
fus_requestAgentInfoSuccess
:
^
(
NSString
*
name
)
{
[
self
fus_requestAgentInfoSuccess
:
^
(
NSString
*
name
)
{
// 显示绑定弹窗
// 显示绑定弹窗
[[[
FUSBindSuccessPopView
alloc
]
initWithFrame
:
UIView
.
fus_screenFrame
brokerName
:
name
brokerID
:
self
.
agentIdTextfield
.
text
]
fus_show
];
// [[[FUSBindSuccessPopView alloc] initWithFrame:UIView.fus_screenFrame brokerName:name brokerID:self.agentIdTextfield.text] fus_show];
[
FUSAlertView
showAlertWithTitle
:[
NSString
fus_localString
:
@"绑定成功"
]
message
:[
NSString
stringWithFormat
:[
NSString
fus_localString
:
@"恭喜您和%@(ID:%@)绑定成功"
],
name
,
self
.
agentIdTextfield
.
text
]
cancelButtonTitle
:
[
NSString
fus_localString
:
@"确认"
]
otherButtonTitles
:
nil
clickBlock
:^
(
NSInteger
buttonIndex
)
{
}];
}
failure
:
^
(
NSString
*
msg
,
int
code
)
{
}
failure
:
^
(
NSString
*
msg
,
int
code
)
{
[
FUSDialogView
fus_showDialog
:
msg
];
[
FUSDialogView
fus_showDialog
:
msg
];
}];
}];
}
else
{
}
else
{
// 显示绑定弹窗
// 显示绑定弹窗
[[[
FUSBindSuccessPopView
alloc
]
initWithFrame
:
UIView
.
fus_screenFrame
brokerName
:
self
.
agentName
brokerID
:
self
.
agentIdTextfield
.
text
]
fus_show
];
// [[[FUSBindSuccessPopView alloc] initWithFrame:UIView.fus_screenFrame brokerName:self.agentName brokerID:self.agentIdTextfield.text] fus_show];
[
FUSAlertView
showAlertWithTitle
:[
NSString
fus_localString
:
@"绑定成功"
]
message
:[
NSString
stringWithFormat
:[
NSString
fus_localString
:
@"恭喜您和%@(ID:%@)绑定成功"
],
self
.
agentName
,
self
.
agentIdTextfield
.
text
]
cancelButtonTitle
:
[
NSString
fus_localString
:
@"确认"
]
otherButtonTitles
:
nil
clickBlock
:^
(
NSInteger
buttonIndex
)
{
}];
}
}
...
...
FuSiLive/Classes/Setting/Controller/FUSSettingViewController.m
View file @
4f67aa18
...
@@ -136,6 +136,7 @@
...
@@ -136,6 +136,7 @@
-
(
void
)
fus_setGroups
-
(
void
)
fus_setGroups
{
{
__weak
typeof
(
self
)
weakSelf
=
self
;
__weak
typeof
(
self
)
weakSelf
=
self
;
CGFloat
sectionLineHeight
=
1
.
0
/
[
UIScreen
mainScreen
].
scale
;
// 获取屏幕缩放比例
//第一组
//第一组
_item1
=
[
FUSCustomSettingItem
fus_itemWithTitle
:
nil
type
:
CustomSettingItemTypeThirdPartyAccount
];
_item1
=
[
FUSCustomSettingItem
fus_itemWithTitle
:
nil
type
:
CustomSettingItemTypeThirdPartyAccount
];
...
@@ -152,7 +153,7 @@
...
@@ -152,7 +153,7 @@
group1
.
groupFooterTextBgColor
=
[
UIColor
fus_lineColor
];
group1
.
groupFooterTextBgColor
=
[
UIColor
fus_lineColor
];
group1
.
groupFooterOriginY
=
6
;
group1
.
groupFooterOriginY
=
6
;
group1
.
groupFooterHeight
=
0
.
5
+
group1
.
groupFooterOriginY
*
2
;
group1
.
groupFooterHeight
=
sectionLineHeight
+
group1
.
groupFooterOriginY
*
2
;
group1
.
groupFooterOriginX
=
16
;
group1
.
groupFooterOriginX
=
16
;
group1
.
items
=
@[
_item1
];
group1
.
items
=
@[
_item1
];
...
@@ -206,7 +207,7 @@
...
@@ -206,7 +207,7 @@
group2
.
groupFooterTextBgColor
=
[
UIColor
fus_lineColor
];
group2
.
groupFooterTextBgColor
=
[
UIColor
fus_lineColor
];
group2
.
groupFooterOriginY
=
6
;
group2
.
groupFooterOriginY
=
6
;
group2
.
groupFooterHeight
=
0
.
5
+
group1
.
groupFooterOriginY
*
2
;
group2
.
groupFooterHeight
=
sectionLineHeight
+
group1
.
groupFooterOriginY
*
2
;
group2
.
groupFooterOriginX
=
16
;
group2
.
groupFooterOriginX
=
16
;
FUSCustomSettingItem
*
blackItem
=
[
FUSCustomSettingItem
fus_itemWithTitle
:[
NSString
fus_localString
:
@"黑名单"
]
type
:
CustomSettingItemTypeArrow
];
FUSCustomSettingItem
*
blackItem
=
[
FUSCustomSettingItem
fus_itemWithTitle
:[
NSString
fus_localString
:
@"黑名单"
]
type
:
CustomSettingItemTypeArrow
];
...
@@ -279,7 +280,7 @@
...
@@ -279,7 +280,7 @@
_liveRoomSettingGroup
.
groupFooterTextBgColor
=
[
UIColor
fus_lineColor
];
_liveRoomSettingGroup
.
groupFooterTextBgColor
=
[
UIColor
fus_lineColor
];
_liveRoomSettingGroup
.
groupFooterOriginY
=
6
;
_liveRoomSettingGroup
.
groupFooterOriginY
=
6
;
_liveRoomSettingGroup
.
groupFooterHeight
=
0
.
5
+
group1
.
groupFooterOriginY
*
2
;
_liveRoomSettingGroup
.
groupFooterHeight
=
sectionLineHeight
+
group1
.
groupFooterOriginY
*
2
;
_liveRoomSettingGroup
.
groupFooterOriginX
=
16
;
_liveRoomSettingGroup
.
groupFooterOriginX
=
16
;
_liveRoomSettingGroup
.
groupHeaderText
=
[
NSString
fus_localString
:
@"直播间设置"
];
_liveRoomSettingGroup
.
groupHeaderText
=
[
NSString
fus_localString
:
@"直播间设置"
];
...
@@ -368,7 +369,7 @@
...
@@ -368,7 +369,7 @@
_chatSettingGroup
.
groupFooterTextBgColor
=
[
UIColor
fus_lineColor
];
_chatSettingGroup
.
groupFooterTextBgColor
=
[
UIColor
fus_lineColor
];
_chatSettingGroup
.
groupFooterOriginY
=
6
;
_chatSettingGroup
.
groupFooterOriginY
=
6
;
_chatSettingGroup
.
groupFooterHeight
=
0
.
5
+
group1
.
groupFooterOriginY
*
2
;
_chatSettingGroup
.
groupFooterHeight
=
sectionLineHeight
+
group1
.
groupFooterOriginY
*
2
;
_chatSettingGroup
.
groupFooterOriginX
=
16
;
_chatSettingGroup
.
groupFooterOriginX
=
16
;
_chatSettingGroup
.
groupHeaderText
=
[
NSString
fus_localString
:
@"私信设置"
];
_chatSettingGroup
.
groupHeaderText
=
[
NSString
fus_localString
:
@"私信设置"
];
...
@@ -396,7 +397,7 @@
...
@@ -396,7 +397,7 @@
groupLanguage
.
groupFooterTextBgColor
=
[
UIColor
fus_lineColor
];
groupLanguage
.
groupFooterTextBgColor
=
[
UIColor
fus_lineColor
];
groupLanguage
.
groupFooterOriginY
=
6
;
groupLanguage
.
groupFooterOriginY
=
6
;
groupLanguage
.
groupFooterHeight
=
0
.
5
+
group1
.
groupFooterOriginY
*
2
;
groupLanguage
.
groupFooterHeight
=
sectionLineHeight
+
group1
.
groupFooterOriginY
*
2
;
groupLanguage
.
groupFooterOriginX
=
16
;
groupLanguage
.
groupFooterOriginX
=
16
;
groupLanguage
.
groupHeaderText
=
[
NSString
fus_localString
:
@"语言设置"
];
groupLanguage
.
groupHeaderText
=
[
NSString
fus_localString
:
@"语言设置"
];
...
...
FuSiLive/Classes/Zone/View/FireFlyView/View/Cell/MyZoneCell/FUSMyZoneVideoCreditCell.m
View file @
4f67aa18
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
-
(
void
)
awakeFromNib
{
-
(
void
)
awakeFromNib
{
[
super
awakeFromNib
];
[
super
awakeFromNib
];
self
.
videoCreditLabel
.
text
=
[
NSString
fus_localString
:
@"
约会信用
"
];
self
.
videoCreditLabel
.
text
=
[
NSString
fus_localString
:
@"
私房评分
"
];
if
(
FUSLocalizationHelper
.
fus_currentLanguage
.
languageID
.
integerValue
==
2
)
{
if
(
FUSLocalizationHelper
.
fus_currentLanguage
.
languageID
.
integerValue
==
2
)
{
self
.
connectionRateLabel
.
text
=
[
NSString
fus_localString
:
@"接通率"
];
self
.
connectionRateLabel
.
text
=
[
NSString
fus_localString
:
@"接通率"
];
}
else
{
}
else
{
...
@@ -48,6 +48,8 @@
...
@@ -48,6 +48,8 @@
self
.
videoCreditLabel
.
textColor
=
[
UIColor
fus_textColorRich
];
self
.
videoCreditLabel
.
textColor
=
[
UIColor
fus_textColorRich
];
self
.
connectionRateLabel
.
textColor
=
[
UIColor
fus_textColorRich
];
self
.
connectionRateLabel
.
textColor
=
[
UIColor
fus_textColorRich
];
self
.
rightArrowImageView
.
hidden
=
YES
;
self
.
selectionStyle
=
UITableViewCellSelectionStyleNone
;
}
}
-
(
void
)
fus_setupCellWithModel
:
(
FUSZoneInfosModel
*
)
zoneModel
isMyZone
:
(
BOOL
)
isMyZone
{
-
(
void
)
fus_setupCellWithModel
:
(
FUSZoneInfosModel
*
)
zoneModel
isMyZone
:
(
BOOL
)
isMyZone
{
...
...
FuSiLive/Classes/Zone/View/FireFlyView/View/FUSMyZoneTableView.m
View file @
4f67aa18
...
@@ -164,35 +164,37 @@
...
@@ -164,35 +164,37 @@
[
self
.
rootVC
presentViewController
:
vc
animated
:
YES
completion
:
nil
];
[
self
.
rootVC
presentViewController
:
vc
animated
:
YES
completion
:
nil
];
}
}
// 添加一个view
// 添加一个view
,私房信用点击
-
(
void
)
fus_cellManagerAddSpecificView
:
(
FUSMyZoneCellManager
*
)
cellManager
{
-
(
void
)
fus_cellManagerAddSpecificView
:
(
FUSMyZoneCellManager
*
)
cellManager
{
if
(
FUSConfig
.
sharedInstanced
.
devConfigs
.
appStatus
)
{
//暂时不需要点击
return
;
}
FUSLogInfo
(
@"---视讯---"
);
// if (FUSConfig.sharedInstanced.devConfigs.appStatus) {
[
FUSTalkingData
fus_trackEvent
:
EVENT_USER_HONE_PAGE_RATE
];
// return;
__weak
typeof
(
self
)
weakSelf
=
self
;
// }
if
(
!
_videoCreditDetailsView
)
{
//
_videoCreditDetailsView
=
[[[
NSBundle
mainBundle
]
loadNibNamed
:
@"FUSVideoCreditDetailsView"
owner
:
self
options
:
nil
]
firstObject
];
// FUSLogInfo(@"---视讯---");
_videoCreditDetailsView
.
frame
=
CGRectMake
(
0
,
weakSelf
.
rootVC
.
view
.
height
,
weakSelf
.
rootVC
.
view
.
width
,
weakSelf
.
rootVC
.
view
.
height
);
// [FUSTalkingData fus_trackEvent:EVENT_USER_HONE_PAGE_RATE];
_videoCreditDetailsView
.
zoneModel
=
_zoneModel
;
// __weak typeof(self) weakSelf = self;
[
self
.
rootVC
.
view
addSubview
:
_videoCreditDetailsView
];
// if (!_videoCreditDetailsView) {
_videoCreditDetailsView
.
closeViewBlock
=
^
{
// _videoCreditDetailsView = [[[NSBundle mainBundle] loadNibNamed:@"FUSVideoCreditDetailsView" owner:self options:nil] firstObject];
[
UIView
animateWithDuration
:
0
.
5
animations
:
^
{
// _videoCreditDetailsView.frame = CGRectMake(0, weakSelf.rootVC.view.height, weakSelf.rootVC.view.width, weakSelf.rootVC.view.height);
weakSelf
.
videoCreditDetailsView
.
y
=
weakSelf
.
rootVC
.
view
.
height
;
// _videoCreditDetailsView.zoneModel = _zoneModel;
}];
// [self.rootVC.view addSubview:_videoCreditDetailsView];
};
// _videoCreditDetailsView.closeViewBlock = ^{
[
UIView
animateWithDuration
:
0
.
5
animations
:
^
{
// [UIView animateWithDuration:0.5 animations:^{
_videoCreditDetailsView
.
y
=
0
;
// weakSelf.videoCreditDetailsView.y = weakSelf.rootVC.view.height;
}];
// }];
}
else
{
// };
[
_videoCreditDetailsView
fus_refreshData
];
// [UIView animateWithDuration:0.5 animations:^{
[
UIView
animateWithDuration
:
0
.
5
animations
:
^
{
// _videoCreditDetailsView.y = 0;
_videoCreditDetailsView
.
y
=
0
;
// }];
}];
// } else {
}
// [_videoCreditDetailsView fus_refreshData];
// [UIView animateWithDuration:0.5 animations:^{
// _videoCreditDetailsView.y = 0;
// }];
// }
}
}
-
(
void
)
fus_updateVideoCreditCell
{
-
(
void
)
fus_updateVideoCreditCell
{
...
...
FuSiLive/Resources/LocalizationString/Fusi_Chinese.strings
View file @
4f67aa18
...
@@ -2194,3 +2194,5 @@
...
@@ -2194,3 +2194,5 @@
"私房信用:" = "私房信用:";
"私房信用:" = "私房信用:";
"私房信用" = "私房信用";
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