From 2a1bec5ecb03850947d84d278ffd09cef415eea9 Mon Sep 17 00:00:00 2001 From: fengshuo <963787902@qq.com> Date: Fri, 19 Aug 2022 18:29:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E4=B8=AA=E6=92=AD?= =?UTF-8?q?=E6=88=BF=E5=88=87=E6=8D=A2=E6=88=BF=E9=97=B4=E4=BC=9A=E6=9C=89?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E7=99=BD=E8=89=B2=E7=9A=84=E8=83=8C=E6=99=AF?= =?UTF-8?q?=E7=9A=84=E6=95=88=E6=9E=9Cbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Main/Room/View/AnchorCycleView/AnchorRoomScrollView.m | 8 +------- xplan-ios/Main/Room/View/XPRoomViewController.m | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/xplan-ios/Main/Room/View/AnchorCycleView/AnchorRoomScrollView.m b/xplan-ios/Main/Room/View/AnchorCycleView/AnchorRoomScrollView.m index b3d9fe68..63017ab0 100644 --- a/xplan-ios/Main/Room/View/AnchorCycleView/AnchorRoomScrollView.m +++ b/xplan-ios/Main/Room/View/AnchorCycleView/AnchorRoomScrollView.m @@ -34,6 +34,7 @@ self = [super initWithFrame:frame]; if(self) { + self.backgroundColor = [UIColor clearColor]; self.pagingEnabled = YES; self.showsHorizontalScrollIndicator = NO; self.showsVerticalScrollIndicator = NO; @@ -108,18 +109,11 @@ -(void)scrollViewDidScroll:(UIScrollView *)scrollView { if (scrollView.contentOffset.y > KScreenHeight) {///乡上滚动 - if (scrollView.contentOffset.y <= (KScreenHeight * 1.5)) { - return; - } - if (!self.animatePlay) { [self startAnimate:self.downDisplayView]; } } else {///向下滚动 if (self.isCanScrollTop) { - if (scrollView.contentOffset.y > (KScreenHeight * 0.5)) { - return; - } if (!self.animatePlay) { [self startAnimate:self.topDisplayView]; } diff --git a/xplan-ios/Main/Room/View/XPRoomViewController.m b/xplan-ios/Main/Room/View/XPRoomViewController.m index c8e94958..ec4dba4f 100644 --- a/xplan-ios/Main/Room/View/XPRoomViewController.m +++ b/xplan-ios/Main/Room/View/XPRoomViewController.m @@ -798,7 +798,6 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出 [self.presenter reportUserOutRoom:[NSString stringWithFormat:@"%ld", self.roomInfo.uid]]; [self.functionView onRoomChange]; //2、移除房间子控件 - [self.backContainerView removeFromSuperview]; [self.stageView removeFromSuperview]; [self.messageContainerView removeFromSuperview]; [self.activityContainerView removeFromSuperview];