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
d5c0e102
authored
Jan 07, 2025
by
ludi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
准备替换翻译
parent
aa5a40d4
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
55 additions
and
49 deletions
DevelopmentPods/FUSCommon/FUSCommon/Classes/Common/Models/FUSBackpackMotorModel.m
DevelopmentPods/FUSCommon/FUSCommon/Classes/Common/View/FUSRoomPushNoticeView.m
DevelopmentPods/FUSCommon/FUSCommon/Classes/Foundation/DataShare/FUSSwiftCacheDataShare.swift
DevelopmentPods/FUSCommon/FUSCommon/Classes/Foundation/Models/FUSUserRiskLevelModel.m
DevelopmentPods/FUSFoundation/FUSFoundation/Assets/LocalizationString/Fusi_Chinese.strings
Modules/FUSChatCenterModule/FUSChatCenterModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/ZhaiXin/Main/View/FUSCallRecordCell.swift
Modules/FUSShowRoomModule/FUSShowRoomModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
Modules/FUSUserCenterModule/FUSUserCenterModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/Backpack/FUSBackpackGiftCell.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/Backpack/FUSBackpackGiftView.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/Backpack/FUSBackpackMotorCell.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/Backpack/FUSBackpackMotorView.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/Backpack/FUSBackpackPropsCell.swift
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/Backpack/FUSBackpackPropsView.swift
DevelopmentPods/FUSCommon/FUSCommon/Classes/Common/Models/FUSBackpackMotorModel.m
View file @
d5c0e102
...
@@ -34,13 +34,13 @@
...
@@ -34,13 +34,13 @@
NSString
*
rlt
=
@""
;
NSString
*
rlt
=
@""
;
if
(
day
>
0
)
{
if
(
day
>
0
)
{
rlt
=
[
NSString
fus_
versionL
ocalString
:
@"天"
];
rlt
=
[
NSString
fus_
l
ocalString
:
@"天"
];
}
}
else
if
(
hour
>
0
)
{
else
if
(
hour
>
0
)
{
rlt
=
[
NSString
fus_
versionL
ocalString
:
@"小时"
];
rlt
=
[
NSString
fus_
l
ocalString
:
@"小时"
];
}
}
else
{
else
{
rlt
=
[
NSString
fus_
versionL
ocalString
:
@"分钟"
];
rlt
=
[
NSString
fus_
l
ocalString
:
@"分钟"
];
}
}
return
rlt
;
return
rlt
;
}
}
...
...
DevelopmentPods/FUSCommon/FUSCommon/Classes/Common/View/FUSRoomPushNoticeView.m
View file @
d5c0e102
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
}
}
case
FUSPushNoticeViewTypeOneToOneChatReceive
:
case
FUSPushNoticeViewTypeOneToOneChatReceive
:
{
{
_noticeWordsLabel
.
text
=
[
NSString
fus_
versionL
ocalString
:
@"开启通知权限,可以帮助您提升接通率,增加通话收入"
];
_noticeWordsLabel
.
text
=
[
NSString
fus_
l
ocalString
:
@"开启通知权限,可以帮助您提升接通率,增加通话收入"
];
}
}
default:
default:
break
;
break
;
...
...
DevelopmentPods/FUSCommon/FUSCommon/Classes/Foundation/DataShare/FUSSwiftCacheDataShare.swift
View file @
d5c0e102
...
@@ -177,12 +177,12 @@ import RxSwift
...
@@ -177,12 +177,12 @@ import RxSwift
.
mapToModel
(
FUSGlobalJumpMessageAlertModel
.
self
)
.
mapToModel
(
FUSGlobalJumpMessageAlertModel
.
self
)
.
subscribe
(
onNext
:
{
model
in
.
subscribe
(
onNext
:
{
model
in
var
cancelText
:
String
=
.
fus_
versionL
ocalString
(
"确定"
)
var
cancelText
:
String
=
.
fus_
l
ocalString
(
"确定"
)
var
otherTexts
:
[
String
]?
=
nil
var
otherTexts
:
[
String
]?
=
nil
if
let
otherText
=
model
.
confirmTxt
.
fus_getLanguageContent
(),
if
let
otherText
=
model
.
confirmTxt
.
fus_getLanguageContent
(),
model
.
showConfirm
==
1
{
model
.
showConfirm
==
1
{
otherTexts
=
[
otherText
]
otherTexts
=
[
otherText
]
cancelText
=
.
fus_
versionL
ocalString
(
"取消"
)
cancelText
=
.
fus_
l
ocalString
(
"取消"
)
}
}
FUSAlertView
.
showAlert
(
withTitle
:
model
.
title
.
fus_getLanguageContent
()
??
""
,
message
:
model
.
content
.
fus_getLanguageContent
()
??
""
,
cancelButtonTitle
:
cancelText
,
otherButtonTitles
:
otherTexts
)
{
clickIndex
in
FUSAlertView
.
showAlert
(
withTitle
:
model
.
title
.
fus_getLanguageContent
()
??
""
,
message
:
model
.
content
.
fus_getLanguageContent
()
??
""
,
cancelButtonTitle
:
cancelText
,
otherButtonTitles
:
otherTexts
)
{
clickIndex
in
...
...
DevelopmentPods/FUSCommon/FUSCommon/Classes/Foundation/Models/FUSUserRiskLevelModel.m
View file @
d5c0e102
...
@@ -13,11 +13,11 @@
...
@@ -13,11 +13,11 @@
-
(
NSString
*
)
title
{
-
(
NSString
*
)
title
{
switch
(
self
.
riskLevel
)
{
switch
(
self
.
riskLevel
)
{
case
1
:
case
1
:
return
[
NSString
fus_
versionL
ocalString
:
@"安全"
];
return
[
NSString
fus_
l
ocalString
:
@"安全"
];
case
-
1
:
case
-
1
:
return
[
NSString
fus_
versionL
ocalString
:
@"风险"
];
return
[
NSString
fus_
l
ocalString
:
@"风险"
];
case
-
2
:
case
-
2
:
return
[
NSString
fus_
versionL
ocalString
:
@"不安全"
];
return
[
NSString
fus_
l
ocalString
:
@"不安全"
];
default
:
default
:
break
;
break
;
...
...
DevelopmentPods/FUSFoundation/FUSFoundation/Assets/LocalizationString/Fusi_Chinese.strings
View file @
d5c0e102
...
@@ -202,8 +202,6 @@
...
@@ -202,8 +202,6 @@
"需要獲取所有照片權限,請在「設置」-「螢火蟲直播」-「照片」中選擇「所有照片」" = "需要獲取所有照片權限,請在「設置」-「螢火蟲直播」-「照片」中選擇「所有照片」";
"需要獲取所有照片權限,請在「設置」-「螢火蟲直播」-「照片」中選擇「所有照片」" = "需要獲取所有照片權限,請在「設置」-「螢火蟲直播」-「照片」中選擇「所有照片」";
"蜜桃" = "蜜桃";
"接受" = "接受";
"接受" = "接受";
"声讯" = "聲訊";
"声讯" = "聲訊";
...
@@ -404,8 +402,6 @@
...
@@ -404,8 +402,6 @@
"《直播 & 社区公约》" = "《直播 & 社區公約》";
"《直播 & 社区公约》" = "《直播 & 社區公約》";
"超甜" = "超甜";
"继续升级" = "繼續升級";
"继续升级" = "繼續升級";
"请输入密码" = "請輸入密碼";
"请输入密码" = "請輸入密碼";
...
@@ -830,8 +826,6 @@
...
@@ -830,8 +826,6 @@
"内容超过限制" = "內容超過限制";
"内容超过限制" = "內容超過限制";
"氧气" = "氧氣";
"关闭开关将无法接听声讯/视讯,如需要恢复接听功能,需要重新打开" = "關閉開關將無法接聽聲訊/視訊,如需要恢復接聽功能,需要重新打開";
"关闭开关将无法接听声讯/视讯,如需要恢复接听功能,需要重新打开" = "關閉開關將無法接聽聲訊/視訊,如需要恢復接聽功能,需要重新打開";
"请输入搜索内容" = "請輸入搜索內容";
"请输入搜索内容" = "請輸入搜索內容";
...
@@ -1632,8 +1626,6 @@
...
@@ -1632,8 +1626,6 @@
"请调整正方形图片上传" = "請調整正方形圖片上傳";
"请调整正方形图片上传" = "請調整正方形圖片上傳";
"桔梗" = "桔梗";
"%@后过期" = "%@後過期";
"%@后过期" = "%@後過期";
"定位" = "定位";
"定位" = "定位";
...
@@ -1786,8 +1778,6 @@
...
@@ -1786,8 +1778,6 @@
"签到" = "簽到";
"签到" = "簽到";
"初见" = "初見";
"包房已满,请稍后再试" = "包房已滿,請稍後再試";
"包房已满,请稍后再试" = "包房已滿,請稍後再試";
"获取密码" = "獲取密碼";
"获取密码" = "獲取密碼";
...
@@ -2609,3 +2599,19 @@
...
@@ -2609,3 +2599,19 @@
"道具已激活" = "道具已激活";
"道具已激活" = "道具已激活";
"数量" = "數量";
"数量" = "數量";
"小时Unit" = "小時";
"分钟Unit" = "分鐘";
"背包礼物只能在直播间内送出" = "背包禮物只能在直播間送出";
"有效期至" = "有效期至";
"有效期:" = "有效期:";
"安全" = "安全";
"风险" = "風險";
"不安全" = "不安全";
Modules/FUSChatCenterModule/FUSChatCenterModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
d5c0e102
...
@@ -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
>
7
6
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
7
7
<
/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
>
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
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
...
...
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/ZhaiXin/Main/View/FUSCallRecordCell.swift
View file @
d5c0e102
...
@@ -234,7 +234,7 @@ import SJAttributesStringMaker
...
@@ -234,7 +234,7 @@ import SJAttributesStringMaker
earnLabel
.
isHidden
=
false
earnLabel
.
isHidden
=
false
earnLabel
.
attributedText
=
.
sj
.
makeText
({
make
in
earnLabel
.
attributedText
=
.
sj
.
makeText
({
make
in
make
.
append
(
.
fus_
versionL
ocalString
(
"私房收益"
))
.
textColor
(
.
init
(
hex
:
"#666666"
))
make
.
append
(
.
fus_
l
ocalString
(
"私房收益"
))
.
textColor
(
.
init
(
hex
:
"#666666"
))
make
.
append
{
make
in
make
.
append
{
make
in
// 货币类型(3:宝石、4:萤火、5:露水)
// 货币类型(3:宝石、4:萤火、5:露水)
if
model
.
timeIncome
.
currency
==
3
{
if
model
.
timeIncome
.
currency
==
3
{
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
d5c0e102
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<
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
>
7
5
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
7
4
<
/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
>
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
d5c0e102
...
@@ -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
>
7
7
<
/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
>
<
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
>
7
4
<
/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
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/Backpack/FUSBackpackGiftCell.swift
View file @
d5c0e102
...
@@ -105,19 +105,19 @@ class FUSBackpackGiftCell: UICollectionViewCell {
...
@@ -105,19 +105,19 @@ class FUSBackpackGiftCell: UICollectionViewCell {
if
day
>
0
{
if
day
>
0
{
time
=
String
(
day
)
time
=
String
(
day
)
timeStr
=
"
\(
time
)
\(
String
.
fus_versionLocalString
(
"天"
)
)
"
timeStr
=
"
\(
time
)
\(
String
.
"暂无背包礼物"
(
"天"
)
)
"
timeColor
=
.
init
(
hex
:
"#7F7F80"
)
timeColor
=
.
init
(
hex
:
"#7F7F80"
)
}
else
if
hour
>
0
{
}
else
if
hour
>
0
{
time
=
String
(
hour
)
time
=
String
(
hour
)
timeStr
=
"
\(
time
)
\(
String
.
fus_versionLocalString
(
"小时Unit"
)
)
"
timeStr
=
"
\(
time
)
\(
String
.
"暂无背包礼物"
(
"小时Unit"
)
)
"
timeColor
=
.
init
(
hex
:
"#e84f4c"
)
timeColor
=
.
init
(
hex
:
"#e84f4c"
)
}
else
{
}
else
{
time
=
String
(
min
)
time
=
String
(
min
)
timeStr
=
"
\(
time
)
\(
String
.
fus_versionLocalString
(
"分钟Unit"
)
)
"
timeStr
=
"
\(
time
)
\(
String
.
"暂无背包礼物"
(
"分钟Unit"
)
)
"
timeColor
=
.
init
(
hex
:
"#e84f4c"
)
timeColor
=
.
init
(
hex
:
"#e84f4c"
)
}
}
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/Backpack/FUSBackpackGiftView.swift
View file @
d5c0e102
...
@@ -24,7 +24,7 @@ class FUSBackpackGiftView: FUSBaseView {
...
@@ -24,7 +24,7 @@ class FUSBackpackGiftView: FUSBaseView {
super
.
init
(
frame
:
frame
)
super
.
init
(
frame
:
frame
)
self
.
addSubview
(
self
.
topTipLabel
)
self
.
addSubview
(
self
.
topTipLabel
)
self
.
topTipLabel
.
text
=
.
fus_
versionL
ocalString
(
"背包礼物只能在直播间内送出"
)
self
.
topTipLabel
.
text
=
.
fus_
l
ocalString
(
"背包礼物只能在直播间内送出"
)
self
.
topTipLabel
.
textColor
=
.
fus_textColorMedium
()
self
.
topTipLabel
.
textColor
=
.
fus_textColorMedium
()
self
.
topTipLabel
.
font
=
.
fus_themeFont
(
10
)
self
.
topTipLabel
.
font
=
.
fus_themeFont
(
10
)
self
.
topTipLabel
.
snp
.
makeConstraints
{
make
in
self
.
topTipLabel
.
snp
.
makeConstraints
{
make
in
...
@@ -97,7 +97,7 @@ class FUSBackpackGiftView: FUSBaseView {
...
@@ -97,7 +97,7 @@ class FUSBackpackGiftView: FUSBaseView {
// var buttonTittle = ""
// var buttonTittle = ""
// if FUSCacheDataShare.shareStore().settingInitDataModel.platformStoreShowSwitch == 1 {
// if FUSCacheDataShare.shareStore().settingInitDataModel.platformStoreShowSwitch == 1 {
// buttonTittle = .fus_
versionL
ocalString("去%@商城").replacingOccurrences(of: "%@", with: FUSConfig.sharedInstanced().appConfigs.appName)
// buttonTittle = .fus_
l
ocalString("去%@商城").replacingOccurrences(of: "%@", with: FUSConfig.sharedInstanced().appConfigs.appName)
// self.emptyView.clickEmptyBtnAction = {
// self.emptyView.clickEmptyBtnAction = {
//
//
// let storeUrl = FUSCacheDataShare.shareStore().settingInitDataModel.platformStoreBuyUrl
// let storeUrl = FUSCacheDataShare.shareStore().settingInitDataModel.platformStoreBuyUrl
...
@@ -108,7 +108,7 @@ class FUSBackpackGiftView: FUSBaseView {
...
@@ -108,7 +108,7 @@ class FUSBackpackGiftView: FUSBaseView {
// }
// }
// }
// }
self
.
emptyView
.
fus_setEmptyViewIcon
(
.
fus_emptyImg
(),
title
:
.
fus_
versionL
ocalString
(
"暂无背包礼物"
),
buttonTittle
:
nil
)
self
.
emptyView
.
fus_setEmptyViewIcon
(
.
fus_emptyImg
(),
title
:
.
fus_
l
ocalString
(
"暂无背包礼物"
),
buttonTittle
:
nil
)
}
}
func
fus_bindViewModel
()
{
func
fus_bindViewModel
()
{
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/Backpack/FUSBackpackMotorCell.swift
View file @
d5c0e102
...
@@ -134,14 +134,14 @@ class FUSBackpackMotorCell: UICollectionViewCell {
...
@@ -134,14 +134,14 @@ class FUSBackpackMotorCell: UICollectionViewCell {
if
day
>
0
{
if
day
>
0
{
time
=
String
(
day
)
time
=
String
(
day
)
timeUnit
=
.
fus_
versionL
ocalString
(
"天"
)
timeUnit
=
.
fus_
l
ocalString
(
"天"
)
}
else
if
hour
>
0
{
}
else
if
hour
>
0
{
time
=
String
(
hour
)
time
=
String
(
hour
)
timeUnit
=
.
fus_
versionL
ocalString
(
"小时Unit"
)
timeUnit
=
.
fus_
l
ocalString
(
"小时Unit"
)
}
else
{
}
else
{
time
=
String
(
min
)
time
=
String
(
min
)
timeUnit
=
.
fus_
versionL
ocalString
(
"分钟"
)
timeUnit
=
.
fus_
l
ocalString
(
"分钟"
)
}
}
if
day
>
3
{
if
day
>
3
{
timeColor
=
UIColor
.
fus_theme
()
timeColor
=
UIColor
.
fus_theme
()
...
@@ -217,7 +217,7 @@ class FUSBackpackMotorCell: UICollectionViewCell {
...
@@ -217,7 +217,7 @@ class FUSBackpackMotorCell: UICollectionViewCell {
self
.
wearImageView
.
isHidden
=
true
self
.
wearImageView
.
isHidden
=
true
self
.
activeStateLabel
.
isHidden
=
model
.
status
self
.
activeStateLabel
.
isHidden
=
model
.
status
self
.
activeStateLabel
.
text
=
model
.
state
==
true
?
String
.
fus_
versionLocalString
(
"已激活"
)
:
String
.
fus_versionL
ocalString
(
"未激活"
)
self
.
activeStateLabel
.
text
=
model
.
state
==
true
?
String
.
fus_
localString
(
"已激活"
)
:
String
.
fus_l
ocalString
(
"未激活"
)
self
.
lightImageView
.
isHidden
=
!
isSelected
self
.
lightImageView
.
isHidden
=
!
isSelected
self
.
bottomLightImageView
.
isHidden
=
!
isSelected
self
.
bottomLightImageView
.
isHidden
=
!
isSelected
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/Backpack/FUSBackpackMotorView.swift
View file @
d5c0e102
...
@@ -35,7 +35,7 @@ class FUSBackpackMotorView: FUSBaseView {
...
@@ -35,7 +35,7 @@ class FUSBackpackMotorView: FUSBaseView {
}
}
self
.
useBtn
.
style
=
.
none
self
.
useBtn
.
style
=
.
none
self
.
useBtn
.
setTitle
(
.
fus_
versionL
ocalString
(
"装配"
),
for
:
.
normal
)
self
.
useBtn
.
setTitle
(
.
fus_
l
ocalString
(
"装配"
),
for
:
.
normal
)
self
.
useBtn
.
titleLabel
?
.
font
=
.
fus_themeMediumFont
(
15
)
self
.
useBtn
.
titleLabel
?
.
font
=
.
fus_themeMediumFont
(
15
)
self
.
useBtn
.
backgroundColor
=
.
fus_theme
()
self
.
useBtn
.
backgroundColor
=
.
fus_theme
()
self
.
useBtn
.
layer
.
cornerRadius
=
38
/
2
;
self
.
useBtn
.
layer
.
cornerRadius
=
38
/
2
;
...
@@ -130,7 +130,7 @@ class FUSBackpackMotorView: FUSBaseView {
...
@@ -130,7 +130,7 @@ class FUSBackpackMotorView: FUSBaseView {
// var buttonTittle = ""
// var buttonTittle = ""
// if FUSCacheDataShare.shareStore().settingInitDataModel.platformStoreShowSwitch == 1 {
// if FUSCacheDataShare.shareStore().settingInitDataModel.platformStoreShowSwitch == 1 {
// buttonTittle = .fus_
versionL
ocalString("去%@商城").replacingOccurrences(of: "%@", with: FUSConfig.sharedInstanced().appConfigs.appName)
// buttonTittle = .fus_
l
ocalString("去%@商城").replacingOccurrences(of: "%@", with: FUSConfig.sharedInstanced().appConfigs.appName)
// self.emptyView.clickEmptyBtnAction = {
// self.emptyView.clickEmptyBtnAction = {
//
//
// let storeUrl = FUSCacheDataShare.shareStore().settingInitDataModel.platformStoreBuyUrl
// let storeUrl = FUSCacheDataShare.shareStore().settingInitDataModel.platformStoreBuyUrl
...
@@ -141,7 +141,7 @@ class FUSBackpackMotorView: FUSBaseView {
...
@@ -141,7 +141,7 @@ class FUSBackpackMotorView: FUSBaseView {
// }
// }
// }
// }
self
.
emptyView
.
fus_setEmptyViewIcon
(
.
fus_emptyImg
(),
title
:
.
fus_
versionL
ocalString
(
"暂无座驾"
),
buttonTittle
:
nil
)
self
.
emptyView
.
fus_setEmptyViewIcon
(
.
fus_emptyImg
(),
title
:
.
fus_
l
ocalString
(
"暂无座驾"
),
buttonTittle
:
nil
)
}
}
...
@@ -183,19 +183,19 @@ class FUSBackpackMotorView: FUSBaseView {
...
@@ -183,19 +183,19 @@ class FUSBackpackMotorView: FUSBaseView {
if
let
model
=
self
?
.
motorList
.
value
[
selectedindex
]
{
if
let
model
=
self
?
.
motorList
.
value
[
selectedindex
]
{
self
?
.
motorNameLabel
.
text
=
model
.
name
self
?
.
motorNameLabel
.
text
=
model
.
name
if
model
.
state
==
true
{
if
model
.
state
==
true
{
self
?
.
statusLabel
.
text
=
.
fus_
versionL
ocalString
(
"已激活"
)
self
?
.
statusLabel
.
text
=
.
fus_
l
ocalString
(
"已激活"
)
self
?
.
descLabel
.
text
=
"
\(
String
.
fus_
versionL
ocalString
(
"有效期至"
)
)
\(
model
.
expireFullTime
)
"
self
?
.
descLabel
.
text
=
"
\(
String
.
fus_
l
ocalString
(
"有效期至"
)
)
\(
model
.
expireFullTime
)
"
}
else
{
}
else
{
self
?
.
statusLabel
.
text
=
.
fus_
versionL
ocalString
(
"未激活"
)
self
?
.
statusLabel
.
text
=
.
fus_
l
ocalString
(
"未激活"
)
self
?
.
descLabel
.
text
=
"
\(
String
.
fus_
versionL
ocalString
(
"有效期:"
)
)\(
model
.
fus_expiretimeStr
()
)\(
model
.
fus_expiretimeUnit
()
)
"
self
?
.
descLabel
.
text
=
"
\(
String
.
fus_
l
ocalString
(
"有效期:"
)
)\(
model
.
fus_expiretimeStr
()
)\(
model
.
fus_expiretimeUnit
()
)
"
}
}
if
model
.
status
==
true
{
if
model
.
status
==
true
{
self
?
.
useBtn
.
setTitle
(
.
fus_
versionL
ocalString
(
"已装配"
),
for
:
.
normal
)
self
?
.
useBtn
.
setTitle
(
.
fus_
l
ocalString
(
"已装配"
),
for
:
.
normal
)
self
?
.
useBtn
.
isEnabled
=
false
self
?
.
useBtn
.
isEnabled
=
false
}
else
{
}
else
{
self
?
.
useBtn
.
setTitle
(
.
fus_
versionL
ocalString
(
"装配"
),
for
:
.
normal
)
self
?
.
useBtn
.
setTitle
(
.
fus_
l
ocalString
(
"装配"
),
for
:
.
normal
)
self
?
.
useBtn
.
isEnabled
=
true
self
?
.
useBtn
.
isEnabled
=
true
}
}
}
}
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/Backpack/FUSBackpackPropsCell.swift
View file @
d5c0e102
...
@@ -103,19 +103,19 @@ class FUSBackpackPropsCell: UICollectionViewCell {
...
@@ -103,19 +103,19 @@ class FUSBackpackPropsCell: UICollectionViewCell {
if
day
>
0
{
if
day
>
0
{
time
=
String
(
day
)
time
=
String
(
day
)
timeStr
=
"
\(
time
)
\(
String
.
fus_
versionL
ocalString
(
"天"
)
)
"
timeStr
=
"
\(
time
)
\(
String
.
fus_
l
ocalString
(
"天"
)
)
"
timeColor
=
.
init
(
hex
:
"#7F7F80"
)
timeColor
=
.
init
(
hex
:
"#7F7F80"
)
}
else
if
hour
>
0
{
}
else
if
hour
>
0
{
time
=
String
(
hour
)
time
=
String
(
hour
)
timeStr
=
"
\(
time
)
\(
String
.
fus_
versionL
ocalString
(
"小时Unit"
)
)
"
timeStr
=
"
\(
time
)
\(
String
.
fus_
l
ocalString
(
"小时Unit"
)
)
"
timeColor
=
.
init
(
hex
:
"#e84f4c"
)
timeColor
=
.
init
(
hex
:
"#e84f4c"
)
}
else
{
}
else
{
time
=
String
(
min
)
time
=
String
(
min
)
timeStr
=
"
\(
time
)
\(
String
.
fus_
versionL
ocalString
(
"分钟Unit"
)
)
"
timeStr
=
"
\(
time
)
\(
String
.
fus_
l
ocalString
(
"分钟Unit"
)
)
"
timeColor
=
.
init
(
hex
:
"#e84f4c"
)
timeColor
=
.
init
(
hex
:
"#e84f4c"
)
}
}
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Zone/View/Backpack/FUSBackpackPropsView.swift
View file @
d5c0e102
...
@@ -25,7 +25,7 @@ class FUSBackpackPropsView: FUSBaseView {
...
@@ -25,7 +25,7 @@ class FUSBackpackPropsView: FUSBaseView {
didSet
{
didSet
{
// var buttonTittle = ""
// var buttonTittle = ""
// if FUSCacheDataShare.shareStore().settingInitDataModel.platformStoreShowSwitch == 1 {
// if FUSCacheDataShare.shareStore().settingInitDataModel.platformStoreShowSwitch == 1 {
// buttonTittle = .fus_
versionL
ocalString("去%@商城").replacingOccurrences(of: "%@", with: FUSConfig.sharedInstanced().appConfigs.appName)
// buttonTittle = .fus_
l
ocalString("去%@商城").replacingOccurrences(of: "%@", with: FUSConfig.sharedInstanced().appConfigs.appName)
// self.emptyView.clickEmptyBtnAction = {
// self.emptyView.clickEmptyBtnAction = {
// let storeUrl = FUSCacheDataShare.shareStore().settingInitDataModel.platformStoreBuyUrl
// let storeUrl = FUSCacheDataShare.shareStore().settingInitDataModel.platformStoreBuyUrl
// let webVC = FUSWKWebViewController()
// let webVC = FUSWKWebViewController()
...
@@ -51,7 +51,7 @@ class FUSBackpackPropsView: FUSBaseView {
...
@@ -51,7 +51,7 @@ class FUSBackpackPropsView: FUSBaseView {
make
.
height
.
equalTo
(
70
)
make
.
height
.
equalTo
(
70
)
}
}
self
.
useBtn
.
setTitle
(
.
fus_
versionL
ocalString
(
"使用"
),
for
:
.
normal
)
self
.
useBtn
.
setTitle
(
.
fus_
l
ocalString
(
"使用"
),
for
:
.
normal
)
self
.
useBtn
.
titleLabel
?
.
font
=
.
fus_themeMediumFont
(
15
)
self
.
useBtn
.
titleLabel
?
.
font
=
.
fus_themeMediumFont
(
15
)
self
.
useBtn
.
style
=
.
blue
self
.
useBtn
.
style
=
.
blue
self
.
useBtn
.
rx
.
tap
.
subscribe
(
onNext
:
{
[
weak
self
]
_
in
self
.
useBtn
.
rx
.
tap
.
subscribe
(
onNext
:
{
[
weak
self
]
_
in
...
...
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