mirror of
https://github.com/wu736139669/ManagerDemo.git
synced 2026-10-06 18:40:10 +00:00
ProductListView
This commit is contained in:
@@ -95,6 +95,12 @@
|
||||
A9AF6CA41994D0660076C0EE /* ad2@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A9AF6CA11994D0660076C0EE /* ad2@2x.png */; };
|
||||
A9AF6CA51994D0660076C0EE /* ad3@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A9AF6CA21994D0660076C0EE /* ad3@2x.png */; };
|
||||
A9AF6CA61994D0660076C0EE /* ad4@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A9AF6CA31994D0660076C0EE /* ad4@2x.png */; };
|
||||
A9B9F14519AEF9BE001A1315 /* TableCellLineView.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9F14419AEF9BE001A1315 /* TableCellLineView.m */; };
|
||||
A9B9F14C19AF1493001A1315 /* OtherProductInfoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B9F14A19AF1493001A1315 /* OtherProductInfoViewController.m */; };
|
||||
A9B9F14D19AF1493001A1315 /* OtherProductInfoViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9B9F14B19AF1493001A1315 /* OtherProductInfoViewController.xib */; };
|
||||
A9C053FE19AD706C002331A5 /* ToolBarView.m in Sources */ = {isa = PBXBuildFile; fileRef = A9C053FD19AD706C002331A5 /* ToolBarView.m */; };
|
||||
A9C0540519ADBCB2002331A5 /* FundProductInfoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9C0540319ADBCB2002331A5 /* FundProductInfoViewController.m */; };
|
||||
A9C0540619ADBCB2002331A5 /* FundProductInfoViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9C0540419ADBCB2002331A5 /* FundProductInfoViewController.xib */; };
|
||||
A9C69442199BB7B100B2CECE /* icon_person_take_image@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A9C69441199BB7B100B2CECE /* icon_person_take_image@2x.png */; };
|
||||
A9C69446199BBEB200B2CECE /* MyTotalProfitCellView.m in Sources */ = {isa = PBXBuildFile; fileRef = A9C69445199BBEB200B2CECE /* MyTotalProfitCellView.m */; };
|
||||
A9C69448199BC1F500B2CECE /* gray_select_arrow@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A9C69447199BC1F500B2CECE /* gray_select_arrow@2x.png */; };
|
||||
@@ -264,6 +270,16 @@
|
||||
A9AF6CA11994D0660076C0EE /* ad2@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "ad2@2x.png"; sourceTree = "<group>"; };
|
||||
A9AF6CA21994D0660076C0EE /* ad3@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "ad3@2x.png"; sourceTree = "<group>"; };
|
||||
A9AF6CA31994D0660076C0EE /* ad4@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "ad4@2x.png"; sourceTree = "<group>"; };
|
||||
A9B9F14319AEF9BE001A1315 /* TableCellLineView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TableCellLineView.h; sourceTree = "<group>"; };
|
||||
A9B9F14419AEF9BE001A1315 /* TableCellLineView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TableCellLineView.m; sourceTree = "<group>"; };
|
||||
A9B9F14919AF1493001A1315 /* OtherProductInfoViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OtherProductInfoViewController.h; sourceTree = "<group>"; };
|
||||
A9B9F14A19AF1493001A1315 /* OtherProductInfoViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OtherProductInfoViewController.m; sourceTree = "<group>"; };
|
||||
A9B9F14B19AF1493001A1315 /* OtherProductInfoViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = OtherProductInfoViewController.xib; sourceTree = "<group>"; };
|
||||
A9C053FC19AD706C002331A5 /* ToolBarView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ToolBarView.h; sourceTree = "<group>"; };
|
||||
A9C053FD19AD706C002331A5 /* ToolBarView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ToolBarView.m; sourceTree = "<group>"; };
|
||||
A9C0540219ADBCB2002331A5 /* FundProductInfoViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FundProductInfoViewController.h; sourceTree = "<group>"; };
|
||||
A9C0540319ADBCB2002331A5 /* FundProductInfoViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FundProductInfoViewController.m; sourceTree = "<group>"; };
|
||||
A9C0540419ADBCB2002331A5 /* FundProductInfoViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = FundProductInfoViewController.xib; sourceTree = "<group>"; };
|
||||
A9C69441199BB7B100B2CECE /* icon_person_take_image@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "icon_person_take_image@2x.png"; sourceTree = "<group>"; };
|
||||
A9C69444199BBEB200B2CECE /* MyTotalProfitCellView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyTotalProfitCellView.h; sourceTree = "<group>"; };
|
||||
A9C69445199BBEB200B2CECE /* MyTotalProfitCellView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyTotalProfitCellView.m; sourceTree = "<group>"; };
|
||||
@@ -337,6 +353,16 @@
|
||||
A90BEC03199DDACA00230242 /* WYDInfoHeadView.h */,
|
||||
A90BEC04199DDACA00230242 /* WYDInfoHeadView.m */,
|
||||
A90BEC06199DDAFB00230242 /* WYDInfoHeadView.xib */,
|
||||
A9C053FC19AD706C002331A5 /* ToolBarView.h */,
|
||||
A9C053FD19AD706C002331A5 /* ToolBarView.m */,
|
||||
A9C0540219ADBCB2002331A5 /* FundProductInfoViewController.h */,
|
||||
A9C0540319ADBCB2002331A5 /* FundProductInfoViewController.m */,
|
||||
A9C0540419ADBCB2002331A5 /* FundProductInfoViewController.xib */,
|
||||
A9B9F14319AEF9BE001A1315 /* TableCellLineView.h */,
|
||||
A9B9F14419AEF9BE001A1315 /* TableCellLineView.m */,
|
||||
A9B9F14919AF1493001A1315 /* OtherProductInfoViewController.h */,
|
||||
A9B9F14A19AF1493001A1315 /* OtherProductInfoViewController.m */,
|
||||
A9B9F14B19AF1493001A1315 /* OtherProductInfoViewController.xib */,
|
||||
);
|
||||
path = ProductView;
|
||||
sourceTree = "<group>";
|
||||
@@ -785,6 +811,7 @@
|
||||
A9C69451199BD14D00B2CECE /* more_icon_2@2x.png in Resources */,
|
||||
A9EAA04A19986E8C001A872A /* pull_arrow_down_black@2x.png in Resources */,
|
||||
A9AF6C6119949CD30076C0EE /* icon_dock_mine@2x.png in Resources */,
|
||||
A9B9F14D19AF1493001A1315 /* OtherProductInfoViewController.xib in Resources */,
|
||||
A9AF6CA51994D0660076C0EE /* ad3@2x.png in Resources */,
|
||||
A9EAA04819986DC3001A872A /* fund_cell_label_bg_red@2x.png in Resources */,
|
||||
A91C6D4219AB8E9C00AEBF4D /* p2c_safeicon@2x.png in Resources */,
|
||||
@@ -799,6 +826,7 @@
|
||||
A9AF6C5D19949CD30076C0EE /* icon_dock_forum@2x.png in Resources */,
|
||||
A9EAA04E1998787B001A872A /* hk_home_center__cycle@2x.png in Resources */,
|
||||
A9EAA0501998787B001A872A /* hk_home_center_cover@2x.png in Resources */,
|
||||
A9C0540619ADBCB2002331A5 /* FundProductInfoViewController.xib in Resources */,
|
||||
A9AF6C6719949CD30076C0EE /* icon_dock_session_actived@2x.png in Resources */,
|
||||
A9AF6C771994B5890076C0EE /* icon_indicate_more@2x.png in Resources */,
|
||||
A90BEC02199DDA9E00230242 /* WYDProductViewController.xib in Resources */,
|
||||
@@ -891,6 +919,7 @@
|
||||
files = (
|
||||
A93F8801199A077F00875287 /* ListViewController.m in Sources */,
|
||||
A988A8FC199A50D900EB10AA /* TriangleView.m in Sources */,
|
||||
A9B9F14C19AF1493001A1315 /* OtherProductInfoViewController.m in Sources */,
|
||||
A9EAA05619988C55001A872A /* MRCircularProgressView.m in Sources */,
|
||||
A9AF6C961994C5700076C0EE /* UIView+Extension.m in Sources */,
|
||||
A9AF6C921994C5700076C0EE /* MJRefreshFooterView.m in Sources */,
|
||||
@@ -907,6 +936,7 @@
|
||||
A96F2A7F199D01C000608237 /* NSString+FontAwesome.m in Sources */,
|
||||
A9EAA035199857F5001A872A /* HomeMainView.m in Sources */,
|
||||
A93F8805199A077F00875287 /* LoanListViewController.m in Sources */,
|
||||
A9C053FE19AD706C002331A5 /* ToolBarView.m in Sources */,
|
||||
A9AF6C951994C5700076C0EE /* UIScrollView+MJRefresh.m in Sources */,
|
||||
A9AA326119970335000BE4FB /* ImagePlayerView.m in Sources */,
|
||||
A9AF6C0319947DD00076C0EE /* ViewController.m in Sources */,
|
||||
@@ -922,7 +952,9 @@
|
||||
A9AF6C33199484200076C0EE /* HomeViewController.m in Sources */,
|
||||
A93F8800199A077F00875287 /* FundListViewController.m in Sources */,
|
||||
A93F87801999B92800875287 /* QCSlideSwitchView.m in Sources */,
|
||||
A9B9F14519AEF9BE001A1315 /* TableCellLineView.m in Sources */,
|
||||
A9AF6C901994C5700076C0EE /* MJRefreshBaseView.m in Sources */,
|
||||
A9C0540519ADBCB2002331A5 /* FundProductInfoViewController.m in Sources */,
|
||||
A94FE51E199C9C3C00626DE5 /* MoveSocialCellView.m in Sources */,
|
||||
A93F8806199A077F00875287 /* OtherListViewController.m in Sources */,
|
||||
A9AF6C2E199483520076C0EE /* MainViewController.m in Sources */,
|
||||
|
||||
BIN
Binary file not shown.
@@ -21,6 +21,8 @@
|
||||
@property (weak, nonatomic) IBOutlet UILabel *securityDescLabel;
|
||||
|
||||
|
||||
|
||||
+(HomeMainView*) instanceHomeMainView;
|
||||
-(void)setName:(NSString*)name;
|
||||
-(void)setpercent:(float)percent;
|
||||
-(void)setExpect:(float)expect;
|
||||
|
||||
@@ -12,6 +12,11 @@
|
||||
{
|
||||
CGFloat progressPercent;
|
||||
}
|
||||
+(HomeMainView*)instanceHomeMainView
|
||||
{
|
||||
NSArray* nibView = [[NSBundle mainBundle] loadNibNamed:@"HomeMainView" owner:nil options:nil];
|
||||
return [nibView objectAtIndex:0];
|
||||
}
|
||||
- (id)initWithFrame:(CGRect)frame
|
||||
{
|
||||
self = [super initWithFrame:frame];
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#import "FundListViewController.h"
|
||||
#import "FundListCell.h"
|
||||
#import "FundProductInfoViewController.h"
|
||||
@interface FundListViewController ()
|
||||
|
||||
@end
|
||||
@@ -66,6 +67,9 @@
|
||||
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
[tableView deselectRowAtIndexPath:indexPath animated:NO];
|
||||
FundProductInfoViewController* fundProductInfoViewController = [[FundProductInfoViewController alloc] init];
|
||||
[self.delegate.navigationController pushViewController:fundProductInfoViewController animated:YES];
|
||||
|
||||
}
|
||||
- (void)didReceiveMemoryWarning
|
||||
{
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#import "OtherListViewController.h"
|
||||
#import "FundListCell.h"
|
||||
#import "OtherProductInfoViewController.h"
|
||||
@interface OtherListViewController ()
|
||||
|
||||
@end
|
||||
@@ -70,6 +71,9 @@
|
||||
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
[tableView deselectRowAtIndexPath:indexPath animated:NO];
|
||||
OtherProductInfoViewController* otherProductInfoViewController =[[OtherProductInfoViewController alloc] init];
|
||||
[self.delegate.navigationController pushViewController:otherProductInfoViewController animated:YES];
|
||||
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// FundProductInfoViewController.h
|
||||
// ManagerDemo
|
||||
//
|
||||
// Created by xmfish on 14-8-27.
|
||||
// Copyright (c) 2014年 ash. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "ToolBarView.h"
|
||||
@interface FundProductInfoViewController : UIViewController<UITableViewDelegate,UITableViewDataSource>
|
||||
@property (weak, nonatomic) IBOutlet UITableView *tableView;
|
||||
@property (weak, nonatomic) IBOutlet ToolBarView *toolBarView;
|
||||
@property (strong, nonatomic) IBOutlet UITableViewCell *headCell;
|
||||
@property (strong, nonatomic) IBOutlet UITableViewCell *stateInfoCell;
|
||||
@property (strong, nonatomic) IBOutlet UITableViewCell *resultsCell;
|
||||
@property (strong, nonatomic) IBOutlet UITableViewCell *aboutCell;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,155 @@
|
||||
//
|
||||
// FundProductInfoViewController.m
|
||||
// ManagerDemo
|
||||
//
|
||||
// Created by xmfish on 14-8-27.
|
||||
// Copyright (c) 2014年 ash. All rights reserved.
|
||||
//
|
||||
|
||||
#import "FundProductInfoViewController.h"
|
||||
|
||||
@interface FundProductInfoViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation FundProductInfoViewController
|
||||
|
||||
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
|
||||
{
|
||||
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
||||
if (self) {
|
||||
// Custom initialization
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view from its nib.
|
||||
|
||||
_tableView.delegate = self;
|
||||
_tableView.dataSource = self;
|
||||
_tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
|
||||
|
||||
}
|
||||
|
||||
-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
-(UIView*)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
|
||||
{
|
||||
UIView* view = [ManagerUtil lineWithColor:Touch_BackGroudColor withAlpha:1.0 withFrame:CGRectMake(0, 0, 320, 30)];
|
||||
UILabel* label = [[UILabel alloc] initWithFrame:CGRectMake(15, 0, view.frame.size.width-10, view.frame.size.height)];
|
||||
label.font = [UIFont systemFontOfSize:13];
|
||||
switch (section) {
|
||||
case 0:
|
||||
return nil;
|
||||
break;
|
||||
case 1:
|
||||
label.text = @"申购情况";
|
||||
break;
|
||||
case 2:
|
||||
label.text = @"业绩";
|
||||
break;
|
||||
case 3:
|
||||
label.text = @"关于";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
[view addSubview:label];
|
||||
return view;
|
||||
}
|
||||
-(UIView*)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section
|
||||
{
|
||||
UIView* view = [ManagerUtil lineWithColor:Touch_BackGroudColor withAlpha:1.0 withFrame:CGRectMake(0, 0, 320, 1)];
|
||||
return view;
|
||||
}
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
|
||||
{
|
||||
if (section == 0) {
|
||||
return 1.0;
|
||||
}
|
||||
return 30.0;
|
||||
}
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section
|
||||
{
|
||||
return 1.0;
|
||||
}
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
CGFloat height = 0.0;
|
||||
switch (indexPath.section) {
|
||||
case 0:
|
||||
{
|
||||
height = _headCell.frame.size.height;
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
{
|
||||
height = _stateInfoCell.frame.size.height;
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
{
|
||||
height = _resultsCell.frame.size.height;
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
{
|
||||
height = _aboutCell.frame.size.height;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
height = 0.0;
|
||||
break;
|
||||
}
|
||||
return height;
|
||||
}
|
||||
-(UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
|
||||
UITableViewCell* cell;
|
||||
switch (indexPath.section) {
|
||||
case 0:
|
||||
{
|
||||
cell = _headCell;
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
{
|
||||
cell = _stateInfoCell;
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
{
|
||||
cell = _resultsCell;
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
{
|
||||
cell = _aboutCell;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
{
|
||||
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:nil];
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
return cell;
|
||||
}
|
||||
- (void)didReceiveMemoryWarning
|
||||
{
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,200 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="5056" systemVersion="13E28" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="FundProductInfoViewController">
|
||||
<connections>
|
||||
<outlet property="aboutCell" destination="rZx-la-t9d" id="XZO-JF-oay"/>
|
||||
<outlet property="headCell" destination="qdE-RM-OZc" id="tTv-hZ-wu4"/>
|
||||
<outlet property="resultsCell" destination="Dsm-ZB-WFk" id="hbl-GR-ckM"/>
|
||||
<outlet property="stateInfoCell" destination="xov-P4-9jT" id="Uhw-wB-zHL"/>
|
||||
<outlet property="tableView" destination="ciS-rs-KfU" id="H95-2T-aWr"/>
|
||||
<outlet property="toolBarView" destination="UNJ-f6-5he" id="1bt-SR-GRa"/>
|
||||
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
|
||||
</connections>
|
||||
</placeholder>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="grouped" separatorStyle="default" allowsSelection="NO" rowHeight="44" sectionHeaderHeight="10" sectionFooterHeight="10" id="ciS-rs-KfU">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="524"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</tableView>
|
||||
<view contentMode="scaleToFill" id="UNJ-f6-5he" customClass="ToolBarView">
|
||||
<rect key="frame" x="0.0" y="524" width="320" height="44"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
|
||||
<simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
|
||||
</view>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="190" id="qdE-RM-OZc">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="190"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="qdE-RM-OZc" id="Wsp-oy-S4j">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="189"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" id="GTM-EO-LYx" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="6" width="320" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="起购金额" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="JvP-6w-iln">
|
||||
<rect key="frame" x="10" y="38" width="148" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="七日年化收益" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="geg-nD-N5T">
|
||||
<rect key="frame" x="218" y="38" width="92" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="万份收益(元)" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="6fC-3T-whE">
|
||||
<rect key="frame" x="218" y="93" width="92" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="qnE-Pf-9l4">
|
||||
<rect key="frame" x="10" y="58" width="133" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="18"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="4.19%" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="WKf-nx-WBh">
|
||||
<rect key="frame" x="177" y="58" width="133" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="18"/>
|
||||
<color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="申购人数(人)" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="mse-U8-QNg">
|
||||
<rect key="frame" x="10" y="93" width="148" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="65535" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="ftw-tg-h0G">
|
||||
<rect key="frame" x="10" y="122" width="108" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="18"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1.1138" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="EPa-1t-dIL">
|
||||
<rect key="frame" x="202" y="122" width="108" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="18"/>
|
||||
<color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<view contentMode="scaleToFill" id="ZNb-ff-OEz" customClass="DTAttributedLabel">
|
||||
<rect key="frame" x="10" y="146" width="141" height="23"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="额外0.1%积分奖励" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="DTt-Ll-Jia">
|
||||
<rect key="frame" x="202" y="151" width="108" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="11"/>
|
||||
<color key="textColor" red="0.94664779970000001" green="0.21506300749999999" blue="0.1431705727" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="135" id="xov-P4-9jT">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="134"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="xov-P4-9jT" id="bQz-uP-uQD">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="133"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" id="31H-kM-2WE" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" id="54C-64-e5O" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="30" width="320" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" id="Kcj-yZ-GFL" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="60" width="320" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" id="gGl-Cb-G1U" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="90" width="320" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
</subviews>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="87" id="Dsm-ZB-WFk">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="80"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Dsm-ZB-WFk" id="MaJ-Xu-0vs">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="79"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" id="IJe-rL-2kq" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="10" width="320" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" id="itd-zg-VOq" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="40" width="320" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="44" id="rZx-la-t9d">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="150"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="rZx-la-t9d" id="32m-1a-TOE">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="149"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" id="X3i-Hj-m6L" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="10" width="320" height="40"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" id="FoB-Dr-HcK" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="50" width="320" height="40"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" text="Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, " selectable="NO" id="RKS-9M-K1N">
|
||||
<rect key="frame" x="10" y="100" width="300" height="40"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
<color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
|
||||
</textView>
|
||||
</subviews>
|
||||
</tableViewCellContentView>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// OtherProductInfoViewController.h
|
||||
// ManagerDemo
|
||||
//
|
||||
// Created by xmfish on 14-8-28.
|
||||
// Copyright (c) 2014年 ash. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "ToolBarView.h"
|
||||
@interface OtherProductInfoViewController : UIViewController<UITableViewDelegate, UITableViewDataSource>
|
||||
@property (weak, nonatomic) IBOutlet UITableView *tableView;
|
||||
@property (weak, nonatomic) IBOutlet ToolBarView *toolBarView;
|
||||
@property (strong, nonatomic) IBOutlet UITableViewCell *headCell;
|
||||
@property (strong, nonatomic) IBOutlet UITableViewCell *stateInfoCell;
|
||||
@property (strong, nonatomic) IBOutlet UITableViewCell *resultsInfoCell;
|
||||
@property (strong, nonatomic) IBOutlet UITableViewCell *aboutCell;
|
||||
@property (strong, nonatomic) IBOutlet UITableViewCell *securityInfoCell;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,167 @@
|
||||
//
|
||||
// OtherProductInfoViewController.m
|
||||
// ManagerDemo
|
||||
//
|
||||
// Created by xmfish on 14-8-28.
|
||||
// Copyright (c) 2014年 ash. All rights reserved.
|
||||
//
|
||||
|
||||
#import "OtherProductInfoViewController.h"
|
||||
|
||||
@interface OtherProductInfoViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation OtherProductInfoViewController
|
||||
|
||||
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
|
||||
{
|
||||
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
||||
if (self) {
|
||||
// Custom initialization
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view from its nib.
|
||||
|
||||
_tableView.delegate = self;
|
||||
_tableView.dataSource = self;
|
||||
_tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
|
||||
}
|
||||
-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
|
||||
{
|
||||
return 5;
|
||||
}
|
||||
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
-(UIView*)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
|
||||
{
|
||||
UIView* view = [ManagerUtil lineWithColor:Touch_BackGroudColor withAlpha:1.0 withFrame:CGRectMake(0, 0, 320, 30)];
|
||||
UILabel* label = [[UILabel alloc] initWithFrame:CGRectMake(15, 0, view.frame.size.width-10, view.frame.size.height)];
|
||||
label.font = [UIFont systemFontOfSize:13];
|
||||
switch (section) {
|
||||
case 0:
|
||||
return nil;
|
||||
break;
|
||||
case 1:
|
||||
label.text = @"申购情况";
|
||||
break;
|
||||
case 2:
|
||||
label.text = @"业绩";
|
||||
break;
|
||||
case 3:
|
||||
label.text = @"安全";
|
||||
break;
|
||||
case 4:
|
||||
label.text = @"关于";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
[view addSubview:label];
|
||||
return view;
|
||||
}
|
||||
-(UIView*)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section
|
||||
{
|
||||
UIView* view = [ManagerUtil lineWithColor:Touch_BackGroudColor withAlpha:1.0 withFrame:CGRectMake(0, 0, 320, 1)];
|
||||
return view;
|
||||
}
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
|
||||
{
|
||||
if (section == 0) {
|
||||
return 1.0;
|
||||
}
|
||||
return 30.0;
|
||||
}
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section
|
||||
{
|
||||
return 1.0;
|
||||
}
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
CGFloat height = 0.0;
|
||||
switch (indexPath.section) {
|
||||
case 0:
|
||||
{
|
||||
height = _headCell.frame.size.height;
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
{
|
||||
height = _stateInfoCell.frame.size.height;
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
{
|
||||
height = _resultsInfoCell.frame.size.height;
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
{
|
||||
height = _securityInfoCell.frame.size.height;
|
||||
}
|
||||
break;
|
||||
case 4:
|
||||
{
|
||||
height = _aboutCell.frame.size.height;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
height = 0.0;
|
||||
break;
|
||||
}
|
||||
return height;
|
||||
}
|
||||
-(UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
|
||||
UITableViewCell* cell;
|
||||
switch (indexPath.section) {
|
||||
case 0:
|
||||
{
|
||||
cell = _headCell;
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
{
|
||||
cell = _stateInfoCell;
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
{
|
||||
cell = _resultsInfoCell;
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
{
|
||||
cell = _securityInfoCell;
|
||||
}
|
||||
break;
|
||||
case 4:
|
||||
{
|
||||
cell = _aboutCell;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
{
|
||||
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:nil];
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
return cell;
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning
|
||||
{
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,256 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="5056" systemVersion="13E28" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="OtherProductInfoViewController">
|
||||
<connections>
|
||||
<outlet property="aboutCell" destination="sb6-FA-FXU" id="RZi-LA-XDx"/>
|
||||
<outlet property="headCell" destination="cqo-g6-6UO" id="yAP-e2-NqZ"/>
|
||||
<outlet property="resultsInfoCell" destination="LPW-qe-4nd" id="YRx-Mc-DyT"/>
|
||||
<outlet property="securityInfoCell" destination="Fx7-LD-Ls9" id="iOz-Ci-B3e"/>
|
||||
<outlet property="stateInfoCell" destination="dYB-OL-evG" id="cam-fO-TSc"/>
|
||||
<outlet property="tableView" destination="dCD-wl-xxA" id="VZK-U9-wl6"/>
|
||||
<outlet property="toolBarView" destination="mMc-o4-dub" id="era-OA-iXE"/>
|
||||
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
|
||||
</connections>
|
||||
</placeholder>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="10" sectionFooterHeight="10" id="dCD-wl-xxA">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="524"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
|
||||
</tableView>
|
||||
<view contentMode="scaleToFill" id="mMc-o4-dub" customClass="ToolBarView">
|
||||
<rect key="frame" x="0.0" y="524" width="320" height="44"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
|
||||
<simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
|
||||
</view>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="194" id="cqo-g6-6UO">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="194"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="cqo-g6-6UO" id="JC8-Mp-pvw">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="193"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" id="iSL-zU-1Vv" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="6" width="320" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="起购金额" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Wyz-PO-dfy">
|
||||
<rect key="frame" x="10" y="38" width="148" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="七日年化收益" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="hmZ-ZD-MPc">
|
||||
<rect key="frame" x="218" y="38" width="92" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="万份收益(元)" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="7N5-j8-hYv">
|
||||
<rect key="frame" x="218" y="93" width="92" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="HWD-AP-bkr">
|
||||
<rect key="frame" x="10" y="58" width="133" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="18"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="4.19%" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="VEt-tx-Q3a">
|
||||
<rect key="frame" x="177" y="58" width="133" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="18"/>
|
||||
<color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="申购人数(人)" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="8L5-8q-rOy">
|
||||
<rect key="frame" x="10" y="93" width="148" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="65535" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="khL-Gn-Kmj">
|
||||
<rect key="frame" x="10" y="122" width="108" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="18"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1.1138" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="kOI-2S-r8h">
|
||||
<rect key="frame" x="202" y="122" width="108" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="18"/>
|
||||
<color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<view contentMode="scaleToFill" id="odO-OA-Y6B" customClass="DTAttributedLabel">
|
||||
<rect key="frame" x="10" y="146" width="141" height="23"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="额外0.1%积分奖励" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="nfS-ix-4Zj">
|
||||
<rect key="frame" x="202" y="151" width="108" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="11"/>
|
||||
<color key="textColor" red="0.94664779970000001" green="0.21506300749999999" blue="0.1431705727" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="申购成功,次日即可获得收益" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Rzx-ed-6y9">
|
||||
<rect key="frame" x="110" y="175" width="200" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<imageView userInteractionEnabled="NO" alpha="0.5" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" id="ICe-oh-tQH">
|
||||
<rect key="frame" x="10" y="173" width="300" height="1"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="135" id="dYB-OL-evG">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="134"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="dYB-OL-evG" id="Pgz-LH-3fl">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="133"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" id="xOu-Nv-Uid" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" id="G1a-cn-Jia" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="30" width="320" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" id="gaD-OC-1Pe" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="60" width="320" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" id="RY6-6A-lrL" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="90" width="320" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
</subviews>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="87" id="LPW-qe-4nd">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="80"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="LPW-qe-4nd" id="Da2-tg-Zcg">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="79"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" id="49q-1j-4cW" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="10" width="320" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" id="qzn-Gb-CTW" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="40" width="320" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="44" id="sb6-FA-FXU">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="150"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="sb6-FA-FXU" id="fi3-yx-P6M">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="149"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" id="BHL-vM-qNk" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="10" width="320" height="40"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" id="why-M6-2VU" customClass="TableCellLineView">
|
||||
<rect key="frame" x="0.0" y="50" width="320" height="40"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" text="Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, " selectable="NO" id="W63-mL-fKE">
|
||||
<rect key="frame" x="10" y="100" width="300" height="40"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
<color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
|
||||
</textView>
|
||||
</subviews>
|
||||
</tableViewCellContentView>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</tableViewCell>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="Fx7-LD-Ls9">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="140"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Fx7-LD-Ls9" id="k8F-bh-GRo">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="139"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="监管安全" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="pzU-J3-JVG">
|
||||
<rect key="frame" x="10" y="27" width="70" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<color key="textColor" red="0.56790098850000004" green="0.12901788240000001" blue="0.085889081199999995" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="公司安全" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="ScF-w3-wsW">
|
||||
<rect key="frame" x="10" y="88" width="70" height="21"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<color key="textColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<imageView userInteractionEnabled="NO" alpha="0.5" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" id="azN-0m-bGJ">
|
||||
<rect key="frame" x="10" y="67" width="300" height="1"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</imageView>
|
||||
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" text="放心购买,每单进行责任金备付安全无忧,每单缴纳保障基金" selectable="NO" id="b5N-bW-0Ce">
|
||||
<rect key="frame" x="96" y="9" width="204" height="50"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
<fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="12"/>
|
||||
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
|
||||
</textView>
|
||||
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" text="放心购买,每单进行责任金备付安全无忧,每单缴纳保障基金" selectable="NO" id="Z4T-VA-iEb">
|
||||
<rect key="frame" x="96" y="76" width="204" height="47"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
|
||||
</textView>
|
||||
</subviews>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// TableCellLineView.h
|
||||
// ManagerDemo
|
||||
//
|
||||
// Created by xmfish on 14-8-28.
|
||||
// Copyright (c) 2014年 ash. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface TableCellLineView : UIView
|
||||
{
|
||||
UILabel* _leftTitleLabel;
|
||||
UILabel* _leftInfoLabel;
|
||||
UILabel* _rightTitleLabel;
|
||||
UILabel* _rightInfoLabel;
|
||||
}
|
||||
|
||||
@property(strong, nonatomic)UILabel* leftTitleLabel;
|
||||
@property(strong, nonatomic)UILabel* leftInfoLabel;
|
||||
@property(strong, nonatomic)UILabel* rightTitleLabel;
|
||||
@property(strong, nonatomic)UILabel* rightInfoLabel;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,61 @@
|
||||
//
|
||||
// TableCellLineView.m
|
||||
// ManagerDemo
|
||||
//
|
||||
// Created by xmfish on 14-8-28.
|
||||
// Copyright (c) 2014年 ash. All rights reserved.
|
||||
//
|
||||
|
||||
#import "TableCellLineView.h"
|
||||
|
||||
@implementation TableCellLineView
|
||||
|
||||
- (id)initWithFrame:(CGRect)frame
|
||||
{
|
||||
self = [super initWithFrame:frame];
|
||||
if (self) {
|
||||
// Initialization code
|
||||
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
// Only override drawRect: if you perform custom drawing.
|
||||
// An empty implementation adversely affects performance during animation.
|
||||
- (void)drawRect:(CGRect)rect
|
||||
{
|
||||
// Drawing code
|
||||
_leftTitleLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, self.bounds.size.height-20, 100, 20)];
|
||||
_leftTitleLabel.font = Font_Black(12);
|
||||
_leftTitleLabel.textColor = [UIColor lightGrayColor];
|
||||
_leftTitleLabel.text = @"左边名字";
|
||||
_leftTitleLabel.textAlignment = NSTextAlignmentLeft;
|
||||
[self addSubview:_leftTitleLabel];
|
||||
|
||||
_leftInfoLabel = [[UILabel alloc] initWithFrame:CGRectMake(40, self.bounds.size.height-20, 100, 20)];
|
||||
_leftInfoLabel.font = Font_Black(12);
|
||||
_leftInfoLabel.text = @"左边内容";
|
||||
_leftInfoLabel.textColor = [UIColor lightGrayColor];
|
||||
_leftInfoLabel.textAlignment = NSTextAlignmentRight;
|
||||
[self addSubview:_leftInfoLabel];
|
||||
|
||||
_rightTitleLabel = [[UILabel alloc] initWithFrame:CGRectMake(160, self.bounds.size.height-20, 100, 20)];
|
||||
_rightTitleLabel.font = Font_Black(12);
|
||||
_rightTitleLabel.textColor = [UIColor lightGrayColor];
|
||||
_rightTitleLabel.text = @"右边名字";
|
||||
_rightTitleLabel.textAlignment = NSTextAlignmentLeft;
|
||||
[self addSubview:_rightTitleLabel];
|
||||
|
||||
_rightInfoLabel = [[UILabel alloc] initWithFrame:CGRectMake(210, self.bounds.size.height-20, 100, 20)];
|
||||
_rightInfoLabel.font = Font_Black(12);
|
||||
_rightInfoLabel.textColor = [UIColor lightGrayColor];
|
||||
_rightInfoLabel.text = @"右边内容";
|
||||
_rightInfoLabel.textAlignment = NSTextAlignmentRight;
|
||||
[self addSubview:_rightInfoLabel];
|
||||
|
||||
[self addSubview:[ManagerUtil lineWithColor:Touch_BackGroudColor withAlpha:1.0 withFrame:CGRectMake(10, self.bounds.size.height-1, self.bounds.size.width-20, 1.0)]];
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// ToolBarView.h
|
||||
// ManagerDemo
|
||||
//
|
||||
// Created by xmfish on 14-8-27.
|
||||
// Copyright (c) 2014年 ash. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface ToolBarView : UIView
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,58 @@
|
||||
//
|
||||
// ToolBarView.m
|
||||
// ManagerDemo
|
||||
//
|
||||
// Created by xmfish on 14-8-27.
|
||||
// Copyright (c) 2014年 ash. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ToolBarView.h"
|
||||
|
||||
@implementation ToolBarView
|
||||
|
||||
- (id)initWithFrame:(CGRect)frame
|
||||
{
|
||||
self = [super initWithFrame:frame];
|
||||
if (self) {
|
||||
// Initialization code
|
||||
}
|
||||
return self;
|
||||
}
|
||||
- (id)initWithCoder:(NSCoder*)coder
|
||||
{
|
||||
self = [super initWithCoder:coder];
|
||||
if (self) {
|
||||
// Initialization code
|
||||
}
|
||||
return self;
|
||||
}
|
||||
-(void)awakeFromNib
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Only override drawRect: if you perform custom drawing.
|
||||
// An empty implementation adversely affects performance during animation.
|
||||
- (void)drawRect:(CGRect)rect
|
||||
{
|
||||
// Drawing code
|
||||
|
||||
|
||||
//上边线
|
||||
UIView* topLine = [ManagerUtil lineWithColor:Touch_BackGroudColor withAlpha:1.0 withFrame:CGRectMake(0, 0, ScreenWidth, 1)];
|
||||
[self addSubview:topLine];
|
||||
//左边按钮
|
||||
UIButton* leftBtn = [UIButton buttonWithType:UIButtonTypeSystem];
|
||||
leftBtn.frame = CGRectMake(10, 7, 60, 30);
|
||||
leftBtn.backgroundColor = [UIColor redColor];
|
||||
[self addSubview:leftBtn];
|
||||
|
||||
//右边按钮
|
||||
UIButton* rightBtn = [UIButton buttonWithType:UIButtonTypeSystem];
|
||||
rightBtn.frame = CGRectMake(ScreenWidth-100, 7, 80, 30);
|
||||
rightBtn.backgroundColor = [UIColor redColor];
|
||||
[self addSubview:rightBtn];
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
@@ -7,8 +7,9 @@
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import "ToolBarView.h"
|
||||
@interface WYDProductViewController : UIViewController<UITableViewDataSource, UITableViewDelegate>
|
||||
@property (weak, nonatomic) IBOutlet UITableView *tableView;
|
||||
@property (weak, nonatomic) IBOutlet ToolBarView *toolBarView;
|
||||
|
||||
@end
|
||||
|
||||
@@ -33,6 +33,8 @@
|
||||
NSArray *nib=[[NSBundle mainBundle]loadNibNamed:@"WYDInfoHeadView" owner:self options:nil];
|
||||
WYDInfoHeadView* wydInfoHedaView = (WYDInfoHeadView*)[nib objectAtIndex:0];
|
||||
_tableView.tableHeaderView = wydInfoHedaView;
|
||||
|
||||
|
||||
}
|
||||
|
||||
#pragma mark UITableViewDelegate
|
||||
@@ -134,7 +136,8 @@
|
||||
}
|
||||
-(UIView*)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section
|
||||
{
|
||||
return nil;
|
||||
UIView* view = [ManagerUtil lineWithColor:Touch_BackGroudColor withAlpha:1.0 withFrame:CGRectMake(0, 0, 320, 1)];
|
||||
return view;
|
||||
}
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
|
||||
{
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="WYDProductViewController">
|
||||
<connections>
|
||||
<outlet property="tableView" destination="rA7-5n-YqE" id="s38-y2-wXM"/>
|
||||
<outlet property="toolBarView" destination="n8M-Tb-ssV" id="Wu8-UO-wHX"/>
|
||||
<outlet property="view" destination="1" id="3"/>
|
||||
</connections>
|
||||
</placeholder>
|
||||
@@ -21,29 +22,9 @@
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<color key="sectionIndexBackgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</tableView>
|
||||
<view contentMode="scaleToFill" id="n8M-Tb-ssV">
|
||||
<view contentMode="scaleToFill" id="n8M-Tb-ssV" customClass="ToolBarView">
|
||||
<rect key="frame" x="0.0" y="524" width="320" height="44"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" id="DI1-fp-5jk">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="1"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="0HP-LV-HVj">
|
||||
<rect key="frame" x="20" y="0.0" width="80" height="44"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<state key="normal" title="Button">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</state>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="AQB-DV-9eI">
|
||||
<rect key="frame" x="194" y="7" width="119" height="30"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" red="0.94664779970000001" green="0.21506300749999999" blue="0.1431705727" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<state key="normal" title="Button"/>
|
||||
</button>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
</subviews>
|
||||
|
||||
@@ -69,7 +69,6 @@
|
||||
if ([[jsonRes objectForKey:@"succ"] integerValue] != 1) {
|
||||
[MBProgressHUD errorHudWithView:nil label:[jsonRes objectForKey:@"err_msg"] hidesAfter:1.0];
|
||||
}else{
|
||||
|
||||
}
|
||||
[self.tableView reloadData];
|
||||
[self.tableView headerEndRefreshing];
|
||||
@@ -129,9 +128,9 @@
|
||||
}
|
||||
break;
|
||||
case 1:{
|
||||
NSArray *nib=[[NSBundle mainBundle]loadNibNamed:@"HomeMainView" owner:self options:nil];
|
||||
|
||||
|
||||
homeMainView = (HomeMainView*)[nib objectAtIndex:0];
|
||||
homeMainView = [HomeMainView instanceHomeMainView];
|
||||
CGRect frame = homeMainView.frame;
|
||||
frame.origin.x = 20;
|
||||
homeMainView.frame = frame;
|
||||
|
||||
Reference in New Issue
Block a user