修改提交
This commit is contained in:
@@ -111,7 +111,7 @@ typedef void (^showFinishBlock)(void);
|
|||||||
/**
|
/**
|
||||||
退出房间
|
退出房间
|
||||||
*/
|
*/
|
||||||
-(void)quitRoomWithRoomId:(NSString*)roomId;
|
-(void)quitRoomWithRoomId:(NSString*)roomId removeListener:(BOOL)removeListener;
|
||||||
/// 去完成任务
|
/// 去完成任务
|
||||||
-(void)finishTask;
|
-(void)finishTask;
|
||||||
|
|
||||||
|
|||||||
@@ -242,6 +242,9 @@
|
|||||||
}
|
}
|
||||||
if ([roomId isEqualToString:self.roomId]) {
|
if ([roomId isEqualToString:self.roomId]) {
|
||||||
if ([navagationController.viewControllers containsObject:self.roomVC]) {
|
if ([navagationController.viewControllers containsObject:self.roomVC]) {
|
||||||
|
if (![navagationController.visibleViewController isEqual:self.roomVC]) {
|
||||||
|
[navagationController popToViewController:self.roomVC animated:YES];
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}else{
|
}else{
|
||||||
[UIApplication sharedApplication].idleTimerDisabled = YES;
|
[UIApplication sharedApplication].idleTimerDisabled = YES;
|
||||||
@@ -296,7 +299,7 @@
|
|||||||
[[QXRoomMessageManager shared] joinGroupWithRoomId:roomId];
|
[[QXRoomMessageManager shared] joinGroupWithRoomId:roomId];
|
||||||
[QXMineNetwork joinRoomWithRoomId:roomId successBlock:^(QXRoomModel * _Nonnull roomModel) {
|
[QXMineNetwork joinRoomWithRoomId:roomId successBlock:^(QXRoomModel * _Nonnull roomModel) {
|
||||||
if (weakSelf.roomId && ![weakSelf.roomId isEqualToString:roomId]) {
|
if (weakSelf.roomId && ![weakSelf.roomId isEqualToString:roomId]) {
|
||||||
[weakSelf quitRoomWithRoomId:weakSelf.roomId];
|
[weakSelf quitRoomWithRoomId:weakSelf.roomId removeListener:NO];
|
||||||
}
|
}
|
||||||
// hideLoadingInView(KEYWINDOW)
|
// hideLoadingInView(KEYWINDOW)
|
||||||
// roomModel.room_info.pk_room_id = @"33";
|
// roomModel.room_info.pk_room_id = @"33";
|
||||||
@@ -371,7 +374,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
-(void)quitRoomWithRoomId:(NSString *)roomId{
|
-(void)quitRoomWithRoomId:(NSString *)roomId removeListener:(BOOL)removeListener{
|
||||||
[self stopKeepTimer];
|
[self stopKeepTimer];
|
||||||
[UIApplication sharedApplication].idleTimerDisabled = NO;
|
[UIApplication sharedApplication].idleTimerDisabled = NO;
|
||||||
/// 移除所有红包
|
/// 移除所有红包
|
||||||
@@ -389,7 +392,7 @@
|
|||||||
/// 销毁整个声网示例
|
/// 销毁整个声网示例
|
||||||
[[QXAgoraEngine sharedEngine] destroyEngine];
|
[[QXAgoraEngine sharedEngine] destroyEngine];
|
||||||
/// 退出直播群
|
/// 退出直播群
|
||||||
[[QXRoomMessageManager shared] quitGroupWithRoomId:roomId];
|
[[QXRoomMessageManager shared] quitGroupWithRoomId:roomId removeListener:removeListener];
|
||||||
[[QXGlobal shareGlobal].offLineDict removeAllObjects];
|
[[QXGlobal shareGlobal].offLineDict removeAllObjects];
|
||||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||||
if (_roomVC) {
|
if (_roomVC) {
|
||||||
|
|||||||
@@ -511,7 +511,18 @@
|
|||||||
self.giftModel = nil;
|
self.giftModel = nil;
|
||||||
self.pitUserListView.isSingle = NO;
|
self.pitUserListView.isSingle = NO;
|
||||||
[self.pitUserListView.selectedArray removeAllObjects];
|
[self.pitUserListView.selectedArray removeAllObjects];
|
||||||
self.pitUserListView.users = pitUsers;
|
NSMutableArray *arr = [NSMutableArray array];
|
||||||
|
for (QXRoomPitModel *md in pitUsers) {
|
||||||
|
QXRoomPitModel *model = [QXRoomPitModel new];
|
||||||
|
model.user_id = md.user_id;
|
||||||
|
model.nickname = md.nickname;
|
||||||
|
model.pit_number = md.pit_number;
|
||||||
|
model.sex = md.sex;
|
||||||
|
model.avatar = md.avatar;
|
||||||
|
model.user_code = md.user_code;
|
||||||
|
[arr addObject:model];
|
||||||
|
}
|
||||||
|
self.pitUserListView.users = arr;
|
||||||
[self getMyWallet];
|
[self getMyWallet];
|
||||||
}
|
}
|
||||||
-(void)setUserModel:(QXRoomPitModel *)userModel{
|
-(void)setUserModel:(QXRoomPitModel *)userModel{
|
||||||
|
|||||||
@@ -253,7 +253,7 @@
|
|||||||
|
|
||||||
model.navIsHidden = YES;
|
model.navIsHidden = YES;
|
||||||
model.preferredStatusBarStyle = UIStatusBarStyleDarkContent;
|
model.preferredStatusBarStyle = UIStatusBarStyleDarkContent;
|
||||||
model.logoImage = [UIImage imageNamed:@"login_logo"];
|
model.logoImage = [UIImage imageNamed:@"app_one_login_icon"];
|
||||||
model.logoFrameBlock = ^CGRect(CGSize screenSize, CGSize superViewSize, CGRect frame) {
|
model.logoFrameBlock = ^CGRect(CGSize screenSize, CGSize superViewSize, CGRect frame) {
|
||||||
frame.origin = CGPointMake((SCREEN_WIDTH - 88) * .5, 150+ kSafeAreaTop);
|
frame.origin = CGPointMake((SCREEN_WIDTH - 88) * .5, 150+ kSafeAreaTop);
|
||||||
frame.size = CGSizeMake(88, 88);
|
frame.size = CGSizeMake(88, 88);
|
||||||
|
|||||||
@@ -324,7 +324,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
-(void)joinGroupWithRoomId:(NSString*)roomId;
|
-(void)joinGroupWithRoomId:(NSString*)roomId;
|
||||||
|
|
||||||
/// 退出房间群组
|
/// 退出房间群组
|
||||||
-(void)quitGroupWithRoomId:(NSString*)roomId;
|
-(void)quitGroupWithRoomId:(NSString*)roomId removeListener:(BOOL)removeListener;
|
||||||
|
|
||||||
-(void)sendChatMessage:(NSString *)message messageType:(QXRoomMessageType)messageType needInsertMessage:(BOOL)needInsertMessage;
|
-(void)sendChatMessage:(NSString *)message messageType:(QXRoomMessageType)messageType needInsertMessage:(BOOL)needInsertMessage;
|
||||||
/// 发送表情
|
/// 发送表情
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
-(void)joinGroupWithRoomId:(NSString *)roomId{
|
-(void)joinGroupWithRoomId:(NSString *)roomId{
|
||||||
MJWeakSelf
|
MJWeakSelf
|
||||||
if (self.groupId) {
|
if (self.groupId) {
|
||||||
[self quitGroupWithRoomId:self.groupId];
|
[self quitGroupWithRoomId:self.groupId removeListener:YES];
|
||||||
}
|
}
|
||||||
[[V2TIMManager sharedInstance] addGroupListener:self];
|
[[V2TIMManager sharedInstance] addGroupListener:self];
|
||||||
[[V2TIMManager sharedInstance] addAdvancedMsgListener:self];
|
[[V2TIMManager sharedInstance] addAdvancedMsgListener:self];
|
||||||
@@ -56,12 +56,13 @@
|
|||||||
QXLOG(@"腾讯IM加入聊天室失败-code%d-原因%@",code,desc);
|
QXLOG(@"腾讯IM加入聊天室失败-code%d-原因%@",code,desc);
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
-(void)quitGroupWithRoomId:(NSString *)roomId{
|
-(void)quitGroupWithRoomId:(NSString *)roomId removeListener:(BOOL)removeListener{
|
||||||
MJWeakSelf
|
if (removeListener) {
|
||||||
self.groupId = nil;
|
self.groupId = nil;
|
||||||
self.roomId = nil;
|
self.roomId = nil;
|
||||||
[[V2TIMManager sharedInstance] removeGroupListener:self];
|
[[V2TIMManager sharedInstance] removeGroupListener:self];
|
||||||
[[V2TIMManager sharedInstance] removeAdvancedMsgListener:self];
|
[[V2TIMManager sharedInstance] removeAdvancedMsgListener:self];
|
||||||
|
}
|
||||||
NSString *groupId = [NSString stringWithFormat:@"room%@",roomId];
|
NSString *groupId = [NSString stringWithFormat:@"room%@",roomId];
|
||||||
[[V2TIMManager sharedInstance] quitGroup:groupId succ:^{
|
[[V2TIMManager sharedInstance] quitGroup:groupId succ:^{
|
||||||
|
|
||||||
|
|||||||
@@ -161,9 +161,25 @@
|
|||||||
break;
|
break;
|
||||||
case QXMineServiceTypeSingerAuth:{
|
case QXMineServiceTypeSingerAuth:{
|
||||||
QXLOG(@"点击了歌手认证");
|
QXLOG(@"点击了歌手认证");
|
||||||
QXRoomSingerAuthViewController *vc = [[QXRoomSingerAuthViewController alloc] init];
|
MJWeakSelf
|
||||||
vc.singer_status = self.userModel.singer_status;
|
if (![QXGlobal shareGlobal].isRealName) {
|
||||||
[self.navigationController pushViewController:vc animated:YES];
|
QXLOG(@"未实名,弹出实名认证");
|
||||||
|
QXRealNamePopView *v = [[QXRealNamePopView alloc] init];
|
||||||
|
v.closeActionBlock = ^{
|
||||||
|
[[QXGlobal shareGlobal] hideViewBlock:^{}];
|
||||||
|
};
|
||||||
|
v.authActionBlock = ^{
|
||||||
|
[[QXGlobal shareGlobal] hideViewBlock:^{
|
||||||
|
QXRoomSingerAuthViewController *vc = [[QXRoomSingerAuthViewController alloc] init];
|
||||||
|
vc.singer_status = weakSelf.userModel.singer_status;
|
||||||
|
[weakSelf.navigationController pushViewController:vc animated:YES];
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
[[QXGlobal shareGlobal] showView:v popType:(PopViewTypePopFromCenter) tapDismiss:NO finishBlock:^{}];
|
||||||
|
}else{
|
||||||
|
QXMyRoomViewController *vc = [[QXMyRoomViewController alloc] init];
|
||||||
|
[self.navigationController pushViewController:vc animated:YES];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case QXMineServiceTypeSongList:{
|
case QXMineServiceTypeSongList:{
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
self.categoryView.delegate = self;
|
self.categoryView.delegate = self;
|
||||||
self.categoryView.titleSelectedColor = QXConfig.textColor;
|
self.categoryView.titleSelectedColor = QXConfig.textColor;
|
||||||
self.categoryView.titleColor = RGB16(0x666666);
|
self.categoryView.titleColor = RGB16(0x666666);
|
||||||
self.categoryView.titleFont = [UIFont boldSystemFontOfSize:12];
|
self.categoryView.titleFont = [UIFont boldSystemFontOfSize:14];
|
||||||
self.categoryView.titleSelectedFont = [UIFont boldSystemFontOfSize:16];
|
self.categoryView.titleSelectedFont = [UIFont boldSystemFontOfSize:16];
|
||||||
self.categoryView.titleColorGradientEnabled = YES;
|
self.categoryView.titleColorGradientEnabled = YES;
|
||||||
self.categoryView.titleLabelZoomEnabled = YES;
|
self.categoryView.titleLabelZoomEnabled = YES;
|
||||||
|
|||||||
@@ -122,7 +122,7 @@
|
|||||||
MJWeakSelf
|
MJWeakSelf
|
||||||
QXIntimateMoreListCell *cell = [QXIntimateMoreListCell cellWithTableView:tableView];
|
QXIntimateMoreListCell *cell = [QXIntimateMoreListCell cellWithTableView:tableView];
|
||||||
cell.userId = self.userId;
|
cell.userId = self.userId;
|
||||||
QXRoomBestFriendListModel *md = self.dataArray.firstObject;
|
QXRoomBestFriendListModel *md = self.dataArray[indexPath.section-1];
|
||||||
cell.model = md.relation_list.firstObject;
|
cell.model = md.relation_list.firstObject;
|
||||||
cell.delegate = self;
|
cell.delegate = self;
|
||||||
cell.deleteSuccessBlock = ^(QXRelationshipListModel * _Nonnull model) {
|
cell.deleteSuccessBlock = ^(QXRelationshipListModel * _Nonnull model) {
|
||||||
|
|||||||
@@ -61,7 +61,10 @@
|
|||||||
weakSelf.priceView.model = model;
|
weakSelf.priceView.model = model;
|
||||||
[weakSelf.tableView reloadData];
|
[weakSelf.tableView reloadData];
|
||||||
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
||||||
|
showToast(msg);
|
||||||
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||||
|
[weakSelf.navigationController popViewControllerAnimated:YES];
|
||||||
|
});
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
|
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
|
||||||
@property (nonatomic,strong)QXRelationshipListModel *model;
|
@property (nonatomic,strong)QXRelationshipListModel *model;
|
||||||
@property (nonatomic,strong)NSString *userId;
|
@property (nonatomic,strong)NSString *userId;
|
||||||
|
@property (weak, nonatomic) IBOutlet UIButton *deleteBtn;
|
||||||
|
@property (weak, nonatomic) IBOutlet UIButton *topBtn;
|
||||||
@property (nonatomic,copy)void(^topSuccessBlock)(QXRelationshipListModel*model);
|
@property (nonatomic,copy)void(^topSuccessBlock)(QXRelationshipListModel*model);
|
||||||
@property (nonatomic,copy)void(^deleteSuccessBlock)(QXRelationshipListModel*model);
|
@property (nonatomic,copy)void(^deleteSuccessBlock)(QXRelationshipListModel*model);
|
||||||
@property (nonatomic,weak)id<QXIntimateMoreListCellDelegate>delegate;
|
@property (nonatomic,weak)id<QXIntimateMoreListCellDelegate>delegate;
|
||||||
|
|||||||
@@ -103,6 +103,13 @@
|
|||||||
self.rightNameLabel.text = model.nickname1;
|
self.rightNameLabel.text = model.nickname1;
|
||||||
self.rightSexImageView.image = [UIImage imageNamed:model.sex2.intValue == 1?@"user_sex_boy":@"user_sex_girl"];
|
self.rightSexImageView.image = [UIImage imageNamed:model.sex2.intValue == 1?@"user_sex_boy":@"user_sex_girl"];
|
||||||
}
|
}
|
||||||
|
if ([self.userId isEqualToString:QXGlobal.shareGlobal.loginModel.user_id]) {
|
||||||
|
self.topBtn.hidden = YES;
|
||||||
|
self.deleteBtn.hidden = YES;
|
||||||
|
}else{
|
||||||
|
self.topBtn.hidden = NO;
|
||||||
|
self.deleteBtn.hidden = NO;
|
||||||
|
}
|
||||||
NSTimeInterval currentTime = [[NSDate date] timeIntervalSince1970];
|
NSTimeInterval currentTime = [[NSDate date] timeIntervalSince1970];
|
||||||
long long milliseconds = (long long)(currentTime);
|
long long milliseconds = (long long)(currentTime);
|
||||||
NSInteger time = model.end_time.longLongValue - milliseconds;
|
NSInteger time = model.end_time.longLongValue - milliseconds;
|
||||||
|
|||||||
@@ -166,6 +166,7 @@
|
|||||||
</tableViewCellContentView>
|
</tableViewCellContentView>
|
||||||
<viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
|
<viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
|
||||||
<connections>
|
<connections>
|
||||||
|
<outlet property="deleteBtn" destination="52j-r4-V3h" id="a7Z-AB-PkR"/>
|
||||||
<outlet property="leftHeaderView" destination="pS6-S4-a2G" id="pIO-eN-du1"/>
|
<outlet property="leftHeaderView" destination="pS6-S4-a2G" id="pIO-eN-du1"/>
|
||||||
<outlet property="leftNameLabel" destination="eAs-09-73J" id="3xn-sG-6Nz"/>
|
<outlet property="leftNameLabel" destination="eAs-09-73J" id="3xn-sG-6Nz"/>
|
||||||
<outlet property="leftSexImageView" destination="fJj-mx-2yM" id="TSa-Nv-4tO"/>
|
<outlet property="leftSexImageView" destination="fJj-mx-2yM" id="TSa-Nv-4tO"/>
|
||||||
@@ -173,6 +174,7 @@
|
|||||||
<outlet property="rightNameLabel" destination="tuv-zg-sBW" id="unH-ct-gfv"/>
|
<outlet property="rightNameLabel" destination="tuv-zg-sBW" id="unH-ct-gfv"/>
|
||||||
<outlet property="rightSexImageView" destination="6nc-bo-ejr" id="Xv0-nC-Nhq"/>
|
<outlet property="rightSexImageView" destination="6nc-bo-ejr" id="Xv0-nC-Nhq"/>
|
||||||
<outlet property="timeLabel" destination="8wc-ZY-rQa" id="BIS-Ab-0EB"/>
|
<outlet property="timeLabel" destination="8wc-ZY-rQa" id="BIS-Ab-0EB"/>
|
||||||
|
<outlet property="topBtn" destination="QZV-rH-5ej" id="HvG-Kr-kzY"/>
|
||||||
</connections>
|
</connections>
|
||||||
<point key="canvasLocation" x="252.67175572519082" y="47.887323943661976"/>
|
<point key="canvasLocation" x="252.67175572519082" y="47.887323943661976"/>
|
||||||
</tableViewCell>
|
</tableViewCell>
|
||||||
|
|||||||
@@ -47,6 +47,7 @@
|
|||||||
[self.priceBtn setTitle:model.market_value forState:(UIControlStateNormal)];
|
[self.priceBtn setTitle:model.market_value forState:(UIControlStateNormal)];
|
||||||
self.onlineLabel.text = model.is_online==1?@"当前在线":@"当前离线";
|
self.onlineLabel.text = model.is_online==1?@"当前在线":@"当前离线";
|
||||||
self.continueBtn.hidden = model.is_show_sign.intValue==1?NO:YES;
|
self.continueBtn.hidden = model.is_show_sign.intValue==1?NO:YES;
|
||||||
|
self.continueBtn.hidden = NO;
|
||||||
}
|
}
|
||||||
- (IBAction)continueAction:(id)sender {
|
- (IBAction)continueAction:(id)sender {
|
||||||
|
|
||||||
|
|||||||
@@ -53,8 +53,8 @@
|
|||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="张三张三张三" textAlignment="center" lineBreakMode="clip" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AEg-Tu-ye6">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="张三张三张三" textAlignment="center" lineBreakMode="clip" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AEg-Tu-ye6">
|
||||||
<rect key="frame" x="8" y="88" width="72" height="19.333333333333329"/>
|
<rect key="frame" x="8" y="88" width="72" height="18"/>
|
||||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
|
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||||
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BVQ-z4-fHs">
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BVQ-z4-fHs">
|
||||||
<rect key="frame" x="26" y="111.33333333333333" width="36" height="19.999999999999986"/>
|
<rect key="frame" x="26" y="110" width="36" height="20"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||||
<state key="normal" title="10" image="mine_recharge_corn">
|
<state key="normal" title="10" image="mine_recharge_corn">
|
||||||
@@ -73,16 +73,16 @@
|
|||||||
</state>
|
</state>
|
||||||
</button>
|
</button>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="当前在线" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cha-OZ-i3U">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="当前在线" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cha-OZ-i3U">
|
||||||
<rect key="frame" x="20" y="136.33333333333334" width="48" height="15"/>
|
<rect key="frame" x="20" y="135" width="48" height="15"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||||
<color key="textColor" red="0.22745098039215686" green="0.73725490196078436" blue="0.42745098039215684" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
<color key="textColor" red="0.22745098039215686" green="0.73725490196078436" blue="0.42745098039215684" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="VGe-Cc-S6Q">
|
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="VGe-Cc-S6Q">
|
||||||
<rect key="frame" x="90" y="87.666666666666686" width="85" height="66.333333333333314"/>
|
<rect key="frame" x="90" y="87.666666666666686" width="116.66666666666669" height="66.333333333333314"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="今日" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fxt-Ok-e8L">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="今日" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fxt-Ok-e8L">
|
||||||
<rect key="frame" x="30.666666666666657" y="4" width="24" height="17"/>
|
<rect key="frame" x="46.333333333333343" y="4" width="24" height="17"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="height" constant="17" id="xrg-jZ-zdc"/>
|
<constraint firstAttribute="height" constant="17" id="xrg-jZ-zdc"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="收礼盈利" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9wb-6a-aQt">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="收礼盈利" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9wb-6a-aQt">
|
||||||
<rect key="frame" x="18.666666666666671" y="23" width="48" height="17"/>
|
<rect key="frame" x="34.333333333333343" y="23" width="48" height="17"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="height" constant="17" id="AoH-Ct-GM9"/>
|
<constraint firstAttribute="height" constant="17" id="AoH-Ct-GM9"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dpa-gV-fxG">
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dpa-gV-fxG">
|
||||||
<rect key="frame" x="2" y="41.999999999999986" width="81" height="22.333333333333329"/>
|
<rect key="frame" x="2" y="41.999999999999986" width="112.66666666666667" height="22.333333333333329"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||||
<state key="normal" title="10" image="family_diamond">
|
<state key="normal" title="10" image="family_diamond">
|
||||||
@@ -111,7 +111,6 @@
|
|||||||
<color key="backgroundColor" red="0.85490196078431369" green="1" blue="0.88627450980392153" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
<color key="backgroundColor" red="0.85490196078431369" green="1" blue="0.88627450980392153" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstItem="fxt-Ok-e8L" firstAttribute="centerX" secondItem="VGe-Cc-S6Q" secondAttribute="centerX" id="2pr-cg-4QY"/>
|
<constraint firstItem="fxt-Ok-e8L" firstAttribute="centerX" secondItem="VGe-Cc-S6Q" secondAttribute="centerX" id="2pr-cg-4QY"/>
|
||||||
<constraint firstAttribute="width" constant="85" id="FPA-42-3py"/>
|
|
||||||
<constraint firstItem="9wb-6a-aQt" firstAttribute="top" secondItem="fxt-Ok-e8L" secondAttribute="bottom" constant="2" id="RzV-mu-ufj"/>
|
<constraint firstItem="9wb-6a-aQt" firstAttribute="top" secondItem="fxt-Ok-e8L" secondAttribute="bottom" constant="2" id="RzV-mu-ufj"/>
|
||||||
<constraint firstAttribute="bottom" secondItem="dpa-gV-fxG" secondAttribute="bottom" constant="2" id="dtB-XL-hOC"/>
|
<constraint firstAttribute="bottom" secondItem="dpa-gV-fxG" secondAttribute="bottom" constant="2" id="dtB-XL-hOC"/>
|
||||||
<constraint firstItem="fxt-Ok-e8L" firstAttribute="top" secondItem="VGe-Cc-S6Q" secondAttribute="top" constant="4" id="ef4-nR-Mji"/>
|
<constraint firstItem="fxt-Ok-e8L" firstAttribute="top" secondItem="VGe-Cc-S6Q" secondAttribute="top" constant="4" id="ef4-nR-Mji"/>
|
||||||
@@ -128,10 +127,10 @@
|
|||||||
</userDefinedRuntimeAttributes>
|
</userDefinedRuntimeAttributes>
|
||||||
</view>
|
</view>
|
||||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="oGH-dJ-lZy">
|
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="oGH-dJ-lZy">
|
||||||
<rect key="frame" x="179" y="87.666666666666686" width="85" height="66.333333333333314"/>
|
<rect key="frame" x="210.66666666666666" y="87.666666666666686" width="116.33333333333334" height="66.333333333333314"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="昨日" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KF6-Jg-pqn">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="昨日" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KF6-Jg-pqn">
|
||||||
<rect key="frame" x="30.666666666666657" y="4" width="24" height="17"/>
|
<rect key="frame" x="46.000000000000028" y="4" width="24" height="17"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="height" constant="17" id="2Du-Vr-MGL"/>
|
<constraint firstAttribute="height" constant="17" id="2Du-Vr-MGL"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
@@ -140,7 +139,7 @@
|
|||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="收礼盈利" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Rjt-H4-heD">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="收礼盈利" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Rjt-H4-heD">
|
||||||
<rect key="frame" x="18.666666666666657" y="23" width="48" height="17"/>
|
<rect key="frame" x="34.000000000000028" y="23" width="48" height="17"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="height" constant="17" id="nAr-LR-mvb"/>
|
<constraint firstAttribute="height" constant="17" id="nAr-LR-mvb"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
@@ -149,7 +148,7 @@
|
|||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3Ml-mg-Cxw">
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3Ml-mg-Cxw">
|
||||||
<rect key="frame" x="2" y="41.999999999999986" width="81" height="22.333333333333329"/>
|
<rect key="frame" x="2" y="41.999999999999986" width="112.33333333333333" height="22.333333333333329"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||||
<state key="normal" title="10" image="family_diamond">
|
<state key="normal" title="10" image="family_diamond">
|
||||||
@@ -163,7 +162,6 @@
|
|||||||
<constraint firstItem="Rjt-H4-heD" firstAttribute="top" secondItem="KF6-Jg-pqn" secondAttribute="bottom" constant="2" id="F2T-k5-Kgv"/>
|
<constraint firstItem="Rjt-H4-heD" firstAttribute="top" secondItem="KF6-Jg-pqn" secondAttribute="bottom" constant="2" id="F2T-k5-Kgv"/>
|
||||||
<constraint firstAttribute="bottom" secondItem="3Ml-mg-Cxw" secondAttribute="bottom" constant="2" id="LJz-rW-T02"/>
|
<constraint firstAttribute="bottom" secondItem="3Ml-mg-Cxw" secondAttribute="bottom" constant="2" id="LJz-rW-T02"/>
|
||||||
<constraint firstItem="Rjt-H4-heD" firstAttribute="centerX" secondItem="oGH-dJ-lZy" secondAttribute="centerX" id="O15-tt-LOO"/>
|
<constraint firstItem="Rjt-H4-heD" firstAttribute="centerX" secondItem="oGH-dJ-lZy" secondAttribute="centerX" id="O15-tt-LOO"/>
|
||||||
<constraint firstAttribute="width" constant="85" id="bmv-lS-3aZ"/>
|
|
||||||
<constraint firstItem="3Ml-mg-Cxw" firstAttribute="leading" secondItem="oGH-dJ-lZy" secondAttribute="leading" constant="2" id="g7c-ng-N2i"/>
|
<constraint firstItem="3Ml-mg-Cxw" firstAttribute="leading" secondItem="oGH-dJ-lZy" secondAttribute="leading" constant="2" id="g7c-ng-N2i"/>
|
||||||
<constraint firstItem="3Ml-mg-Cxw" firstAttribute="top" secondItem="Rjt-H4-heD" secondAttribute="bottom" constant="2" id="jfG-L6-goi"/>
|
<constraint firstItem="3Ml-mg-Cxw" firstAttribute="top" secondItem="Rjt-H4-heD" secondAttribute="bottom" constant="2" id="jfG-L6-goi"/>
|
||||||
<constraint firstItem="KF6-Jg-pqn" firstAttribute="top" secondItem="oGH-dJ-lZy" secondAttribute="top" constant="4" id="udE-f7-Bn7"/>
|
<constraint firstItem="KF6-Jg-pqn" firstAttribute="top" secondItem="oGH-dJ-lZy" secondAttribute="top" constant="4" id="udE-f7-Bn7"/>
|
||||||
@@ -177,11 +175,11 @@
|
|||||||
</userDefinedRuntimeAttributes>
|
</userDefinedRuntimeAttributes>
|
||||||
</view>
|
</view>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="v1E-D6-JeF">
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="v1E-D6-JeF">
|
||||||
<rect key="frame" x="278" y="126" width="60" height="28"/>
|
<rect key="frame" x="267" y="48" width="60" height="28"/>
|
||||||
<color key="backgroundColor" red="0.22745098039215686" green="0.73725490196078436" blue="0.42745098039215684" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
<color key="backgroundColor" red="0.22745098039215686" green="0.73725490196078436" blue="0.42745098039215684" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="height" constant="28" id="C6z-41-oB8"/>
|
<constraint firstAttribute="width" constant="60" id="9ui-aU-pgH"/>
|
||||||
<constraint firstAttribute="width" constant="60" id="Qmm-ha-usv"/>
|
<constraint firstAttribute="height" constant="28" id="qiP-BJ-VIF"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||||
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
||||||
@@ -198,12 +196,14 @@
|
|||||||
</button>
|
</button>
|
||||||
</subviews>
|
</subviews>
|
||||||
<constraints>
|
<constraints>
|
||||||
|
<constraint firstItem="oGH-dJ-lZy" firstAttribute="width" secondItem="VGe-Cc-S6Q" secondAttribute="width" id="0Au-Of-wFk"/>
|
||||||
<constraint firstItem="VGe-Cc-S6Q" firstAttribute="top" secondItem="D6h-bE-tlh" secondAttribute="bottom" constant="8" id="0xl-vd-Eab"/>
|
<constraint firstItem="VGe-Cc-S6Q" firstAttribute="top" secondItem="D6h-bE-tlh" secondAttribute="bottom" constant="8" id="0xl-vd-Eab"/>
|
||||||
<constraint firstItem="Xpt-NC-KbR" firstAttribute="top" secondItem="iH0-Pj-t8s" secondAttribute="top" constant="14" id="0yY-Uq-uIw"/>
|
<constraint firstItem="Xpt-NC-KbR" firstAttribute="top" secondItem="iH0-Pj-t8s" secondAttribute="top" constant="14" id="0yY-Uq-uIw"/>
|
||||||
<constraint firstItem="uXg-p7-J2S" firstAttribute="top" secondItem="iH0-Pj-t8s" secondAttribute="top" constant="12" id="3Up-H8-deH"/>
|
<constraint firstItem="uXg-p7-J2S" firstAttribute="top" secondItem="iH0-Pj-t8s" secondAttribute="top" constant="12" id="3Up-H8-deH"/>
|
||||||
<constraint firstItem="BVQ-z4-fHs" firstAttribute="top" secondItem="AEg-Tu-ye6" secondAttribute="bottom" constant="4" id="45o-bc-VTo"/>
|
<constraint firstItem="BVQ-z4-fHs" firstAttribute="top" secondItem="AEg-Tu-ye6" secondAttribute="bottom" constant="4" id="45o-bc-VTo"/>
|
||||||
<constraint firstItem="3c8-yw-ZcY" firstAttribute="leading" secondItem="Xpt-NC-KbR" secondAttribute="leading" id="7he-6a-LQn"/>
|
<constraint firstItem="3c8-yw-ZcY" firstAttribute="leading" secondItem="Xpt-NC-KbR" secondAttribute="leading" id="7he-6a-LQn"/>
|
||||||
<constraint firstAttribute="bottom" secondItem="VGe-Cc-S6Q" secondAttribute="bottom" constant="12" id="87e-jS-o6v"/>
|
<constraint firstAttribute="bottom" secondItem="VGe-Cc-S6Q" secondAttribute="bottom" constant="12" id="87e-jS-o6v"/>
|
||||||
|
<constraint firstItem="v1E-D6-JeF" firstAttribute="top" secondItem="3c8-yw-ZcY" secondAttribute="top" constant="5" id="DQb-bK-0gp"/>
|
||||||
<constraint firstItem="D6h-bE-tlh" firstAttribute="top" secondItem="3c8-yw-ZcY" secondAttribute="bottom" constant="8" id="GX3-ge-Kid"/>
|
<constraint firstItem="D6h-bE-tlh" firstAttribute="top" secondItem="3c8-yw-ZcY" secondAttribute="bottom" constant="8" id="GX3-ge-Kid"/>
|
||||||
<constraint firstItem="AEg-Tu-ye6" firstAttribute="leading" secondItem="uXg-p7-J2S" secondAttribute="leading" constant="-10" id="Ggr-Ur-BTo"/>
|
<constraint firstItem="AEg-Tu-ye6" firstAttribute="leading" secondItem="uXg-p7-J2S" secondAttribute="leading" constant="-10" id="Ggr-Ur-BTo"/>
|
||||||
<constraint firstAttribute="trailing" secondItem="Xpt-NC-KbR" secondAttribute="trailing" constant="11" id="IrF-U1-Mro"/>
|
<constraint firstAttribute="trailing" secondItem="Xpt-NC-KbR" secondAttribute="trailing" constant="11" id="IrF-U1-Mro"/>
|
||||||
@@ -211,21 +211,22 @@
|
|||||||
<constraint firstItem="VGe-Cc-S6Q" firstAttribute="leading" secondItem="Xpt-NC-KbR" secondAttribute="leading" id="Jsy-KK-zrr"/>
|
<constraint firstItem="VGe-Cc-S6Q" firstAttribute="leading" secondItem="Xpt-NC-KbR" secondAttribute="leading" id="Jsy-KK-zrr"/>
|
||||||
<constraint firstItem="Msn-nc-t9D" firstAttribute="top" secondItem="iH0-Pj-t8s" secondAttribute="top" id="Rk3-kc-29m"/>
|
<constraint firstItem="Msn-nc-t9D" firstAttribute="top" secondItem="iH0-Pj-t8s" secondAttribute="top" id="Rk3-kc-29m"/>
|
||||||
<constraint firstItem="D6h-bE-tlh" firstAttribute="leading" secondItem="Xpt-NC-KbR" secondAttribute="leading" id="WX5-EF-GjZ"/>
|
<constraint firstItem="D6h-bE-tlh" firstAttribute="leading" secondItem="Xpt-NC-KbR" secondAttribute="leading" id="WX5-EF-GjZ"/>
|
||||||
<constraint firstItem="v1E-D6-JeF" firstAttribute="bottom" secondItem="VGe-Cc-S6Q" secondAttribute="bottom" id="Xhb-uf-REu"/>
|
|
||||||
<constraint firstItem="oGH-dJ-lZy" firstAttribute="top" secondItem="VGe-Cc-S6Q" secondAttribute="top" id="bvy-kk-VyI"/>
|
<constraint firstItem="oGH-dJ-lZy" firstAttribute="top" secondItem="VGe-Cc-S6Q" secondAttribute="top" id="bvy-kk-VyI"/>
|
||||||
|
<constraint firstItem="oGH-dJ-lZy" firstAttribute="leading" secondItem="VGe-Cc-S6Q" secondAttribute="trailing" constant="4" id="c0s-Iv-yyJ"/>
|
||||||
<constraint firstItem="oGH-dJ-lZy" firstAttribute="bottom" secondItem="VGe-Cc-S6Q" secondAttribute="bottom" id="fer-eg-Q8u"/>
|
<constraint firstItem="oGH-dJ-lZy" firstAttribute="bottom" secondItem="VGe-Cc-S6Q" secondAttribute="bottom" id="fer-eg-Q8u"/>
|
||||||
<constraint firstAttribute="trailing" secondItem="Msn-nc-t9D" secondAttribute="trailing" id="gQ1-bd-h8C"/>
|
<constraint firstAttribute="trailing" secondItem="Msn-nc-t9D" secondAttribute="trailing" id="gQ1-bd-h8C"/>
|
||||||
<constraint firstItem="uXg-p7-J2S" firstAttribute="leading" secondItem="iH0-Pj-t8s" secondAttribute="leading" constant="18" id="jUx-NP-cQj"/>
|
<constraint firstItem="uXg-p7-J2S" firstAttribute="leading" secondItem="iH0-Pj-t8s" secondAttribute="leading" constant="18" id="jUx-NP-cQj"/>
|
||||||
<constraint firstItem="AEg-Tu-ye6" firstAttribute="trailing" secondItem="uXg-p7-J2S" secondAttribute="trailing" constant="10" id="nNH-Kq-QmX"/>
|
<constraint firstItem="AEg-Tu-ye6" firstAttribute="trailing" secondItem="uXg-p7-J2S" secondAttribute="trailing" constant="10" id="nNH-Kq-QmX"/>
|
||||||
<constraint firstItem="Xpt-NC-KbR" firstAttribute="leading" secondItem="uXg-p7-J2S" secondAttribute="trailing" constant="20" id="p9M-CF-kU5"/>
|
<constraint firstItem="Xpt-NC-KbR" firstAttribute="leading" secondItem="uXg-p7-J2S" secondAttribute="trailing" constant="20" id="p9M-CF-kU5"/>
|
||||||
|
<constraint firstAttribute="trailing" secondItem="oGH-dJ-lZy" secondAttribute="trailing" constant="16" id="pDS-1R-sPP"/>
|
||||||
<constraint firstItem="oGH-dJ-lZy" firstAttribute="leading" secondItem="VGe-Cc-S6Q" secondAttribute="trailing" constant="4" id="qvY-IN-Sh2"/>
|
<constraint firstItem="oGH-dJ-lZy" firstAttribute="leading" secondItem="VGe-Cc-S6Q" secondAttribute="trailing" constant="4" id="qvY-IN-Sh2"/>
|
||||||
<constraint firstItem="cha-OZ-i3U" firstAttribute="centerX" secondItem="uXg-p7-J2S" secondAttribute="centerX" id="r8z-sa-uZA"/>
|
<constraint firstItem="cha-OZ-i3U" firstAttribute="centerX" secondItem="uXg-p7-J2S" secondAttribute="centerX" id="r8z-sa-uZA"/>
|
||||||
<constraint firstItem="cha-OZ-i3U" firstAttribute="top" secondItem="BVQ-z4-fHs" secondAttribute="bottom" constant="5" id="ri0-KS-mht"/>
|
<constraint firstItem="cha-OZ-i3U" firstAttribute="top" secondItem="BVQ-z4-fHs" secondAttribute="bottom" constant="5" id="ri0-KS-mht"/>
|
||||||
<constraint firstAttribute="trailing" secondItem="v1E-D6-JeF" secondAttribute="trailing" constant="5" id="t3Y-Ci-cqO"/>
|
|
||||||
<constraint firstAttribute="bottom" secondItem="Msn-nc-t9D" secondAttribute="bottom" id="vAB-on-UgX"/>
|
<constraint firstAttribute="bottom" secondItem="Msn-nc-t9D" secondAttribute="bottom" id="vAB-on-UgX"/>
|
||||||
<constraint firstItem="3c8-yw-ZcY" firstAttribute="top" secondItem="Xpt-NC-KbR" secondAttribute="bottom" constant="10" id="vo1-0c-qqk"/>
|
<constraint firstItem="3c8-yw-ZcY" firstAttribute="top" secondItem="Xpt-NC-KbR" secondAttribute="bottom" constant="10" id="vo1-0c-qqk"/>
|
||||||
<constraint firstItem="Msn-nc-t9D" firstAttribute="leading" secondItem="iH0-Pj-t8s" secondAttribute="leading" id="xki-e1-3Kn"/>
|
<constraint firstItem="Msn-nc-t9D" firstAttribute="leading" secondItem="iH0-Pj-t8s" secondAttribute="leading" id="xki-e1-3Kn"/>
|
||||||
<constraint firstItem="BVQ-z4-fHs" firstAttribute="centerX" secondItem="uXg-p7-J2S" secondAttribute="centerX" id="zMn-Oa-xMf"/>
|
<constraint firstItem="BVQ-z4-fHs" firstAttribute="centerX" secondItem="uXg-p7-J2S" secondAttribute="centerX" id="zMn-Oa-xMf"/>
|
||||||
|
<constraint firstAttribute="trailing" secondItem="v1E-D6-JeF" secondAttribute="trailing" constant="16" id="zPq-Dt-tjP"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<userDefinedRuntimeAttributes>
|
<userDefinedRuntimeAttributes>
|
||||||
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
|
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
|
||||||
|
|||||||
@@ -56,6 +56,8 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
@property (weak, nonatomic) IBOutlet UILabel *roleLabel;
|
@property (weak, nonatomic) IBOutlet UILabel *roleLabel;
|
||||||
|
|
||||||
@property (nonatomic,assign)BOOL isUpSeat;
|
@property (nonatomic,assign)BOOL isUpSeat;
|
||||||
|
/// 是否显示icon标签
|
||||||
|
@property (nonatomic,assign)BOOL isNoIcon;
|
||||||
|
|
||||||
@property (nonatomic,strong)QXRoomUserInfoModel *onlineUser;
|
@property (nonatomic,strong)QXRoomUserInfoModel *onlineUser;
|
||||||
|
|
||||||
|
|||||||
@@ -174,18 +174,21 @@
|
|||||||
}else{
|
}else{
|
||||||
self.sexImageView.hidden = YES;
|
self.sexImageView.hidden = YES;
|
||||||
}
|
}
|
||||||
|
if (self.isNoIcon) {
|
||||||
if (rankModel.icon.count > 0) {
|
|
||||||
self.iconBgView.hidden = NO;
|
|
||||||
for (int i = 0;i < rankModel.icon.count;i++) {
|
|
||||||
if (i < 3) {
|
|
||||||
UIImageView *iconImageView = self.iconViewArray[i];
|
|
||||||
iconImageView.hidden = NO;
|
|
||||||
[iconImageView sd_setImageWithURL:[NSURL URLWithString:rankModel.icon[i]]];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}else{
|
|
||||||
self.iconBgView.hidden = YES;
|
self.iconBgView.hidden = YES;
|
||||||
|
}else{
|
||||||
|
if (rankModel.icon.count > 0) {
|
||||||
|
self.iconBgView.hidden = NO;
|
||||||
|
for (int i = 0;i < rankModel.icon.count;i++) {
|
||||||
|
if (i < 3) {
|
||||||
|
UIImageView *iconImageView = self.iconViewArray[i];
|
||||||
|
iconImageView.hidden = NO;
|
||||||
|
[iconImageView sd_setImageWithURL:[NSURL URLWithString:rankModel.icon[i]]];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
self.iconBgView.hidden = YES;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[self.removeBtn setTitle:[NSString stringWithFormat:@" %@",rankModel.total?rankModel.total:rankModel.gift_prices] forState:(UIControlStateNormal)];
|
[self.removeBtn setTitle:[NSString stringWithFormat:@" %@",rankModel.total?rankModel.total:rankModel.gift_prices] forState:(UIControlStateNormal)];
|
||||||
@@ -271,6 +274,9 @@
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
-(void)setIsNoIcon:(BOOL)isNoIcon{
|
||||||
|
_isNoIcon = isNoIcon;
|
||||||
|
}
|
||||||
- (void)awakeFromNib {
|
- (void)awakeFromNib {
|
||||||
[super awakeFromNib];
|
[super awakeFromNib];
|
||||||
// Initialization code
|
// Initialization code
|
||||||
|
|||||||
@@ -113,7 +113,7 @@
|
|||||||
}
|
}
|
||||||
-(void)takeOff{
|
-(void)takeOff{
|
||||||
if(QXGlobal.shareGlobal.roomId.length > 0){
|
if(QXGlobal.shareGlobal.roomId.length > 0){
|
||||||
[[QXGlobal shareGlobal] quitRoomWithRoomId:QXGlobal.shareGlobal.roomId];
|
[[QXGlobal shareGlobal] quitRoomWithRoomId:QXGlobal.shareGlobal.roomId removeListener:YES];
|
||||||
}
|
}
|
||||||
self.tabbarVC.selectedIndex = 3;
|
self.tabbarVC.selectedIndex = 3;
|
||||||
QXBaseNavigationController *tabbarNa = (QXBaseNavigationController *)self.tabbarVC.selectedViewController;
|
QXBaseNavigationController *tabbarNa = (QXBaseNavigationController *)self.tabbarVC.selectedViewController;
|
||||||
|
|||||||
21
QXLive/Other/Assets.xcassets/app_one_login_icon.imageset/Contents.json
vendored
Normal file
21
QXLive/Other/Assets.xcassets/app_one_login_icon.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "app_one_login_icon@2x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "3x"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
QXLive/Other/Assets.xcassets/app_one_login_icon.imageset/app_one_login_icon@2x.png
vendored
Normal file
BIN
QXLive/Other/Assets.xcassets/app_one_login_icon.imageset/app_one_login_icon@2x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 75 KiB |
@@ -77,7 +77,7 @@
|
|||||||
}
|
}
|
||||||
/// 有人退出交友房私密小屋
|
/// 有人退出交友房私密小屋
|
||||||
-(void)friendCabinRoomIsQuit{
|
-(void)friendCabinRoomIsQuit{
|
||||||
[[QXGlobal shareGlobal] quitRoomWithRoomId:self.roomId];
|
[[QXGlobal shareGlobal] quitRoomWithRoomId:self.roomId removeListener:YES];
|
||||||
|
|
||||||
NSMutableArray *viewControllers = [NSMutableArray arrayWithArray:self.navigationController.viewControllers];
|
NSMutableArray *viewControllers = [NSMutableArray arrayWithArray:self.navigationController.viewControllers];
|
||||||
for (int i = 0; i < viewControllers.count; i++) {
|
for (int i = 0; i < viewControllers.count; i++) {
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ QXRoomUserInfoViewDelegate
|
|||||||
|
|
||||||
}failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
}failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
||||||
showToast(msg);
|
showToast(msg);
|
||||||
[[QXGlobal shareGlobal] quitRoomWithRoomId:self.roomId];
|
[[QXGlobal shareGlobal] quitRoomWithRoomId:self.roomId removeListener:YES];
|
||||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||||
[weakSelf.navigationController popViewControllerAnimated:YES];
|
[weakSelf.navigationController popViewControllerAnimated:YES];
|
||||||
});
|
});
|
||||||
@@ -655,7 +655,11 @@ QXRoomUserInfoViewDelegate
|
|||||||
}
|
}
|
||||||
BOOL hasSong = NO;
|
BOOL hasSong = NO;
|
||||||
if ((self.roomModel.room_info.type_id.intValue == 1) && self.roomModel.room_info.label_id.intValue == 2) {
|
if ((self.roomModel.room_info.type_id.intValue == 1) && self.roomModel.room_info.label_id.intValue == 2) {
|
||||||
hasSong = YES;
|
if (self.roomModel.pk_info) {
|
||||||
|
hasSong = NO;
|
||||||
|
}else{
|
||||||
|
hasSong = YES;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/// 暂时不要pk
|
/// 暂时不要pk
|
||||||
// hasPK = NO;
|
// hasPK = NO;
|
||||||
@@ -906,7 +910,7 @@ QXRoomUserInfoViewDelegate
|
|||||||
// 踢出房间
|
// 踢出房间
|
||||||
-(void)userDidTakeOffWithUserInfo:(QXUserHomeModel *)userInfo{
|
-(void)userDidTakeOffWithUserInfo:(QXUserHomeModel *)userInfo{
|
||||||
if ([userInfo.user_id isEqualToString:QXGlobal.shareGlobal.loginModel.user_id]) {
|
if ([userInfo.user_id isEqualToString:QXGlobal.shareGlobal.loginModel.user_id]) {
|
||||||
[[QXGlobal shareGlobal] quitRoomWithRoomId:self.roomId];
|
[[QXGlobal shareGlobal] quitRoomWithRoomId:self.roomId removeListener:YES];
|
||||||
// self.navigationController.interactivePopGestureRecognizer.enabled = YES;
|
// self.navigationController.interactivePopGestureRecognizer.enabled = YES;
|
||||||
[self.navigationController popViewControllerAnimated:YES];
|
[self.navigationController popViewControllerAnimated:YES];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -101,7 +101,7 @@
|
|||||||
-(void)closeAction{
|
-(void)closeAction{
|
||||||
[self.layer removeAnimationForKey:@"rotationAnimation"];
|
[self.layer removeAnimationForKey:@"rotationAnimation"];
|
||||||
[self removeFromSuperview];
|
[self removeFromSuperview];
|
||||||
[[QXGlobal shareGlobal] quitRoomWithRoomId:self.roomId];
|
[[QXGlobal shareGlobal] quitRoomWithRoomId:self.roomId removeListener:YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
-(void)handlePan:(UIPanGestureRecognizer*)recognizer{
|
-(void)handlePan:(UIPanGestureRecognizer*)recognizer{
|
||||||
|
|||||||
@@ -405,7 +405,7 @@
|
|||||||
}
|
}
|
||||||
-(void)leaveRoom{
|
-(void)leaveRoom{
|
||||||
if ([self.roomModel.room_info.type_id isEqualToString:@"6"] && [self.roomModel.room_info.label_id isEqualToString:@"5"]) {
|
if ([self.roomModel.room_info.type_id isEqualToString:@"6"] && [self.roomModel.room_info.label_id isEqualToString:@"5"]) {
|
||||||
[[QXGlobal shareGlobal]quitRoomWithRoomId:self.roomId];
|
[[QXGlobal shareGlobal]quitRoomWithRoomId:self.roomId removeListener:YES];
|
||||||
NSMutableArray *viewControllers = [NSMutableArray arrayWithArray:self.navigationController.viewControllers];
|
NSMutableArray *viewControllers = [NSMutableArray arrayWithArray:self.navigationController.viewControllers];
|
||||||
for (int i = 0; i < viewControllers.count; i++) {
|
for (int i = 0; i < viewControllers.count; i++) {
|
||||||
UIViewController *vc = [viewControllers objectAtIndex:i];
|
UIViewController *vc = [viewControllers objectAtIndex:i];
|
||||||
@@ -420,7 +420,7 @@
|
|||||||
[self.navigationController popViewControllerAnimated:YES];
|
[self.navigationController popViewControllerAnimated:YES];
|
||||||
QXGlobal.shareGlobal.superRoomId = @"";
|
QXGlobal.shareGlobal.superRoomId = @"";
|
||||||
}else{
|
}else{
|
||||||
[[QXGlobal shareGlobal]quitRoomWithRoomId:self.roomId];
|
[[QXGlobal shareGlobal]quitRoomWithRoomId:self.roomId removeListener:YES];
|
||||||
[self.navigationController popViewControllerAnimated:YES];
|
[self.navigationController popViewControllerAnimated:YES];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -233,6 +233,7 @@
|
|||||||
cell.cellType = QXBlackListCellTypeRank;
|
cell.cellType = QXBlackListCellTypeRank;
|
||||||
cell.backgroundColor = [UIColor clearColor];
|
cell.backgroundColor = [UIColor clearColor];
|
||||||
cell.titleLabel.text = [NSString stringWithFormat:@"%ld",indexPath.row+4];
|
cell.titleLabel.text = [NSString stringWithFormat:@"%ld",indexPath.row+4];
|
||||||
|
cell.isNoIcon = YES;
|
||||||
cell.rankModel = self.dataArray[indexPath.row];
|
cell.rankModel = self.dataArray[indexPath.row];
|
||||||
return cell;
|
return cell;
|
||||||
}
|
}
|
||||||
@@ -318,36 +319,37 @@
|
|||||||
self.nameLabel.text = md.nickname?md.nickname:@"";
|
self.nameLabel.text = md.nickname?md.nickname:@"";
|
||||||
[self.iconBgView removeAllSubviews];
|
[self.iconBgView removeAllSubviews];
|
||||||
[self.rankBtn setTitle:[NSString stringWithFormat:@" %@",md.total?md.total:md.gift_prices] forState:(UIControlStateNormal)];
|
[self.rankBtn setTitle:[NSString stringWithFormat:@" %@",md.total?md.total:md.gift_prices] forState:(UIControlStateNormal)];
|
||||||
CGFloat iconWidth = UserIconWidth;
|
|
||||||
CGFloat iconHeight = UserIconHeight;
|
|
||||||
CGFloat margin = 6;
|
|
||||||
for (int i = 0 ; i < md.icon.count; i++) {
|
|
||||||
UIImageView *iconImageView = [[UIImageView alloc] init];
|
|
||||||
[iconImageView sd_setImageWithURL:[NSURL URLWithString:md.icon[i]]];
|
|
||||||
[self.iconBgView addSubview:iconImageView];
|
|
||||||
if (md.icon.count == 1) {
|
|
||||||
[iconImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
||||||
make.width.mas_equalTo(iconWidth);
|
|
||||||
make.height.mas_equalTo(iconHeight);
|
|
||||||
make.centerY.centerX.equalTo(self.iconBgView);
|
|
||||||
}];
|
|
||||||
}else if(md.icon.count == 2){
|
|
||||||
[iconImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
||||||
make.width.mas_equalTo(iconWidth);
|
|
||||||
make.height.mas_equalTo(iconHeight);
|
|
||||||
make.centerY.equalTo(self.iconBgView);
|
|
||||||
make.centerX.equalTo(self.iconBgView).offset(-UserIconWidth/2+(margin+iconWidth)*i);
|
|
||||||
}];
|
|
||||||
}else{
|
|
||||||
[iconImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
||||||
make.left.mas_equalTo(i*(iconWidth+margin));
|
|
||||||
make.width.mas_equalTo(iconWidth);
|
|
||||||
make.height.mas_equalTo(iconHeight);
|
|
||||||
make.centerY.equalTo(self.iconBgView);
|
|
||||||
}];
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
// CGFloat iconWidth = UserIconWidth;
|
||||||
|
// CGFloat iconHeight = UserIconHeight;
|
||||||
|
// CGFloat margin = 6;
|
||||||
|
// for (int i = 0 ; i < md.icon.count; i++) {
|
||||||
|
// UIImageView *iconImageView = [[UIImageView alloc] init];
|
||||||
|
// [iconImageView sd_setImageWithURL:[NSURL URLWithString:md.icon[i]]];
|
||||||
|
// [self.iconBgView addSubview:iconImageView];
|
||||||
|
// if (md.icon.count == 1) {
|
||||||
|
// [iconImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
|
// make.width.mas_equalTo(iconWidth);
|
||||||
|
// make.height.mas_equalTo(iconHeight);
|
||||||
|
// make.centerY.centerX.equalTo(self.iconBgView);
|
||||||
|
// }];
|
||||||
|
// }else if(md.icon.count == 2){
|
||||||
|
// [iconImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
|
// make.width.mas_equalTo(iconWidth);
|
||||||
|
// make.height.mas_equalTo(iconHeight);
|
||||||
|
// make.centerY.equalTo(self.iconBgView);
|
||||||
|
// make.centerX.equalTo(self.iconBgView).offset(-UserIconWidth/2+(margin+iconWidth)*i);
|
||||||
|
// }];
|
||||||
|
// }else{
|
||||||
|
// [iconImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
|
// make.left.mas_equalTo(i*(iconWidth+margin));
|
||||||
|
// make.width.mas_equalTo(iconWidth);
|
||||||
|
// make.height.mas_equalTo(iconHeight);
|
||||||
|
// make.centerY.equalTo(self.iconBgView);
|
||||||
|
// }];
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
-(void)initSubviews{
|
-(void)initSubviews{
|
||||||
self.headerImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"user_header_placehoulder"]];
|
self.headerImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"user_header_placehoulder"]];
|
||||||
@@ -404,6 +406,7 @@
|
|||||||
}];
|
}];
|
||||||
|
|
||||||
self.iconBgView = [[UIView alloc] init];
|
self.iconBgView = [[UIView alloc] init];
|
||||||
|
self.iconBgView.hidden = YES;
|
||||||
[self addSubview:self.iconBgView];
|
[self addSubview:self.iconBgView];
|
||||||
[self.iconBgView mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.iconBgView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.left.right.equalTo(self);
|
make.left.right.equalTo(self);
|
||||||
@@ -419,7 +422,7 @@
|
|||||||
[self addSubview:self.rankBtn];
|
[self addSubview:self.rankBtn];
|
||||||
[self.rankBtn mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.rankBtn mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.left.right.equalTo(self);
|
make.left.right.equalTo(self);
|
||||||
make.top.equalTo(self.iconBgView.mas_bottom);
|
make.top.equalTo(self.nameLabel.mas_bottom).offset(5);
|
||||||
make.height.mas_equalTo(16);
|
make.height.mas_equalTo(16);
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
self.playingLabel.hidden = NO;
|
self.playingLabel.hidden = NO;
|
||||||
self.requestBtn.hidden = YES;
|
self.requestBtn.hidden = YES;
|
||||||
}else{
|
}else{
|
||||||
self.requestBtn.hidden = NO;
|
self.requestBtn.hidden = !self.isCompere;
|
||||||
self.playingLabel.hidden = YES;
|
self.playingLabel.hidden = YES;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
@property (nonatomic,assign)NSInteger historyType;
|
@property (nonatomic,assign)NSInteger historyType;
|
||||||
@property (nonatomic,assign)QXRoomPitModel* pitModel;
|
@property (nonatomic,assign)QXRoomPitModel* pitModel;
|
||||||
@property (nonatomic,strong)NSString*roomId;
|
@property (nonatomic,strong)NSString*roomId;
|
||||||
|
-(void)updateSongList;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
|
|||||||
@@ -83,10 +83,11 @@
|
|||||||
if (list.count == 0) {
|
if (list.count == 0) {
|
||||||
weakSelf.tableView.mj_footer.state = MJRefreshStateNoMoreData;
|
weakSelf.tableView.mj_footer.state = MJRefreshStateNoMoreData;
|
||||||
}else{
|
}else{
|
||||||
[weakSelf.tableView.mj_header endRefreshing];
|
[weakSelf.tableView.mj_footer endRefreshing];
|
||||||
}
|
}
|
||||||
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
||||||
|
[weakSelf.tableView.mj_header endRefreshing];
|
||||||
|
[weakSelf.tableView.mj_footer endRefreshing];
|
||||||
}];
|
}];
|
||||||
}else if (self.type == 1){
|
}else if (self.type == 1){
|
||||||
/// 已点歌曲
|
/// 已点歌曲
|
||||||
@@ -100,10 +101,11 @@
|
|||||||
if (list.count == 0) {
|
if (list.count == 0) {
|
||||||
weakSelf.tableView.mj_footer.state = MJRefreshStateNoMoreData;
|
weakSelf.tableView.mj_footer.state = MJRefreshStateNoMoreData;
|
||||||
}else{
|
}else{
|
||||||
[weakSelf.tableView.mj_header endRefreshing];
|
[weakSelf.tableView.mj_footer endRefreshing];
|
||||||
}
|
}
|
||||||
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
||||||
|
[weakSelf.tableView.mj_header endRefreshing];
|
||||||
|
[weakSelf.tableView.mj_footer endRefreshing];
|
||||||
}];
|
}];
|
||||||
}else{
|
}else{
|
||||||
/// 历史歌曲
|
/// 历史歌曲
|
||||||
@@ -117,10 +119,11 @@
|
|||||||
if (list.count == 0) {
|
if (list.count == 0) {
|
||||||
weakSelf.tableView.mj_footer.state = MJRefreshStateNoMoreData;
|
weakSelf.tableView.mj_footer.state = MJRefreshStateNoMoreData;
|
||||||
}else{
|
}else{
|
||||||
[weakSelf.tableView.mj_header endRefreshing];
|
[weakSelf.tableView.mj_footer endRefreshing];
|
||||||
}
|
}
|
||||||
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
||||||
|
[weakSelf.tableView.mj_header endRefreshing];
|
||||||
|
[weakSelf.tableView.mj_footer endRefreshing];
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,6 +99,7 @@
|
|||||||
[self.titles replaceObjectAtIndex:1 withObject:self.alreadySongTitle];
|
[self.titles replaceObjectAtIndex:1 withObject:self.alreadySongTitle];
|
||||||
self.categoryView.titles = self.titles;
|
self.categoryView.titles = self.titles;
|
||||||
[self.categoryView reloadDataWithoutListContainer];
|
[self.categoryView reloadDataWithoutListContainer];
|
||||||
|
[self.alreadySongView updateSongList];
|
||||||
}
|
}
|
||||||
|
|
||||||
-(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch{
|
-(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch{
|
||||||
|
|||||||
@@ -681,8 +681,12 @@
|
|||||||
[weakSelf.collectionView reloadData];
|
[weakSelf.collectionView reloadData];
|
||||||
weakSelf.idLabel.text = [NSString stringWithFormat:@"%@ ID:%@",model.sex.intValue==1?@"男":@"女",model.user_code];
|
weakSelf.idLabel.text = [NSString stringWithFormat:@"%@ ID:%@",model.sex.intValue==1?@"男":@"女",model.user_code];
|
||||||
weakSelf.guildLabel.text = [NSString stringWithFormat:@"所属公会:%@",[model.guild isExist]?model.guild:@"无"];
|
weakSelf.guildLabel.text = [NSString stringWithFormat:@"所属公会:%@",[model.guild isExist]?model.guild:@"无"];
|
||||||
if (![model.guild isExist] && ![weakSelf.userId isEqualToString:QXGlobal.shareGlobal.loginModel.user_id]) {
|
if ([model.guild isExist]) {
|
||||||
weakSelf.joinGuildBtn.hidden = NO;
|
if ([weakSelf.userId isEqualToString:QXGlobal.shareGlobal.loginModel.user_id]) {
|
||||||
|
weakSelf.joinGuildBtn.hidden = YES;
|
||||||
|
}else{
|
||||||
|
weakSelf.joinGuildBtn.hidden = NO;
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
weakSelf.joinGuildBtn.hidden = YES;
|
weakSelf.joinGuildBtn.hidden = YES;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -210,9 +210,9 @@
|
|||||||
[weakSelf.collectionView reloadData];
|
[weakSelf.collectionView reloadData];
|
||||||
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
|
||||||
showToast(msg);
|
showToast(msg);
|
||||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
// dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||||
[weakSelf getCoinList];
|
// [weakSelf getCoinList];
|
||||||
});
|
// });
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -308,7 +308,7 @@
|
|||||||
}
|
}
|
||||||
if (model.type == QXRoomSettingTypeRoomLeave) {
|
if (model.type == QXRoomSettingTypeRoomLeave) {
|
||||||
[self.navigationController popViewControllerAnimated:YES];
|
[self.navigationController popViewControllerAnimated:YES];
|
||||||
[[QXGlobal shareGlobal] quitRoomWithRoomId:self.roomModel.room_info.room_id];
|
[[QXGlobal shareGlobal] quitRoomWithRoomId:self.roomModel.room_info.room_id removeListener:YES];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (model.type == QXRoomSettingTypeRoomCompere) {
|
if (model.type == QXRoomSettingTypeRoomCompere) {
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
@property (nonatomic,strong)QXRoomPitModel *pitModel;
|
@property (nonatomic,strong)QXRoomPitModel *pitModel;
|
||||||
@property (nonatomic,assign)BOOL onlyShowHeader;
|
@property (nonatomic,assign)BOOL onlyShowHeader;
|
||||||
@property (nonatomic,assign) BOOL isSeatSpeaking;
|
@property (nonatomic,assign) BOOL isSeatSpeaking;
|
||||||
|
/// 不显示麦圈
|
||||||
|
@property (nonatomic,assign) BOOL noMicCycle;
|
||||||
|
|
||||||
@property (nonatomic,strong)NSString *is_lock;
|
@property (nonatomic,strong)NSString *is_lock;
|
||||||
@property (nonatomic,strong)UIImageView *noUserImageView;
|
@property (nonatomic,strong)UIImageView *noUserImageView;
|
||||||
|
|||||||
@@ -218,6 +218,9 @@
|
|||||||
QXLOG(@"在线状态%@",QXGlobal.shareGlobal.offLineDict);
|
QXLOG(@"在线状态%@",QXGlobal.shareGlobal.offLineDict);
|
||||||
}
|
}
|
||||||
-(void)speakInfo:(NSNotification*)notice{
|
-(void)speakInfo:(NSNotification*)notice{
|
||||||
|
if (self.noMicCycle) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
id object = notice.object;
|
id object = notice.object;
|
||||||
if ([object isKindOfClass:[AgoraRtcAudioVolumeInfo class]]) {
|
if ([object isKindOfClass:[AgoraRtcAudioVolumeInfo class]]) {
|
||||||
AgoraRtcAudioVolumeInfo *info = (AgoraRtcAudioVolumeInfo*)object;
|
AgoraRtcAudioVolumeInfo *info = (AgoraRtcAudioVolumeInfo*)object;
|
||||||
@@ -241,6 +244,9 @@
|
|||||||
-(void)setNoOffLine:(BOOL)noOffLine{
|
-(void)setNoOffLine:(BOOL)noOffLine{
|
||||||
_noOffLine = noOffLine;
|
_noOffLine = noOffLine;
|
||||||
}
|
}
|
||||||
|
-(void)setNoMicCycle:(BOOL)noMicCycle{
|
||||||
|
_noMicCycle = noMicCycle;
|
||||||
|
}
|
||||||
-(void)setIsPK:(BOOL)isPK{
|
-(void)setIsPK:(BOOL)isPK{
|
||||||
_isPK = isPK;
|
_isPK = isPK;
|
||||||
self.nameLabel.font = [UIFont systemFontOfSize:10];
|
self.nameLabel.font = [UIFont systemFontOfSize:10];
|
||||||
|
|||||||
@@ -330,7 +330,7 @@
|
|||||||
-(void)leaveRoom{
|
-(void)leaveRoom{
|
||||||
UINavigationController *na = (UINavigationController *)KEYWINDOW.rootViewController;
|
UINavigationController *na = (UINavigationController *)KEYWINDOW.rootViewController;
|
||||||
if ([self.roomModel.room_info.type_id isEqualToString:@"6"] && [self.roomModel.room_info.label_id isEqualToString:@"5"]) {
|
if ([self.roomModel.room_info.type_id isEqualToString:@"6"] && [self.roomModel.room_info.label_id isEqualToString:@"5"]) {
|
||||||
[[QXGlobal shareGlobal] quitRoomWithRoomId:self.roomModel.room_info.room_id];
|
[[QXGlobal shareGlobal] quitRoomWithRoomId:self.roomModel.room_info.room_id removeListener:YES];
|
||||||
NSMutableArray *viewControllers = [NSMutableArray arrayWithArray:na.viewControllers];
|
NSMutableArray *viewControllers = [NSMutableArray arrayWithArray:na.viewControllers];
|
||||||
for (int i = 0; i < viewControllers.count; i++) {
|
for (int i = 0; i < viewControllers.count; i++) {
|
||||||
UIViewController *vc = [viewControllers objectAtIndex:i];
|
UIViewController *vc = [viewControllers objectAtIndex:i];
|
||||||
@@ -346,7 +346,7 @@
|
|||||||
[na popViewControllerAnimated:YES];
|
[na popViewControllerAnimated:YES];
|
||||||
QXGlobal.shareGlobal.superRoomId = @"";
|
QXGlobal.shareGlobal.superRoomId = @"";
|
||||||
}else{
|
}else{
|
||||||
[[QXGlobal shareGlobal]quitRoomWithRoomId:self.roomModel.room_info.room_id];
|
[[QXGlobal shareGlobal]quitRoomWithRoomId:self.roomModel.room_info.room_id removeListener:YES];
|
||||||
// self.navigationController.interactivePopGestureRecognizer.enabled = YES;
|
// self.navigationController.interactivePopGestureRecognizer.enabled = YES;
|
||||||
[na popViewControllerAnimated:YES];
|
[na popViewControllerAnimated:YES];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1180,7 +1180,7 @@
|
|||||||
if ([model.room_id isExist]) {
|
if ([model.room_id isExist]) {
|
||||||
QXGlobal.shareGlobal.superRoomId = self.roomModel.room_info.room_id;
|
QXGlobal.shareGlobal.superRoomId = self.roomModel.room_info.room_id;
|
||||||
if ([model.user1_id isEqualToString:QXGlobal.shareGlobal.loginModel.user_id] || [model.user2_id isEqualToString:QXGlobal.shareGlobal.loginModel.user_id]) {
|
if ([model.user1_id isEqualToString:QXGlobal.shareGlobal.loginModel.user_id] || [model.user2_id isEqualToString:QXGlobal.shareGlobal.loginModel.user_id]) {
|
||||||
[[QXGlobal shareGlobal] quitRoomWithRoomId:self.roomModel.room_info.room_id];
|
[[QXGlobal shareGlobal] quitRoomWithRoomId:self.roomModel.room_info.room_id removeListener:YES];
|
||||||
[[QXGlobal shareGlobal] joinRoomWithRoomId:model.room_id isRejoin:NO navagationController:self.viewController.navigationController];
|
[[QXGlobal shareGlobal] joinRoomWithRoomId:model.room_id isRejoin:NO navagationController:self.viewController.navigationController];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ static NSInteger maxSeat = 8;
|
|||||||
for (int i = 0 ; i < maxSeat ; i++) {
|
for (int i = 0 ; i < maxSeat ; i++) {
|
||||||
QXRoomSeatContentView *contentView = [[QXRoomSeatContentView alloc] init];
|
QXRoomSeatContentView *contentView = [[QXRoomSeatContentView alloc] init];
|
||||||
contentView.number = i+1;
|
contentView.number = i+1;
|
||||||
contentView.noOffLine = YES;
|
// contentView.noOffLine = YES;
|
||||||
// [contentView addTapBlock:^(id _Nonnull obj) {
|
// [contentView addTapBlock:^(id _Nonnull obj) {
|
||||||
// [weakSelf didClickSeatView:obj];
|
// [weakSelf didClickSeatView:obj];
|
||||||
// }];
|
// }];
|
||||||
@@ -89,8 +89,8 @@ static NSInteger maxSeat = 8;
|
|||||||
}
|
}
|
||||||
[self.seatArray addObject:self.compereView];
|
[self.seatArray addObject:self.compereView];
|
||||||
[self.seatArray addObject:self.guestView];
|
[self.seatArray addObject:self.guestView];
|
||||||
self.compereView.noOffLine = YES;
|
// self.compereView.noOffLine = YES;
|
||||||
self.guestView.noOffLine = YES;
|
// self.guestView.noOffLine = YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
|
-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
|
||||||
|
|||||||
@@ -82,6 +82,7 @@
|
|||||||
}];
|
}];
|
||||||
|
|
||||||
self.bossView = [[QXRoomSeatContentView alloc] init];
|
self.bossView = [[QXRoomSeatContentView alloc] init];
|
||||||
|
self.bossView.noMicCycle = YES;
|
||||||
self.bossView.tagString = @"老板";
|
self.bossView.tagString = @"老板";
|
||||||
self.bossView.delegate = self;
|
self.bossView.delegate = self;
|
||||||
self.bossView.number = 10;
|
self.bossView.number = 10;
|
||||||
@@ -259,6 +260,9 @@
|
|||||||
[self.delegate didClickUserHeaderWithPitModel:seatView.pitModel userModel:nil isPkRoom:NO pkRoomId:@"" isNoTakeOff:NO];
|
[self.delegate didClickUserHeaderWithPitModel:seatView.pitModel userModel:nil isPkRoom:NO pkRoomId:@"" isNoTakeOff:NO];
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
if (seatView == self.singerView) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (seatView.number == 9) {
|
if (seatView.number == 9) {
|
||||||
/// 麦位没人时点9号麦直接请求上麦
|
/// 麦位没人时点9号麦直接请求上麦
|
||||||
[self upseatCompere];
|
[self upseatCompere];
|
||||||
@@ -391,10 +395,11 @@
|
|||||||
if (toPitNumber == 9) {
|
if (toPitNumber == 9) {
|
||||||
self.compereView.contentView.hidden = NO;
|
self.compereView.contentView.hidden = NO;
|
||||||
self.compereView.contentViewNoBodyBtn.hidden = YES;
|
self.compereView.contentViewNoBodyBtn.hidden = YES;
|
||||||
}else{
|
|
||||||
self.compereView.contentView.hidden = YES;
|
|
||||||
self.compereView.contentViewNoBodyBtn.hidden = NO;
|
|
||||||
}
|
}
|
||||||
|
// else{
|
||||||
|
// self.compereView.contentView.hidden = YES;
|
||||||
|
// self.compereView.contentViewNoBodyBtn.hidden = NO;
|
||||||
|
// }
|
||||||
NSString* tmpPitNum = [NSString stringWithFormat:@"%@",fromPitModel.pit_number];
|
NSString* tmpPitNum = [NSString stringWithFormat:@"%@",fromPitModel.pit_number];
|
||||||
fromPitModel.pit_number = totModel.pit_number;
|
fromPitModel.pit_number = totModel.pit_number;
|
||||||
totModel.pit_number = tmpPitNum;
|
totModel.pit_number = tmpPitNum;
|
||||||
|
|||||||
Reference in New Issue
Block a user