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
f90563b0
authored
Jul 01, 2025
by
ludi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整理了翻译,等待翻译
parent
b1d8b614
Show whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
171 additions
and
81 deletions
.gitignore
DevelopmentPods/FUSFoundation/FUSFoundation/Assets/LocalizationString/Fusi_Chinese_Traditional.strings
FuSiLive.xcodeproj/project.pbxproj
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/InstantMessaging/Other/FUSIMChatService.m
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/InstantMessaging/View/Cell/CellContentView/FUSIMChatLiveRoomCellView.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/HomePage/View/FUSHomeView.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/ChatInputView/FUSLiveBottomToolSubView.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/ChatInputView/FUSShareView/View/FUSShareToolSheetView.swift
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartContentPrivacyView.swift
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartSetPasswordView.swift
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartSetPrivacyView.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/BindAgentVC/FUSBindAgentViewController.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/BindAgentVC/FUSRegisteredBindAgentInfoAlertView.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteEmissaryRewardDrawCell.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteEmissaryRewardDrawHeader.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteFunctionStepOneContentView.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteRewardInviteFunctionCell.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteRewardInviteFunctionHeader.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteRewardInvitePlanCell.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteRewardInviteRecallClansmanCell.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteRewardInviteRecallClansmanHeader.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteRewardMyClansmanLoadMoreCell.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteRewardMyEmissaryRewardCell.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/FUSInviteEmissaryRewardController.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/FUSInviteRewardController.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/View/FUSInviteRecallWellcomeAlertView.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/View/FUSInviteRewardMyView.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/View/FUSMyEmissaryQRCodeView.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/View/FUSMyInviteQRCodeDownloadView.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/FireFlyView/View/FUSZoneCanSendNewsFeedTipView.m
.gitignore
View file @
f90563b0
...
...
@@ -5,3 +5,5 @@ Modules/FUSChatCenterModule/FUSChatCenterModule.xcodeproj/xcuserdata/fusi.xcuser
Modules/FUSShowRoomModule/FUSShowRoomModule.xcodeproj/xcuserdata/fusi.xcuserdatad/xcschemes/xcschememanagement.plist
Modules/FUSUserCenterModule/FUSUserCenterModule.xcodeproj/xcuserdata/fusi.xcuserdatad/xcschemes/xcschememanagement.plist
Pods/Pods.xcodeproj/xcuserdata/fusi.xcuserdatad/xcschemes/xcschememanagement.plist
Pods/Pods.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/FUSBDAlphaPlayer-BDAlphaPlayer.xcscheme
Pods/Pods.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/FUSBDAlphaPlayer.xcscheme
DevelopmentPods/FUSFoundation/FUSFoundation/Assets/LocalizationString/Fusi_Chinese_Traditional.strings
View file @
f90563b0
"告诉朋友前往应用商店搜寻“FusiYa”" = "告訴朋友前往應用商店搜尋“FusiYa”";
"告诉朋友前往自己手机熟悉的应用商店,并搜寻“FusiYa” 关键词" = "告訴朋友前往自己手機熟悉的應用商店,並搜尋“FusiYa” 關鍵詞";
"很遗憾,您的年龄未满足FusiYa的注册条件。但是还是非常感谢对我们的关注!" = "很遺憾,您的年龄未滿足FusiYa的註冊條件。但是還是非常感謝對我們的關注!";
...
...
@@ -2028,8 +2025,6 @@
"樱花" = "櫻花";
"嗨,我刚加入FusiYa,希望和你成为朋友。" = "嗨,我剛加入FusiYa,希望和你成為朋友";
"连麦成功" = "連麥成功";
"请输入赠送数量" = "請輸入贈送數量";
...
...
@@ -2786,8 +2781,6 @@
"上一月" = "上一月";
"FusiYa" = "FusiYa";
"更高的清晰度对手机性能、网络性能要求更高。请确保手机散热良好,网络连接通畅。" = "更高的清晰度對手機性能、網絡性能要求更高。請確保手機散熱良好,網絡連接通暢。";
"日期:" = "日期:";
...
...
@@ -3042,3 +3035,98 @@
"今天" = "今天";
"您已切换至关注主播再次点击可恢复全部" = "您已切換至關注主播再次點擊可恢復全部";
"您已切换至全部主播再次点击可恢复关注" = "您已切換至全部主播再次點擊可恢復關注";
"私享屋-密码:" = "私享屋-密碼:";
"仅公开屋可进行PK" = "僅公開屋可進行PK";
"无法分享私享屋" = "無法分享私享屋";
"公开屋" = "公開屋";
"私享屋" = "私享屋";
"玩家正确输入密码后可进入屋内" = "玩家正確輸入密碼後可進入屋內";
"房间已切换到私享屋模式,仅追踪直播超过24小时的粉丝可进入房间,直播时长不计入直播奖励活动" = "房間已切換到私享屋模式,僅追蹤直播超過24小時的粉絲可進入房間,直播時長不計入直播獎勵活動";
"设置私享屋密码" = "設置私享屋密碼";
"输入密码,打开窗帘" = "輸入密碼,打開窗簾";
"私信问密码" = "私信問密碼";
"打开" = "打開";
"密码设置错误" = "密碼設置錯誤";
"密码错误,请重新输入" = "密碼錯誤,請重新輸入";
"我在私享屋直播" = "我在私享屋直播";
"需要输入密码进入直播屋" = "需要輸入密碼進入直播屋";
"密码:" = "密碼:";
"选择您要使用的社交媒体,发送社交媒体邀请给超过%@天未登入的老玩家" = "選擇您要使用的社交媒體,發送社交媒體邀請給超過%@天未登入的老玩家";
"拷贝您的专属邀请链接,发送链接给超过%@天未登入的老玩家,访问网页可下载。" = "拷貝您的專屬邀請鏈接,發送鏈接給超過%@天未登入的老玩家,訪問網頁可下載。";
"保存您的邀请QRCode图片,超过%@天未登入的老玩家通过扫描QRCode可以下载" = "保存您的邀請QRCode圖片,超過%@天未登入的老玩家通過掃描QRCode可以下載";
"告诉超过%@天未登入的老玩家前往自己手机熟悉的应用商店,并搜寻%@关键词" = "告訴超過%@天未登入的老玩家前往自己手機熟悉的應用商店,並搜尋%@關鍵詞";
"定制宣传图邀请" = "定製宣傳圖邀請";
"我的邀请码QRCode" = "我的邀請碼QRCode";
"发送我的专属QRcode给好友完成使者绑定" = "發送我的專屬QRcode給好友完成使者綁定";
"召回任务" = "召回任務";
"选择召回方式" = "選擇召回方式";
"召回流失族人" = "召回流失族人";
"%@天以上未登入%@的玩家,将会自动断开使者关系" = "%@天以上未登入%@的玩家,將會自動斷開使者關係";
"流失族人" = "流失族人";
"族人关系" = "族人關係";
"召唤老玩家回归" = "召喚老玩家回歸";
"今日使者奖励" = "今日使者獎勵";
"领取奖励" = "領取獎勵";
"全部领取" = "全部領取";
"明日可领取" = "明日可領取";
"流失族人%@" = "流失族人%@";
"最近30天内活跃的族人" = "最近30天內活躍的族人";
"我的邀请码" = "我的邀請碼";
"保存QRCode到您的相册,将此图片发送给您要邀请的好友扫描即可完成绑定您为使者和成功注册在部分国家和地区,只有完成使者绑定对方才能注册成功" = "保存QRCode到您的相冊,將此圖片發送給您要邀請的好友掃描即可完成綁定您為使者和成功註冊在部分國家和地區,只有完成使者綁定對方才能註冊成功";
"官网:%@" = "官網:%@";
"欢迎回归" = "歡迎回歸";
"许久未见,恭迎回归。回归7日内完成储值可以获得回归大礼包奖励。" = "許久未見,恭迎回歸。回歸7日內完成儲值可以獲得回歸大禮包獎勵。";
"回归大礼包" = "回歸大禮包";
"榜单" = "榜單";
"召回" = "召回";
"使者奖励领取" = "使者獎勵領取";
"请联系您的邀请人获得邀请QRCode" = "請聯繫您的邀請人獲得邀請QRCode";
FuSiLive.xcodeproj/project.pbxproj
View file @
f90563b0
...
...
@@ -672,7 +672,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME
=
AccentColor
;
CODE_SIGN_ENTITLEMENTS
=
FuSiLive/FuSiLive.entitlements
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
2025062600
02
;
CURRENT_PROJECT_VERSION
=
2025062600
11
;
DEFINES_MODULE
=
YES
;
DEVELOPMENT_TEAM
=
6GG26BHUMC
;
ENABLE_ON_DEMAND_RESOURCES
=
NO
;
...
...
@@ -940,7 +940,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME
=
AccentColor
;
CODE_SIGN_ENTITLEMENTS
=
FuSiLive/FuSiLive.entitlements
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
2025062600
02
;
CURRENT_PROJECT_VERSION
=
2025062600
11
;
DEFINES_MODULE
=
YES
;
DEVELOPMENT_TEAM
=
6GG26BHUMC
;
ENABLE_ON_DEMAND_RESOURCES
=
NO
;
...
...
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/InstantMessaging/Other/FUSIMChatService.m
View file @
f90563b0
...
...
@@ -2524,8 +2524,8 @@
liveTitle
=
[
NSString
fus_localString
:
@"我的直播開始啦"
];
liveContent
=
[
NSString
fus_localString
:
@"房間已開好,快來一起玩耍吧"
];
}
else
{
liveTitle
=
[
NSString
fus_
versionL
ocalString
:
@"我在私享屋直播"
];
liveContent
=
[
NSString
fus_
versionL
ocalString
:
@"需要输入密码进入直播屋"
];
liveTitle
=
[
NSString
fus_
l
ocalString
:
@"我在私享屋直播"
];
liveContent
=
[
NSString
fus_
l
ocalString
:
@"需要输入密码进入直播屋"
];
}
[
self
fus_sendLiveRoomShareWithRoomId
:
roomModel
.
roomId
pullFlowUrl
:
roomModel
.
publishUrl
...
...
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/InstantMessaging/View/Cell/CellContentView/FUSIMChatLiveRoomCellView.m
View file @
f90563b0
...
...
@@ -132,7 +132,7 @@
_tipsLabel
.
y
=
self
.
height
-
_tipsLabel
.
height
-
8
;
}
else
{
_tipsLabel
.
text
=
@""
;
NSString
*
passwordDesc
=
[
NSString
fus_
versionL
ocalString
:
@"密码:"
];
NSString
*
passwordDesc
=
[
NSString
fus_
l
ocalString
:
@"密码:"
];
NSString
*
passwordStr
=
[
NSString
stringWithFormat
:
@"%@%@"
,
passwordDesc
,
frameModel
.
msgModel
.
liveRoomPassword
];
NSMutableAttributedString
*
attr
=
[[
NSMutableAttributedString
alloc
]
initWithString
:
passwordStr
attributes
:@{
NSForegroundColorAttributeName
:
messageBgColor
,
NSFontAttributeName
:
tips_font
}];
NSRange
range
=
[
passwordStr
rangeOfString
:
frameModel
.
msgModel
.
liveRoomPassword
];
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/HomePage/View/FUSHomeView.m
View file @
f90563b0
...
...
@@ -403,10 +403,10 @@
}
else
if
(
type
==
FUSHomeViewAnchorListTypeFollow
&&
isLastSelected
==
NO
)
{
//上一次是普通,然后点了追踪
[
FUSDialogView
fus_showDialog
:[
NSString
fus_
versionL
ocalString
:
@"您已切换至关注主播再次点击可恢复全部"
]];
[
FUSDialogView
fus_showDialog
:[
NSString
fus_
l
ocalString
:
@"您已切换至关注主播再次点击可恢复全部"
]];
}
else
if
(
type
==
FUSHomeViewAnchorListTypeNormal
&&
isLastSelected
==
YES
)
{
//上一次是追踪,然后点了普通
[
FUSDialogView
fus_showDialog
:[
NSString
fus_
versionL
ocalString
:
@"您已切换至全部主播再次点击可恢复关注"
]];
[
FUSDialogView
fus_showDialog
:[
NSString
fus_
l
ocalString
:
@"您已切换至全部主播再次点击可恢复关注"
]];
}
}
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/ChatInputView/FUSLiveBottomToolSubView.m
View file @
f90563b0
...
...
@@ -241,7 +241,7 @@
if
(
type
==
FUSLiveBottomToolTypePK
)
{
if
(
FUSLiveHelper
.
shareInstance
.
roomScopeType
==
FUSLiveRoomScopeTypePassword
)
{
[
FUSDialogView
fus_showDialog
:[
NSString
fus_
versionL
ocalString
:
@"仅公开屋可进行PK"
]];
[
FUSDialogView
fus_showDialog
:[
NSString
fus_
l
ocalString
:
@"仅公开屋可进行PK"
]];
return
;
}
...
...
@@ -317,7 +317,7 @@
{
if
(
FUSLiveHelper
.
shareInstance
.
liveType
!=
FUSLiveTypeAnchor
&&
FUSLiveHelper
.
shareInstance
.
roomScopeType
==
FUSLiveRoomScopeTypePassword
)
{
[
FUSDialogView
fus_showDialog
:[
NSString
fus_
versionL
ocalString
:
@"无法分享私享屋"
]];
[
FUSDialogView
fus_showDialog
:[
NSString
fus_
l
ocalString
:
@"无法分享私享屋"
]];
return
;
}
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/ChatInputView/FUSShareView/View/FUSShareToolSheetView.swift
View file @
f90563b0
...
...
@@ -109,7 +109,7 @@ var isShowShareToolSheetView = true
shareTitleLabel
.
textColor
=
.
fus_textColorRich
()
shareTitleLabel
.
textAlignment
=
.
center
passwordDescLabel
.
text
=
String
.
fus_
versionL
ocalString
(
"私享屋-密码:"
)
passwordDescLabel
.
text
=
String
.
fus_
l
ocalString
(
"私享屋-密码:"
)
passwordDescLabel
.
font
=
.
fus_themeFont
(
12
)
passwordDescLabel
.
textColor
=
.
fus_textColorRich
()
passwordDescLabel
.
isHidden
=
true
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartContentPrivacyView.swift
View file @
f90563b0
...
...
@@ -42,10 +42,10 @@ import FUSCommon
switch
type
{
case
.
open
:
self
.
privacyImageView
.
image
=
FUSShowRoomCenterBunble
.
imageNamed
(
"live_start_openScope_img"
)
self
.
privacyLabel
.
text
=
.
fus_
versionL
ocalString
(
"公开屋"
)
self
.
privacyLabel
.
text
=
.
fus_
l
ocalString
(
"公开屋"
)
case
.
password
:
self
.
privacyImageView
.
image
=
FUSShowRoomCenterBunble
.
imageNamed
(
"live_start_passwordScope_img"
)
self
.
privacyLabel
.
text
=
.
fus_
versionL
ocalString
(
"私享屋"
)
self
.
privacyLabel
.
text
=
.
fus_
l
ocalString
(
"私享屋"
)
// case .intimacy:
//
// self.privacyImageView.image = FUSShowRoomCenterBunble.imageNamed("live_start_intimacyScope_img")
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartSetPasswordView.swift
View file @
f90563b0
...
...
@@ -107,7 +107,7 @@ import RxSwift
}
if
isAudience
==
false
{
titleLabel
.
text
=
.
fus_
versionL
ocalString
(
"设置私享屋密码"
)
titleLabel
.
text
=
.
fus_
l
ocalString
(
"设置私享屋密码"
)
self
.
submitBtn
.
setTitle
(
.
fus_localString
(
"确定"
),
for
:
.
normal
)
let
tipLabel
=
UILabel
()
tipLabel
.
font
=
.
fus_themeFont
(
13
)
...
...
@@ -119,13 +119,13 @@ import RxSwift
make
.
centerX
.
equalToSuperview
()
}
}
else
{
titleLabel
.
text
=
.
fus_
versionL
ocalString
(
"输入密码,打开窗帘"
)
self
.
submitBtn
.
setTitle
(
.
fus_
versionL
ocalString
(
"打开"
),
for
:
.
normal
)
titleLabel
.
text
=
.
fus_
l
ocalString
(
"输入密码,打开窗帘"
)
self
.
submitBtn
.
setTitle
(
.
fus_
l
ocalString
(
"打开"
),
for
:
.
normal
)
let
chatBtn
=
UIButton
(
type
:
.
custom
)
// 设置带下划线的文字
let
attributedTitle
=
NSAttributedString
(
string
:
.
fus_
versionL
ocalString
(
"私信问密码"
),
string
:
.
fus_
l
ocalString
(
"私信问密码"
),
attributes
:
[
.
foregroundColor
:
UIColor
.
fus_theme
()
??
.
black
,
.
underlineStyle
:
NSUnderlineStyle
.
single
.
rawValue
,
...
...
@@ -163,7 +163,7 @@ import RxSwift
let
newPassword
=
self
.
passwordView
.
fus_getText
()
if
newPassword
.
count
<
4
{
FUSDialogView
.
fus_showDialog
(
.
fus_
versionL
ocalString
(
"密码设置错误"
))
FUSDialogView
.
fus_showDialog
(
.
fus_
l
ocalString
(
"密码设置错误"
))
}
else
{
if
self
.
isAudience
{
...
...
@@ -177,7 +177,7 @@ import RxSwift
self
.
clickWithSucceedHandler
?(
true
,
newPassword
)
self
.
fus_dismissWithAnimation
()
}
failure
:
{
dict
,
msg
,
code
in
FUSDialogView
.
fus_showDialog
(
.
fus_
versionL
ocalString
(
"密码错误,请重新输入"
))
FUSDialogView
.
fus_showDialog
(
.
fus_
l
ocalString
(
"密码错误,请重新输入"
))
self
.
passwordView
.
fus_clear
()
}
}
else
{
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/Push/LiveStartView/FUSLiveStartSetPrivacyView.swift
View file @
f90563b0
...
...
@@ -102,8 +102,8 @@ import FUSCommon
//这里特殊用户有不一样的逻辑
let
iconImagesList
=
[
"live_start_openScope_cell"
,
"live_start_passwordScope_cell"
/*,"live_start_intimacyScope_cell"*/
]
let
titlesList
=
[
String
.
fus_
versionLocalString
(
"公开屋"
),
.
fus_versionL
ocalString
(
"私享屋"
)
/*, .fus_localString("亲密圈")*/
]
let
subTitlesList
=
[
String
.
fus_localString
(
"所有人可进入房间"
),
.
fus_
versionL
ocalString
(
"玩家正确输入密码后可进入屋内"
)
/*, .fus_localString("仅亲密好友可进入房间")*/
]
let
titlesList
=
[
String
.
fus_
localString
(
"公开屋"
),
.
fus_l
ocalString
(
"私享屋"
)
/*, .fus_localString("亲密圈")*/
]
let
subTitlesList
=
[
String
.
fus_localString
(
"所有人可进入房间"
),
.
fus_
l
ocalString
(
"玩家正确输入密码后可进入屋内"
)
/*, .fus_localString("仅亲密好友可进入房间")*/
]
let
itemHeight
=
56.0
privacyContentView
.
snp
.
makeConstraints
{
make
in
...
...
@@ -256,7 +256,7 @@ import FUSCommon
FUSDialogView
.
fus_showDialog
(
.
fus_localString
(
"房间已切换到全公开模式,所有人可进入房间"
))
case
.
password
:
//TODO: 文案:added by pidan
FUSDialogView
.
fus_showDialog
(
.
fus_
versionL
ocalString
(
"房间已切换到私享屋模式,仅追踪直播超过24小时的粉丝可进入房间,直播时长不计入直播奖励活动"
))
FUSDialogView
.
fus_showDialog
(
.
fus_
l
ocalString
(
"房间已切换到私享屋模式,仅追踪直播超过24小时的粉丝可进入房间,直播时长不计入直播奖励活动"
))
// case .intimacy:
// FUSDialogView.fus_showDialog(.fus_localString("房间已切换到亲密圈模式,仅亲密好友的用户可进入房间,直播时长不计入直播奖励活动"))
@unknown
default
:
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/BindAgentVC/FUSBindAgentViewController.swift
View file @
f90563b0
...
...
@@ -287,7 +287,7 @@ import FUSCommon
self
?
.
qrcodeTipDescribeLabel
.
isHidden
=
false
return
.
init
(
string
:
""
)
}
else
{
return
.
init
(
string
:
.
fus_
versionL
ocalString
(
"请联系您的邀请人获得邀请QRCode"
))
return
.
init
(
string
:
.
fus_
l
ocalString
(
"请联系您的邀请人获得邀请QRCode"
))
}
}
self
?
.
qrcodeTipDescribeLabel
.
isHidden
=
true
...
...
@@ -519,7 +519,7 @@ import FUSCommon
// 有错误信息
if
let
errorMsg
=
errorMsg
,
errorMsg
.
count
>
0
{
FUSAlertView
.
showAlert
(
withTitle
:
.
fus_
versionL
ocalString
(
"绑定使者"
),
message
:
errorMsg
,
cancelButtonTitle
:
.
fus_localString
(
"确认"
),
otherButtonTitles
:
nil
)
{[
weak
self
]
_
in
FUSAlertView
.
showAlert
(
withTitle
:
.
fus_
l
ocalString
(
"绑定使者"
),
message
:
errorMsg
,
cancelButtonTitle
:
.
fus_localString
(
"确认"
),
otherButtonTitles
:
nil
)
{[
weak
self
]
_
in
completed
(
false
)
// 如果哪天gcp说,注册的时候,扫使者码出来了,然后点确认,注册失败了,就得返回注册页面,那么就在这里,把ff_startCamera换成pop
self
?
.
fus_startCamera
()
...
...
@@ -533,7 +533,7 @@ import FUSCommon
}
failure
:
{
msg
,
code
in
completed
(
false
)
FUSLoadingView
.
fus_dismissProgressView
()
FUSAlertView
.
showAlert
(
withTitle
:
.
fus_
versionL
ocalString
(
"绑定使者"
),
message
:
msg
,
cancelButtonTitle
:
.
fus_localString
(
"确认"
),
otherButtonTitles
:
nil
)
{[
weak
self
]
_
in
FUSAlertView
.
showAlert
(
withTitle
:
.
fus_
l
ocalString
(
"绑定使者"
),
message
:
msg
,
cancelButtonTitle
:
.
fus_localString
(
"确认"
),
otherButtonTitles
:
nil
)
{[
weak
self
]
_
in
// self?.ff_startCamera()
self
?
.
pop
()
}
...
...
@@ -555,7 +555,7 @@ import FUSCommon
}
failure
:
{
msg
,
code
in
completed
(
false
)
FUSLoadingView
.
fus_dismissProgressView
()
FUSAlertView
.
showAlert
(
withTitle
:
.
fus_
versionL
ocalString
(
"绑定使者"
),
message
:
msg
,
cancelButtonTitle
:
.
fus_localString
(
"确认"
),
otherButtonTitles
:
nil
)
{[
weak
self
]
_
in
FUSAlertView
.
showAlert
(
withTitle
:
.
fus_
l
ocalString
(
"绑定使者"
),
message
:
msg
,
cancelButtonTitle
:
.
fus_localString
(
"确认"
),
otherButtonTitles
:
nil
)
{[
weak
self
]
_
in
self
?
.
fus_startCamera
()
completed
(
false
)
}
...
...
@@ -575,7 +575,7 @@ import FUSCommon
completed
?(
false
)
// 有错误信息
FUSAlertView
.
showAlert
(
withTitle
:
.
fus_
versionL
ocalString
(
"绑定使者"
),
message
:
msg
,
cancelButtonTitle
:
.
fus_localString
(
"确认"
),
otherButtonTitles
:
nil
)
{[
weak
self
]
_
in
FUSAlertView
.
showAlert
(
withTitle
:
.
fus_
l
ocalString
(
"绑定使者"
),
message
:
msg
,
cancelButtonTitle
:
.
fus_localString
(
"确认"
),
otherButtonTitles
:
nil
)
{[
weak
self
]
_
in
self
?
.
fus_startCamera
()
}
}
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/BindAgentVC/FUSRegisteredBindAgentInfoAlertView.swift
View file @
f90563b0
...
...
@@ -53,7 +53,7 @@ class FUSRegisteredBindAgentInfoAlertView: FUSBaseView {
titleLabel
.
font
=
.
fus_themeBoldFont
(
20
)
titleLabel
.
textColor
=
.
fus_textColorRich
()
titleLabel
.
text
=
.
fus_
versionL
ocalString
(
"绑定使者"
)
titleLabel
.
text
=
.
fus_
l
ocalString
(
"绑定使者"
)
contentView
.
addSubview
(
titleLabel
)
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
centerX
.
equalToSuperview
()
...
...
@@ -62,7 +62,7 @@ class FUSRegisteredBindAgentInfoAlertView: FUSBaseView {
subTitleLabel
.
font
=
.
fus_themeFont
(
14
)
subTitleLabel
.
textColor
=
.
fus_textColorRich
()
subTitleLabel
.
text
=
.
fus_
versionL
ocalString
(
"绑定使者:"
)
subTitleLabel
.
text
=
.
fus_
l
ocalString
(
"绑定使者:"
)
contentView
.
addSubview
(
subTitleLabel
)
subTitleLabel
.
snp
.
makeConstraints
{
make
in
make
.
centerX
.
equalToSuperview
()
...
...
@@ -100,7 +100,7 @@ class FUSRegisteredBindAgentInfoAlertView: FUSBaseView {
okBtn
.
style
=
.
blue
okBtn
.
titleLabel
?
.
font
=
.
fus_themeMediumFont
(
15
)
okBtn
.
setTitle
(
.
fus_
versionL
ocalString
(
"确认"
),
for
:
.
normal
)
okBtn
.
setTitle
(
.
fus_
l
ocalString
(
"确认"
),
for
:
.
normal
)
contentView
.
addSubview
(
okBtn
)
okBtn
.
snp
.
makeConstraints
{
make
in
make
.
centerX
.
equalToSuperview
()
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteEmissaryRewardDrawCell.swift
View file @
f90563b0
...
...
@@ -76,8 +76,8 @@ class FUSInviteEmissaryRewardDrawCell: UITableViewCell {
make
.
centerY
.
equalToSuperview
()
}
let
drawText
=
String
.
fus_
versionL
ocalString
(
"领取"
)
let
drawedText
=
String
.
fus_
versionL
ocalString
(
"已领取"
)
let
drawText
=
String
.
fus_
l
ocalString
(
"领取"
)
let
drawedText
=
String
.
fus_
l
ocalString
(
"已领取"
)
let
drawTextSize
=
drawText
.
size
(
for
:
.
fus_themeMediumFont
(
13
),
maxWidth
:
1000
,
maxHeight
:
20
)
let
drawedTextSize
=
drawedText
.
size
(
for
:
.
fus_themeMediumFont
(
13
),
maxWidth
:
1000
,
maxHeight
:
20
)
let
drawTextMaxWidth
=
max
(
drawTextSize
.
width
,
drawedTextSize
.
width
)
...
...
@@ -106,7 +106,7 @@ class FUSInviteEmissaryRewardDrawCell: UITableViewCell {
notArrivedDateTipsLabel
.
font
=
.
fus_themeMediumFont
(
13
)
notArrivedDateTipsLabel
.
textColor
=
.
fus_textColorLight
()
notArrivedDateTipsLabel
.
text
=
.
fus_
versionLocalString
(
"明日可領
取"
)
notArrivedDateTipsLabel
.
text
=
.
fus_
localString
(
"明日可领
取"
)
bgView
.
addSubview
(
notArrivedDateTipsLabel
)
notArrivedDateTipsLabel
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalTo
(
-
16
)
...
...
@@ -141,7 +141,7 @@ class FUSInviteEmissaryRewardDrawCell: UITableViewCell {
make
.
font
(
.
fus_themeFont
(
13
))
.
alignment
(
.
center
)
})
descLabel
.
text
=
Date
.
getTimeStringWith
(
timeStamp
:
"
\(
model
.
statdate
)
"
,
dateFormat
:
"yyyy/MM/dd"
)
+
" "
+
.
fus_
versionL
ocalString
(
"使者奖励"
)
descLabel
.
text
=
Date
.
getTimeStringWith
(
timeStamp
:
"
\(
model
.
statdate
)
"
,
dateFormat
:
"yyyy/MM/dd"
)
+
" "
+
.
fus_
l
ocalString
(
"使者奖励"
)
if
model
.
status
==
-
1
{
self
.
notArrivedDateTipsLabel
.
isHidden
=
false
...
...
@@ -167,22 +167,22 @@ class FUSInviteEmissaryRewardDrawCell: UITableViewCell {
var
unitString
:
String
=
""
if
day
>
0
{
dateString
=
.
init
(
format
:
"%zd"
,
day
)
unitString
=
.
fus_
versionL
ocalString
(
"天"
)
unitString
=
.
fus_
l
ocalString
(
"天"
)
}
else
if
hour
>
0
{
dateString
=
.
init
(
format
:
"%zd"
,
hour
)
unitString
=
.
fus_
versionL
ocalString
(
"小时"
)
unitString
=
.
fus_
l
ocalString
(
"小时"
)
}
else
{
dateString
=
.
init
(
format
:
"%zd"
,
min
)
unitString
=
.
fus_
versionL
ocalString
(
"分钟"
)
unitString
=
.
fus_
l
ocalString
(
"分钟"
)
}
expiretimeLabel
.
attributedText
=
.
sj
.
makeText
({
make
in
make
.
append
(
dateString
)
.
textColor
(
.
init
(
hex
:
"#E94F4C"
))
make
.
append
(
" "
)
make
.
append
(
unitString
)
make
.
append
(
String
.
init
(
format
:
.
fus_
versionL
ocalString
(
"%@后过期"
),
""
))
make
.
append
(
String
.
init
(
format
:
.
fus_
l
ocalString
(
"%@后过期"
),
""
))
make
.
font
(
.
fus_themeFont
(
11
))
.
textColor
(
.
init
(
hex
:
"#808080"
))
})
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteEmissaryRewardDrawHeader.swift
View file @
f90563b0
...
...
@@ -58,7 +58,7 @@ class FUSInviteEmissaryRewardDrawHeader: UITableViewHeaderFooterView {
titleLabel
.
font
=
.
fus_themeMediumFont
(
18
)
titleLabel
.
textColor
=
.
fus_textColorRich
()
titleLabel
.
text
=
.
fus_
versionL
ocalString
(
"奖励领取"
)
titleLabel
.
text
=
.
fus_
l
ocalString
(
"奖励领取"
)
bgView
.
addSubview
(
titleLabel
)
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
dotView
.
snp
.
right
)
.
offset
(
8
)
...
...
@@ -67,7 +67,7 @@ class FUSInviteEmissaryRewardDrawHeader: UITableViewHeaderFooterView {
drawBtn
.
setTitleColor
(
.
fus_diamondBlue
(),
for
:
.
normal
)
drawBtn
.
titleLabel
?
.
font
=
.
fus_themeMediumFont
(
13
)
drawBtn
.
setTitle
(
" "
+
.
fus_
versionL
ocalString
(
"全部领取"
)
+
" "
,
for
:
.
normal
)
drawBtn
.
setTitle
(
" "
+
.
fus_
l
ocalString
(
"全部领取"
)
+
" "
,
for
:
.
normal
)
bgView
.
addSubview
(
drawBtn
)
drawBtn
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalToSuperview
()
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteFunctionStepOneContentView.swift
View file @
f90563b0
...
...
@@ -469,15 +469,15 @@ extension FUSInviteRewardInviteFunctionCell.FUSInviteRewardInviteFunctionType{
let
recallDay
:
String
=
"
\(
FUSSwiftCacheDataShare
.
share
.
settingConfigModel
.
value
?
.
inviteDataRecallShowDay
??
90
)
"
switch
self
{
case
.
media
:
return
.
init
(
format
:
.
fus_
versionL
ocalString
(
"选择您要使用的社交媒体,发送社交媒体邀请给超过%@天未登入的老玩家"
),
recallDay
)
return
.
init
(
format
:
.
fus_
l
ocalString
(
"选择您要使用的社交媒体,发送社交媒体邀请给超过%@天未登入的老玩家"
),
recallDay
)
case
.
web
:
return
.
init
(
format
:
.
fus_
versionL
ocalString
(
"拷贝您的专属邀请链接,发送链接给超过%@天未登入的老玩家,访问网页可下载。"
),
recallDay
)
return
.
init
(
format
:
.
fus_
l
ocalString
(
"拷贝您的专属邀请链接,发送链接给超过%@天未登入的老玩家,访问网页可下载。"
),
recallDay
)
case
.
QRCode
:
return
.
init
(
format
:
.
fus_
versionL
ocalString
(
"保存您的邀请QRCode图片,超过%@天未登入的老玩家通过扫描QRCode可以下载"
),
recallDay
)
return
.
init
(
format
:
.
fus_
l
ocalString
(
"保存您的邀请QRCode图片,超过%@天未登入的老玩家通过扫描QRCode可以下载"
),
recallDay
)
case
.
appStore
:
return
.
init
(
format
:
.
fus_
versionLocalString
(
"告诉超过%@天未登入的老玩家前往自己手机熟悉的应用商店,并搜寻“FusiYa”关键词"
),
recallDay
)
return
.
init
(
format
:
.
fus_
localString
(
"告诉超过%@天未登入的老玩家前往自己手机熟悉的应用商店,并搜寻%@关键词"
),
recallDay
,
"“FusiYa”"
)
case
.
inviteCode
:
return
.
fus_
versionL
ocalString
(
"部分地区新玩家注册的时候需要填写邀请码才可以完成注册流程"
)
return
.
fus_
l
ocalString
(
"部分地区新玩家注册的时候需要填写邀请码才可以完成注册流程"
)
default
:
return
""
}
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteRewardInviteFunctionCell.swift
View file @
f90563b0
...
...
@@ -41,11 +41,11 @@ class FUSInviteRewardInviteFunctionCell: UITableViewCell {
case
.
web
:
return
.
fus_localString
(
"网页链接邀请"
)
case
.
QRCode
:
return
.
fus_
versionL
ocalString
(
"定制宣传图邀请"
)
return
.
fus_
l
ocalString
(
"定制宣传图邀请"
)
case
.
appStore
:
return
.
fus_localString
(
"应用商店邀请"
)
case
.
myEmissaryCode
:
return
.
fus_
versionL
ocalString
(
"我的邀请码QRCode"
)
return
.
fus_
l
ocalString
(
"我的邀请码QRCode"
)
default
:
return
""
}
...
...
@@ -62,7 +62,7 @@ class FUSInviteRewardInviteFunctionCell: UITableViewCell {
case
.
appStore
:
return
.
fus_localString
(
"告诉朋友前往应用商店搜寻“FusiYa”"
)
case
.
myEmissaryCode
:
return
.
fus_
versionL
ocalString
(
"发送我的专属QRcode给好友完成使者绑定"
)
return
.
fus_
l
ocalString
(
"发送我的专属QRcode给好友完成使者绑定"
)
default
:
return
""
}
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteRewardInviteFunctionHeader.swift
View file @
f90563b0
...
...
@@ -104,11 +104,11 @@ class FUSInviteRewardInviteFunctionHeader: FUSBaseView {
case
.
emissaryRecall
:
descLabel
.
isHidden
=
true
emissaryLineImageView
.
isHidden
=
false
titleLabel
.
text
=
.
fus_
versionL
ocalString
(
"召回任务"
)
titleLabel
.
text
=
.
fus_
l
ocalString
(
"召回任务"
)
case
.
recallFunction
:
descLabel
.
isHidden
=
true
emissaryLineImageView
.
isHidden
=
true
titleLabel
.
text
=
.
fus_
versionL
ocalString
(
"选择召回方式"
)
titleLabel
.
text
=
.
fus_
l
ocalString
(
"选择召回方式"
)
}
let
titleSize
=
titleLabel
.
text
?
.
size
(
for
:
.
fus_themeMediumFont
(
18
),
maxWidth
:
Double
(
MAXFLOAT
),
maxHeight
:
30
)
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteRewardInvitePlanCell.swift
View file @
f90563b0
...
...
@@ -302,10 +302,10 @@ extension FUSInviteRewardInviteView.FUSInviteRewardInviteViewType{
func
fus_getPlanTitle
()
->
NSAttributedString
{
return
.
sj
.
makeText
({
make
in
if
self
==
.
invite
{
make
.
append
(
.
fus_
versionL
ocalString
(
"邀请新玩家加入"
))
.
textColor
(
.
fus_textColorRich
())
make
.
append
(
.
fus_
l
ocalString
(
"邀请新玩家加入"
))
.
textColor
(
.
fus_textColorRich
())
}
else
{
make
.
append
(
.
fus_
versionL
ocalString
(
"召唤老玩家回归"
))
.
textColor
(
.
fus_textColorRich
())
make
.
append
(
.
fus_
l
ocalString
(
"召唤老玩家回归"
))
.
textColor
(
.
fus_textColorRich
())
}
make
.
append
(
" "
)
make
.
append
(
"FusiYa"
)
.
textColor
(
.
fus_diamondBlue
())
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteRewardInviteRecallClansmanCell.swift
View file @
f90563b0
...
...
@@ -16,9 +16,9 @@ class FUSInviteRewardInviteRecallClansmanCell: UITableViewCell {
func
fus_getTitle
()
->
String
{
switch
self
{
case
.
churnClansman
:
return
.
fus_
versionL
ocalString
(
"流失族人"
)
return
.
fus_
l
ocalString
(
"流失族人"
)
case
.
clansmanRelationship
:
return
.
fus_
versionL
ocalString
(
"族人关系"
)
return
.
fus_
l
ocalString
(
"族人关系"
)
}
}
}
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteRewardInviteRecallClansmanHeader.swift
View file @
f90563b0
...
...
@@ -15,14 +15,14 @@ class FUSInviteRewardInviteRecallClansmanHeader: FUSBaseView {
func
fus_getTitle
()
->
String
{
switch
self
{
case
.
recallClansman
:
return
.
fus_
versionL
ocalString
(
"召回流失族人"
)
return
.
fus_
l
ocalString
(
"召回流失族人"
)
}
}
func
fus_getDesc
()
->
String
{
switch
self
{
case
.
recallClansman
:
return
.
init
(
format
:
.
fus_
versionLocalString
(
"%@天以上未登入FIREFLY的玩家,将会自动断开使者关系"
),
"
\(
FUSSwiftCacheDataShare
.
share
.
settingConfigModel
.
value
?
.
inviteDataRecallShowDay
??
90
)
"
)
return
.
init
(
format
:
.
fus_
localString
(
"%@天以上未登入%@的玩家,将会自动断开使者关系"
),
"
\(
FUSSwiftCacheDataShare
.
share
.
settingConfigModel
.
value
?
.
inviteDataRecallShowDay
??
90
)
"
,
"FusiYa
"
)
}
}
}
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteRewardMyClansmanLoadMoreCell.swift
View file @
f90563b0
...
...
@@ -75,7 +75,7 @@ class FUSInviteRewardMyClansmanLoadMoreCell: UITableViewCell {
titleLabel
.
font
=
.
fus_themeFont
(
11
)
titleLabel
.
textColor
=
.
init
(
hexString
:
"#8C8C8C"
)
titleLabel
.
text
=
.
fus_
versionL
ocalString
(
"加载更多"
)
titleLabel
.
text
=
.
fus_
l
ocalString
(
"加载更多"
)
centerView
.
addSubview
(
titleLabel
)
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalToSuperview
()
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/Cell/FUSInviteRewardMyEmissaryRewardCell.swift
View file @
f90563b0
...
...
@@ -55,7 +55,7 @@ class FUSInviteRewardMyEmissaryRewardCell: UITableViewCell {
titleLabel
.
font
=
.
fus_themeFont
(
14
)
titleLabel
.
textColor
=
.
fus_textColorDeep
()
titleLabel
.
text
=
.
fus_
versionL
ocalString
(
"今日使者奖励"
)
titleLabel
.
text
=
.
fus_
l
ocalString
(
"今日使者奖励"
)
bgImageView
.
addSubview
(
titleLabel
)
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
16
)
...
...
@@ -80,7 +80,7 @@ class FUSInviteRewardMyEmissaryRewardCell: UITableViewCell {
drawBtn
.
style
=
.
blue
drawBtn
.
titleLabel
?
.
font
=
.
fus_themeMediumFont
(
14
)
drawBtn
.
setTitle
(
" "
+
.
fus_
versionL
ocalString
(
"领取奖励"
)
+
" "
,
for
:
.
normal
)
drawBtn
.
setTitle
(
" "
+
.
fus_
l
ocalString
(
"领取奖励"
)
+
" "
,
for
:
.
normal
)
bgImageView
.
addSubview
(
drawBtn
)
drawBtn
.
snp
.
makeConstraints
{
make
in
make
.
centerX
.
equalToSuperview
()
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/FUSInviteEmissaryRewardController.swift
View file @
f90563b0
...
...
@@ -16,7 +16,7 @@ class FUSInviteEmissaryRewardController: FUSBaseViewController {
super
.
viewDidLoad
()
self
.
view
.
backgroundColor
=
.
white
self
.
title
=
.
fus_
versionL
ocalString
(
"使者奖励领取"
)
self
.
title
=
.
fus_
l
ocalString
(
"使者奖励领取"
)
self
.
showBackBtn
=
true
makeUI
()
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/FUSInviteRewardController.swift
View file @
f90563b0
...
...
@@ -34,11 +34,11 @@ public class FUSInviteRewardController: FUSBaseViewController {
case
.
task
:
return
.
fus_localString
(
"任务"
)
case
.
board
:
return
.
fus_
versionL
ocalString
(
"榜单"
)
return
.
fus_
l
ocalString
(
"榜单"
)
case
.
my
:
return
.
fus_localString
(
"我的"
)
case
.
recall
:
return
.
fus_
versionL
ocalString
(
"召回"
)
return
.
fus_
l
ocalString
(
"召回"
)
}
}
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/View/FUSInviteRecallWellcomeAlertView.swift
View file @
f90563b0
...
...
@@ -54,7 +54,7 @@ import UIKit
titleLabel
.
font
=
.
fus_themeBoldFont
(
20
)
titleLabel
.
textColor
=
.
fus_textColorDeep
()
titleLabel
.
text
=
.
fus_
versionL
ocalString
(
"欢迎回归"
)
titleLabel
.
text
=
.
fus_
l
ocalString
(
"欢迎回归"
)
contentView
.
addSubview
(
titleLabel
)
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
24
)
...
...
@@ -64,7 +64,7 @@ import UIKit
descLabel
.
font
=
.
fus_themeFont
(
14
)
descLabel
.
textColor
=
.
fus_textColorMedium
()
descLabel
.
numberOfLines
=
0
descLabel
.
text
=
.
fus_
versionL
ocalString
(
"许久未见,恭迎回归。回归7日内完成储值可以获得回归大礼包奖励。"
)
descLabel
.
text
=
.
fus_
l
ocalString
(
"许久未见,恭迎回归。回归7日内完成储值可以获得回归大礼包奖励。"
)
contentView
.
addSubview
(
descLabel
)
descLabel
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
10
)
...
...
@@ -87,7 +87,7 @@ import UIKit
recallLabel
.
font
=
.
fus_themeMediumFont
(
15
)
recallLabel
.
textColor
=
.
white
recallLabel
.
backgroundColor
=
.
init
(
hexString
:
"#C1C0C0"
)
recallLabel
.
text
=
" "
+
.
fus_
versionL
ocalString
(
"回归大礼包"
)
+
" "
recallLabel
.
text
=
" "
+
.
fus_
l
ocalString
(
"回归大礼包"
)
+
" "
recallLabel
.
layer
.
cornerRadius
=
14
recallLabel
.
layer
.
masksToBounds
=
true
contentView
.
addSubview
(
recallLabel
)
...
...
@@ -99,7 +99,7 @@ import UIKit
okBtn
.
style
=
.
blue
okBtn
.
titleLabel
?
.
font
=
.
fus_themeMediumFont
(
15
)
okBtn
.
setTitle
(
.
fus_
versionL
ocalString
(
"确认"
),
for
:
.
normal
)
okBtn
.
setTitle
(
.
fus_
l
ocalString
(
"确认"
),
for
:
.
normal
)
contentView
.
addSubview
(
okBtn
)
okBtn
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
recallBgImageView
.
snp
.
bottom
)
.
offset
(
2
)
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/View/FUSInviteRewardMyView.swift
View file @
f90563b0
...
...
@@ -368,9 +368,9 @@ extension FUSInviteRewardMyView.FUSInviteRewardMySectionType {
func
fus_getClansmanHeaderTitle
()
->
String
{
switch
self
{
case
.
dauClansman
:
return
.
fus_
versionL
ocalString
(
"活跃族人%@"
)
return
.
fus_
l
ocalString
(
"活跃族人%@"
)
case
.
recallClansman
:
return
.
fus_
versionL
ocalString
(
"流失族人%@"
)
return
.
fus_
l
ocalString
(
"流失族人%@"
)
default
:
return
""
}
...
...
@@ -379,9 +379,9 @@ extension FUSInviteRewardMyView.FUSInviteRewardMySectionType {
func
ff_getClansmanHeaderSubTitle
()
->
String
{
switch
self
{
case
.
dauClansman
:
return
.
fus_
versionL
ocalString
(
"最近30天内活跃的族人"
)
return
.
fus_
l
ocalString
(
"最近30天内活跃的族人"
)
case
.
recallClansman
:
return
.
init
(
format
:
.
fus_
versionLocalString
(
"%@天以上未登入FIREFLY的玩家,将会自动断开使者关系"
),
"
\(
FUSSwiftCacheDataShare
.
share
.
settingConfigModel
.
value
?
.
inviteDataRecallShowDay
??
90
)
"
)
return
.
init
(
format
:
.
fus_
localString
(
"%@天以上未登入%@的玩家,将会自动断开使者关系"
),
"
\(
FUSSwiftCacheDataShare
.
share
.
settingConfigModel
.
value
?
.
inviteDataRecallShowDay
??
90
)
"
,
"FusiYa
"
)
default
:
return
""
}
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/View/FUSMyEmissaryQRCodeView.swift
View file @
f90563b0
...
...
@@ -29,7 +29,7 @@ class FUSMyEmissaryQRCodeView: FUSBaseView {
titleLabel
.
font
=
.
fus_themeMediumFont
(
22
)
titleLabel
.
textColor
=
.
fus_textColorRich
()
// titleLabel.text = .fus_localString("我的使者码")
titleLabel
.
text
=
.
fus_
versionL
ocalString
(
"我的邀请码"
)
titleLabel
.
text
=
.
fus_
l
ocalString
(
"我的邀请码"
)
self
.
addSubview
(
titleLabel
)
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
centerX
.
equalToSuperview
()
...
...
@@ -41,7 +41,7 @@ class FUSMyEmissaryQRCodeView: FUSBaseView {
descLabel
.
textColor
=
.
fus_textColorMedium
()
descLabel
.
numberOfLines
=
0
// descLabel.text = .fus_localString("在APP—「我的」—「邀请有奖」—「右上角菜单」 -「绑定使者」扫描QRCode绑定您为使者")
descLabel
.
text
=
.
fus_
versionL
ocalString
(
"保存QRCode到您的相册,将此图片发送给您要邀请的好友扫描即可完成绑定您为使者和成功注册在部分国家和地区,只有完成使者绑定对方才能注册成功"
)
descLabel
.
text
=
.
fus_
l
ocalString
(
"保存QRCode到您的相册,将此图片发送给您要邀请的好友扫描即可完成绑定您为使者和成功注册在部分国家和地区,只有完成使者绑定对方才能注册成功"
)
self
.
addSubview
(
descLabel
)
descLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
equalToSuperview
()
.
inset
(
35
)
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/InviteReward/View/FUSMyInviteQRCodeDownloadView.swift
View file @
f90563b0
...
...
@@ -36,7 +36,7 @@ class FUSMyInviteQRCodeDownloadView: FUSBaseView {
titleLabel
.
font
=
.
fus_themeMediumFont
(
22
)
titleLabel
.
textColor
=
.
fus_textColorRich
()
// titleLabel.text = .fus_localString("我的使者码")
titleLabel
.
text
=
.
fus_
versionL
ocalString
(
"我的邀请码"
)
titleLabel
.
text
=
.
fus_
l
ocalString
(
"我的邀请码"
)
self
.
addSubview
(
titleLabel
)
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
centerX
.
equalToSuperview
()
...
...
@@ -95,7 +95,7 @@ class FUSMyInviteQRCodeDownloadView: FUSBaseView {
qrCodeLabel
.
font
=
.
fus_themeFont
(
15
)
qrCodeLabel
.
textColor
=
.
fus_textColorLight2
()
qrCodeLabel
.
text
=
.
init
(
format
:
.
fus_
versionL
ocalString
(
"官网:%@"
),
"fusiclub.com"
)
qrCodeLabel
.
text
=
.
init
(
format
:
.
fus_
l
ocalString
(
"官网:%@"
),
"fusiclub.com"
)
self
.
addSubview
(
qrCodeLabel
)
qrCodeLabel
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
qrCodeView
.
snp
.
bottom
)
.
offset
(
10
)
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/FireFlyView/View/FUSZoneCanSendNewsFeedTipView.m
View file @
f90563b0
...
...
@@ -112,7 +112,7 @@
-
(
void
)
customInit
{
self
.
tipLabel
.
text
=
[
NSString
fus_localString
:
@"发帖文
213123123123123123213
"
];
self
.
tipLabel
.
text
=
[
NSString
fus_localString
:
@"发帖文"
];
self
.
tipLabel
.
textColor
=
[
UIColor
fus_textColorRich
];
self
.
tipLabel
.
font
=
[
UIFont
fus_themeBoldFont
:
14
];
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