修改了个播在麦位不能滚动

This commit is contained in:
fengshuo
2022-10-31 17:31:59 +08:00
parent 8829705044
commit 4493532cad
18 changed files with 96 additions and 38 deletions

View File

@@ -1218,7 +1218,6 @@
E8F9168727EC927C00F10D8F /* XPHomeLittleGamePesenter.m in Sources */ = {isa = PBXBuildFile; fileRef = E8F9168627EC927C00F10D8F /* XPHomeLittleGamePesenter.m */; }; E8F9168727EC927C00F10D8F /* XPHomeLittleGamePesenter.m in Sources */ = {isa = PBXBuildFile; fileRef = E8F9168627EC927C00F10D8F /* XPHomeLittleGamePesenter.m */; };
E8F9168B27EC940E00F10D8F /* XPHomeLittleGameTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = E8F9168A27EC940E00F10D8F /* XPHomeLittleGameTableViewCell.m */; }; E8F9168B27EC940E00F10D8F /* XPHomeLittleGameTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = E8F9168A27EC940E00F10D8F /* XPHomeLittleGameTableViewCell.m */; };
E8F9168E27ECA69500F10D8F /* HomeLittleGameRoomModel.m in Sources */ = {isa = PBXBuildFile; fileRef = E8F9168D27ECA69500F10D8F /* HomeLittleGameRoomModel.m */; }; E8F9168E27ECA69500F10D8F /* HomeLittleGameRoomModel.m in Sources */ = {isa = PBXBuildFile; fileRef = E8F9168D27ECA69500F10D8F /* HomeLittleGameRoomModel.m */; };
F1152AC928E49A71007CB09A /* app_launch_screen01.png in Resources */ = {isa = PBXBuildFile; fileRef = F1152AC828E49A71007CB09A /* app_launch_screen01.png */; };
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */ /* Begin PBXCopyFilesBuildPhase section */
@@ -3506,7 +3505,6 @@
E8F9168A27EC940E00F10D8F /* XPHomeLittleGameTableViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XPHomeLittleGameTableViewCell.m; sourceTree = "<group>"; }; E8F9168A27EC940E00F10D8F /* XPHomeLittleGameTableViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XPHomeLittleGameTableViewCell.m; sourceTree = "<group>"; };
E8F9168C27ECA69500F10D8F /* HomeLittleGameRoomModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HomeLittleGameRoomModel.h; sourceTree = "<group>"; }; E8F9168C27ECA69500F10D8F /* HomeLittleGameRoomModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HomeLittleGameRoomModel.h; sourceTree = "<group>"; };
E8F9168D27ECA69500F10D8F /* HomeLittleGameRoomModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HomeLittleGameRoomModel.m; sourceTree = "<group>"; }; E8F9168D27ECA69500F10D8F /* HomeLittleGameRoomModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HomeLittleGameRoomModel.m; sourceTree = "<group>"; };
F1152AC828E49A71007CB09A /* app_launch_screen01.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = app_launch_screen01.png; sourceTree = "<group>"; };
/* End PBXFileReference section */ /* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */ /* Begin PBXFrameworksBuildPhase section */
@@ -3753,7 +3751,6 @@
189DD56126DE45F800AB55B1 /* Main */, 189DD56126DE45F800AB55B1 /* Main */,
E81C27AF26EF39B00031E639 /* AppDelegate */, E81C27AF26EF39B00031E639 /* AppDelegate */,
189DD53826DE255600AB55B1 /* Assets.xcassets */, 189DD53826DE255600AB55B1 /* Assets.xcassets */,
F1152AC828E49A71007CB09A /* app_launch_screen01.png */,
E8937ACE276C99C300B2C7E1 /* Launch Screen.storyboard */, E8937ACE276C99C300B2C7E1 /* Launch Screen.storyboard */,
189DD53D26DE255600AB55B1 /* Info.plist */, 189DD53D26DE255600AB55B1 /* Info.plist */,
189DD53E26DE255600AB55B1 /* main.m */, 189DD53E26DE255600AB55B1 /* main.m */,
@@ -8979,7 +8976,6 @@
E8937AC7276C3EDE00B2C7E1 /* svga_member_in_lv40.svga in Resources */, E8937AC7276C3EDE00B2C7E1 /* svga_member_in_lv40.svga in Resources */,
E80EC85528ACD84000D133C5 /* emoji_118@2x.png in Resources */, E80EC85528ACD84000D133C5 /* emoji_118@2x.png in Resources */,
E80EC8B728ACD84100D133C5 /* emoji_119@2x.png in Resources */, E80EC8B728ACD84100D133C5 /* emoji_119@2x.png in Resources */,
F1152AC928E49A71007CB09A /* app_launch_screen01.png in Resources */,
E80EC86228ACD84000D133C5 /* emoji_22@2x.png in Resources */, E80EC86228ACD84000D133C5 /* emoji_22@2x.png in Resources */,
E8A1E461276220DA00B294CA /* candyTree.svga in Resources */, E8A1E461276220DA00B294CA /* candyTree.svga in Resources */,
E80EC82528ACD84000D133C5 /* emoji_61@2x.png in Resources */, E80EC82528ACD84000D133C5 /* emoji_61@2x.png in Resources */,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "app_lanunch_new@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "app_lanunch_new@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 876 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

