Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e069d27

Browse files
【iOS】客户反馈"【青岛达芬奇】安卓 APP 充值订单显示有误" #26481
1 parent 3694a3a commit e069d27

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

‎Coding_iOS/Views/Cell/TeamPurchaseTopCell.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ - (void)setCurTeam:(Team *)curTeam{
103103
NSInteger remain_days = _curTeam.info.remain_days.integerValue;
104104

105105
_tipL.textColor = remain_days > kEANeedTipRemainDays && !isLocked? kColorDark4: kColorActionRed;
106-
if (isTrial || !isToped_up) {
106+
if (!isToped_up) {
107107
NSInteger trial_left_days = [_curTeam.info trial_left_days];
108108
if (isLocked || trial_left_days < 0) {
109109
_tipL.text = @"您的试用期已结束,请订购后使用";
@@ -174,7 +174,7 @@ + (CGFloat)cellHeightWithObj:(id)obj{
174174
if (!isToped_up) {
175175
cellHeight = 85;
176176
}else{
177-
BOOL needTipStr = (isTrial || remain_days <= kEANeedTipRemainDays || isLocked);
177+
BOOL needTipStr = (!isToped_up || remain_days <= kEANeedTipRemainDays || isLocked);
178178
if (needTipStr) {
179179
cellHeight = 165;
180180
}else{

‎Coding_iOS/Views/Cell/TeamTopCell.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,12 @@ - (void)setCurTeam:(Team *)curTeam{
5757
_curTeam = curTeam;
5858

5959
BOOL isToped_up = [_curTeam.info isToped_up];//是否充值过
60-
BOOL isTrial = _curTeam.info.trial.boolValue;
6160
BOOL isLocked = _curTeam.info.locked.boolValue;
6261
NSInteger remain_days = _curTeam.info.remain_days.integerValue;
6362

6463
_introductionL.textColor = remain_days > kEANeedTipRemainDays? kColor999: kColorActionRed;
6564
NSString *valueStr = @"";
66-
if (!isToped_up || isTrial) {
65+
if (!isToped_up) {
6766
valueStr = [NSString stringWithFormat:@"%ld", (long)[_curTeam.info trial_left_days]];
6867
if (!isLocked && valueStr.integerValue >= 0) {
6968
[_introductionL setAttrStrWithStr:[NSString stringWithFormat:@"试用期剩余 %@", valueStr] diffColorStr:valueStr diffColor:valueStr.integerValue > kEANeedTipRemainDays? [UIColor colorWithHexString:@"0xF78636"]: kColorActionRed];

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /