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
37fe80be
authored
Apr 17, 2025
by
ludi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复私房童话价格选择的bug
parent
999b4358
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
83 additions
and
44 deletions
FuSiLive.xcodeproj/project.pbxproj
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/Setting/View/FUSChatSettingOneToOneHeaderView.m
FuSiLive.xcodeproj/project.pbxproj
View file @
37fe80be
...
...
@@ -493,7 +493,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME
=
AccentColor
;
CODE_SIGN_ENTITLEMENTS
=
FuSiLive/FuSiLive.entitlements
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
2025040211355
4
;
CURRENT_PROJECT_VERSION
=
2025040211355
5
;
DEFINES_MODULE
=
YES
;
DEVELOPMENT_TEAM
=
6GG26BHUMC
;
ENABLE_ON_DEMAND_RESOURCES
=
NO
;
...
...
@@ -761,7 +761,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME
=
AccentColor
;
CODE_SIGN_ENTITLEMENTS
=
FuSiLive/FuSiLive.entitlements
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
2025040211355
4
;
CURRENT_PROJECT_VERSION
=
2025040211355
5
;
DEFINES_MODULE
=
YES
;
DEVELOPMENT_TEAM
=
6GG26BHUMC
;
ENABLE_ON_DEMAND_RESOURCES
=
NO
;
...
...
Modules/FUSChatCenterModule/FUSChatCenterModule.xcodeproj/xcuserdata/aaa.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
37fe80be
...
...
@@ -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
>
8
0
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
8
3
<
/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
>
8
1
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
8
0
<
/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 @
37fe80be
...
...
@@ -12,7 +12,7 @@
<
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
>
83
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
79
<
/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 @
37fe80be
...
...
@@ -12,7 +12,7 @@
<
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
>
79
<
/int
e
g
e
r
>
<
int
e
g
e
r
>
81
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Setting/View/FUSChatSettingOneToOneHeaderView.m
View file @
37fe80be
...
...
@@ -370,18 +370,27 @@
}];
}
__block
BOOL
showTips
=
NO
;
[
self
.
priceModel
.
priceList
enumerateObjectsUsingBlock
:
^
(
FUSPrivateLivePriceItemModel
*
_Nonnull
obj
,
NSUInteger
idx
,
BOOL
*
_Nonnull
stop
)
{
if
(
obj
.
status
==
0
)
{
showTips
=
YES
;
*
stop
=
YES
;
}
}];
// __block BOOL showTips = NO;
// [self.priceModel.priceList enumerateObjectsUsingBlock:^(FUSPrivateLivePriceItemModel * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
// if (obj.status == 0) {
// showTips = YES;
// *stop = YES;
// }
// }];
//
// if (showTips) {
// cell.priceLabelTop.constant = 22;
// cell.nexttipsLabel.hidden = NO;
// cell.nexttipsLabel.text = price.remark;
// }else {
// cell.priceLabelTop.constant = 38;
// cell.nexttipsLabel.hidden = YES;
// }
if
(
showTips
)
{
if
(
price
.
status
==
0
)
{
cell
.
priceLabelTop
.
constant
=
22
;
cell
.
nexttipsLabel
.
hidden
=
NO
;
cell
.
nexttipsLabel
.
text
=
price
.
remark
;
cell
.
nexttipsLabel
.
text
=
price
.
nexttips
;
}
else
{
cell
.
priceLabelTop
.
constant
=
38
;
cell
.
nexttipsLabel
.
hidden
=
YES
;
...
...
@@ -414,26 +423,26 @@
return
;
}
if
(
price
.
price
.
integerValue
>
0
)
{
if
(
self
.
detailCompleteStage
==
-
1
)
{
//未完善
[
FUSAlertView
showAlertWithTitle
:[
NSString
fus_localString
:
@"私房价格"
]
message
:[
NSString
fus_localString
:
@"完善个人资料设定,可解锁价格"
]
cancelButtonTitle
:
[
NSString
fus_localString
:
@"取消"
]
otherButtonTitles
:
@[[
NSString
fus_localString
:
@"确认"
]]
clickBlock
:^
(
NSInteger
buttonIndex
)
{
if
(
buttonIndex
==
1
)
{
FUSCompleteUserInfoViewController
*
vc
=
[[
FUSCompleteUserInfoViewController
alloc
]
init
];
[
vc
fus_setControllerTypeWithType
:
1
];
[[
UIViewController
fus_topViewController
].
navigationController
pushViewController
:
vc
animated
:
YES
];
}
}];
return
;
}
else
if
(
self
.
detailCompleteStage
==
0
){
// 审核中
[
FUSAlertView
showAlertWithTitle
:[
NSString
fus_localString
:
@"私房价格"
]
message
:[
NSString
fus_localString
:
@"个人资料正在审核中,请耐心等候"
]
cancelButtonTitle
:
nil
otherButtonTitles
:
@[[
NSString
fus_localString
:
@"我知道了"
]]
clickBlock
:^
(
NSInteger
buttonIndex
)
{
}];
return
;
}
}
//
if (price.price.integerValue > 0) {
//
if (self.detailCompleteStage == -1) {
//
//未完善
//
[FUSAlertView showAlertWithTitle:[NSString fus_localString:@"私房价格"] message:[NSString fus_localString:@"完善个人资料设定,可解锁价格"] cancelButtonTitle:[NSString fus_localString:@"取消"] otherButtonTitles:@[[NSString fus_localString:@"确认"]] clickBlock:^(NSInteger buttonIndex) {
//
if (buttonIndex == 1) {
//
FUSCompleteUserInfoViewController *vc = [[FUSCompleteUserInfoViewController alloc] init];
//
[vc fus_setControllerTypeWithType:1];
//
[[UIViewController fus_topViewController].navigationController pushViewController:vc animated:YES];
//
}
//
}];
//
return;
//
}
//
else if (self.detailCompleteStage == 0){
//
// 审核中
//
[FUSAlertView showAlertWithTitle:[NSString fus_localString:@"私房价格"] message:[NSString fus_localString:@"个人资料正在审核中,请耐心等候"] cancelButtonTitle:nil otherButtonTitles:@[[NSString fus_localString:@"我知道了"]] clickBlock:^(NSInteger buttonIndex) {
//
//
}];
//
return;
//
}
//
}
MJWeakSelf
// 发起请求以
...
...
@@ -472,15 +481,45 @@
}];
}
else
if
(
code
==
-
3035
)
{
[
FUSAlertView
showAlertWithTitle
:
msg
message
:
nil
cancelButtonTitle
:
[
NSString
fus_localString
:
@"取消"
]
otherButtonTitles
:
@[[
NSString
fus_localString
:
@"确定"
]]
clickBlock
:^
(
NSInteger
buttonIndex
)
{
if
(
buttonIndex
==
1
)
{
FUSCompleteUserInfoViewController
*
vc
=
[[
FUSCompleteUserInfoViewController
alloc
]
init
];
[
vc
fus_setControllerTypeWithType
:
1
];
[[
UIViewController
fus_topViewController
].
navigationController
pushViewController
:
vc
animated
:
YES
];
}
}];
// [FUSAlertView showAlertWithTitle:msg message:nil cancelButtonTitle:[NSString fus_localString:@"取消"] otherButtonTitles:@[[NSString fus_localString:@"确定"]] clickBlock:^(NSInteger buttonIndex) {
//
// if (buttonIndex == 1) {
// FUSCompleteUserInfoViewController *vc = [[FUSCompleteUserInfoViewController alloc] init];
// [vc fus_setControllerTypeWithType:1];
// [[UIViewController fus_topViewController].navigationController pushViewController:vc animated:YES];
// }
//
// }];
if
(
weakSelf
.
detailCompleteStage
==
-
1
)
{
//未完善
[
FUSAlertView
showAlertWithTitle
:[
NSString
fus_localString
:
@"私房价格"
]
message
:[
NSString
fus_localString
:
@"完善个人资料设定,可解锁价格"
]
cancelButtonTitle
:
[
NSString
fus_localString
:
@"取消"
]
otherButtonTitles
:
@[[
NSString
fus_localString
:
@"确认"
]]
clickBlock
:^
(
NSInteger
buttonIndex
)
{
if
(
buttonIndex
==
1
)
{
FUSCompleteUserInfoViewController
*
vc
=
[[
FUSCompleteUserInfoViewController
alloc
]
init
];
[
vc
fus_setControllerTypeWithType
:
1
];
[[
UIViewController
fus_topViewController
].
navigationController
pushViewController
:
vc
animated
:
YES
];
}
}];
return
;
}
else
if
(
weakSelf
.
detailCompleteStage
==
0
){
// 审核中
[
FUSAlertView
showAlertWithTitle
:[
NSString
fus_localString
:
@"私房价格"
]
message
:[
NSString
fus_localString
:
@"个人资料正在审核中,请耐心等候"
]
cancelButtonTitle
:
nil
otherButtonTitles
:
@[[
NSString
fus_localString
:
@"我知道了"
]]
clickBlock
:^
(
NSInteger
buttonIndex
)
{
}];
return
;
}
else
{
[
FUSAlertView
showAlertWithTitle
:
msg
message
:
nil
cancelButtonTitle
:
[
NSString
fus_localString
:
@"取消"
]
otherButtonTitles
:
@[[
NSString
fus_localString
:
@"确定"
]]
clickBlock
:^
(
NSInteger
buttonIndex
)
{
if
(
buttonIndex
==
1
)
{
FUSCompleteUserInfoViewController
*
vc
=
[[
FUSCompleteUserInfoViewController
alloc
]
init
];
[
vc
fus_setControllerTypeWithType
:
1
];
[[
UIViewController
fus_topViewController
].
navigationController
pushViewController
:
vc
animated
:
YES
];
}
}];
}
}
else
{
[
FUSAlertView
showAlertWithTitle
:
msg
message
:
nil
cancelButtonTitle
:
[
NSString
fus_localString
:
@"知道了"
]
otherButtonTitles
:
nil
clickBlock
:
nil
];
...
...
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