View File

@@ -19,7 +19,6 @@ UIKIT_EXTERN NSString * const kHadShowNewUserGiftKey;
UIKIT_EXTERN NSString * const kRedPacketHistory; UIKIT_EXTERN NSString * const kRedPacketHistory;
UIKIT_EXTERN NSString * const kTeenagerStatusChange; UIKIT_EXTERN NSString * const kTeenagerStatusChange;
UIKIT_EXTERN NSString * const kRoomQuickMessageCloseCount; UIKIT_EXTERN NSString * const kRoomQuickMessageCloseCount;
UIKIT_EXTERN NSString * const kRoomQuickMessageCloseTime;
typedef NS_ENUM(NSUInteger, KeyType) { typedef NS_ENUM(NSUInteger, KeyType) {
KeyType_PasswordEncode,///密码 des 加密的 KeyType_PasswordEncode,///密码 des 加密的

View File

@@ -28,7 +28,6 @@ NSString * const kTabShowAnchorCardKey = @"kTabShowAnchorCardKey"; //tab展示
NSString * const kRedPacketHistory = @"kRedPacketHistory"; NSString * const kRedPacketHistory = @"kRedPacketHistory";
NSString * const kTeenagerStatusChange = @"kTeenagerStatusChange";// NSString * const kTeenagerStatusChange = @"kTeenagerStatusChange";//
NSString * const kRoomQuickMessageCloseCount = @"kTeenagerStatusChange";// NSString * const kRoomQuickMessageCloseCount = @"kTeenagerStatusChange";//
NSString * const kRoomQuickMessageCloseTime = @"kRoomQuickMessageCloseTime"; //
/// ///
NSString * const KeyWithType(KeyType type) { NSString * const KeyWithType(KeyType type) {

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM"> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21225" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina6_1" orientation="portrait" appearance="light"/> <device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies> <dependencies>
<deployment identifier="iOS"/> <deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21207"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies> </dependencies>
@@ -16,7 +16,7 @@
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/> <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" insetsLayoutMarginsFromSafeArea="NO" image="app_launch_screen01.png" translatesAutoresizingMaskIntoConstraints="NO" id="saT-Dw-TKR"> <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" insetsLayoutMarginsFromSafeArea="NO" image="app_lanunch_new" translatesAutoresizingMaskIntoConstraints="NO" id="saT-Dw-TKR">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/> <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
</imageView> </imageView>
</subviews> </subviews>
@@ -36,6 +36,6 @@
</scene> </scene>
</scenes> </scenes>
<resources> <resources>
<image name="app_launch_screen01.png" width="1242" height="2208"/> <image name="app_lanunch_new" width="1242" height="2208"/>
</resources> </resources>
</document> </document>

View File

@@ -190,6 +190,7 @@
_cycleScrollView.delegate = self; _cycleScrollView.delegate = self;
_cycleScrollView.showPageControl = NO; _cycleScrollView.showPageControl = NO;
_cycleScrollView.autoScrollTimeInterval = 3.0; _cycleScrollView.autoScrollTimeInterval = 3.0;
[_cycleScrollView disableScrollGesture];
} }
return _cycleScrollView; return _cycleScrollView;
} }

View File

