This commit is contained in:
启星
2025-08-15 18:39:24 +08:00
parent e33abc7e33
commit 4b577a31f0
449 changed files with 520 additions and 1457 deletions

View File

@@ -171,7 +171,7 @@
// }
QXTabbarConfig *config = [QXTabbarConfig shareInstance];
config.imageOffset = -5;
QXTabBar *customTabBar = [[QXTabBar alloc] initWithFrame:CGRectMake(15, 0, SCREEN_WIDTH-30, 50) centerCustom:NO config:config];
QXTabBar *customTabBar = [[QXTabBar alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, TabbarContentHeight) centerCustom:NO config:config];
customTabBar.backgroundColor = [UIColor whiteColor];
customTabBar.layer.shadowColor = [UIColor grayColor].CGColor;
customTabBar.layer.shadowOpacity = 0.5;
@@ -179,8 +179,8 @@
customTabBar.layer.shadowRadius = 25.0;
customTabBar.layer.shadowPath = [UIBezierPath bezierPathWithRoundedRect:customTabBar.bounds cornerRadius:customTabBar.layer.cornerRadius].CGPath;
customTabBar.delegate = self;
customTabBar.layer.cornerRadius = 25.0;
customTabBar.layer.masksToBounds = NO;
// customTabBar.layer.cornerRadius = 25.0;
// customTabBar.layer.masksToBounds = NO;
self.selectedIndex = 0;
// [self.view addSubview:customTabBar];
self.customTabBar = customTabBar;

View File

@@ -25,14 +25,14 @@
[self addSubview:self.titleLbl];
[self.iconBtn mas_makeConstraints:^(MASConstraintMaker *make) {
make.centerX.equalTo(self);
make.top.equalTo(self.mas_top).offset(-1);
make.height.width.mas_equalTo(32);
make.top.equalTo(self.mas_top).offset(6);
make.height.width.mas_equalTo(24);
}];
[self.titleLbl mas_makeConstraints:^(MASConstraintMaker *make) {
make.centerX.equalTo(self);
make.top.equalTo(self.iconBtn.mas_bottom).offset(0);
make.top.equalTo(self.iconBtn.mas_bottom).offset(2);
make.left.right.equalTo(self);
make.height.mas_equalTo(12);
}];

View File

@@ -33,6 +33,7 @@ NS_ASSUME_NONNULL_BEGIN
@property (weak, nonatomic) IBOutlet UIImageView *userHeaderView;
@property (weak, nonatomic) IBOutlet UIView *numberBgView;
@property (weak, nonatomic) IBOutlet UIImageView *grayCoverView;
@property (weak, nonatomic) IBOutlet UIImageView *giftNumBgImageView;
@property (strong, nonatomic) QXGiftModel *roomGiftModel;
@property (strong, nonatomic) QXUserGiftWallModel *giftWall;

View File

@@ -14,6 +14,7 @@
// Initialization code
[self.selecteBtn setBackgroundImage:[UIImage imageWithColor:RGB16(0xEFF2F8)] forState:(UIControlStateNormal)];
[self.selecteBtn setBackgroundImage:[UIImage imageNamed:@"mine_dress_bg"] forState:(UIControlStateSelected)];
self.giftNumBgImageView.image = [[UIImage imageNamed:@"gift_number_bg"] imageByTintColor:QXConfig.themeColor];
}
-(void)setCellType:(QXGiftCellType)cellType{

View File

@@ -33,7 +33,7 @@
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="x99" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NY9-Jo-6BD">
<rect key="frame" x="0.0" y="0.0" width="23" height="9"/>
<fontDescription key="fontDescription" type="system" pointSize="7"/>
<color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
@@ -135,6 +135,7 @@
<outlet property="cornBtn" destination="3d1-U7-04n" id="PLQ-JR-U9b"/>
<outlet property="cornHeight" destination="svX-z8-2v4" id="ocG-gq-4Wo"/>
<outlet property="giftNameLabel" destination="rHb-Od-M4a" id="nik-Bp-Ce4"/>
<outlet property="giftNumBgImageView" destination="Yu7-xk-6PI" id="cPo-JU-rPA"/>
<outlet property="gitfImageView" destination="1oa-XB-z2H" id="1bo-km-q0H"/>
<outlet property="grayCoverView" destination="niZ-Xc-95T" id="vbK-Sr-GkT"/>
<outlet property="nameLabelHeight" destination="yY1-Fd-GTO" id="ewH-OC-DXC"/>