加入货币基金查看公司详情

This commit is contained in:
2014-09-24 17:59:59 +08:00
parent 4f91456d38
commit 57654df4d7
15 changed files with 324 additions and 18 deletions
+26
View File
@@ -118,6 +118,12 @@
A9A59E8419D299EA00D7DC4F /* tab_mine_p_bg@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A9A59E7C19D299EA00D7DC4F /* tab_mine_p_bg@2x.png */; };
A9A59E8519D299EA00D7DC4F /* tab_more_bg@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A9A59E7D19D299EA00D7DC4F /* tab_more_bg@2x.png */; };
A9A59E8619D299EA00D7DC4F /* tab_more_p_bg@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A9A59E7E19D299EA00D7DC4F /* tab_more_p_bg@2x.png */; };
A9A59E8A19D2BB2600D7DC4F /* ComPanyAboutViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9A59E8819D2BB2600D7DC4F /* ComPanyAboutViewController.m */; };
A9A59E8B19D2BB2600D7DC4F /* ComPanyAboutViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9A59E8919D2BB2600D7DC4F /* ComPanyAboutViewController.xib */; };
A9A59E8D19D2C40100D7DC4F /* hw@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A9A59E8C19D2C40100D7DC4F /* hw@2x.png */; };
A9A59E9119D2C4DE00D7DC4F /* fund_abount_icon_1@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A9A59E8E19D2C4DE00D7DC4F /* fund_abount_icon_1@2x.png */; };
A9A59E9219D2C4DE00D7DC4F /* fund_abount_icon_2@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A9A59E8F19D2C4DE00D7DC4F /* fund_abount_icon_2@2x.png */; };
A9A59E9319D2C4DE00D7DC4F /* fund_abount_icon_3@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A9A59E9019D2C4DE00D7DC4F /* fund_abount_icon_3@2x.png */; };
A9A6AD2F19CB1C7000626B48 /* MainOrderViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9A6AD2D19CB1C7000626B48 /* MainOrderViewController.m */; };
A9A6AD3019CB1C7000626B48 /* MainOrderViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9A6AD2E19CB1C7000626B48 /* MainOrderViewController.xib */; };
A9A6AD3419CB26FD00626B48 /* OrderPassWordViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = A9A6AD3219CB26FD00626B48 /* OrderPassWordViewController.mm */; };
@@ -403,6 +409,13 @@
A9A59E7C19D299EA00D7DC4F /* tab_mine_p_bg@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "tab_mine_p_bg@2x.png"; sourceTree = "<group>"; };
A9A59E7D19D299EA00D7DC4F /* tab_more_bg@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "tab_more_bg@2x.png"; sourceTree = "<group>"; };
A9A59E7E19D299EA00D7DC4F /* tab_more_p_bg@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "tab_more_p_bg@2x.png"; sourceTree = "<group>"; };
A9A59E8719D2BB2600D7DC4F /* ComPanyAboutViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ComPanyAboutViewController.h; sourceTree = "<group>"; };
A9A59E8819D2BB2600D7DC4F /* ComPanyAboutViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ComPanyAboutViewController.m; sourceTree = "<group>"; };
A9A59E8919D2BB2600D7DC4F /* ComPanyAboutViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ComPanyAboutViewController.xib; sourceTree = "<group>"; };
A9A59E8C19D2C40100D7DC4F /* hw@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "hw@2x.png"; sourceTree = "<group>"; };
A9A59E8E19D2C4DE00D7DC4F /* fund_abount_icon_1@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "fund_abount_icon_1@2x.png"; sourceTree = "<group>"; };
A9A59E8F19D2C4DE00D7DC4F /* fund_abount_icon_2@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "fund_abount_icon_2@2x.png"; sourceTree = "<group>"; };
A9A59E9019D2C4DE00D7DC4F /* fund_abount_icon_3@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "fund_abount_icon_3@2x.png"; sourceTree = "<group>"; };
A9A6AD2C19CB1C7000626B48 /* MainOrderViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainOrderViewController.h; sourceTree = "<group>"; };
A9A6AD2D19CB1C7000626B48 /* MainOrderViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MainOrderViewController.m; sourceTree = "<group>"; };
A9A6AD2E19CB1C7000626B48 /* MainOrderViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MainOrderViewController.xib; sourceTree = "<group>"; };
@@ -621,6 +634,9 @@
A970885F19D273E700F880C1 /* OtherCaculateViewController.h */,
A970886019D273E700F880C1 /* OtherCaculateViewController.m */,
A970886119D273E700F880C1 /* OtherCaculateViewController.xib */,
A9A59E8719D2BB2600D7DC4F /* ComPanyAboutViewController.h */,
A9A59E8819D2BB2600D7DC4F /* ComPanyAboutViewController.m */,
A9A59E8919D2BB2600D7DC4F /* ComPanyAboutViewController.xib */,
);
path = ProductView;
sourceTree = "<group>";
@@ -909,8 +925,12 @@
A99EBEBB19CBAFE3005E1AA0 /* Icon-114.png */,
A9D7A71B19C913A60029911F /* sale_blue_icon@2x.png */,
A95CEA3B19B7667400D4605F /* icon_success@2x.png */,
A9A59E8E19D2C4DE00D7DC4F /* fund_abount_icon_1@2x.png */,
A9A59E8F19D2C4DE00D7DC4F /* fund_abount_icon_2@2x.png */,
A9A59E9019D2C4DE00D7DC4F /* fund_abount_icon_3@2x.png */,
A9C2E4E419B6A0C900C659B3 /* icon_email@2x.png */,
A97F9D1C19B5931C0073E7E6 /* register_button_s@2x.png */,
A9A59E8C19D2C40100D7DC4F /* hw@2x.png */,
A97F9D1D19B5931C0073E7E6 /* register_button@2x.png */,
A97F9D1819B592FD0073E7E6 /* login_button_s@2x.png */,
A97F9D1919B592FD0073E7E6 /* login_button@2x.png */,
@@ -1220,6 +1240,7 @@
A986268B19B40AAC00FF9E2C /* SVWebViewController.bundle in Resources */,
A9AF6C731994B5890076C0EE /* icon_bar_share@2x.png in Resources */,
A97F9D1519B592E90073E7E6 /* get_ver_button_gry@2x.png in Resources */,
A9A59E9219D2C4DE00D7DC4F /* fund_abount_icon_2@2x.png in Resources */,
A95CEA3A19B755C000D4605F /* MessageCenterTableViewCell.xib in Resources */,
A9EAA04019985EDE001A872A /* HomeMainView.xib in Resources */,
A988A902199A755300EB10AA /* FundListCell.xib in Resources */,
@@ -1267,6 +1288,7 @@
A9EAA04E1998787B001A872A /* hk_home_center__cycle@2x.png in Resources */,
A9EAA0501998787B001A872A /* hk_home_center_cover@2x.png in Resources */,
A9C0540619ADBCB2002331A5 /* FundProductInfoViewController.xib in Resources */,
A9A59E9319D2C4DE00D7DC4F /* fund_abount_icon_3@2x.png in Resources */,
A9AF6C6719949CD30076C0EE /* icon_dock_session_actived@2x.png in Resources */,
A9202B8819C95B97009932C2 /* ProFitCaculateViewController.xib in Resources */,
A9EC95BB19B54FDB00681678 /* textField_cancel_ios7_s.png in Resources */,
@@ -1278,6 +1300,7 @@
A93F87821999BB1D00875287 /* red_line_and_shadow@2x.png in Resources */,
A9A59E8619D299EA00D7DC4F /* tab_more_p_bg@2x.png in Resources */,
A91C6D4019AB8E9C00AEBF4D /* p2c_alert@2x.png in Resources */,
A9A59E8D19D2C40100D7DC4F /* hw@2x.png in Resources */,
A9A59E8319D299EA00D7DC4F /* tab_mine_bg@2x.png in Resources */,
A904E4AB19BEF18A0014F694 /* about_logo@2x.png in Resources */,
A9AF6C6019949CD30076C0EE /* icon_dock_mine_actived@2x.png in Resources */,
@@ -1290,6 +1313,7 @@
A9AF6C6419949CD30076C0EE /* icon_dock_service_actived@2x.png in Resources */,
A904E4A719BEF11F0014F694 /* AboutViewController.xib in Resources */,
A9A59E7619D299DE00D7DC4F /* sale_red_icon@2x.png in Resources */,
A9A59E8B19D2BB2600D7DC4F /* ComPanyAboutViewController.xib in Resources */,
A9E76DD719AB378A00C0D232 /* hk_home_icon3@2x.png in Resources */,
A9AF6C791994B5890076C0EE /* tabbarShadowImage@2x.png in Resources */,
A9A59E7519D299DE00D7DC4F /* sale_gray_icon@2x.png in Resources */,
@@ -1334,6 +1358,7 @@
A9C69455199BD14D00B2CECE /* more_icon_7@2x.png in Resources */,
A9EAA04F1998787B001A872A /* hk_home_center_bg@2x.png in Resources */,
A9EE5EE819C20CDA004E7A2C /* WYDAmountTableViewCell.xib in Resources */,
A9A59E9119D2C4DE00D7DC4F /* fund_abount_icon_1@2x.png in Resources */,
A9AF6C6319949CD30076C0EE /* icon_dock_rt@2x.png in Resources */,
A9354F5D19B870C700FDCB52 /* BaseListViewController.xib in Resources */,
A93320C319BFE8090090D640 /* MyTotalAmountViewController.xib in Resources */,
@@ -1439,6 +1464,7 @@
A9AA326119970335000BE4FB /* ImagePlayerView.m in Sources */,
A93320C719C0227F0090D640 /* MyHoldAmountViewController.m in Sources */,
A99EBEAE19CB9E8A005E1AA0 /* TransactionRecordsTableViewCell.m in Sources */,
A9A59E8A19D2BB2600D7DC4F /* ComPanyAboutViewController.m in Sources */,
A9971D7919B8C39C0079F143 /* DatailProfitTopTableViewCell.m in Sources */,
A9AF6C0319947DD00076C0EE /* ViewController.m in Sources */,
A90BEC01199DDA9E00230242 /* WYDProductViewController.m in Sources */,
@@ -0,0 +1,44 @@
//
// ComPanyAboutViewController.h
// ManagerDemo
//
// Created by xmfish on 14-9-24.
// Copyright (c) 2014年 ash. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ComPanyAboutViewController : UIViewController
{
NSString* _comPanyName;
NSString* _jjComPanyNameStr;
NSString* _xsComPanyNameStr;
NSString* _fundStateStr;
NSString* _fundTypeStr;
NSString* _detailInfo1;
NSString* _detailInfo2;
NSString* _detailInfo3;
NSString* _iconUrlStr;
}
@property (strong, nonatomic)NSString* comPanyName;
@property (strong, nonatomic)NSString* jjComPanyNameStr;
@property (strong, nonatomic)NSString* xsComPanyNameStr;
@property (strong, nonatomic)NSString* fundStateStr;
@property (strong, nonatomic)NSString* fundTypeStr;
@property (strong, nonatomic)NSString* detailInfo1;
@property (strong, nonatomic)NSString* detailInfo2;
@property (strong, nonatomic)NSString* detailInfo3;
@property (strong, nonatomic)NSString* iconUrlStr;
@property (weak, nonatomic) IBOutlet UITableView *tableView;
@property (strong, nonatomic) IBOutlet UIView *headView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *jjComPanyName;
@property (weak, nonatomic) IBOutlet UILabel *xsComPanyName;
@property (weak, nonatomic) IBOutlet UILabel *fundState;
@property (weak, nonatomic) IBOutlet UILabel *fundType;
@property (weak, nonatomic) IBOutlet UILabel *infoLabel1;
@property (weak, nonatomic) IBOutlet UILabel *infoLabel2;
@property (weak, nonatomic) IBOutlet UILabel *infoLabel3;
@property (weak, nonatomic) IBOutlet UIImageView *comPanyIcon;
@end
@@ -0,0 +1,52 @@
//
// ComPanyAboutViewController.m
// ManagerDemo
//
// Created by xmfish on 14-9-24.
// Copyright (c) 2014年 ash. All rights reserved.
//
#import "ComPanyAboutViewController.h"
@interface ComPanyAboutViewController ()
@end
@implementation ComPanyAboutViewController
- (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.
self.navigationItem.title = @"关于";
_tableView.tableHeaderView = _headView;
[self initData];
}
-(void)initData
{
self.nameLabel.text = _comPanyName;
self.jjComPanyName.text = _jjComPanyNameStr;
self.xsComPanyName.text = _xsComPanyNameStr;
self.fundState.text = _fundStateStr;
self.fundType.text = _fundTypeStr;
self.infoLabel1.text = _detailInfo1;
self.infoLabel2.text = _detailInfo2;
self.infoLabel3.text = _detailInfo3;
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end
@@ -0,0 +1,152 @@
<?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" useAutolayout="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="ComPanyAboutViewController">
<connections>
<outlet property="comPanyIcon" destination="Y2Z-vZ-7Um" id="xwl-94-jWL"/>
<outlet property="fundState" destination="Cyc-9F-hBV" id="R2D-kU-Lnr"/>
<outlet property="fundType" destination="4eg-tb-nLr" id="rMQ-Pf-ZbZ"/>
<outlet property="headView" destination="1KX-6Q-NDu" id="C4p-ND-xyo"/>
<outlet property="infoLabel1" destination="9Z5-Lx-35c" id="0QA-lj-V01"/>
<outlet property="infoLabel2" destination="mRG-1E-Nhk" id="lwx-at-a2s"/>
<outlet property="infoLabel3" destination="jOl-qd-FH8" id="H2I-kf-kkA"/>
<outlet property="jjComPanyName" destination="xVI-l3-6OG" id="Gec-HU-r2J"/>
<outlet property="nameLabel" destination="Fed-w0-P3D" id="Lz5-SP-zC5"/>
<outlet property="tableView" destination="xTA-t1-XcJ" id="ntC-V7-bo6"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
<outlet property="xsComPanyName" destination="G9E-ko-Wgk" id="NSI-DR-9ba"/>
</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" fixedFrame="YES" alwaysBounceVertical="YES" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="10" sectionFooterHeight="10" translatesAutoresizingMaskIntoConstraints="NO" id="xTA-t1-XcJ">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
</tableView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
<simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
</view>
<view contentMode="scaleToFill" id="1KX-6Q-NDu">
<rect key="frame" x="0.0" y="0.0" width="320" height="394"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Fed-w0-P3D">
<rect key="frame" x="8" y="28" width="302" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="HzX-UB-RGq" customClass="DottedLineView">
<rect key="frame" x="20" y="57" width="280" height="1"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="bLK-9G-ATV" customClass="DottedLineView">
<rect key="frame" x="20" y="185" width="280" height="1"/>
<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" fixedFrame="YES" text="基金公司:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1Z9-zu-7Wo">
<rect key="frame" x="36" y="78" width="52" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="销售公司:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WUG-pJ-ef1">
<rect key="frame" x="36" y="98" width="52" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="基金规模:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7Ys-oB-54z">
<rect key="frame" x="36" y="119" width="52" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="基金类型:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0UL-Vv-YSd">
<rect key="frame" x="36" y="141" width="52" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xVI-l3-6OG">
<rect key="frame" x="104" y="78" width="111" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="G9E-ko-Wgk">
<rect key="frame" x="104" y="98" width="111" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cyc-9F-hBV">
<rect key="frame" x="104" y="119" width="124" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4eg-tb-nLr">
<rect key="frame" x="104" y="141" width="111" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="hw.png" translatesAutoresizingMaskIntoConstraints="NO" id="Y2Z-vZ-7Um">
<rect key="frame" x="185" y="107" width="125" height="50"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="fund_abount_icon_1.png" translatesAutoresizingMaskIntoConstraints="NO" id="UR3-vf-Tkk">
<rect key="frame" x="28" y="205" width="20" height="20"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="fund_abount_icon_2.png" translatesAutoresizingMaskIntoConstraints="NO" id="ePX-1u-dWh">
<rect key="frame" x="28" y="280" width="20" height="20"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="fund_abount_icon_3.png" translatesAutoresizingMaskIntoConstraints="NO" id="FVU-ZP-Co6">
<rect key="frame" x="28" y="355" width="20" height="20"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</imageView>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="227" translatesAutoresizingMaskIntoConstraints="NO" id="9Z5-Lx-35c">
<rect key="frame" x="73" y="195" width="227" height="47"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="227" translatesAutoresizingMaskIntoConstraints="NO" id="mRG-1E-Nhk">
<rect key="frame" x="73" y="270" width="227" height="47"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="227" translatesAutoresizingMaskIntoConstraints="NO" id="jOl-qd-FH8">
<rect key="frame" x="73" y="345" width="227" height="47"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
</view>
</objects>
<resources>
<image name="fund_abount_icon_1.png" width="20" height="20"/>
<image name="fund_abount_icon_2.png" width="20" height="20"/>
<image name="fund_abount_icon_3.png" width="20" height="20"/>
<image name="hw.png" width="125" height="50"/>
</resources>
</document>
@@ -9,6 +9,7 @@
#import "FundProductInfoViewController.h"
#import "MJRefresh.h"
#import "FundCaculateViewController.h"
#import "ComPanyAboutViewController.h"
#import "MainOrderViewController.h"
@interface FundProductInfoViewController ()
{
@@ -32,10 +33,10 @@
[super viewDidLoad];
// Do any additional setup after loading the view from its nib.
_tableView.delegate = self;
_tableView.dataSource = self;
self.tableView.delegate = self;
self.tableView.dataSource = self;
_tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
_tableView.userInteractionEnabled = YES;
_toolBarView.delegate = self;
//加入刷新
[self.tableView addHeaderWithTarget:self action:@selector(headerRereshing)];
@@ -164,7 +165,7 @@
}else{
return 0;
}
return 0;
return 4;
}
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
@@ -276,6 +277,24 @@
}
return cell;
}
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
[tableView deselectRowAtIndexPath:indexPath animated:NO];
if (indexPath.section == 4) {
ComPanyAboutViewController* comPanyAboutViewController = [[ComPanyAboutViewController alloc] init];
comPanyAboutViewController.hidesBottomBarWhenPushed = YES;
comPanyAboutViewController.comPanyName = [[_infoDic objectForKeyWithoutNull:@"proInfo"] objectForKeyWithoutNull:@"proName"];
comPanyAboutViewController.jjComPanyNameStr = [[_infoDic objectForKeyWithoutNull:@"fundcomp"] objectForKeyWithoutNull:@"comName"];
comPanyAboutViewController.xsComPanyNameStr = [[_infoDic objectForKeyWithoutNull:@"fundcomp"] objectForKeyWithoutNull:@"saleComName"];
comPanyAboutViewController.fundStateStr = [NSString stringWithFormat:@"%.2f 亿",[[[_infoDic objectForKeyWithoutNull:@"fundcomp"] objectForKeyWithoutNull:@"fundScale"] floatValue]/100000000.0];
comPanyAboutViewController.fundTypeStr = @"货币型";
comPanyAboutViewController.detailInfo1 = [[_infoDic objectForKeyWithoutNull:@"fundcomp"] objectForKeyWithoutNull:@"detailDesc1"];
comPanyAboutViewController.detailInfo2 = [[_infoDic objectForKeyWithoutNull:@"fundcomp"] objectForKeyWithoutNull:@"detailDesc2"];
comPanyAboutViewController.detailInfo3 = [[_infoDic objectForKeyWithoutNull:@"fundcomp"] objectForKeyWithoutNull:@"detailDesc3"];
[self.navigationController pushViewController:comPanyAboutViewController animated:YES];
}
}
#pragma mark ToolBarViewDelegate
-(void)caculateProfit
{
@@ -36,7 +36,7 @@
<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">
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="grouped" separatorStyle="default" 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"/>
@@ -51,7 +51,7 @@
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
<simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
</view>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="190" id="qdE-RM-OZc">
<tableViewCell contentMode="scaleToFill" selectionStyle="none" 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">
@@ -132,7 +132,7 @@
</subviews>
</tableViewCellContentView>
</tableViewCell>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="135" id="xov-P4-9jT">
<tableViewCell contentMode="scaleToFill" selectionStyle="none" 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">
@@ -163,10 +163,10 @@
</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"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="90"/>
<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"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="89"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" id="IJe-rL-2kq" customClass="TableCellLineView">
@@ -179,6 +179,10 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="red_select_arrow.png" id="4Hv-MN-Z62">
<rect key="frame" x="300" y="74" width="12" height="12"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</imageView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</tableViewCellContentView>
@@ -200,7 +204,7 @@
<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" scrollEnabled="NO" editable="NO" selectable="NO" id="RKS-9M-K1N">
<textView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" scrollEnabled="NO" editable="NO" 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"/>
@@ -208,9 +212,16 @@
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
</textView>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="red_select_arrow.png" id="off-Bh-fAk">
<rect key="frame" x="300" y="133" width="12" height="12"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</imageView>
</subviews>
</tableViewCellContentView>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</tableViewCell>
</objects>
<resources>
<image name="red_select_arrow.png" width="12" height="12"/>
</resources>
</document>
@@ -258,9 +258,9 @@
break;
}
cell.selectionStyle = UITableViewCellSelectionStyleNone;
return cell;
}
#pragma mark ToolBarViewDelegate
-(void)caculateProfit
{
@@ -50,7 +50,7 @@
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
<simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
</view>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="194" id="cqo-g6-6UO">
<tableViewCell contentMode="scaleToFill" selectionStyle="none" 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">
@@ -143,7 +143,7 @@
</subviews>
</tableViewCellContentView>
</tableViewCell>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="135" id="dYB-OL-evG">
<tableViewCell contentMode="scaleToFill" selectionStyle="none" 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">
@@ -38,13 +38,14 @@
[ManagerUtil SetSubViewExternNone:self];
_tableView.delegate = self;
_tableView.dataSource = self;
_tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
_tableView.separatorStyle = UITableViewCellSeparatorStyleSingleLine;
NSArray *nib=[[NSBundle mainBundle]loadNibNamed:@"WYDInfoHeadView" owner:self options:nil];
_wydInfoHedaView = (WYDInfoHeadView*)[nib objectAtIndex:0];
_tableView.tableHeaderView = _wydInfoHedaView;
_wydInfoHedaView.hidden = YES;
_toolBarView.delegate = self;
_toolBarView.hidden = YES;
//加入刷新
[self.tableView addHeaderWithTarget:self action:@selector(headerRereshing)];
@@ -69,6 +70,7 @@
}
self.navigationItem.title = [[jsonRes objectForKey:@"proInfo"] objectForKey:@"proName"];
[self.tableView reloadData];
_toolBarView.hidden = NO;
_wydInfoHedaView.hidden = NO;
}else{
@@ -133,7 +135,7 @@
}
-(UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
NSString* cellIDentifier = [NSString stringWithFormat:@"CellIDentifier%ld-%d",indexPath.section,indexPath.row];
NSString* cellIDentifier = [NSString stringWithFormat:@"CellIDentifier%ld-%ld",indexPath.section,indexPath.row];
DTAttributedTextCell* cell = [tableView dequeueReusableCellWithIdentifier:cellIDentifier];
if (!cell) {
cell = [[DTAttributedTextCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:cellIDentifier];
@@ -172,7 +174,7 @@
}
-(UIView*)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section
{
UIView* view = [ManagerUtil lineWithColor:[UIColor clearColor] withAlpha:1.0 withFrame:CGRectMake(0, 0, 320, 1)];
UIView* view = [ManagerUtil lineWithColor:Touch_BackGroudColor withAlpha:1.0 withFrame:CGRectMake(0, 0, 320, 1)];
return view;
}
-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
@@ -16,10 +16,10 @@
<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="1" id="rA7-5n-YqE">
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="10" sectionFooterHeight="10" id="rA7-5n-YqE">
<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"/>
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
<color key="sectionIndexBackgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</tableView>
<view contentMode="scaleToFill" id="n8M-Tb-ssV" customClass="ToolBarView">
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 924 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB