Commit a0ac7d24 authored by Achilles's avatar Achilles

“租售比”调回“车流”/“客单价”改为“WIFI登录数” VK-14

parent 29b3c4ec
This diff is collapsed.
...@@ -45,6 +45,12 @@ ...@@ -45,6 +45,12 @@
// 当前车流 // 当前车流
@property (nonatomic, strong) NSNumber *trafficVolume; @property (nonatomic, strong) NSNumber *trafficVolume;
// 租售比
@property (nonatomic, strong) NSNumber *salesPerArea;
// wifi登录数
@property (nonatomic, strong) NSNumber *wifiLoginTimes;
@end @end
......
...@@ -71,6 +71,8 @@ ...@@ -71,6 +71,8 @@
@synthesize passengerFlowVolume; @synthesize passengerFlowVolume;
@synthesize trafficVolume; @synthesize trafficVolume;
@synthesize salesAmount; @synthesize salesAmount;
@synthesize salesPerArea;
@synthesize wifiLoginTimes;
@end @end
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#import "VankeAppBoard_iPhone.h" #import "VankeAppBoard_iPhone.h"
#import "VankeNoticeListBoard_iPhone.h" #import "VankeNoticeListBoard_iPhone.h"
#import "VankeStatementListBoard_iPhone.h" #import "VankeStatementListBoard_iPhone.h"
#import "ICRAnnouncementViewController.h"
#pragma mark - #pragma mark -
...@@ -92,7 +93,8 @@ ON_DID_DISAPPEAR( signal ) ...@@ -92,7 +93,8 @@ ON_DID_DISAPPEAR( signal )
ON_SIGNAL3(VankeAffairsBoard_iPhone, btnNotice, signal) { ON_SIGNAL3(VankeAffairsBoard_iPhone, btnNotice, signal) {
[[VankeAppBoard_iPhone sharedInstance] hideMenu]; [[VankeAppBoard_iPhone sharedInstance] hideMenu];
VankeNoticeListBoard_iPhone *board = [VankeNoticeListBoard_iPhone board]; // VankeNoticeListBoard_iPhone *board = [VankeNoticeListBoard_iPhone board];
ICRAnnouncementViewController *board = [ICRAnnouncementViewController board];
[self.stack pushBoard:board animated:YES]; [self.stack pushBoard:board animated:YES];
} }
......
...@@ -48,9 +48,9 @@ DEF_OUTLET( VankeServiceBoardCell_iPhone, complaint ); ...@@ -48,9 +48,9 @@ DEF_OUTLET( VankeServiceBoardCell_iPhone, complaint );
{ {
self.salesInfo.imgRightBg.backgroundColor = [UIColor colorWithRed:237/255.0 green:27/255.0 blue:35/255.0 alpha:1]; self.salesInfo.imgRightBg.backgroundColor = [UIColor colorWithRed:237/255.0 green:27/255.0 blue:35/255.0 alpha:1];
[self.passenger loadDefaults:@"people.png" title:@"当前客流" bgColor:[UIColor colorWithRed:0 green:195/255.0 blue:230/255.0 alpha:1] unit:@"人" defValue:[NSNumber numberWithInt:0]]; [self.passenger loadDefaults:@"people.png" title:@"当前客流" bgColor:[UIColor colorWithRed:0 green:195/255.0 blue:230/255.0 alpha:1] unit:@"人" defValue:[NSNumber numberWithInt:0]];
[self.traffic loadDefaults:@"car.png" title:@"租售比" bgColor:[UIColor colorWithRed:79/255.0 green:143/255.0 blue:248/255.0 alpha:1] unit:@"%" defValue:[NSNumber numberWithInt:0]]; [self.traffic loadDefaults:@"car.png" title:@"车流" bgColor:[UIColor colorWithRed:79/255.0 green:143/255.0 blue:248/255.0 alpha:1] unit:@"人" defValue:[NSNumber numberWithInt:0]];
[self.energy loadDefaults:@"energy.png" title:@"坪效" bgColor:[UIColor colorWithRed:149/255.0 green:200/255.0 blue:8/255.0 alpha:1] unit:@"元" defValue:[NSNumber numberWithInt:0]]; [self.energy loadDefaults:@"energy.png" title:@"坪效" bgColor:[UIColor colorWithRed:149/255.0 green:200/255.0 blue:8/255.0 alpha:1] unit:@"元" defValue:[NSNumber numberWithInt:0]];
[self.complaint loadDefaults:@"complaint.png" title:@"客单价" bgColor:[UIColor colorWithRed:252/255.0 green:67/255.0 blue:62/255.0 alpha:1] unit:@"元" defValue:[NSNumber numberWithInt:0]]; [self.complaint loadDefaults:@"complaint.png" title:@"WIFI登录数" bgColor:[UIColor colorWithRed:252/255.0 green:67/255.0 blue:62/255.0 alpha:1] unit:@"次" defValue:[NSNumber numberWithInt:0]];
} }
- (void)unload - (void)unload
...@@ -66,9 +66,9 @@ DEF_OUTLET( VankeServiceBoardCell_iPhone, complaint ); ...@@ -66,9 +66,9 @@ DEF_OUTLET( VankeServiceBoardCell_iPhone, complaint );
if (nil != summary) { if (nil != summary) {
[self.salesInfo setData:summary.salesAmount]; [self.salesInfo setData:summary.salesAmount];
[self.passenger setData:summary.passengerFlowVolume]; [self.passenger setData:summary.passengerFlowVolume];
[self.traffic setData:[NSNumber numberWithFloat:15.16]]; [self.traffic setData:[NSNumber numberWithFloat:122]];
[self.energy setData:[NSNumber numberWithInt:789]]; [self.energy setData:[NSNumber numberWithInt:789]];
[self.complaint setData:[NSNumber numberWithInt:103]]; [self.complaint setData:summary.wifiLoginTimes];
} }
} }
......
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