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
d1f9847b
authored
Jul 01, 2025
by
ludi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复外部打开网页上报的问题。添加我的页面一个扫描
parent
eed26852
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
118 additions
and
22 deletions
DevelopmentPods/FUSCommon/FUSCommon/Classes/Common/Other/FUSDataStatisticsManager.m
DevelopmentPods/FUSCommon/FUSCommon/Classes/Common/Other/FUSSocialShareManager.m
FuSiLive.xcodeproj/project.pbxproj
FuSiLive.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
FuSiLive/AppDelegate.m
FuSiLive/Info.plist
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/FUSUserCenterModuleBundle.bundle/FUSUserCenterAssets.xcassets/MyUserZone/zone_pop_tip_bg.imageset/Contents.json
Modules/FUSUserCenterModule/FUSUserCenterModule/FUSUserCenterModuleBundle.bundle/FUSUserCenterAssets.xcassets/inviteReward/inviteReward_navi_scan_icon.imageset/Contents.json
Modules/FUSUserCenterModule/FUSUserCenterModule/FUSUserCenterModuleBundle.bundle/FUSUserCenterAssets.xcassets/inviteReward/inviteReward_navi_scan_icon.imageset/inviteReward_navi_scan_icon@2x.png
Modules/FUSUserCenterModule/FUSUserCenterModule/FUSUserCenterModuleBundle.bundle/FUSUserCenterAssets.xcassets/inviteReward/inviteReward_navi_scan_icon.imageset/inviteReward_navi_scan_icon@3x.png
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/HomeMyPage/FUSMyView.m
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/FUSInviteRewardController.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/FireFlyView/View/FUSZoneCanSendNewsFeedTipView.h
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/FireFlyView/View/FUSZoneCanSendNewsFeedTipView.m
DevelopmentPods/FUSCommon/FUSCommon/Classes/Common/Other/FUSDataStatisticsManager.m
View file @
d1f9847b
...
@@ -121,11 +121,12 @@
...
@@ -121,11 +121,12 @@
/// App行为日志-外部调起
/// App行为日志-外部调起
+
(
void
)
fus_behaviorExternalCallLogWithReqType
:
(
NSInteger
)
reqType
reqEventType
:
(
NSInteger
)
reqEventType
reqJson
:
(
NSString
*
)
reqJson
{
+
(
void
)
fus_behaviorExternalCallLogWithReqType
:
(
NSInteger
)
reqType
reqEventType
:
(
NSInteger
)
reqEventType
reqJson
:
(
NSString
*
)
reqJson
{
[
FUSCommonHttpRequest
fus_behaviorExternalCallLogWithReqType
:
reqType
reqEventType
:
reqEventType
reqJson
:
reqJson
];
[
FUSCommonHttpRequest
fus_behaviorExternalCallLogWithReqType
:
reqType
reqEventType
:
reqEventType
reqJson
:
(
reqJson
?:
@""
).
description
];
}
}
/// App行为日志-加入直播间
/// App行为日志-加入直播间
+
(
void
)
fus_behaviorJoinRoomLogWithReqType
:
(
NSInteger
)
reqType
reqEventType
:
(
NSInteger
)
reqEventType
extraInfo
:
(
NSString
*
)
extraInfo
extraJson
:
(
NSString
*
)
extraJson
roomId
:
(
NSString
*
)
roomId
{
+
(
void
)
fus_behaviorJoinRoomLogWithReqType
:
(
NSInteger
)
reqType
reqEventType
:
(
NSInteger
)
reqEventType
extraInfo
:
(
NSString
*
)
extraInfo
extraJson
:
(
NSString
*
)
extraJson
roomId
:
(
NSString
*
)
roomId
{
[
FUSCommonHttpRequest
fus_behaviorJoinRoomLogWithReqType
:
reqType
reqEventType
:
reqEventType
extraInfo
:
extraInfo
extraJson
:
extraJs
on
roomId
:
roomId
];
[
FUSCommonHttpRequest
fus_behaviorJoinRoomLogWithReqType
:
reqType
reqEventType
:
reqEventType
extraInfo
:
(
extraInfo
?:
@""
).
description
extraJson
:
(
extraJson
?:
@""
).
descripti
on
roomId
:
roomId
];
}
}
#pragma --mark 登录计时
#pragma --mark 登录计时
...
...
DevelopmentPods/FUSCommon/FUSCommon/Classes/Common/Other/FUSSocialShareManager.m
View file @
d1f9847b
...
@@ -132,7 +132,7 @@
...
@@ -132,7 +132,7 @@
}
}
else
{
else
{
NSURL
*
shareURL
=
[
NSURL
URLWithString
:
@"instagram://library?LocalIdentifier=latest"
];
NSURL
*
shareURL
=
[
NSURL
URLWithString
:
@"instagram://library?LocalIdentifier=latest"
];
[[
UIApplication
sharedApplication
]
openURL
:
shareURL
];
[[
UIApplication
sharedApplication
]
openURL
:
shareURL
options
:@{}
completionHandler
:
nil
];
}
}
}
}
...
...
FuSiLive.xcodeproj/project.pbxproj
View file @
d1f9847b
...
@@ -415,10 +415,14 @@
...
@@ -415,10 +415,14 @@
inputFileListPaths
=
(
inputFileListPaths
=
(
"${PODS_ROOT}/Target Support Files/Pods-FuSiLive/Pods-FuSiLive-frameworks-${CONFIGURATION}-input-files.xcfilelist"
,
"${PODS_ROOT}/Target Support Files/Pods-FuSiLive/Pods-FuSiLive-frameworks-${CONFIGURATION}-input-files.xcfilelist"
,
);
);
inputPaths
=
(
);
name
=
"[CP] Embed Pods Frameworks"
;
name
=
"[CP] Embed Pods Frameworks"
;
outputFileListPaths
=
(
outputFileListPaths
=
(
"${PODS_ROOT}/Target Support Files/Pods-FuSiLive/Pods-FuSiLive-frameworks-${CONFIGURATION}-output-files.xcfilelist"
,
"${PODS_ROOT}/Target Support Files/Pods-FuSiLive/Pods-FuSiLive-frameworks-${CONFIGURATION}-output-files.xcfilelist"
,
);
);
outputPaths
=
(
);
runOnlyForDeploymentPostprocessing
=
0
;
runOnlyForDeploymentPostprocessing
=
0
;
shellPath
=
/bin/sh
;
shellPath
=
/bin/sh
;
shellScript
=
"\"${PODS_ROOT}/Target Support Files/Pods-FuSiLive/Pods-FuSiLive-frameworks.sh\"\n"
;
shellScript
=
"\"${PODS_ROOT}/Target Support Files/Pods-FuSiLive/Pods-FuSiLive-frameworks.sh\"\n"
;
...
@@ -432,10 +436,14 @@
...
@@ -432,10 +436,14 @@
inputFileListPaths
=
(
inputFileListPaths
=
(
"${PODS_ROOT}/Target Support Files/Pods-FuSiLive/Pods-FuSiLive-resources-${CONFIGURATION}-input-files.xcfilelist"
,
"${PODS_ROOT}/Target Support Files/Pods-FuSiLive/Pods-FuSiLive-resources-${CONFIGURATION}-input-files.xcfilelist"
,
);
);
inputPaths
=
(
);
name
=
"[CP] Copy Pods Resources"
;
name
=
"[CP] Copy Pods Resources"
;
outputFileListPaths
=
(
outputFileListPaths
=
(
"${PODS_ROOT}/Target Support Files/Pods-FuSiLive/Pods-FuSiLive-resources-${CONFIGURATION}-output-files.xcfilelist"
,
"${PODS_ROOT}/Target Support Files/Pods-FuSiLive/Pods-FuSiLive-resources-${CONFIGURATION}-output-files.xcfilelist"
,
);
);
outputPaths
=
(
);
runOnlyForDeploymentPostprocessing
=
0
;
runOnlyForDeploymentPostprocessing
=
0
;
shellPath
=
/bin/sh
;
shellPath
=
/bin/sh
;
shellScript
=
"\"${PODS_ROOT}/Target Support Files/Pods-FuSiLive/Pods-FuSiLive-resources.sh\"\n"
;
shellScript
=
"\"${PODS_ROOT}/Target Support Files/Pods-FuSiLive/Pods-FuSiLive-resources.sh\"\n"
;
...
...
FuSiLive.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
d1f9847b
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<
k
e
y
>
NotificationService.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
k
e
y
>
NotificationService.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
int
e
g
e
r
>
8
7
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
8
4
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
...
...
FuSiLive/AppDelegate.m
View file @
d1f9847b
...
@@ -152,11 +152,11 @@ typedef NS_ENUM(NSInteger, FFOutsideJumpAPPType) {
...
@@ -152,11 +152,11 @@ typedef NS_ENUM(NSInteger, FFOutsideJumpAPPType) {
-
(
BOOL
)
application
:(
UIApplication
*
)
app
continueUserActivity
:(
nonnull
NSUserActivity
*
)
userActivity
restorationHandler
:(
nonnull
void
(
^
)(
NSArray
<
id
<
UIUserActivityRestoring
>>
*
_Nullable
))
restorationHandler
{
-
(
BOOL
)
application
:(
UIApplication
*
)
app
continueUserActivity
:(
nonnull
NSUserActivity
*
)
userActivity
restorationHandler
:(
nonnull
void
(
^
)(
NSArray
<
id
<
UIUserActivityRestoring
>>
*
_Nullable
))
restorationHandler
{
if
([
userActivity
.
activityType
isEqualToString
:
NSUserActivityTypeBrowsingWeb
])
{
//
if ([userActivity.activityType isEqualToString:NSUserActivityTypeBrowsingWeb]) {
if
(
userActivity
.
webpageURL
)
{
//
if (userActivity.webpageURL) {
[
self
fus_handlerUrlOpenAppActionWithURL
:
userActivity
.
webpageURL
];
//
[self fus_handlerUrlOpenAppActionWithURL:userActivity.webpageURL];
}
//
}
}
//
}
//其他代码
//其他代码
if
(
userActivity
.
activityType
==
NSUserActivityTypeBrowsingWeb
)
{
if
(
userActivity
.
activityType
==
NSUserActivityTypeBrowsingWeb
)
{
...
@@ -194,7 +194,8 @@ typedef NS_ENUM(NSInteger, FFOutsideJumpAPPType) {
...
@@ -194,7 +194,8 @@ typedef NS_ENUM(NSInteger, FFOutsideJumpAPPType) {
[
FUSDataStatisticsManager
fus_behaviorExternalCallLogWithReqType
:
4
reqEventType
:
1
reqJson
:
@""
];
[
FUSDataStatisticsManager
fus_behaviorExternalCallLogWithReqType
:
4
reqEventType
:
1
reqJson
:
@""
];
}
}
[
self
fus_handlerUrlOpenAppActionWithURL
:
url
];
// [self fus_handlerUrlOpenAppActionWithURL:url];
[[
FUSHandleEventHelper
shared
]
fus_oc_fus_handlerUrlOpenAppActionWithUrl
:
url
];
return
YES
;
return
YES
;
}
}
...
...
FuSiLive/Info.plist
View file @
d1f9847b
...
@@ -97,6 +97,8 @@
...
@@ -97,6 +97,8 @@
<
fa
ls
e
/
>
<
fa
ls
e
/
>
<
k
e
y
>
LSApplicationQueriesSchemes
<
/k
e
y
>
<
k
e
y
>
LSApplicationQueriesSchemes
<
/k
e
y
>
<
a
rr
a
y
>
<
a
rr
a
y
>
<
string
>
instagram
<
/string
>
<
string
>
threads
<
/string
>
<
string
>
whatsApp
<
/string
>
<
string
>
whatsApp
<
/string
>
<
string
>
line
<
/string
>
<
string
>
line
<
/string
>
<
string
>
weixin
<
/string
>
<
string
>
weixin
<
/string
>
...
...
Modules/FUSChatCenterModule/FUSChatCenterModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
d1f9847b
...
@@ -7,12 +7,12 @@
...
@@ -7,12 +7,12 @@
<
k
e
y
>
FUSChatCenterBundle.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
k
e
y
>
FUSChatCenterBundle.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
int
e
g
e
r
>
8
4
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
8
3
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
k
e
y
>
FUSChatCenterModule.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
k
e
y
>
FUSChatCenterModule.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
int
e
g
e
r
>
8
3
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
8
8
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
d1f9847b
...
@@ -7,12 +7,12 @@
...
@@ -7,12 +7,12 @@
<
k
e
y
>
FUSShowRoomBundle.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
k
e
y
>
FUSShowRoomBundle.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
int
e
g
e
r
>
8
9
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
8
7
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
k
e
y
>
FUSShowRoomModule.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
k
e
y
>
FUSShowRoomModule.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
int
e
g
e
r
>
8
6
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
8
9
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
d1f9847b
...
@@ -7,12 +7,12 @@
...
@@ -7,12 +7,12 @@
<
k
e
y
>
FUSUserCenterModule.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
k
e
y
>
FUSUserCenterModule.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
int
e
g
e
r
>
8
5
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
8
6
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
k
e
y
>
FUSUserCenterModuleBundle.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
k
e
y
>
FUSUserCenterModuleBundle.xcscheme_
^#
shared
#^
_
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
k
e
y
>
orderHint
<
/k
e
y
>
<
int
e
g
e
r
>
8
8
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
8
5
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/FUSUserCenterModuleBundle.bundle/FUSUserCenterAssets.xcassets/MyUserZone/zone_pop_tip_bg.imageset/Contents.json
View file @
d1f9847b
...
@@ -7,11 +7,39 @@
...
@@ -7,11 +7,39 @@
{
{
"filename"
:
"zone_pop_tip_bg@2x.png"
,
"filename"
:
"zone_pop_tip_bg@2x.png"
,
"idiom"
:
"universal"
,
"idiom"
:
"universal"
,
"resizing"
:
{
"cap-insets"
:
{
"bottom"
:
36
,
"left"
:
40
,
"right"
:
94
,
"top"
:
50
},
"center"
:
{
"height"
:
1
,
"mode"
:
"stretch"
,
"width"
:
1
},
"mode"
:
"9-part"
},
"scale"
:
"2x"
"scale"
:
"2x"
},
},
{
{
"filename"
:
"zone_pop_tip_bg@3x.png"
,
"filename"
:
"zone_pop_tip_bg@3x.png"
,
"idiom"
:
"universal"
,
"idiom"
:
"universal"
,
"resizing"
:
{
"cap-insets"
:
{
"bottom"
:
55
,
"left"
:
120
,
"right"
:
82
,
"top"
:
75
},
"center"
:
{
"height"
:
1
,
"mode"
:
"stretch"
,
"width"
:
1
},
"mode"
:
"9-part"
},
"scale"
:
"3x"
"scale"
:
"3x"
}
}
],
],
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/FUSUserCenterModuleBundle.bundle/FUSUserCenterAssets.xcassets/inviteReward/inviteReward_navi_scan_icon.imageset/Contents.json
0 → 100644
View file @
d1f9847b
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"inviteReward_navi_scan_icon@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"inviteReward_navi_scan_icon@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Modules/FUSUserCenterModule/FUSUserCenterModule/FUSUserCenterModuleBundle.bundle/FUSUserCenterAssets.xcassets/inviteReward/inviteReward_navi_scan_icon.imageset/inviteReward_navi_scan_icon@2x.png
0 → 100644
View file @
d1f9847b
878 Bytes
Modules/FUSUserCenterModule/FUSUserCenterModule/FUSUserCenterModuleBundle.bundle/FUSUserCenterAssets.xcassets/inviteReward/inviteReward_navi_scan_icon.imageset/inviteReward_navi_scan_icon@3x.png
0 → 100644
View file @
d1f9847b
1.52 KB
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/HomeMyPage/FUSMyView.m
View file @
d1f9847b
...
@@ -47,6 +47,7 @@ typedef NS_ENUM(NSInteger, FUSMySettingItemType){
...
@@ -47,6 +47,7 @@ typedef NS_ENUM(NSInteger, FUSMySettingItemType){
@property
(
nonatomic
,
strong
)
UIView
*
naviView
;
@property
(
nonatomic
,
strong
)
UIView
*
naviView
;
@property
(
nonatomic
,
strong
)
UIButton
*
publishBtn
;
@property
(
nonatomic
,
strong
)
UIButton
*
publishBtn
;
@property
(
nonatomic
,
strong
)
UIButton
*
scanBtn
;
@property
(
nonatomic
,
strong
)
FUSMyHeaderView
*
headerView
;
@property
(
nonatomic
,
strong
)
FUSMyHeaderView
*
headerView
;
// 存储填写邀请码的信息,这里需要频繁改动
// 存储填写邀请码的信息,这里需要频繁改动
...
@@ -88,7 +89,18 @@ typedef NS_ENUM(NSInteger, FUSMySettingItemType){
...
@@ -88,7 +89,18 @@ typedef NS_ENUM(NSInteger, FUSMySettingItemType){
-
(
void
)
fus_viewWillShow
{
-
(
void
)
fus_viewWillShow
{
[
super
fus_viewWillShow
];
[
super
fus_viewWillShow
];
[
self
fus_updateMyZoneDataSourceWithType
:
ReadServerBegin
];
[
self
fus_updateMyZoneDataSourceWithType
:
ReadServerBegin
];
self
.
zoneCanSendNewsFeedTipView
=
[
FUSZoneCanSendNewsFeedTipView
fus_showZoneCanSendNewsFeedTipViewIfNeededOnSuperView
:
self
];
NSInteger
buttonIndex
=
0
;
if
([
FUSCacheDataShare
shareStore
].
settingInitDataModel
.
showQrCodeEntrance
==
1
)
{
buttonIndex
+=
1
;
self
.
scanBtn
.
hidden
=
NO
;
[
self
.
publishBtn
mas_remakeConstraints
:
^
(
MASConstraintMaker
*
make
)
{
make
.
top
.
bottom
.
offset
(
0
);
make
.
right
.
offset
(
-
10
-
30
-
8
);
make
.
width
.
equalTo
(
self
.
publishBtn
.
mas_height
);
}];
}
self
.
zoneCanSendNewsFeedTipView
=
[
FUSZoneCanSendNewsFeedTipView
fus_showZoneCanSendNewsFeedTipViewIfNeededOnSuperView
:
self
buttonIndex
:
buttonIndex
];
}
}
-
(
void
)
fus_viewDidDisappear
{
-
(
void
)
fus_viewDidDisappear
{
...
@@ -118,6 +130,17 @@ typedef NS_ENUM(NSInteger, FUSMySettingItemType){
...
@@ -118,6 +130,17 @@ typedef NS_ENUM(NSInteger, FUSMySettingItemType){
self
.
naviView
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
UIView
.
fus_SafeTop
,
UIView
.
fus_screenW
,
UIView
.
fus_NavgationBarHeight
)];
self
.
naviView
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
UIView
.
fus_SafeTop
,
UIView
.
fus_screenW
,
UIView
.
fus_NavgationBarHeight
)];
[
self
addSubview
:
self
.
naviView
];
[
self
addSubview
:
self
.
naviView
];
self
.
scanBtn
=
[
UIButton
buttonWithType
:
UIButtonTypeCustom
];
[
self
.
scanBtn
setImage
:[
FUSUserCenterBunble
imageNamed
:
@"inviteReward_navi_scan_icon"
]
forState
:
UIControlStateNormal
];
[
self
.
naviView
addSubview
:
self
.
scanBtn
];
[
self
.
scanBtn
mas_makeConstraints
:
^
(
MASConstraintMaker
*
make
)
{
make
.
top
.
bottom
.
offset
(
0
);
make
.
right
.
offset
(
-
8
);
make
.
width
.
equalTo
(
self
.
scanBtn
.
mas_height
);
}];
[
self
.
scanBtn
addTarget
:
self
action
:
@selector
(
scanBtnDidClicked
:
)
forControlEvents
:
UIControlEventTouchUpInside
];
self
.
scanBtn
.
hidden
=
YES
;
if
([[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
FUSUserUDKeys
.
fus_DYNAMIC_SEND_SHOW_SWITCH
]
boolValue
])
{
if
([[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
FUSUserUDKeys
.
fus_DYNAMIC_SEND_SHOW_SWITCH
]
boolValue
])
{
self
.
publishBtn
=
[
UIButton
buttonWithType
:
UIButtonTypeCustom
];
self
.
publishBtn
=
[
UIButton
buttonWithType
:
UIButtonTypeCustom
];
[
self
.
publishBtn
setImage
:[
FUSUserCenterBunble
imageNamed
:
@"fus_my_setting_navi_publish_icon"
]
forState
:
UIControlStateNormal
];
[
self
.
publishBtn
setImage
:[
FUSUserCenterBunble
imageNamed
:
@"fus_my_setting_navi_publish_icon"
]
forState
:
UIControlStateNormal
];
...
@@ -647,6 +670,14 @@ typedef NS_ENUM(NSInteger, FUSMySettingItemType){
...
@@ -647,6 +670,14 @@ typedef NS_ENUM(NSInteger, FUSMySettingItemType){
}
}
}
}
-
(
void
)
scanBtnDidClicked
:
(
UIButton
*
)
btn
{
[[
FUSRouter
userRouter
]
fus_showBindAgentPageWithNeedShowSkipBtn
:
NO
success
:
^
{
[[
FUSRouter
userRouter
]
fus_showBindAgentSuccessPopViewWithSuccess
:
^
{
}];
}];
}
#pragma mark getter and setter
#pragma mark getter and setter
-
(
NSMutableArray
*
)
allGroups
{
-
(
NSMutableArray
*
)
allGroups
{
if
(
!
_allGroups
)
{
if
(
!
_allGroups
)
{
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/FUSInviteRewardController.swift
View file @
d1f9847b
...
@@ -203,7 +203,7 @@ public class FUSInviteRewardController: FUSBaseViewController {
...
@@ -203,7 +203,7 @@ public class FUSInviteRewardController: FUSBaseViewController {
})
.
disposed
(
by
:
disposeBag
)
})
.
disposed
(
by
:
disposeBag
)
let
scanBtn
=
UIButton
(
type
:
.
custom
)
let
scanBtn
=
UIButton
(
type
:
.
custom
)
scanBtn
.
setImage
(
FUS
InviteRewardMoreMenuType
.
bindEmissary
.
fus_getIconImage
(
),
for
:
.
normal
)
scanBtn
.
setImage
(
FUS
UserCenterBunble
.
imageNamed
(
"inviteReward_navi_scan_icon"
),
for
:
.
normal
)
scanBtn
.
rx
.
tap
.
subscribe
(
onNext
:
{
scanBtn
.
rx
.
tap
.
subscribe
(
onNext
:
{
FUSRouter
.
userRouter
()
.
fus_showBindAgentPage
(
withNeedShowSkipBtn
:
false
)
{
FUSRouter
.
userRouter
()
.
fus_showBindAgentPage
(
withNeedShowSkipBtn
:
false
)
{
FUSRouter
.
userRouter
()
.
fus_showBindAgentSuccessPopView
{
FUSRouter
.
userRouter
()
.
fus_showBindAgentSuccessPopView
{
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/FireFlyView/View/FUSZoneCanSendNewsFeedTipView.h
View file @
d1f9847b
...
@@ -13,7 +13,7 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -13,7 +13,7 @@ NS_ASSUME_NONNULL_BEGIN
@interface
FUSZoneCanSendNewsFeedTipView
:
UIView
@interface
FUSZoneCanSendNewsFeedTipView
:
UIView
// 判断是否弹出提示,如果需要,则直接弹出
// 判断是否弹出提示,如果需要,则直接弹出
+
(
FUSZoneCanSendNewsFeedTipView
*
)
fus_showZoneCanSendNewsFeedTipViewIfNeededOnSuperView
:(
UIView
*
)
superView
;
+
(
FUSZoneCanSendNewsFeedTipView
*
)
fus_showZoneCanSendNewsFeedTipViewIfNeededOnSuperView
:(
UIView
*
)
superView
buttonIndex
:(
NSInteger
)
index
;
@end
@end
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/FireFlyView/View/FUSZoneCanSendNewsFeedTipView.m
View file @
d1f9847b
...
@@ -18,16 +18,19 @@
...
@@ -18,16 +18,19 @@
@property
(
strong
,
nonatomic
)
IBOutlet
UILabel
*
tipLabel
;
@property
(
strong
,
nonatomic
)
IBOutlet
UILabel
*
tipLabel
;
@property
(
strong
,
nonatomic
)
IBOutlet
UIImageView
*
tipBGImageView
;
@property
(
strong
,
nonatomic
)
IBOutlet
UIImageView
*
tipBGImageView
;
@property
(
nonatomic
,
assign
)
NSInteger
buttonIndex
;
@end
@end
@implementation
FUSZoneCanSendNewsFeedTipView
@implementation
FUSZoneCanSendNewsFeedTipView
+
(
FUSZoneCanSendNewsFeedTipView
*
)
fus_showZoneCanSendNewsFeedTipViewIfNeededOnSuperView
:(
UIView
*
)
superView
{
+
(
FUSZoneCanSendNewsFeedTipView
*
)
fus_showZoneCanSendNewsFeedTipViewIfNeededOnSuperView
:(
UIView
*
)
superView
buttonIndex
:(
NSInteger
)
index
{
BOOL
hasShown
=
[[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
kFUSZoneCanSendNewsFeedTipViewHasShownUDK
]
boolValue
];
BOOL
hasShown
=
[[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
kFUSZoneCanSendNewsFeedTipViewHasShownUDK
]
boolValue
];
if
(
!
hasShown
&&
!
FUSConfig
.
sharedInstanced
.
devConfigs
.
appStatus
)
{
if
(
!
hasShown
&&
!
FUSConfig
.
sharedInstanced
.
devConfigs
.
appStatus
)
{
FUSZoneCanSendNewsFeedTipView
*
tipView
=
[[
FUSZoneCanSendNewsFeedTipView
alloc
]
initWithFrame
:
UIView
.
fus_screenFrame
];
FUSZoneCanSendNewsFeedTipView
*
tipView
=
[[
FUSZoneCanSendNewsFeedTipView
alloc
]
initWithFrame
:
UIView
.
fus_screenFrame
];
tipView
.
buttonIndex
=
index
;
[
superView
addSubview
:
tipView
];
[
superView
addSubview
:
tipView
];
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
@
(
YES
)
forKey
:
kFUSZoneCanSendNewsFeedTipViewHasShownUDK
];
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
@
(
YES
)
forKey
:
kFUSZoneCanSendNewsFeedTipViewHasShownUDK
];
return
tipView
;
return
tipView
;
...
@@ -69,7 +72,7 @@
...
@@ -69,7 +72,7 @@
[
self
.
customConstraints
addObjectsFromArray
:
[
self
.
customConstraints
addObjectsFromArray
:
[
NSLayoutConstraint
constraintsWithVisualFormat
:
[
NSLayoutConstraint
constraintsWithVisualFormat
:
@"H:|[view]|"
options
:
0
metrics
:
nil
views
:
views
]];
[
NSString
stringWithFormat
:
@"H:|[view]-%ld-|"
,
13
+
_buttonIndex
*
30
]
options
:
0
metrics
:
nil
views
:
views
]];
[
self
.
customConstraints
addObjectsFromArray
:
[
self
.
customConstraints
addObjectsFromArray
:
[
NSLayoutConstraint
constraintsWithVisualFormat
:
[
NSLayoutConstraint
constraintsWithVisualFormat
:
@"V:|[view]|"
options
:
0
metrics
:
nil
views
:
views
]];
@"V:|[view]|"
options
:
0
metrics
:
nil
views
:
views
]];
...
@@ -109,7 +112,7 @@
...
@@ -109,7 +112,7 @@
-
(
void
)
customInit
{
-
(
void
)
customInit
{
self
.
tipLabel
.
text
=
[
NSString
fus_localString
:
@"发帖文"
];
self
.
tipLabel
.
text
=
[
NSString
fus_localString
:
@"发帖文
213123123123123123213
"
];
self
.
tipLabel
.
textColor
=
[
UIColor
fus_textColorRich
];
self
.
tipLabel
.
textColor
=
[
UIColor
fus_textColorRich
];
self
.
tipLabel
.
font
=
[
UIFont
fus_themeBoldFont
:
14
];
self
.
tipLabel
.
font
=
[
UIFont
fus_themeBoldFont
:
14
];
self
.
tipBGImageView
.
image
=
[
FUSUserCenterBunble
imageNamed
:
@"zone_pop_tip_bg"
];
self
.
tipBGImageView
.
image
=
[
FUSUserCenterBunble
imageNamed
:
@"zone_pop_tip_bg"
];
...
...
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