Commit dcf6e089 authored by Sandy's avatar Sandy

销售录入 历史纪录页面搭建

parent 886b84be
source 'https://github.com/CocoaPods/Specs.git' source 'https://github.com/CocoaPods/Specs.git'
# platform :ios, '6.1' # platform :ios, '6.1'
platform :ios, '7.0' platform :ios, '8.0'
xcodeproj 'vanke.xcodeproj' xcodeproj 'vanke.xcodeproj'
pod 'AFNetworking', '~> 2.3.1' pod 'AFNetworking', '~> 2.3.1'
...@@ -19,7 +19,7 @@ pod 'MBProgressHUD', '~> 0.9.1' ...@@ -19,7 +19,7 @@ pod 'MBProgressHUD', '~> 0.9.1'
pod 'SDWebImage', '~> 3.7.1' pod 'SDWebImage', '~> 3.7.1'
#pod 'MBProgressHUD', '~> 0.8' #pod 'MBProgressHUD', '~> 0.8'
#pod 'SSKeychain', '~> 1.2' #pod 'SSKeychain', '~> 1.2'
pod 'IQKeyboardManager', '~> 4.0.0'
#pod 'IQKeyboardManager', '~> 3.2.3' #pod 'IQKeyboardManager', '~> 3.2.3'
#pod 'Reachability' #pod 'Reachability'
#pod 'jastor', '~> 0.2.1' #lib. for jaskon object mapping #pod 'jastor', '~> 0.2.1' #lib. for jaskon object mapping
......
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
1928FD041CC487A10077BE34 /* SalesInputTopView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1928FD011CC487A10077BE34 /* SalesInputTopView.xib */; }; 1928FD041CC487A10077BE34 /* SalesInputTopView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1928FD011CC487A10077BE34 /* SalesInputTopView.xib */; };
1928FD081CC4ABD80077BE34 /* SalesInputTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 1928FD061CC4ABD80077BE34 /* SalesInputTableViewCell.m */; }; 1928FD081CC4ABD80077BE34 /* SalesInputTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 1928FD061CC4ABD80077BE34 /* SalesInputTableViewCell.m */; };
1928FD091CC4ABD80077BE34 /* SalesInputTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1928FD071CC4ABD80077BE34 /* SalesInputTableViewCell.xib */; }; 1928FD091CC4ABD80077BE34 /* SalesInputTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1928FD071CC4ABD80077BE34 /* SalesInputTableViewCell.xib */; };
1928FD0C1CC4C59E0077BE34 /* HistoryViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1928FD0B1CC4C59E0077BE34 /* HistoryViewController.m */; };
1928FD0F1CC4C8130077BE34 /* HistoryTopView.m in Sources */ = {isa = PBXBuildFile; fileRef = 1928FD0E1CC4C8130077BE34 /* HistoryTopView.m */; };
1928FD111CC4C8320077BE34 /* HistoryTopView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1928FD101CC4C8320077BE34 /* HistoryTopView.xib */; };
A0D453625552DAC91D4EB4A7 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C5987243B74E897E93DEC7D3 /* libPods.a */; }; A0D453625552DAC91D4EB4A7 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C5987243B74E897E93DEC7D3 /* libPods.a */; };
C10F161B1BF77CA00065F18C /* ICRAboutViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C10F16121BF77CA00065F18C /* ICRAboutViewController.m */; }; C10F161B1BF77CA00065F18C /* ICRAboutViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C10F16121BF77CA00065F18C /* ICRAboutViewController.m */; };
C10F161C1BF77CA00065F18C /* ICRConfigurationViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C10F16141BF77CA00065F18C /* ICRConfigurationViewController.m */; }; C10F161C1BF77CA00065F18C /* ICRConfigurationViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C10F16141BF77CA00065F18C /* ICRConfigurationViewController.m */; };
...@@ -719,6 +722,11 @@ ...@@ -719,6 +722,11 @@
1928FD051CC4ABD80077BE34 /* SalesInputTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SalesInputTableViewCell.h; sourceTree = "<group>"; }; 1928FD051CC4ABD80077BE34 /* SalesInputTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SalesInputTableViewCell.h; sourceTree = "<group>"; };
1928FD061CC4ABD80077BE34 /* SalesInputTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SalesInputTableViewCell.m; sourceTree = "<group>"; }; 1928FD061CC4ABD80077BE34 /* SalesInputTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SalesInputTableViewCell.m; sourceTree = "<group>"; };
1928FD071CC4ABD80077BE34 /* SalesInputTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SalesInputTableViewCell.xib; sourceTree = "<group>"; }; 1928FD071CC4ABD80077BE34 /* SalesInputTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SalesInputTableViewCell.xib; sourceTree = "<group>"; };
1928FD0A1CC4C59E0077BE34 /* HistoryViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HistoryViewController.h; sourceTree = "<group>"; };
1928FD0B1CC4C59E0077BE34 /* HistoryViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HistoryViewController.m; sourceTree = "<group>"; };
1928FD0D1CC4C8130077BE34 /* HistoryTopView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HistoryTopView.h; sourceTree = "<group>"; };
1928FD0E1CC4C8130077BE34 /* HistoryTopView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HistoryTopView.m; sourceTree = "<group>"; };
1928FD101CC4C8320077BE34 /* HistoryTopView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = HistoryTopView.xib; sourceTree = "<group>"; };
710E0C5D8A5E02D32E5C6C2D /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = "<group>"; }; 710E0C5D8A5E02D32E5C6C2D /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = "<group>"; };
C10F16111BF77CA00065F18C /* ICRAboutViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ICRAboutViewController.h; path = view_iPhone/templates/settings/ICRAboutViewController.h; sourceTree = "<group>"; }; C10F16111BF77CA00065F18C /* ICRAboutViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ICRAboutViewController.h; path = view_iPhone/templates/settings/ICRAboutViewController.h; sourceTree = "<group>"; };
C10F16121BF77CA00065F18C /* ICRAboutViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ICRAboutViewController.m; path = view_iPhone/templates/settings/ICRAboutViewController.m; sourceTree = "<group>"; }; C10F16121BF77CA00065F18C /* ICRAboutViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ICRAboutViewController.m; path = view_iPhone/templates/settings/ICRAboutViewController.m; sourceTree = "<group>"; };
...@@ -1963,6 +1971,8 @@ ...@@ -1963,6 +1971,8 @@
children = ( children = (
1928FCFB1CC487A10077BE34 /* SalesInputViewController.h */, 1928FCFB1CC487A10077BE34 /* SalesInputViewController.h */,
1928FCFC1CC487A10077BE34 /* SalesInputViewController.m */, 1928FCFC1CC487A10077BE34 /* SalesInputViewController.m */,
1928FD0A1CC4C59E0077BE34 /* HistoryViewController.h */,
1928FD0B1CC4C59E0077BE34 /* HistoryViewController.m */,
); );
path = Controller; path = Controller;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -1983,6 +1993,9 @@ ...@@ -1983,6 +1993,9 @@
1928FD051CC4ABD80077BE34 /* SalesInputTableViewCell.h */, 1928FD051CC4ABD80077BE34 /* SalesInputTableViewCell.h */,
1928FD061CC4ABD80077BE34 /* SalesInputTableViewCell.m */, 1928FD061CC4ABD80077BE34 /* SalesInputTableViewCell.m */,
1928FD071CC4ABD80077BE34 /* SalesInputTableViewCell.xib */, 1928FD071CC4ABD80077BE34 /* SalesInputTableViewCell.xib */,
1928FD0D1CC4C8130077BE34 /* HistoryTopView.h */,
1928FD0E1CC4C8130077BE34 /* HistoryTopView.m */,
1928FD101CC4C8320077BE34 /* HistoryTopView.xib */,
); );
path = View; path = View;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -4389,6 +4402,7 @@ ...@@ -4389,6 +4402,7 @@
C1D595171BB42A7200D297FE /* spinner@2x.png in Resources */, C1D595171BB42A7200D297FE /* spinner@2x.png in Resources */,
C11786621C0B416D00DB7E4B /* bill_default_image@2x.png in Resources */, C11786621C0B416D00DB7E4B /* bill_default_image@2x.png in Resources */,
C19AC8961C1735E600DE260E /* money_reduce@2x.png in Resources */, C19AC8961C1735E600DE260E /* money_reduce@2x.png in Resources */,
1928FD111CC4C8320077BE34 /* HistoryTopView.xib in Resources */,
C10F18661BF8EE020065F18C /* VankeStatementListItemCell_iPhone.xml in Resources */, C10F18661BF8EE020065F18C /* VankeStatementListItemCell_iPhone.xml in Resources */,
C165078D1BB96C2800CB2FC1 /* pwd_icon@2x.png in Resources */, C165078D1BB96C2800CB2FC1 /* pwd_icon@2x.png in Resources */,
1928FD091CC4ABD80077BE34 /* SalesInputTableViewCell.xib in Resources */, 1928FD091CC4ABD80077BE34 /* SalesInputTableViewCell.xib in Resources */,
...@@ -4605,6 +4619,7 @@ ...@@ -4605,6 +4619,7 @@
C1D5984C1BB44B2000D297FE /* BeeMessage+BeeJSON.mm in Sources */, C1D5984C1BB44B2000D297FE /* BeeMessage+BeeJSON.mm in Sources */,
C18A95451C01F56200429BF7 /* ICRDataBaseController.m in Sources */, C18A95451C01F56200429BF7 /* ICRDataBaseController.m in Sources */,
C18A95491C01F64500429BF7 /* LBorderView.m in Sources */, C18A95491C01F64500429BF7 /* LBorderView.m in Sources */,
1928FD0F1CC4C8130077BE34 /* HistoryTopView.m in Sources */,
C19BBC0E1BBE861700831290 /* VankeBusinessChartCell_iPhone.m in Sources */, C19BBC0E1BBE861700831290 /* VankeBusinessChartCell_iPhone.m in Sources */,
C1D598B11BB44B2000D297FE /* Bee_UITabBar.m in Sources */, C1D598B11BB44B2000D297FE /* Bee_UITabBar.m in Sources */,
C10F18651BF8EE020065F18C /* VankeStatementListItemCell_iPhone.m in Sources */, C10F18651BF8EE020065F18C /* VankeStatementListItemCell_iPhone.m in Sources */,
...@@ -4615,6 +4630,7 @@ ...@@ -4615,6 +4630,7 @@
C1D5989F1BB44B2000D297FE /* Bee_UIDatePicker.m in Sources */, C1D5989F1BB44B2000D297FE /* Bee_UIDatePicker.m in Sources */,
C10F18151BF7ACA80065F18C /* NSString+TrimmingAdditions.m in Sources */, C10F18151BF7ACA80065F18C /* NSString+TrimmingAdditions.m in Sources */,
C10F18471BF7ACA80065F18C /* IBTUIScrollView.m in Sources */, C10F18471BF7ACA80065F18C /* IBTUIScrollView.m in Sources */,
1928FD0C1CC4C59E0077BE34 /* HistoryViewController.m in Sources */,
C1D598A61BB44B2000D297FE /* Bee_UIMenuController.m in Sources */, C1D598A61BB44B2000D297FE /* Bee_UIMenuController.m in Sources */,
C10F161C1BF77CA00065F18C /* ICRConfigurationViewController.m in Sources */, C10F161C1BF77CA00065F18C /* ICRConfigurationViewController.m in Sources */,
C1D598B31BB44B2000D297FE /* Bee_UITextField.m in Sources */, C1D598B31BB44B2000D297FE /* Bee_UITextField.m in Sources */,
......
...@@ -123,12 +123,12 @@ ON_SIGNAL3(VankeAffairsBoard_iPhone, btnBill, signal) { ...@@ -123,12 +123,12 @@ ON_SIGNAL3(VankeAffairsBoard_iPhone, btnBill, signal) {
} }
ON_SIGNAL3(VankeAffairsBoard_iPhone, btnSaleInput, signal) { ON_SIGNAL3(VankeAffairsBoard_iPhone, btnSaleInput, signal) {
// SalesInputViewController *salesVC = [[SalesInputViewController alloc] init]; SalesInputViewController *salesVC = [[SalesInputViewController alloc] init];
SalesInputViewController *salesVC = [SalesInputViewController board]; // SalesInputViewController *salesVC = [SalesInputViewController board];
[self.stack pushBoard:salesVC animated:YES]; // [self.stack pushBoard:salesVC animated:YES];
// [salesVC setHidesBottomBarWhenPushed:YES]; // [salesVC setHidesBottomBarWhenPushed:YES];
// [self.navigationController pushViewController:salesVC animated:YES]; [self.navigationController pushViewController:salesVC animated:YES];
//[GEToast showWithText:@"销售录入正在开发中..." bottomOffset:60.0f duration:1.0f]; //[GEToast showWithText:@"销售录入正在开发中..." bottomOffset:60.0f duration:1.0f];
} }
......
//
// HistoryViewController.h
// vanke
//
// Created by Z on 16/4/18.
// Copyright © 2016年 gomore. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface HistoryViewController : UIViewController
@end
//
// HistoryViewController.m
// vanke
//
// Created by Z on 16/4/18.
// Copyright © 2016年 gomore. All rights reserved.
//
#import "HistoryViewController.h"
#import "HistoryTopView.h"
#define kListWidth 100 //一个表格的宽度
#define kListHeight 44
#define kBottomHeight 60 //表格最底部的那行的宽度
@interface HistoryViewController ()
@property (nonatomic, strong) UICollectionView *collectionView;
@property (nonatomic, strong) NSArray *titles;
@property (nonatomic, strong) UIScrollView *scrollView;
@end
@implementation HistoryViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.automaticallyAdjustsScrollViewInsets = NO;
self.title = @"历史";
self.titles = @[@"标题1",@"标题2",@"标题2",@"标题2",@"标题2"];
self.view.backgroundColor = [UIColor whiteColor];
[self setUpTopView];
[self setUPScrollView];
// Do any additional setup after loading the view.
}
- (void)setUPScrollView {
self.scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 150, SCREEN_WIDTH, SCREEN_HEIGHT - 150 - 64)];
self.scrollView.contentSize = CGSizeMake(kListWidth * self.titles.count, kListHeight * 19 + kBottomHeight);
for (int i = 0; i < self.titles.count; i++) {
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(kListWidth * i, 0, kListWidth, 44)];
label.text = self.titles[i];
label.font = [UIFont systemFontOfSize:19];
label.textAlignment = NSTextAlignmentCenter;
[self.scrollView addSubview:label];
for (int j = 0; j < 19; j++) {
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(kListWidth * i, kListHeight + kListHeight * j, kListWidth, kListHeight)];
label.textAlignment = NSTextAlignmentCenter;
label.text = [NSString stringWithFormat:@"假数据假%d", j];
[self.scrollView addSubview:label];
}
UILabel *labelBottom = [[UILabel alloc] initWithFrame:CGRectMake(kListWidth * i, kListHeight + kListHeight * 18, kListWidth, kBottomHeight)];
labelBottom.text = self.titles[i];
labelBottom.backgroundColor = [UIColor grayColor];
labelBottom.font = [UIFont systemFontOfSize:20];
labelBottom.textAlignment = NSTextAlignmentCenter;
[self.scrollView addSubview:labelBottom];
}
[self.view addSubview:self.scrollView];
}
- (void)setUpTopView {
HistoryTopView *topView = [self viewWithNibName:@"HistoryTopView"];
topView.frame = CGRectMake(0, 0, SCREEN_WIDTH, 150);
[self.view addSubview:topView];
}
- (id)viewWithNibName:(NSString *)viewName {
NSArray* nibView = [[NSBundle mainBundle] loadNibNamed:viewName owner:nil options:nil];
return [nibView objectAtIndex:0];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/
@end
...@@ -8,6 +8,6 @@ ...@@ -8,6 +8,6 @@
#import "IBTUIViewController.h" #import "IBTUIViewController.h"
@interface SalesInputViewController : IBTUIViewController @interface SalesInputViewController : UIViewController
@end @end
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
#import "SalesInputTopView.h" #import "SalesInputTopView.h"
#import "SalesInputTableViewCell.h" #import "SalesInputTableViewCell.h"
#import "VankeAppBoard_iPhone.h" #import "VankeAppBoard_iPhone.h"
#import "HistoryViewController.h"
#define kCellID @"SalesInputTableViewCell.h" #define kCellID @"SalesInputTableViewCell.h"
@interface SalesInputViewController ()<UITableViewDelegate, UITableViewDataSource> @interface SalesInputViewController ()<UITableViewDelegate, UITableViewDataSource>
@property (nonatomic, strong) UITableView *tableView; @property (nonatomic, strong) UITableView *tableView;
...@@ -28,6 +30,8 @@ ...@@ -28,6 +30,8 @@
- (void)viewWillAppear:(BOOL)animated { - (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated]; [super viewWillAppear:animated];
[[VankeAppBoard_iPhone sharedInstance] hideMenu];
} }
ON_WILL_APPEAR( signal ) ON_WILL_APPEAR( signal )
...@@ -36,8 +40,8 @@ ON_WILL_APPEAR( signal ) ...@@ -36,8 +40,8 @@ ON_WILL_APPEAR( signal )
} }
- (void)setUpTableView { - (void)setUpTableView {
self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT) style:UITableViewStylePlain]; self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT - 64) style:UITableViewStylePlain];
self.tableView.contentInset = UIEdgeInsetsMake(364, 0, 0, 0); self.tableView.contentInset = UIEdgeInsetsMake(300, 0, 0, 0);
self.tableView.delegate = self; self.tableView.delegate = self;
self.tableView.dataSource = self; self.tableView.dataSource = self;
...@@ -67,6 +71,7 @@ ON_WILL_APPEAR( signal ) ...@@ -67,6 +71,7 @@ ON_WILL_APPEAR( signal )
UIBarButtonItem *rightBtn = [[UIBarButtonItem alloc] initWithTitle:@"历史" style:UIBarButtonItemStyleDone target:self action:@selector(goToHistory)]; UIBarButtonItem *rightBtn = [[UIBarButtonItem alloc] initWithTitle:@"历史" style:UIBarButtonItemStyleDone target:self action:@selector(goToHistory)];
rightBtn.tintColor = [UIColor whiteColor]; rightBtn.tintColor = [UIColor whiteColor];
self.navigationItem.rightBarButtonItem = rightBtn; self.navigationItem.rightBarButtonItem = rightBtn;
self.navigationController.navigationBar.tintColor = [UIColor whiteColor];
} }
...@@ -83,7 +88,8 @@ ON_WILL_APPEAR( signal ) ...@@ -83,7 +88,8 @@ ON_WILL_APPEAR( signal )
- (void)goToHistory { - (void)goToHistory {
HistoryViewController *history = [[HistoryViewController alloc] init];
[self.navigationController pushViewController:history animated:YES];
} }
- (void)didReceiveMemoryWarning { - (void)didReceiveMemoryWarning {
......
//
// HistoryTopView.h
// vanke
//
// Created by Z on 16/4/18.
// Copyright © 2016年 gomore. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface HistoryTopView : UIView
@end
//
// HistoryTopView.m
// vanke
//
// Created by Z on 16/4/18.
// Copyright © 2016年 gomore. All rights reserved.
//
#import "HistoryTopView.h"
@interface HistoryTopView ()
@property (weak, nonatomic) IBOutlet UIButton *buttonQuery;
@end
@implementation HistoryTopView
-(void)awakeFromNib {
self.buttonQuery.layer.cornerRadius = 5;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
// Drawing code
}
*/
@end
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="HistoryTopView">
<rect key="frame" x="0.0" y="0.0" width="375" height="150"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PXR-kT-YMR">
<rect key="frame" x="0.0" y="0.0" width="375" height="72"/>
<subviews>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleAspectFit" image="sales_top_input_pic" translatesAutoresizingMaskIntoConstraints="NO" id="Y5W-EN-8ml">
<rect key="frame" x="28" y="16" width="51" height="51"/>
<constraints>
<constraint firstAttribute="height" constant="51" id="9f9-hy-N2g"/>
<constraint firstAttribute="width" constant="51" id="tPB-0D-CvI"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="星巴克【A01-01】" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="V51-vf-Qaf">
<rect key="frame" x="129" y="31" width="213" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleAspectFit" image="right_icon" translatesAutoresizingMaskIntoConstraints="NO" id="w5x-NT-NnM">
<rect key="frame" x="349" y="32" width="16" height="19"/>
<constraints>
<constraint firstAttribute="height" constant="19" id="ULk-f7-HNz"/>
<constraint firstAttribute="width" constant="16" id="USv-dN-rIb"/>
</constraints>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="oEx-Id-X1s">
<rect key="frame" x="137" y="15" width="228" height="53"/>
<constraints>
<constraint firstAttribute="height" constant="53" id="S2o-aV-dMZ"/>
</constraints>
</button>
</subviews>
<color key="backgroundColor" red="0.95294117649999999" green="0.43921568630000002" blue="0.062745098040000002" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstItem="V51-vf-Qaf" firstAttribute="leading" secondItem="Y5W-EN-8ml" secondAttribute="trailing" constant="50" id="4T6-qZ-ihG"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="72" id="DBz-TJ-xhd"/>
<constraint firstItem="V51-vf-Qaf" firstAttribute="centerY" secondItem="oEx-Id-X1s" secondAttribute="centerY" id="GIY-Pd-AJg"/>
<constraint firstAttribute="height" constant="72" id="I3a-zj-qCA"/>
<constraint firstItem="w5x-NT-NnM" firstAttribute="leading" secondItem="V51-vf-Qaf" secondAttribute="trailing" constant="7" id="JsG-ew-JKR"/>
<constraint firstItem="oEx-Id-X1s" firstAttribute="leading" secondItem="Y5W-EN-8ml" secondAttribute="trailing" constant="58" id="L0P-wQ-8ec"/>
<constraint firstAttribute="trailing" secondItem="oEx-Id-X1s" secondAttribute="trailing" constant="10" id="Ohn-pl-jUQ"/>
<constraint firstItem="V51-vf-Qaf" firstAttribute="centerY" secondItem="Y5W-EN-8ml" secondAttribute="centerY" id="R05-eu-7lR"/>
<constraint firstItem="w5x-NT-NnM" firstAttribute="centerY" secondItem="V51-vf-Qaf" secondAttribute="centerY" id="cqM-l6-boG"/>
<constraint firstItem="Y5W-EN-8ml" firstAttribute="top" secondItem="PXR-kT-YMR" secondAttribute="top" constant="16" id="lqG-Wj-NBD"/>
<constraint firstItem="Y5W-EN-8ml" firstAttribute="leading" secondItem="PXR-kT-YMR" secondAttribute="leading" constant="28" id="pEb-EZ-7ap"/>
<constraint firstAttribute="trailing" secondItem="V51-vf-Qaf" secondAttribute="trailing" constant="33" id="wSw-CC-Fl6"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="shU-x6-kGg">
<rect key="frame" x="6" y="79" width="106" height="32"/>
<constraints>
<constraint firstAttribute="width" constant="106" id="MD8-L4-YJC"/>
<constraint firstAttribute="height" constant="32" id="Nl8-UA-X04"/>
</constraints>
<inset key="titleEdgeInsets" minX="-45" minY="0.0" maxX="0.0" maxY="0.0"/>
<inset key="imageEdgeInsets" minX="75" minY="0.0" maxX="0.0" maxY="0.0"/>
<state key="normal" title="起始日期" image="right_arrow.png">
<color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
</state>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="C34-UB-Ftu">
<rect key="frame" x="120" y="79" width="106" height="32"/>
<constraints>
<constraint firstAttribute="height" constant="32" id="9Pt-sM-tRq"/>
<constraint firstAttribute="width" constant="106" id="I3h-Hj-5gF"/>
</constraints>
<inset key="titleEdgeInsets" minX="-45" minY="0.0" maxX="0.0" maxY="0.0"/>
<inset key="imageEdgeInsets" minX="75" minY="0.0" maxX="0.0" maxY="0.0"/>
<state key="normal" title="截止日期" image="right_arrow.png">
<color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
</state>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2016-03-23" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rRm-z7-RtF">
<rect key="frame" x="7" y="119" width="105" height="23"/>
<fontDescription key="fontDescription" type="system" pointSize="19"/>
<color key="textColor" red="0.95294117649999999" green="0.43921568630000002" blue="0.062745098040000002" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2016-03-23" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GBf-BD-JZa">
<rect key="frame" x="121" y="119" width="105" height="23"/>
<fontDescription key="fontDescription" type="system" pointSize="19"/>
<color key="textColor" red="0.95294117649999999" green="0.43921568630000002" blue="0.062745098040000002" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="UAX-J6-XYl">
<rect key="frame" x="258" y="79" width="104" height="63"/>
<color key="backgroundColor" red="0.95294117649999999" green="0.43921568630000002" blue="0.062745098040000002" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="47" id="SdU-ok-lNc"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="22"/>
<state key="normal" title="查询">
<color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</state>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="C34-UB-Ftu" firstAttribute="leading" secondItem="shU-x6-kGg" secondAttribute="trailing" constant="15" id="3Eo-YW-8kP"/>
<constraint firstAttribute="trailing" secondItem="PXR-kT-YMR" secondAttribute="trailing" id="5XY-Tc-4ry"/>
<constraint firstItem="shU-x6-kGg" firstAttribute="top" secondItem="PXR-kT-YMR" secondAttribute="bottom" constant="7" id="8au-mN-6it"/>
<constraint firstAttribute="trailing" secondItem="UAX-J6-XYl" secondAttribute="trailing" constant="13" id="Cel-GW-x5K"/>
<constraint firstItem="C34-UB-Ftu" firstAttribute="leading" secondItem="shU-x6-kGg" secondAttribute="trailing" constant="8" id="F8G-tG-xFQ"/>
<constraint firstItem="GBf-BD-JZa" firstAttribute="centerX" secondItem="C34-UB-Ftu" secondAttribute="centerX" id="JRx-Zf-iCW"/>
<constraint firstItem="PXR-kT-YMR" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="MDB-X5-TaT"/>
<constraint firstItem="PXR-kT-YMR" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="N8m-wN-G38"/>
<constraint firstItem="GBf-BD-JZa" firstAttribute="centerY" secondItem="rRm-z7-RtF" secondAttribute="centerY" id="VZx-Q4-0c5"/>
<constraint firstItem="rRm-z7-RtF" firstAttribute="top" secondItem="shU-x6-kGg" secondAttribute="bottom" constant="8" id="Vcd-gS-KSb"/>
<constraint firstItem="rRm-z7-RtF" firstAttribute="centerX" secondItem="shU-x6-kGg" secondAttribute="centerX" id="da3-Xe-mQu"/>
<constraint firstItem="UAX-J6-XYl" firstAttribute="leading" secondItem="GBf-BD-JZa" secondAttribute="trailing" constant="32" id="fbg-C5-5jl"/>
<constraint firstItem="shU-x6-kGg" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="6" id="sqg-Jk-Ztm"/>
<constraint firstItem="UAX-J6-XYl" firstAttribute="top" secondItem="C34-UB-Ftu" secondAttribute="top" id="tRu-Nu-g6I"/>
<constraint firstItem="C34-UB-Ftu" firstAttribute="centerY" secondItem="shU-x6-kGg" secondAttribute="centerY" id="tZs-d5-g4g"/>
<constraint firstItem="UAX-J6-XYl" firstAttribute="bottom" secondItem="GBf-BD-JZa" secondAttribute="bottom" id="zpr-wc-SXg"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<variation key="default">
<mask key="constraints">
<exclude reference="3Eo-YW-8kP"/>
</mask>
</variation>
<connections>
<outlet property="buttonQuery" destination="UAX-J6-XYl" id="3qB-KF-68k"/>
</connections>
<point key="canvasLocation" x="254.5" y="25"/>
</view>
</objects>
<resources>
<image name="right_arrow.png" width="32" height="32"/>
<image name="right_icon" width="16" height="27"/>
<image name="sales_top_input_pic" width="63" height="63"/>
</resources>
</document>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="支付方式" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="42B-69-MrJ"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="支付方式" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="42B-69-MrJ">
<rect key="frame" x="8" y="19" width="104" height="22"/> <rect key="frame" x="8" y="19" width="104" height="22"/>
<fontDescription key="fontDescription" type="system" pointSize="18"/> <fontDescription key="fontDescription" type="system" pointSize="18"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="DwV-QQ-nIc"> <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="DwV-QQ-nIc">
......
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