From 35d921da8c268ee93a05f33e0e5cf3490e38a592 Mon Sep 17 00:00:00 2001 From: fengshuo <963787902@qq.com> Date: Sat, 24 Dec 2022 17:53:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E5=A4=A7=E5=AE=B6?= =?UTF-8?q?=E9=83=BD=E5=9C=A8=E6=90=9C=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=E6=9C=AC=E5=9C=B0=E6=90=9C=E7=B4=A2=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Main/Home/View/XPRoomSearchContainerViewController.m | 1 - xplan-ios/Main/Mine/View/SubViews/XPMineHeadView.m | 4 ++-- .../Room/View/AnchorPK/View/XPAnchorPKSelectTypeController.m | 5 +---- xplan-ios/Main/Room/View/StageView/AnchorPKStageView.m | 4 ++-- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/xplan-ios/Main/Home/View/XPRoomSearchContainerViewController.m b/xplan-ios/Main/Home/View/XPRoomSearchContainerViewController.m index 78eeea5e..533f9e7c 100644 --- a/xplan-ios/Main/Home/View/XPRoomSearchContainerViewController.m +++ b/xplan-ios/Main/Home/View/XPRoomSearchContainerViewController.m @@ -176,7 +176,6 @@ UIKIT_EXTERN NSString *kTabShowAnchorCardKey; ///大家都在搜 - (void)xPRoomSearchRecordViewControllerEveryoneSearch:(NSString *)word sid:(nonnull NSString *)sid { self.searchView.searchTextField.text = word; - [self.recordVc storeSearchRecord:word]; [self.presenter getEveryOneSearchRoomList:sid]; } diff --git a/xplan-ios/Main/Mine/View/SubViews/XPMineHeadView.m b/xplan-ios/Main/Mine/View/SubViews/XPMineHeadView.m index 6383c6f9..27426b38 100644 --- a/xplan-ios/Main/Mine/View/SubViews/XPMineHeadView.m +++ b/xplan-ios/Main/Mine/View/SubViews/XPMineHeadView.m @@ -120,13 +120,13 @@ make.height.mas_equalTo(self.headWearImageView.mas_width); }]; [self.nobleImageView mas_makeConstraints:^(MASConstraintMaker *make) { - make.left.mas_equalTo(self.avatarImageView.mas_right).offset(9); + make.left.mas_equalTo(self.headWearImageView.mas_right).offset(9); make.top.mas_equalTo(self.avatarImageView).mas_offset(14); make.width.height.mas_equalTo(20); }]; [self.nameStackView mas_makeConstraints:^(MASConstraintMaker *make) { make.centerY.mas_equalTo(self.nobleImageView); - make.left.mas_equalTo(self.nobleImageView.mas_right).mas_offset(5); + make.left.mas_equalTo(self.nobleImageView.mas_right).mas_offset(10); make.height.mas_equalTo(16); make.right.mas_equalTo(self.skillCardButton.mas_left).mas_offset(-2); }]; diff --git a/xplan-ios/Main/Room/View/AnchorPK/View/XPAnchorPKSelectTypeController.m b/xplan-ios/Main/Room/View/AnchorPK/View/XPAnchorPKSelectTypeController.m index a92ffe0b..d2389c8c 100644 --- a/xplan-ios/Main/Room/View/AnchorPK/View/XPAnchorPKSelectTypeController.m +++ b/xplan-ios/Main/Room/View/AnchorPK/View/XPAnchorPKSelectTypeController.m @@ -101,10 +101,7 @@ }]; } -- (void)ruleButtonAction:(UIButton *)sender { -// XPAnchorPKRuleView *view = [[XPAnchorPKRuleView alloc] init]; -// [TTPopup popupView:view style:TTPopupStyleAlert]; - +- (void)ruleButtonAction:(UIButton *)sender { [Api requestAnchorPkRule:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) { if (code == 200) { XPAnchorRandomPKRuleView *view = [[XPAnchorRandomPKRuleView alloc] init]; diff --git a/xplan-ios/Main/Room/View/StageView/AnchorPKStageView.m b/xplan-ios/Main/Room/View/StageView/AnchorPKStageView.m index 8de0a099..19b70262 100644 --- a/xplan-ios/Main/Room/View/StageView/AnchorPKStageView.m +++ b/xplan-ios/Main/Room/View/StageView/AnchorPKStageView.m @@ -26,7 +26,7 @@ ///View #import "AnchorPKMicroView.h" #import "XPUserCardViewController.h" -#import "XPAnchorPKRuleView.h" +#import "XPAnchorRandomPKRuleView.h" // 房主头像宽 58 + 光圈 5 #define ownerWidth (85 + 5) @@ -283,7 +283,7 @@ - (void)onRuleButtonClick:(UIButton *)button { [Api requestAnchorPkRule:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) { if (code == 200) { - XPAnchorPKRuleView *view = [[XPAnchorPKRuleView alloc] init]; + XPAnchorRandomPKRuleView *view = [[XPAnchorRandomPKRuleView alloc] init]; view.ruleString = data.data; [TTPopup popupView:view style:TTPopupStyleAlert]; }