forked from liuchaogenius/DianjiaApp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
锦超
committed
Sep 2, 2015
1 parent
537191e
commit 1cd7de8
Showing
18 changed files
with
794 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+154 KB
...eproj/project.xcworkspace/xcuserdata/striveliu.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// JCCXCell.h | ||
// YHB_Prj | ||
// | ||
// Created by striveliu on 15/8/31. | ||
// Copyright (c) 2015年 striveliu. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
@class JCCXMode; | ||
@interface JCCXCell : UITableViewCell | ||
@property (strong, nonatomic) IBOutlet UILabel *pinmingLabel; | ||
@property (strong, nonatomic) IBOutlet UILabel *dianmingLabel; | ||
@property (strong, nonatomic) IBOutlet UILabel *dqkcCountLabel; | ||
@property (strong, nonatomic) IBOutlet UILabel *qhzlCountLabel; | ||
@property (strong, nonatomic) IBOutlet UILabel *qhsjLabel; | ||
@property (strong, nonatomic) IBOutlet UILabel *vipNumLabel; | ||
@property (strong, nonatomic) IBOutlet UILabel *vipNameLabel; | ||
- (void)setCellData:(JCCXMode *)aMode; | ||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// | ||
// JCCXCell.m | ||
// YHB_Prj | ||
// | ||
// Created by striveliu on 15/8/31. | ||
// Copyright (c) 2015年 striveliu. All rights reserved. | ||
// | ||
|
||
#import "JCCXCell.h" | ||
#import "JCCXMode.h" | ||
@implementation JCCXCell | ||
|
||
- (void)awakeFromNib { | ||
// Initialization code | ||
} | ||
|
||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated { | ||
[super setSelected:selected animated:animated]; | ||
|
||
// Configure the view for the selected state | ||
} | ||
|
||
- (void)setCellData:(JCCXMode *)aMode | ||
{ | ||
[self resetview]; | ||
self.vipNumLabel.text = aMode.strVipCode; | ||
self.vipNameLabel.text = aMode.strVipName; | ||
self.pinmingLabel.text = aMode.strProductName; | ||
self.dianmingLabel.text = aMode.strStoreName; | ||
self.dqkcCountLabel.text = aMode.strSurplusNum; | ||
self.qhzlCountLabel.text = aMode.strSrplusSum; | ||
self.qhsjLabel.text = aMode.strOrderTimer; | ||
} | ||
|
||
- (void)resetview | ||
{ | ||
self.vipNumLabel.text = @""; | ||
self.vipNameLabel.text = @""; | ||
self.pinmingLabel.text = @""; | ||
self.dianmingLabel.text = @""; | ||
self.dqkcCountLabel.text = @""; | ||
self.qhzlCountLabel.text = @""; | ||
self.qhsjLabel.text = @""; | ||
} | ||
|
||
@end |
Oops, something went wrong.