@@ -85,7 +85,10 @@
- (void)setVipInfo:(UserVipInfoVo *)vipInfo { - (void)setVipInfo:(UserVipInfoVo *)vipInfo {
_vipInfo = vipInfo; _vipInfo = vipInfo;
if (vipInfo) { if (vipInfo) {
if (!self.nobleIconImage.superview) {
[self addSubview:self.nobleIconImage]; [self addSubview:self.nobleIconImage];
}
self.nobleIconImage.hidden = NO;
self.nobleIconImage.imageUrl = vipInfo.vipIcon; self.nobleIconImage.imageUrl = vipInfo.vipIcon;
self.titleLabel.text = vipInfo.vipName; self.titleLabel.text = vipInfo.vipName;
self.bgImageView.image = [UIImage imageNamed:@"mine_noble_entrance_hadNoble"]; self.bgImageView.image = [UIImage imageNamed:@"mine_noble_entrance_hadNoble"];
@@ -106,6 +109,23 @@
make.right.mas_equalTo(0); make.right.mas_equalTo(0);
make.height.mas_equalTo(14); make.height.mas_equalTo(14);
}]; }];
} else {
self.nobleIconImage.hidden = YES;
self.bgImageView.image = [UIImage imageNamed:@"mine_noble_entrance_noNoble"];
self.titleLabel.text = @"贵族中心";
self.descLabel.text = @"开通贵族立享各项特权";
[self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.mas_equalTo(14);
make.left.mas_equalTo(14);
make.right.mas_equalTo(0);
make.height.mas_equalTo(22);
}];
[self.descLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.mas_equalTo(self.titleLabel.mas_bottom);
make.left.mas_equalTo(14);
make.right.mas_equalTo(0);
make.height.mas_equalTo(14);
}];
} }
} }
@@ -137,6 +157,20 @@
}]; }];
} else { } else {
self.backProgressView.hidden = YES; self.backProgressView.hidden = YES;
self.titleLabel.text = @"贵族中心";
self.descLabel.text = @"开通贵族立享各项特权";
[self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.mas_equalTo(14);
make.left.mas_equalTo(14);
make.right.mas_equalTo(0);
make.height.mas_equalTo(22);
}];
[self.descLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.mas_equalTo(self.titleLabel.mas_bottom);
make.left.mas_equalTo(14);
make.right.mas_equalTo(0);
make.height.mas_equalTo(14);
}];
} }
} }

View File

@@ -641,7 +641,7 @@
- (UIButton *)anchorButton { - (UIButton *)anchorButton {
if (!_anchorButton) { if (!_anchorButton) {
_anchorButton = [UIButton buttonWithType:UIButtonTypeCustom]; _anchorButton = [UIButton buttonWithType:UIButtonTypeCustom];
[_anchorButton setTitle:@"个播" forState:UIControlStateNormal]; [_anchorButton setTitle:@"人气" forState:UIControlStateNormal];
[_anchorButton setTitleColor:[ThemeColor giftSegmentSelectTitleColor] forState:UIControlStateSelected]; [_anchorButton setTitleColor:[ThemeColor giftSegmentSelectTitleColor] forState:UIControlStateSelected];
[_anchorButton setTitleColor:[ThemeColor giftSegmentNormalTitleColor] forState:UIControlStateNormal]; [_anchorButton setTitleColor:[ThemeColor giftSegmentNormalTitleColor] forState:UIControlStateNormal];
_anchorButton.titleLabel.font = [UIFont systemFontOfSize:13 weight:UIFontWeightSemibold]; _anchorButton.titleLabel.font = [UIFont systemFontOfSize:13 weight:UIFontWeightSemibold];

View File

@@ -207,6 +207,7 @@
_cycleScrollView.delegate = self; _cycleScrollView.delegate = self;
_cycleScrollView.showPageControl = NO; _cycleScrollView.showPageControl = NO;
_cycleScrollView.autoScrollTimeInterval = 3.0; _cycleScrollView.autoScrollTimeInterval = 3.0;
[_cycleScrollView disableScrollGesture];
} }
return _cycleScrollView; return _cycleScrollView;
} }

View File

@@ -376,7 +376,6 @@
return; return;
} }
self.giftBarView.sendButtonIsEnable = NO; self.giftBarView.sendButtonIsEnable = NO;
NSLog(@"送礼物陈宫之前的时间:%@", [NSDate date]);
/// ///
[self.presenter sendGift:uidString giftNum:giftNumber sendType:sendType giftId:giftId giftSource:sourceType giftType:giftInfo.giftType roomSendType:roomSendType roomUid:self.roomUid msg:@""]; [self.presenter sendGift:uidString giftNum:giftNumber sendType:sendType giftId:giftId giftSource:sourceType giftType:giftInfo.giftType roomSendType:roomSendType roomUid:self.roomUid msg:@""];
} else { } else {
@@ -593,7 +592,6 @@
} }
- (void)sendGiftSuccess:(GiftReceiveInfoModel *)receiveInfo originDic:(NSDictionary *)originDic uidCount:(NSInteger)uidCount{ - (void)sendGiftSuccess:(GiftReceiveInfoModel *)receiveInfo originDic:(NSDictionary *)originDic uidCount:(NSInteger)uidCount{
NSLog(@"送礼物陈宫之后的时间:%@", [NSDate date]);
self.giftBarView.sendButtonIsEnable = YES; self.giftBarView.sendButtonIsEnable = YES;
if (receiveInfo.sourceType == GiftSourceType_Pack) { if (receiveInfo.sourceType == GiftSourceType_Pack) {
/// ///

View File

@@ -51,8 +51,8 @@
make.height.mas_equalTo(22); make.height.mas_equalTo(22);
}]; }];
[self.iconImageView mas_makeConstraints:^(MASConstraintMaker *make) { [self.iconImageView mas_makeConstraints:^(MASConstraintMaker *make) {
make.bottom.mas_equalTo(self); make.centerY.mas_equalTo(self.bgImageView.mas_centerY);
make.width.height.mas_equalTo(37); make.width.height.mas_equalTo(22);
}]; }];
[self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) { [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.centerY.mas_equalTo(self.bgImageView); make.centerY.mas_equalTo(self.bgImageView);
@@ -101,11 +101,11 @@
self.titleLabel.text = @"加入我的粉丝团吧~"; self.titleLabel.text = @"加入我的粉丝团吧~";
self.iconImageView.image = [UIImage imageNamed:@"anchor_fansTeam_entrance_icon"]; self.iconImageView.image = [UIImage imageNamed:@"anchor_fansTeam_entrance_icon"];
[self.iconImageView mas_remakeConstraints:^(MASConstraintMaker *make) { [self.iconImageView mas_remakeConstraints:^(MASConstraintMaker *make) {
make.bottom.mas_equalTo(self); make.centerY.mas_equalTo(self.bgImageView);
make.width.height.mas_equalTo(37); make.width.height.mas_equalTo(25);
}]; }];
[self.bgImageView mas_updateConstraints:^(MASConstraintMaker *make) { [self.bgImageView mas_updateConstraints:^(MASConstraintMaker *make) {
make.right.mas_equalTo(self.iconImageView.mas_right).mas_offset(-8); make.right.mas_equalTo(self.iconImageView.mas_right).mas_offset(8);
}]; }];
} }
} else { } else {
@@ -123,10 +123,12 @@
- (UIImageView *)bgImageView { - (UIImageView *)bgImageView {
if (_bgImageView == nil) { if (_bgImageView == nil) {
_bgImageView = [[UIImageView alloc] init]; _bgImageView = [[UIImageView alloc] init];
_bgImageView.image = [UIImage gradientColorImageFromColors:@[UIColorFromRGB(0xFF1ED7), UIColorFromRGB(0xFE70DB)] gradientType:GradientTypeLeftToRight imgSize:CGSizeMake(92, 22)]; _bgImageView.image = [UIImage gradientColorImageFromColors:@[UIColorFromRGB(0xFC37D6), UIColorFromRGB(0xFC7FDC)] gradientType:GradientTypeLeftToRight imgSize:CGSizeMake(92, 22)];
_bgImageView.userInteractionEnabled = YES; _bgImageView.userInteractionEnabled = YES;
_bgImageView.layer.cornerRadius = 11; _bgImageView.layer.cornerRadius = 11;
_bgImageView.layer.masksToBounds = YES; _bgImageView.layer.masksToBounds = YES;
_bgImageView.layer.borderWidth = 1;
_bgImageView.layer.borderColor = [UIColor colorWithWhite:1 alpha:0.35].CGColor;
} }
return _bgImageView; return _bgImageView;
} }

View File

@@ -141,10 +141,7 @@
[self mas_updateConstraints:^(MASConstraintMaker *make) { [self mas_updateConstraints:^(MASConstraintMaker *make) {
make.height.mas_equalTo(0); make.height.mas_equalTo(0);
}]; }];
//
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
long time = (long)([[NSDate date] timeIntervalSince1970]*1000);
[defaults setObject:@(time) forKey:kRoomQuickMessageCloseTime];
// //
NSNumber *count = [defaults objectForKey:kRoomQuickMessageCloseCount]; NSNumber *count = [defaults objectForKey:kRoomQuickMessageCloseCount];
[defaults setObject:@(count.intValue +1) forKey:kRoomQuickMessageCloseCount]; [defaults setObject:@(count.intValue +1) forKey:kRoomQuickMessageCloseCount];

View File

@@ -277,19 +277,11 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
// //
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
NSNumber *closeCount = [defaults objectForKey:kRoomQuickMessageCloseCount]; NSNumber *closeCount = [defaults objectForKey:kRoomQuickMessageCloseCount];
NSNumber *lastTime = [defaults objectForKey:kRoomQuickMessageCloseTime];
NSDate *datenow = [NSDate date];//
long time2 = (long)([datenow timeIntervalSince1970]*1000);
long aTime = (time2 - [lastTime longValue]) / 1000;
if (aTime > 24*60 *60) {//24
if (closeCount.intValue > 3) { if (closeCount.intValue > 3) {
quickMsgHeight = 0; quickMsgHeight = 0;
} else { } else {
quickMsgHeight = 30; quickMsgHeight = 30;
} }
} else {
quickMsgHeight = 0;
}
[self.quickMessageContainerView mas_makeConstraints:^(MASConstraintMaker *make) { [self.quickMessageContainerView mas_makeConstraints:^(MASConstraintMaker *make) {
make.bottom.mas_equalTo(self.menuContainerView.mas_top); make.bottom.mas_equalTo(self.menuContainerView.mas_top);
make.height.mas_equalTo(quickMsgHeight); make.height.mas_equalTo(quickMsgHeight);
@@ -517,8 +509,18 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
make.left.mas_equalTo(self.anchorScrollView.middleImageView); make.left.mas_equalTo(self.anchorScrollView.middleImageView);
make.right.mas_equalTo(self.activityContainerView.mas_left).offset(-10); make.right.mas_equalTo(self.activityContainerView.mas_left).offset(-10);
}]; }];
CGFloat quickMsgHeight = 30;
//
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
NSNumber *closeCount = [defaults objectForKey:kRoomQuickMessageCloseCount];
if (closeCount.intValue > 3) {
quickMsgHeight = 0;
} else {
quickMsgHeight = 30;
}
[self.quickMessageContainerView mas_remakeConstraints:^(MASConstraintMaker *make) { [self.quickMessageContainerView mas_remakeConstraints:^(MASConstraintMaker *make) {
make.height.mas_equalTo(30); make.height.mas_equalTo(quickMsgHeight);
make.bottom.mas_equalTo(self.backContainerView).mas_offset(-5-40-8-kSafeAreaBottomHeight); make.bottom.mas_equalTo(self.backContainerView).mas_offset(-5-40-8-kSafeAreaBottomHeight);
make.left.right.mas_equalTo(self.anchorScrollView.middleImageView); make.left.right.mas_equalTo(self.anchorScrollView.middleImageView);
}]; }];
@@ -1538,6 +1540,13 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
[self.menuContainerView onMicroQueueUpdate:queue]; [self.menuContainerView onMicroQueueUpdate:queue];
[self.functionView onRoomUpdate]; [self.functionView onRoomUpdate];
[self.functionView onMicroQueueUpdate:queue]; [self.functionView onMicroQueueUpdate:queue];
for (MicroQueueModel * info in queue.allValues) {
if (info.userInfo.uid > 0 && [AccountInfoStorage instance].getUid.integerValue == info.userInfo.uid) {
self.anchorScrollView.scrollEnabled = NO;
} else {
self.anchorScrollView.scrollEnabled = YES;
}
}
} }
- (CGPoint)animationPointAtStageViewByUid:(NSString *)uid { - (CGPoint)animationPointAtStageViewByUid:(NSString *)uid {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 KiB