修改了航海入口的位置

This commit is contained in:
fengshuo
2022-08-25 12:20:32 +08:00
parent 393acb13d7
commit 3545d13b6a
3 changed files with 6 additions and 2 deletions

View File

@@ -75,9 +75,9 @@
- (void)initSubViews {
[self addSubview:self.stackView];
[self.stackView addArrangedSubview:self.cycleScrollView];
[self.stackView addArrangedSubview:self.sailingImageView];
[self.stackView addArrangedSubview:self.placeHolderView];
[self.stackView addArrangedSubview:self.firstRechargeImageView];
[self.stackView addArrangedSubview:self.sailingImageView];
[self.stackView addArrangedSubview:self.candyTreeImageView];
[self.stackView addArrangedSubview:self.joinDatingView];
}

View File

@@ -279,7 +279,7 @@
[self receiveLicneseHourRank:attachment];
} else if (attachment.first == CustomMessageType_Gift_Compound && attachment.second == Custom_Message_Sub_Gift_Compound) {///
[self receiveGiftCompound:attachment];
} else if(attachment.first == CustomMessageType_Room_Sailing) {
} else if(attachment.first == CustomMessageType_Room_Sailing && (attachment.second == Custom_Message_Sub_Sailing_AllRoom_Notify || attachment.second == Custom_Message_Sub_Sailing_InRoom_NeedAllMicSend)) {
[self receiveRoomSailing:attachment];
} else if(attachment.first == CustomMessageType_Graffiti_Gift) {///
[self receiveRoomGraffitiGift:attachment];

View File

@@ -14,6 +14,7 @@
#import "NSObject+MJExtension.h"
#import <MarqueeLabel.h>
@interface XPSailingAnimationView ()
///
@property (nonatomic,strong) UIImageView *backImageView;
@@ -55,6 +56,8 @@
return attr;
}
#pragma mark - Getters And Setters
- (void)setPrizeInfo:(NSDictionary *)prizeInfo {
_prizeInfo = prizeInfo;
@@ -90,6 +93,7 @@
if (!_titleLabel) {
_titleLabel = [[MarqueeLabel alloc] init];
_titleLabel.scrollDuration = 4.0;
_titleLabel.fadeLength = 15;
_titleLabel.userInteractionEnabled = YES;
}
return _titleLabel;