Commit b60e4aea authored by 曹云霄's avatar 曹云霄

发布2.0.6正式版

parent 9714aa24
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
self.essenceLayoutConstraint.constant = topicModel.bestTopic?5:0; self.essenceLayoutConstraint.constant = topicModel.bestTopic?5:0;
self.managerLayoutConstraint.constant = topicModel.backEnd?5:0; self.managerLayoutConstraint.constant = topicModel.backEnd?5:0;
self.contentLabel.text = topicModel.title; self.contentLabel.text = topicModel.title;
self.backgroundColor = topicModel.isRead?RGB(255, 250, 250, 1):[UIColor whiteColor]; self.contentLabel.textColor = topicModel.isRead?[UIColor grayColor]:[UIColor blackColor];
} }
@end @end
...@@ -24,7 +24,8 @@ ...@@ -24,7 +24,8 @@
*/ */
- (void)refreshCell:(NSIndexPath *)indexPath withTopicEntity:(CustomTOForumTopicEntity *)topicEntity withDelegate:(id<TapClickImageViewDelegate>)delegate - (void)refreshCell:(NSIndexPath *)indexPath withTopicEntity:(CustomTOForumTopicEntity *)topicEntity withDelegate:(id<TapClickImageViewDelegate>)delegate
{ {
self.contentBackView.backgroundColor = topicEntity.isRead?RGB(255, 250, 250, 1):[UIColor whiteColor]; self.contentLabel.textColor = topicEntity.isRead?[UIColor grayColor]:[UIColor blackColor];
self.titleLabel.textColor = topicEntity.isRead?[UIColor grayColor]:[UIColor blackColor];
self.titleLabel.text = topicEntity.title; self.titleLabel.text = topicEntity.title;
self.contentLabel.text = topicEntity.content; self.contentLabel.text = topicEntity.content;
self.userNameLabel.text = topicEntity.posterName; self.userNameLabel.text = topicEntity.posterName;
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
- (void)uiConfigAction - (void)uiConfigAction
{ {
self.throughHistoryFlowLayout.itemSize = CGSizeMake(130, 150); self.throughHistoryFlowLayout.itemSize = CGSizeMake(130, 150);
self.throughHistoryCollectionView.alwaysBounceVertical = YES;
self.throughHistoryFlowLayout.minimumInteritemSpacing = 30; self.throughHistoryFlowLayout.minimumInteritemSpacing = 30;
self.throughHistoryCollectionView.alpha = 0; self.throughHistoryCollectionView.alpha = 0;
} }
......
...@@ -580,7 +580,8 @@ NSString *const PROMOTIONALSTRING = @"促销信息"; ...@@ -580,7 +580,8 @@ NSString *const PROMOTIONALSTRING = @"促销信息";
// 我知道了 // 我知道了
}else if (indexPath.row == 0) }else if (indexPath.row == 0)
{ {
[SHARED_APPDELEGATE.tabBarController switchSelectedIndex:3]; [SHARED_APPDELEGATE.tabBarController switchSelectedIndex:103];
[SHARED_APPDELEGATE.tabBarController setSelectedIndex:4];
} }
}]; }];
success.preferredContentSize = CGSizeMake(315, 320); success.preferredContentSize = CGSizeMake(315, 320);
......
...@@ -77,11 +77,7 @@ ...@@ -77,11 +77,7 @@
- (void)viewDidAppear:(BOOL)animated - (void)viewDidAppear:(BOOL)animated
{ {
[super viewDidAppear:animated]; [super viewDidAppear:animated];
if (self.drawValue) { [self.drawDetailsTableView.mj_header beginRefreshing];
[self.drawDetailsTableView.mj_header beginRefreshing];
}else {
[self getDrawDatas:YES];
}
} }
- (void)viewDidLoad { - (void)viewDidLoad {
......
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
// 我的抽奖 // 我的抽奖
LuckyDrawDetailsViewController *draw = [[[self class] getMainStoryboardClass]instantiateViewControllerWithIdentifier:@"LuckyDrawDetailsViewController"]; LuckyDrawDetailsViewController *draw = [[[self class] getMainStoryboardClass]instantiateViewControllerWithIdentifier:@"LuckyDrawDetailsViewController"];
[self addChildViewController:draw]; [self addChildViewController:draw];
draw.drawValue = ZERO; draw.drawValue = ALLDRAW;
[self.drawBackgroundView addSubview:draw.view]; [self.drawBackgroundView addSubview:draw.view];
} }
......
This diff is collapsed.
This diff is collapsed.
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<key>CFBundleName</key> <key>CFBundleName</key>
<string>欧立方</string> <string>欧立方</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>2.0.5</string> <string>2.0.6</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>
<array> <array>
<dict> <dict>
......
...@@ -96,7 +96,7 @@ typedef NS_ENUM(NSInteger,COMMENT_PRAISE) { ...@@ -96,7 +96,7 @@ typedef NS_ENUM(NSInteger,COMMENT_PRAISE) {
/** /**
* 服务器开发地址 * 服务器开发地址
*///http://139.196.195.30:8090 *///http://139.196.195.30:8090
#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://139.196.195.30:8090/opple-web/app%@",URL] //#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://139.196.195.30:8090/opple-web/app%@",URL]
/** /**
* 服务器测试地址 * 服务器测试地址
...@@ -106,7 +106,7 @@ typedef NS_ENUM(NSInteger,COMMENT_PRAISE) { ...@@ -106,7 +106,7 @@ typedef NS_ENUM(NSInteger,COMMENT_PRAISE) {
//** //**
// * 服务器正式地址 // * 服务器正式地址
// */ // */
//#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://dg.opple.com/opple-web/app%@",URL] #define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://dg.opple.com/opple-web/app%@",URL]
/*****************************************接口地址*****************************************/ /*****************************************接口地址*****************************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment