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]; }