修复了大家都在搜显示不加入本地搜索记录
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
@@ -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);
|
||||
}];
|
||||
|
@@ -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];
|
||||
|
@@ -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];
|
||||
}
|
||||
|
Reference in New Issue
Block a user