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
3b03baed
authored
Jan 03, 2025
by
ludi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交一下代码
parent
416d4acd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
221 additions
and
32 deletions
DevelopmentPods/FUSCommon/FUSCommon/Classes/Common/Models/FUSGlobalJumpMessageAlertModel.h
DevelopmentPods/FUSCommon/FUSCommon/Classes/Common/Models/FUSGlobalJumpMessageAlertModel.m
DevelopmentPods/FUSCommon/FUSCommon/Classes/FUSAPPConfigs/FUSFuSiConfigs.m
DevelopmentPods/FUSCommon/FUSCommon/Classes/Foundation/DataShare/FUSSwiftCacheDataShare.swift
DevelopmentPods/FUSCommon/FUSCommon/Classes/Foundation/Socket/FUSSwiftSocketHelper.swift
DevelopmentPods/FUSCommon/FUSCommon/FUSRouter/Routers/UserRouter/FUSUserRouterProtocol.h
DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Views/FUSSelectImageView.m
Modules/FUSChatCenterModule/FUSChatCenterModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
Modules/FUSShowRoomModule/FUSShowRoomModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
Modules/FUSUserCenterModule/FUSUserCenterModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/CompleteUserInfo/View/FUSCompleteUserInfoSignView.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Setting/Controller/FUSNoticeSettingViewController.m
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/Controller/FireFlyMyZone/FUSZoneUserInfoEditViewController.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/Backpack/FUSBackpackPropsUseAlert.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/ViewModel/FUSBackpackViewModel.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Router/FUSUserCenterRouter.m
Pods/Pods.xcodeproj/project.pbxproj
Pods/Target Support Files/FUSCommon/FUSCommon-umbrella.h
DevelopmentPods/FUSCommon/FUSCommon/Classes/Common/Models/FUSGlobalJumpMessageAlertModel.h
0 → 100644
View file @
3b03baed
//
// FUSGlobalJumpMessageAlertModel.h
// FUSCommon
//
// Created by aaa on 2025/1/3.
//
#import <FUSFoundation/FUSFoundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface
FUSJumpContentLanguageModel
:
FUSBaseModel
/// 语言
@property
(
nonatomic
,
copy
)
NSString
*
lang
;
/// 文案
@property
(
nonatomic
,
copy
)
NSString
*
content
;
@end
@interface
FUSGlobalJumpMessageAlertModel
:
FUSBaseModel
/// 是否有確認按鈕(0:否、1:是)
@property
(
nonatomic
,
assign
)
NSInteger
showConfirm
;
/// 跳转指令
@property
(
nonatomic
,
copy
)
NSString
*
jumpurl
;
/// 跳转指令所需参数
@property
(
nonatomic
,
copy
)
NSString
*
jumpparam
;
/// 标题
@property
(
nonatomic
,
copy
)
NSArray
<
FUSJumpContentLanguageModel
*>
*
title
;
/// 内容
@property
(
nonatomic
,
copy
)
NSArray
<
FUSJumpContentLanguageModel
*>
*
content
;
/// 确认按钮显示文字
@property
(
nonatomic
,
copy
)
NSArray
<
FUSJumpContentLanguageModel
*>
*
confirmTxt
;
@property
(
nonatomic
,
assign
)
NSInteger
cid
;
@property
(
nonatomic
,
copy
)
NSString
*
roomid
;
@end
NS_ASSUME_NONNULL_END
DevelopmentPods/FUSCommon/FUSCommon/Classes/Common/Models/FUSGlobalJumpMessageAlertModel.m
0 → 100644
View file @
3b03baed
//
// FUSGlobalJumpMessageAlertModel.m
// FUSCommon
//
// Created by aaa on 2025/1/3.
//
#import "FUSGlobalJumpMessageAlertModel.h"
#import <FUSCommon/FUSCommon-Swift.h>
@implementation
FUSJumpContentLanguageModel
@end
@implementation
FUSGlobalJumpMessageAlertModel
-
(
NSInteger
)
cid
{
return
FUSSwiftCacheDataSocketCID
.
gobalJumpMessageAlert
;
}
//嵌套的 model
+
(
NSDictionary
*
)
modelContainerPropertyGenericClass
{
// return @{@“children”:[CustomModel class]};
return
@{
@"title"
:
[
FUSJumpContentLanguageModel
class
],
@"content"
:
[
FUSJumpContentLanguageModel
class
],
@"confirmTxt"
:
[
FUSJumpContentLanguageModel
class
]};
}
@end
DevelopmentPods/FUSCommon/FUSCommon/Classes/FUSAPPConfigs/FUSFuSiConfigs.m
View file @
3b03baed
...
...
@@ -205,7 +205,7 @@
case
FUSDevlopLevelTest
:
[
FUSLog
setLogLevel
:
FUSLogLevelAll
];
self
.
enableTestCode
=
true
;
self
.
enableSocketDebug
=
fals
e
;
self
.
enableSocketDebug
=
tru
e
;
self
.
enableHttpDebug
=
true
;
self
.
enableDBDebug
=
false
;
self
.
enableEaseMobChange
=
true
;
...
...
DevelopmentPods/FUSCommon/FUSCommon/Classes/Foundation/DataShare/FUSSwiftCacheDataShare.swift
View file @
3b03baed
...
...
@@ -148,8 +148,9 @@ import RxSwift
func
fus_setupSocket
(){
//websocket监听背包最新的更新
FUSSwiftSocketHelper
.
listenTo
(
cid
:
FUSSwiftCacheDataSocketCID
.
backpackGetTimeNotice
)
.
subscribe
(
onNext
:
{[
weak
self
]
model
in
let
noticeModel
=
FUSBackpackGetTimeNoticeModel
.
fus_model
(
withDict
:
model
.
jsonDict
)
.
mapToDictionary
()
.
subscribe
(
onNext
:
{[
weak
self
]
dataDict
in
let
noticeModel
=
FUSBackpackGetTimeNoticeModel
.
fus_model
(
withDict
:
dataDict
)
guard
let
oldModel
=
self
?
.
backpackUnreadGetTime
.
value
else
{
return
}
oldModel
.
fus_setBackpackGetTime
(
noticeModel
.
getTime
,
index
:
noticeModel
.
type
)
self
?
.
backpackUnreadGetTime
.
accept
(
oldModel
)
...
...
@@ -163,12 +164,36 @@ import RxSwift
//websocket监听(获得道具-座驾体验卡) 接收到此消息验证是否需要弹出座驾提醒功能
FUSSwiftSocketHelper
.
listenTo
(
cid
:
FUSSwiftCacheDataSocketCID
.
backpackGetCarExperienceCardNotice
)
.
subscribe
(
onNext
:
{[
weak
self
]
model
in
.
mapToDictionary
()
.
subscribe
(
onNext
:
{[
weak
self
]
dataDict
in
let
gidStr
=
model
.
json
Dict
.
fus_stringValue
(
key
:
"gid"
)
let
gidStr
=
data
Dict
.
fus_stringValue
(
key
:
"gid"
)
self
?
.
useCarTipsShouldShowGet
.
accept
(
gidStr
)
})
.
disposed
(
by
:
disposeBag
)
/// 全局弹窗
FUSSwiftSocketHelper
.
listenTo
(
cid
:
FUSSwiftCacheDataSocketCID
.
gobalJumpMessageAlert
)
.
mapToModel
(
FUSGlobalJumpMessageAlertModel
.
self
)
.
subscribe
(
onNext
:
{
model
in
var
cancelText
:
String
=
.
fus_versionLocalString
(
"确定"
)
var
otherTexts
:
[
String
]?
=
nil
if
let
otherText
=
model
.
confirmTxt
.
fus_getLanguageContent
(),
model
.
showConfirm
==
1
{
otherTexts
=
[
otherText
]
cancelText
=
.
fus_versionLocalString
(
"取消"
)
}
FUSAlertView
.
showAlert
(
withTitle
:
model
.
title
.
fus_getLanguageContent
()
??
""
,
message
:
model
.
content
.
fus_getLanguageContent
()
??
""
,
cancelButtonTitle
:
cancelText
,
otherButtonTitles
:
otherTexts
)
{
clickIndex
in
if
clickIndex
==
1
{
FUSRouter
.
userRouter
()
.
fus_handleTaskJumpAction
(
withJumpType
:
model
.
jumpurl
,
tid
:
0
,
url
:
model
.
jumpparam
)
{
}
}
}
})
.
disposed
(
by
:
disposeBag
)
}
// - function
...
...
@@ -227,11 +252,13 @@ import RxSwift
}
}
/// 通知cid
class
FUSSwiftCacheDataSocketCID
:
NSObject
{
@objcMembers
public
class
FUSSwiftCacheDataSocketCID
:
NSObject
{
///背包更新的通知
public
static
let
backpackGetTimeNotice
:
Int
=
2999
/// socket:2051(获得道具-座驾体验卡) 接收到此消息验证是否需要弹出座驾提醒功能
public
static
let
backpackGetCarExperienceCardNotice
:
Int
=
2051
/// 全局提示跳转弹出框
@objc
public
static
let
gobalJumpMessageAlert
:
Int
=
2222
}
/// 本地存储的key
class
FUSSwiftCacheDataStoreKey
{
...
...
DevelopmentPods/FUSCommon/FUSCommon/Classes/Foundation/Socket/FUSSwiftSocketHelper.swift
View file @
3b03baed
...
...
@@ -25,3 +25,47 @@ public class FUSSwiftSocketHelper: NSObject {
})
}
}
extension
Observable
where
Element
==
FUSSocketMessageModel
{
/// 转化成字典
/// - Returns: 字典的observer
public
func
mapToDictionary
()
->
Observable
<
[
AnyHashable
:
Any
]
>
{
return
map
({
model
in
return
model
.
jsonDict
})
}
/// 转化为对应模型
/// - Parameter type: 类型
/// - Returns: 返回
public
func
mapToModel
<
T
:
FUSBaseModel
>
(
_
type
:
T
.
Type
)
->
Observable
<
T
>
{
return
map
({
model
in
return
T
.
fus_model
(
withDict
:
model
.
jsonDict
)
})
}
}
extension
Array
where
Element
:
FUSJumpContentLanguageModel
{
/// 寻找当前选择语言对应的文案
func
fus_getLanguageContent
()
->
String
?
{
if
self
.
count
<=
0
{
return
nil
}
let
userLang
=
FUSLocalizationHelper
.
fus_currentLanguage
()
.
languageID
??
"1"
var
englishContent
:
String
?
=
nil
for
model
in
self
{
if
model
.
lang
==
"1"
{
englishContent
=
model
.
content
}
if
model
.
lang
==
userLang
{
return
model
.
content
}
}
return
englishContent
}
}
DevelopmentPods/FUSCommon/FUSCommon/FUSRouter/Routers/UserRouter/FUSUserRouterProtocol.h
View file @
3b03baed
...
...
@@ -252,6 +252,18 @@ NS_ASSUME_NONNULL_BEGIN
action
:(
void
(
^
)(
void
))
actionBlock
close
:(
void
(
^
)(
void
))
closeBlock
;
/// 全局跳转
/// @param jumpType 跳转类型
/// @param tid tid
/// @param url 跳转url
/// @param success 成功
-
(
void
)
fus_handleTaskJumpActionWithJumpType
:(
NSString
*
)
jumpType
tid
:(
NSInteger
)
tid
url
:(
NSString
*
)
url
success
:(
void
(
^
)(
void
))
success
;
/// 获取当前正在直播的热力值排名第一的直播间
-
(
void
)
fus_getCurrentLiveroomFirstHotWithTid
:(
NSInteger
)
tid
;
@end
NS_ASSUME_NONNULL_END
DevelopmentPods/FUSFoundation/FUSFoundation/Classes/FUSFoundation/Views/FUSSelectImageView.m
View file @
3b03baed
...
...
@@ -303,6 +303,7 @@ typedef void(^Block)(BOOL isSuccess, UIImage *image);
if
(
canOpen
)
{
mImagePicker
.
allowsEditing
=
NO
;
mImagePicker
.
sourceType
=
type
;
mImagePicker
.
modalPresentationStyle
=
UIModalPresentationFullScreen
;
[
mViewCtrl
presentViewController
:
mImagePicker
animated
:
YES
completion
:
nil
];
}
}
...
...
@@ -370,7 +371,10 @@ typedef void(^Block)(BOOL isSuccess, UIImage *image);
FUSRotationCropperImageViewController
*
imageCropVC
=
[[
FUSRotationCropperImageViewController
alloc
]
initWithImage
:
originImage
maxScaleRatio
:
3
.
0
];
imageCropVC
.
delegate
=
self
;
[
mViewCtrl
presentModalViewController
:
imageCropVC
animated
:
YES
];
imageCropVC
.
modalPresentationStyle
=
UIModalPresentationFullScreen
;
[
mViewCtrl
presentViewController
:
imageCropVC
animated
:
YES
completion
:^
{
}];
return
;
}
...
...
Modules/FUSChatCenterModule/FUSChatCenterModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
3b03baed
...
...
@@ -7,12 +7,12 @@
<
k
e
y
>
FUSChatCenterBundle.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
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
>
<
k
e
y
>
FUSChatCenterModule.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
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
2
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
3b03baed
...
...
@@ -7,12 +7,12 @@
<
k
e
y
>
FUSShowRoomBundle.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
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
7
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
k
e
y
>
FUSShowRoomModule.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
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
5
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
3b03baed
...
...
@@ -7,12 +7,12 @@
<
k
e
y
>
FUSUserCenterModule.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
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
>
<
k
e
y
>
FUSUserCenterModuleBundle.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
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
>
<
/
d
i
c
t
>
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/CompleteUserInfo/View/FUSCompleteUserInfoSignView.swift
View file @
3b03baed
...
...
@@ -40,7 +40,7 @@ class FUSCompleteUserInfoSignView: FUSBaseView {
}
let
signBgView
=
UIView
()
signBgView
.
backgroundColor
=
.
white
.
withAlphaComponent
(
0.1
)
signBgView
.
backgroundColor
=
.
fus_textInputBackgroundGray
(
)
signBgView
.
layer
.
cornerRadius
=
8
self
.
addSubview
(
signBgView
)
signBgView
.
snp
.
makeConstraints
{
make
in
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Setting/Controller/FUSNoticeSettingViewController.m
View file @
3b03baed
...
...
@@ -25,6 +25,9 @@
@interface
FUSNoticeSettingViewController
()
/// 通知的信息组
@property
(
nonatomic
,
strong
)
FUSCustomSettingGroup
*
msgGroup
;
// 亲密私信消息通知
@property
(
nonatomic
,
strong
)
FUSCustomSettingItem
*
intimateItem
;
// 其他私信消息通知
...
...
@@ -204,7 +207,7 @@
{
__weak
typeof
(
self
)
weakSelf
=
self
;
FUSCustomSettingGroup
*
msgGroup
=
[
self
fus_createGroups
];
self
.
msgGroup
=
[
self
fus_createGroups
];
self
.
intimateItem
=
[
FUSCustomSettingItem
fus_itemWithTitle
:[
NSString
fus_versionLocalString
:
@"亲密私信"
]
type
:
CustomSettingItemTypeSwitch
];
self
.
intimateItem
.
cellStyle
=
UITableViewCellStyleSubtitle
;
...
...
@@ -243,9 +246,9 @@
[
weakSelf
.
tableView
reloadData
];
}];
};
msgGroup
.
items
=
@[
self
.
intimateItem
,
self
.
messageNoticeItem
];
self
.
msgGroup
.
items
=
@[
self
.
intimateItem
,
self
.
messageNoticeItem
];
[
self
.
allGroups
addObject
:
msgGroup
];
[
self
.
allGroups
addObject
:
self
.
msgGroup
];
FUSCustomSettingGroup
*
otherGroup
=
[
self
fus_createGroups
];
...
...
@@ -374,6 +377,12 @@
if
([
UIApplication
sharedApplication
].
currentUserNotificationSettings
.
types
==
UIUserNotificationTypeNone
)
{
UIView
*
headerView
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
UIView
.
fus_screenW
,
46
)];
headerView
.
backgroundColor
=
[
UIColor
fus_textInputBackgroundGrayColor
];
UIImageView
*
bellView
=
[[
UIImageView
alloc
]
initWithImage
:[[
FUSUserCenterBunble
imageNamed
:
@"setting_bell"
]
fus_tintImageWithColor
:[
UIColor
fus_textColorMedium
]]];
bellView
.
frame
=
CGRectMake
(
16
,
0
,
18
,
18
);
[
headerView
addSubview
:
bellView
];
UILabel
*
titleLabel
=
[[
UILabel
alloc
]
init
];
titleLabel
.
text
=
[
NSString
fus_localString
:
@"通知权限已关闭,无法接收通知"
];
titleLabel
.
font
=
[
UIFont
fus_themeFont
:
15
];
...
...
@@ -383,33 +392,41 @@
[
headerView
addSubview
:
titleLabel
];
UIButton
*
settingBtn
=
[
UIButton
buttonWithType
:
UIButtonTypeCustom
];
[
settingBtn
setTitle
:[
NSString
fus_localString
:
@"去开启"
]
forState
:
UIControlStateNormal
];
settingBtn
.
titleLabel
.
font
=
[
UIFont
fus_themeFont
:
15
];
[
settingBtn
setTitleColor
:[
UIColor
fus_themeColor
]
forState
:
UIControlStateNormal
];
[
settingBtn
setTitle
:[
NSString
stringWithFormat
:
@" %@ "
,[
NSString
fus_localString
:
@"去开启"
]]
forState
:
UIControlStateNormal
];
settingBtn
.
titleLabel
.
font
=
[
UIFont
fus_themeFont
:
13
];
[
settingBtn
setTitleColor
:[
UIColor
fus_textColorRich
]
forState
:
UIControlStateNormal
];
settingBtn
.
backgroundColor
=
[
UIColor
fus_themeColor
];
settingBtn
.
layer
.
cornerRadius
=
34
/
2
.
0
f
;
settingBtn
.
layer
.
masksToBounds
=
YES
;
[
settingBtn
sizeToFit
];
[
settingBtn
addTarget
:
self
action
:
@selector
(
clickSettingNoticeBtnAction
:
)
forControlEvents
:
UIControlEventTouchUpInside
];
[
headerView
addSubview
:
settingBtn
];
titleLabel
.
x
=
1
6
;
titleLabel
.
x
=
1
0
+
CGRectGetMaxX
(
bellView
.
frame
)
;
settingBtn
.
x
=
headerView
.
width
-
settingBtn
.
width
-
16
;
settingBtn
.
height
=
32
;
if
(
titleLabel
.
right
>
UIView
.
fus_screenW
-
settingBtn
.
x
-
8
)
{
if
(
titleLabel
.
right
>
settingBtn
.
x
-
8
)
{
titleLabel
.
width
=
settingBtn
.
x
-
8
-
titleLabel
.
x
;
headerView
.
height
=
70
;
titleLabel
.
height
=
headerView
.
height
;
}
settingBtn
.
centerY
=
titleLabel
.
centerY
;
settingBtn
.
centerY
=
headerView
.
height
/
2
.
0
f
;
titleLabel
.
centerY
=
headerView
.
height
/
2
.
0
f
;
bellView
.
centerY
=
headerView
.
height
/
2
.
0
f
;
UIView
*
line
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
16
,
headerView
.
height
-
0
.
5
,
headerView
.
width
-
32
,
0
.
5
)];
line
.
backgroundColor
=
[
UIColor
fus_lineColor
];
[
headerView
addSubview
:
line
];
//
UIView *line = [[UIView alloc] initWithFrame:CGRectMake(16, headerView.height - 0.5, headerView.width - 32, 0.5)];
//
line.backgroundColor = [UIColor fus_lineColor];
//
[headerView addSubview:line];
self
.
tableView
.
tableHeaderView
=
headerView
;
self
.
msgGroup
.
groupHeaderHeight
=
0
;
}
else
{
self
.
tableView
.
tableHeaderView
=
nil
;
self
.
msgGroup
.
groupHeaderHeight
=
12
;
}
[
self
.
tableView
reloadData
];
}
-
(
void
)
clickSettingNoticeBtnAction
:
(
UIButton
*
)
button
{
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/Controller/FireFlyMyZone/FUSZoneUserInfoEditViewController.swift
View file @
3b03baed
...
...
@@ -13,6 +13,9 @@ import FUSCommon
@objcMembers
public
class
FUSZoneUserInfoEditViewController
:
FUSBaseViewController
,
UITextViewDelegate
,
UITextFieldDelegate
{
/// 进来的时候点击什么,0=改头像,2=改名
@objc
public
var
preClicked
:
Int
=
-
1
/// 可滑动的内容view
@IBOutlet
var
scrollView
:
UIScrollView
!
...
...
@@ -149,6 +152,16 @@ import FUSCommon
self
.
fus_requestUserAuthState
()
}
public
override
func
viewDidAppear
(
_
animated
:
Bool
)
{
super
.
viewDidAppear
(
animated
)
if
self
.
preClicked
==
0
{
self
.
fus_onclickFaceImageBtnAction
(
.
init
())
}
else
if
self
.
preClicked
==
2
{
self
.
fus_beginEditUserNickname
()
}
}
deinit
{
NotificationCenter
.
default
.
removeObserver
(
self
)
}
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/Backpack/FUSBackpackPropsUseAlert.swift
View file @
3b03baed
...
...
@@ -28,7 +28,7 @@ class FUSBackpackPropsUseAlert: FUSBaseView {
override
func
makeUI
()
{
super
.
makeUI
()
self
.
backgroundColor
=
.
clear
self
.
backgroundColor
=
.
fus_alertViewBackground
()
self
.
contentView
.
backgroundColor
=
.
white
self
.
contentView
.
layer
.
cornerRadius
=
14
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/ViewModel/FUSBackpackViewModel.swift
View file @
3b03baed
...
...
@@ -340,11 +340,9 @@ import RxCocoa
FUSRouter
.
live
()
.
fus_enterLiveRoom
(
roomId
)
}
case
"yazhai://_version_update"
:
//TODO: 版本检测,应该是在settingview那块的,到时候看看有没有
// if let vc = Bifrost.handleURL(PersonalPageRoute.verifyVersionVC) as? UIViewController {
// vc.hidesBottomBarWhenPushed = true
// UIViewController.topViewController()?.navigationController?.pushViewController(vc, animated: true)
// }
let
vc
=
FUSVerifyVersionController
()
vc
.
hidesBottomBarWhenPushed
=
true
UIViewController
.
fus_top
()
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
break
default
:
break
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Router/FUSUserCenterRouter.m
View file @
3b03baed
This diff is collapsed.
Click to expand it.
Pods/Pods.xcodeproj/project.pbxproj
View file @
3b03baed
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Pods/Target Support Files/FUSCommon/FUSCommon-umbrella.h
View file @
3b03baed
...
...
@@ -63,6 +63,7 @@
#import "FUSCallTimeIncomeModel.h"
#import "FUSChatUserInfosModel.h"
#import "FUSExpressionDataModel.h"
#import "FUSGlobalJumpMessageAlertModel.h"
#import "FUSHotDataMD5Model.h"
#import "FUSLevelDataModel.h"
#import "FUSLiveStartConfigModel.h"
...
...
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