Commit 18697307 authored by Sandy's avatar Sandy

订单详情界面

parent c2758b36
......@@ -49,14 +49,14 @@
1979754A1CAA4DB900407E3F /* CommodityMutipleSelectBottomView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 197975491CAA4DB900407E3F /* CommodityMutipleSelectBottomView.xib */; };
1979754D1CAB6E1300407E3F /* JavenMultipleViewWithHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = 1979754C1CAB6E1300407E3F /* JavenMultipleViewWithHeader.m */; };
197975511CAB6F5D00407E3F /* OrderViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 197975501CAB6F5D00407E3F /* OrderViewController.m */; };
199B4D5B1CABB86E00451E0E /* WaitForDispatchTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 199B4D5A1CABB86E00451E0E /* WaitForDispatchTableViewController.m */; };
199B4D5E1CABBA5A00451E0E /* TransportedTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 199B4D5D1CABBA5A00451E0E /* TransportedTableViewController.m */; };
199B4D611CABBB3800451E0E /* CommpleteTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 199B4D601CABBB3800451E0E /* CommpleteTableViewController.m */; };
199B4D641CABBB4C00451E0E /* CanceledTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 199B4D631CABBB4C00451E0E /* CanceledTableViewController.m */; };
199B4D681CABBCF600451E0E /* OrderDetailViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 199B4D671CABBCF600451E0E /* OrderDetailViewController.m */; };
199B4D6A1CABBEF400451E0E /* OrderDetailTopView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 199B4D691CABBEF400451E0E /* OrderDetailTopView.xib */; };
199B4D6D1CABBF0800451E0E /* OrderDetailTopView.m in Sources */ = {isa = PBXBuildFile; fileRef = 199B4D6C1CABBF0800451E0E /* OrderDetailTopView.m */; };
199B4D741CABE4B300451E0E /* NSString+Category.m in Sources */ = {isa = PBXBuildFile; fileRef = 199B4D731CABE4B300451E0E /* NSString+Category.m */; };
199B4D861CAE43F800451E0E /* OrderDetailTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 199B4D841CAE43F800451E0E /* OrderDetailTableViewCell.m */; };
199B4D871CAE43F800451E0E /* OrderDetailTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 199B4D851CAE43F800451E0E /* OrderDetailTableViewCell.xib */; };
199B4D891CAE67C600451E0E /* SeeLogistics.xib in Resources */ = {isa = PBXBuildFile; fileRef = 199B4D881CAE67C600451E0E /* SeeLogistics.xib */; };
199B4D8C1CAE688400451E0E /* SeeLogistics.m in Sources */ = {isa = PBXBuildFile; fileRef = 199B4D8B1CAE688400451E0E /* SeeLogistics.m */; };
199BC7A11C9AA7DF00E4E0B8 /* HomeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 199BC7A01C9AA7DF00E4E0B8 /* HomeViewController.m */; };
199BC7B11C9AD4FD00E4E0B8 /* LoginViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 199BC7AF1C9AD4FD00E4E0B8 /* LoginViewController.m */; };
199BC7B21C9AD4FD00E4E0B8 /* LoginViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 199BC7B01C9AD4FD00E4E0B8 /* LoginViewController.xib */; };
......@@ -254,14 +254,6 @@
1979754C1CAB6E1300407E3F /* JavenMultipleViewWithHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JavenMultipleViewWithHeader.m; sourceTree = "<group>"; };
1979754F1CAB6F5D00407E3F /* OrderViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OrderViewController.h; sourceTree = "<group>"; };
197975501CAB6F5D00407E3F /* OrderViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OrderViewController.m; sourceTree = "<group>"; };
199B4D591CABB86E00451E0E /* WaitForDispatchTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WaitForDispatchTableViewController.h; path = ../WaitForDispatchTableViewController.h; sourceTree = "<group>"; };
199B4D5A1CABB86E00451E0E /* WaitForDispatchTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = WaitForDispatchTableViewController.m; path = ../WaitForDispatchTableViewController.m; sourceTree = "<group>"; };
199B4D5C1CABBA5A00451E0E /* TransportedTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TransportedTableViewController.h; path = ../TransportedTableViewController.h; sourceTree = "<group>"; };
199B4D5D1CABBA5A00451E0E /* TransportedTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = TransportedTableViewController.m; path = ../TransportedTableViewController.m; sourceTree = "<group>"; };
199B4D5F1CABBB3800451E0E /* CommpleteTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CommpleteTableViewController.h; path = ../CommpleteTableViewController.h; sourceTree = "<group>"; };
199B4D601CABBB3800451E0E /* CommpleteTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CommpleteTableViewController.m; path = ../CommpleteTableViewController.m; sourceTree = "<group>"; };
199B4D621CABBB4C00451E0E /* CanceledTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CanceledTableViewController.h; path = ../CanceledTableViewController.h; sourceTree = "<group>"; };
199B4D631CABBB4C00451E0E /* CanceledTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CanceledTableViewController.m; path = ../CanceledTableViewController.m; sourceTree = "<group>"; };
199B4D661CABBCF600451E0E /* OrderDetailViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OrderDetailViewController.h; sourceTree = "<group>"; };
199B4D671CABBCF600451E0E /* OrderDetailViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OrderDetailViewController.m; sourceTree = "<group>"; };
199B4D691CABBEF400451E0E /* OrderDetailTopView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = OrderDetailTopView.xib; sourceTree = "<group>"; };
......@@ -269,6 +261,12 @@
199B4D6C1CABBF0800451E0E /* OrderDetailTopView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OrderDetailTopView.m; sourceTree = "<group>"; };
199B4D721CABE4B300451E0E /* NSString+Category.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+Category.h"; sourceTree = "<group>"; };
199B4D731CABE4B300451E0E /* NSString+Category.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+Category.m"; sourceTree = "<group>"; };
199B4D831CAE43F800451E0E /* OrderDetailTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OrderDetailTableViewCell.h; sourceTree = "<group>"; };
199B4D841CAE43F800451E0E /* OrderDetailTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OrderDetailTableViewCell.m; sourceTree = "<group>"; };
199B4D851CAE43F800451E0E /* OrderDetailTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = OrderDetailTableViewCell.xib; sourceTree = "<group>"; };
199B4D881CAE67C600451E0E /* SeeLogistics.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SeeLogistics.xib; sourceTree = "<group>"; };
199B4D8A1CAE688400451E0E /* SeeLogistics.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SeeLogistics.h; sourceTree = "<group>"; };
199B4D8B1CAE688400451E0E /* SeeLogistics.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SeeLogistics.m; sourceTree = "<group>"; };
199BC79F1C9AA7DF00E4E0B8 /* HomeViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HomeViewController.h; sourceTree = "<group>"; };
199BC7A01C9AA7DF00E4E0B8 /* HomeViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HomeViewController.m; sourceTree = "<group>"; };
199BC7AE1C9AD4FD00E4E0B8 /* LoginViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginViewController.h; sourceTree = "<group>"; };
......@@ -528,6 +526,12 @@
199B4D691CABBEF400451E0E /* OrderDetailTopView.xib */,
199B4D6B1CABBF0800451E0E /* OrderDetailTopView.h */,
199B4D6C1CABBF0800451E0E /* OrderDetailTopView.m */,
199B4D831CAE43F800451E0E /* OrderDetailTableViewCell.h */,
199B4D841CAE43F800451E0E /* OrderDetailTableViewCell.m */,
199B4D851CAE43F800451E0E /* OrderDetailTableViewCell.xib */,
199B4D8A1CAE688400451E0E /* SeeLogistics.h */,
199B4D8B1CAE688400451E0E /* SeeLogistics.m */,
199B4D881CAE67C600451E0E /* SeeLogistics.xib */,
);
path = Order;
sourceTree = "<group>";
......@@ -687,14 +691,6 @@
children = (
191383331CAB95F5005F6440 /* NoPaymentTableViewController.h */,
191383341CAB95F5005F6440 /* NoPaymentTableViewController.m */,
199B4D591CABB86E00451E0E /* WaitForDispatchTableViewController.h */,
199B4D5A1CABB86E00451E0E /* WaitForDispatchTableViewController.m */,
199B4D5C1CABBA5A00451E0E /* TransportedTableViewController.h */,
199B4D5D1CABBA5A00451E0E /* TransportedTableViewController.m */,
199B4D5F1CABBB3800451E0E /* CommpleteTableViewController.h */,
199B4D601CABBB3800451E0E /* CommpleteTableViewController.m */,
199B4D621CABBB4C00451E0E /* CanceledTableViewController.h */,
199B4D631CABBB4C00451E0E /* CanceledTableViewController.m */,
);
path = OrderViewcontrollerSubviews;
sourceTree = "<group>";
......@@ -1365,6 +1361,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
199B4D871CAE43F800451E0E /* OrderDetailTableViewCell.xib in Resources */,
19ADD3871CA4E21100EE6E5A /* AddCommodityHeaderView.xib in Resources */,
199BC7CD1C9BA5BA00E4E0B8 /* NextResetPasswordViewController.xib in Resources */,
1929F1861CA0EA74000E9B26 /* MoneyView.xib in Resources */,
......@@ -1379,6 +1376,7 @@
19ADD3851CA4D3C400EE6E5A /* AddCommodityCollectionViewCell.xib in Resources */,
199BC7BF1C9B045B00E4E0B8 /* RigistViewController.xib in Resources */,
195EB1DC1CA516CE00E298BB /* HotCommodityCell.xib in Resources */,
199B4D891CAE67C600451E0E /* SeeLogistics.xib in Resources */,
199BC7B21C9AD4FD00E4E0B8 /* LoginViewController.xib in Resources */,
19ADD38F1CA4EC1000EE6E5A /* AddCommodityHeaderCollectionReusableView.xib in Resources */,
199BC7C81C9BA2A300E4E0B8 /* ResetPasswordViewController.xib in Resources */,
......@@ -1468,6 +1466,7 @@
199BC7BE1C9B045B00E4E0B8 /* RigistViewController.m in Sources */,
199BC7D01C9BAC9600E4E0B8 /* MyTools.m in Sources */,
199B4D681CABBCF600451E0E /* OrderDetailViewController.m in Sources */,
199B4D861CAE43F800451E0E /* OrderDetailTableViewCell.m in Sources */,
199BC7B11C9AD4FD00E4E0B8 /* LoginViewController.m in Sources */,
1979752E1CA90D6C00407E3F /* CommodityManagementViewController.m in Sources */,
19DCCBE21C9AA0450072C3BF /* JTOptionsViewController.m in Sources */,
......@@ -1481,7 +1480,6 @@
199B4D741CABE4B300451E0E /* NSString+Category.m in Sources */,
19DCCBE31C9AA0450072C3BF /* ICRFunctionBaseView.m in Sources */,
19DCCB6A1C9A9EB30072C3BF /* IBTSegmentContainer.m in Sources */,
199B4D641CABBB4C00451E0E /* CanceledTableViewController.m in Sources */,
19DCCB5F1C9A9EB30072C3BF /* IBTRefreshTableView.m in Sources */,
1979751F1CA8D51700407E3F /* CommodityDetailBottomView.m in Sources */,
19DCCBD81C9AA0450072C3BF /* UIViewController+LogicController.m in Sources */,
......@@ -1514,7 +1512,6 @@
19DCCBC71C9AA0450072C3BF /* NSDate+FormatterAdditions.m in Sources */,
19DCCB6F1C9A9EB30072C3BF /* IBTUIButton.m in Sources */,
1913833A1CAB96D4005F6440 /* OrderTableViewCell.m in Sources */,
199B4D611CABBB3800451E0E /* CommpleteTableViewController.m in Sources */,
191383401CAB9DD4005F6440 /* OrderCellView.m in Sources */,
199BC7C71C9BA2A300E4E0B8 /* ResetPasswordViewController.m in Sources */,
19DCCB5B1C9A9EB30072C3BF /* IBTAudioServicesManager.m in Sources */,
......@@ -1532,6 +1529,7 @@
19DCCB611C9A9EB30072C3BF /* IBTTableViewCellInfo.m in Sources */,
1979753A1CA9260C00407E3F /* CommodityManagementSortView.m in Sources */,
19DCCB701C9A9EB30072C3BF /* IBTUIControl.m in Sources */,
199B4D8C1CAE688400451E0E /* SeeLogistics.m in Sources */,
19DCCBC61C9AA0450072C3BF /* NSData+EncodeAdditions.m in Sources */,
19DCCBD31C9AA0450072C3BF /* UIScrollView+Content.m in Sources */,
197975271CA8FAE500407E3F /* CommodityDetailTopView.m in Sources */,
......@@ -1550,14 +1548,12 @@
19DCCB671C9A9EB30072C3BF /* IBTCustomButtom.m in Sources */,
195EB1DB1CA516CE00E298BB /* HotCommodityCell.m in Sources */,
19DCCB711C9A9EB30072C3BF /* IBTUILabel.m in Sources */,
199B4D5E1CABBA5A00451E0E /* TransportedTableViewController.m in Sources */,
19DCCB651C9A9EB30072C3BF /* IBTBadgeView.m in Sources */,
19DCCBEF1C9AA1D50072C3BF /* QueryOrder.m in Sources */,
19DCCB5E1C9A9EB30072C3BF /* IBTModel.m in Sources */,
19DCCBD51C9AA0450072C3BF /* UITableViewCell+Helper.m in Sources */,
19DCCBE01C9AA0450072C3BF /* JTOptionCell.m in Sources */,
19DCCBE11C9AA0450072C3BF /* JTOptionsEntity.m in Sources */,
199B4D5B1CABB86E00451E0E /* WaitForDispatchTableViewController.m in Sources */,
19ADD36A1CA3AC9D00EE6E5A /* UIButton+Category.m in Sources */,
1940D2EC1C9A56730080678C /* main.m in Sources */,
19DCCBF91C9AA2180072C3BF /* RIButtonItem.m in Sources */,
......@@ -1729,6 +1725,7 @@
baseConfigurationReference = C86730AE81FB01EAF9005535 /* Pods.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
GCC_PREFIX_HEADER = Aland/PrefixHeader.pch;
HEADER_SEARCH_PATHS = (
"$(inherited)",
......@@ -1744,6 +1741,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = Javen.ALand;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
USER_HEADER_SEARCH_PATHS = "${SRCROOT}/**";
};
name = Debug;
......@@ -1753,6 +1751,7 @@
baseConfigurationReference = AAF51B5D53AE9938C03065C3 /* Pods.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
GCC_PREFIX_HEADER = Aland/PrefixHeader.pch;
HEADER_SEARCH_PATHS = (
"$(inherited)",
......@@ -1768,6 +1767,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = Javen.ALand;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
USER_HEADER_SEARCH_PATHS = "${SRCROOT}/**";
};
name = Release;
......
{
"images" : [
{
"idiom" : "universal",
"filename" : "logistics_btn.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "logistics_btn@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
......@@ -9,5 +9,6 @@
#import <UIKit/UIKit.h>
@interface OrderCellView : UIView
@property (weak, nonatomic) IBOutlet UILabel *labelTitle;
@end
......@@ -8,7 +8,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB">
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="OrderCellView">
<rect key="frame" x="0.0" y="0.0" width="320" height="140"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
......@@ -77,7 +77,10 @@
<constraint firstAttribute="bottom" secondItem="acf-qI-3N1" secondAttribute="bottom" constant="1" id="zcZ-yg-SPG"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<point key="canvasLocation" x="252" y="351"/>
<connections>
<outlet property="labelTitle" destination="dhI-dB-05Q" id="bF1-FF-LUO"/>
</connections>
<point key="canvasLocation" x="237" y="351"/>
</view>
</objects>
<resources>
......
//
// TransportedTableViewController.h
// OrderDetailTableViewCell.h
// ALand
//
// Created by Z on 16/3/30.
// Created by Z on 16/4/1.
// Copyright © 2016年 Z. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TransportedTableViewController : UITableViewController
#import "OrderCellView.h"
@interface OrderDetailTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet OrderCellView *cellTopView;
@end
//
// OrderDetailTableViewCell.m
// ALand
//
// Created by Z on 16/4/1.
// Copyright © 2016年 Z. All rights reserved.
//
#import "OrderDetailTableViewCell.h"
@implementation OrderDetailTableViewCell
- (void)awakeFromNib {
// Initialization code
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSelected:selected animated:animated];
// Configure the view for the selected state
}
@end
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="318" id="KGk-i7-Jjw" customClass="OrderDetailTableViewCell">
<rect key="frame" x="0.0" y="0.0" width="320" height="316"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
<rect key="frame" x="0.0" y="0.0" width="320" height="315"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Pij-kx-Pb0">
<rect key="frame" x="0.0" y="0.0" width="320" height="120"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="commodityManagementImage" translatesAutoresizingMaskIntoConstraints="NO" id="zVj-uC-2Ee">
<rect key="frame" x="8" y="8" width="90" height="101"/>
<constraints>
<constraint firstAttribute="width" constant="90" id="Wde-RT-QaX"/>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="90" id="gAR-gh-hPh"/>
<constraint firstAttribute="height" constant="81" id="zzN-2S-ayj"/>
</constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="zzN-2S-ayj"/>
</mask>
</variation>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="Bloem天然草本更年期综合营养 胶囊100粒 " textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qil-La-bPe">
<rect key="frame" x="106" y="8" width="230" height="41"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="96粒" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dmr-KO-pEi">
<rect key="frame" x="106" y="62" width="43" height="23"/>
<fontDescription key="fontDescription" type="system" pointSize="19"/>
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="*3" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="c15-PS-p9r">
<rect key="frame" x="157" y="62" width="21" height="23"/>
<fontDescription key="fontDescription" type="system" pointSize="19"/>
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="售价:¥279" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VvO-An-RXq">
<rect key="frame" x="106" y="88" width="98" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="bFy-XE-5jB">
<rect key="frame" x="8" y="118" width="328" height="1"/>
<color key="backgroundColor" red="0.94901960780000005" green="0.94901960780000005" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="1" id="Igf-Va-N3z"/>
<constraint firstAttribute="height" constant="1" id="QKc-hG-Ibq"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="zVj-uC-2Ee" firstAttribute="leading" secondItem="Pij-kx-Pb0" secondAttribute="leadingMargin" id="8Zz-gz-IB8"/>
<constraint firstAttribute="trailingMargin" secondItem="qil-La-bPe" secondAttribute="trailing" id="9iP-ib-Jk7"/>
<constraint firstAttribute="height" constant="120" id="RRf-cD-hBY"/>
<constraint firstItem="dmr-KO-pEi" firstAttribute="leading" secondItem="qil-La-bPe" secondAttribute="leading" id="XIw-xX-9DT"/>
<constraint firstAttribute="bottomMargin" secondItem="zVj-uC-2Ee" secondAttribute="bottom" constant="3" id="ZXR-fx-B6o"/>
<constraint firstItem="VvO-An-RXq" firstAttribute="leading" secondItem="dmr-KO-pEi" secondAttribute="leading" id="btC-k6-pOo"/>
<constraint firstItem="bFy-XE-5jB" firstAttribute="leading" secondItem="Pij-kx-Pb0" secondAttribute="leading" constant="8" id="cNf-P8-odU"/>
<constraint firstAttribute="trailing" secondItem="bFy-XE-5jB" secondAttribute="trailing" constant="8" id="dA7-FY-m8r"/>
<constraint firstItem="VvO-An-RXq" firstAttribute="top" secondItem="dmr-KO-pEi" secondAttribute="bottom" constant="3" id="iW4-aY-M4A"/>
<constraint firstAttribute="bottom" secondItem="bFy-XE-5jB" secondAttribute="bottom" constant="1" id="ivt-V9-aao"/>
<constraint firstItem="qil-La-bPe" firstAttribute="top" secondItem="zVj-uC-2Ee" secondAttribute="top" id="kOC-sE-UgA"/>
<constraint firstItem="c15-PS-p9r" firstAttribute="leading" secondItem="dmr-KO-pEi" secondAttribute="trailing" constant="8" id="lL6-VL-m9u"/>
<constraint firstItem="VvO-An-RXq" firstAttribute="bottom" secondItem="zVj-uC-2Ee" secondAttribute="bottom" id="pTc-wB-EEA"/>
<constraint firstItem="qil-La-bPe" firstAttribute="leading" secondItem="zVj-uC-2Ee" secondAttribute="trailing" constant="8" id="pYa-5E-0Et"/>
<constraint firstAttribute="height" constant="140" id="qSr-TR-TzG"/>
<constraint firstItem="c15-PS-p9r" firstAttribute="centerY" secondItem="dmr-KO-pEi" secondAttribute="centerY" id="xj7-DY-xjD"/>
<constraint firstItem="zVj-uC-2Ee" firstAttribute="top" secondItem="Pij-kx-Pb0" secondAttribute="topMargin" id="zmw-5d-hAJ"/>
</constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="qSr-TR-TzG"/>
</mask>
</variation>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ub2-YQ-3pA">
<rect key="frame" x="8" y="120" width="304" height="49"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="商品金额:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ykx-Ww-vbw">
<rect key="frame" x="8" y="14" width="85" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.60138541670000001" green="0.60138541670000001" blue="0.60138541670000001" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="jJN-Xl-hDw">
<rect key="frame" x="0.0" y="48" width="328" height="1"/>
<color key="backgroundColor" red="0.91271875000000002" green="0.91271875000000002" blue="0.91271875000000002" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="fw7-3E-spR"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="¥234" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xTa-Xo-cX9">
<rect key="frame" x="272" y="14" width="48" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="jJN-Xl-hDw" firstAttribute="bottom" secondItem="Ub2-YQ-3pA" secondAttribute="bottomMargin" constant="1" id="0fV-ID-LB7"/>
<constraint firstItem="ykx-Ww-vbw" firstAttribute="leading" secondItem="Ub2-YQ-3pA" secondAttribute="leading" constant="8" id="3cI-2V-LkL"/>
<constraint firstItem="jJN-Xl-hDw" firstAttribute="leading" secondItem="Ub2-YQ-3pA" secondAttribute="leading" id="5mp-ir-dNy"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="49" id="9ZZ-d9-qqk"/>
<constraint firstItem="xTa-Xo-cX9" firstAttribute="centerY" secondItem="ykx-Ww-vbw" secondAttribute="centerY" id="AXS-0B-64S"/>
<constraint firstAttribute="bottom" secondItem="jJN-Xl-hDw" secondAttribute="bottom" id="D0d-3l-JdV"/>
<constraint firstAttribute="height" constant="49" id="Na0-Fn-c7d"/>
<constraint firstItem="ykx-Ww-vbw" firstAttribute="centerY" secondItem="Ub2-YQ-3pA" secondAttribute="centerY" id="NeP-lW-Rrc"/>
<constraint firstAttribute="trailing" secondItem="jJN-Xl-hDw" secondAttribute="trailing" id="gFL-hN-R9g"/>
<constraint firstItem="xTa-Xo-cX9" firstAttribute="leading" secondItem="ykx-Ww-vbw" secondAttribute="trailing" id="gi6-I4-MDd"/>
<constraint firstAttribute="trailing" secondItem="xTa-Xo-cX9" secondAttribute="trailing" constant="8" id="hbD-at-KKC"/>
<constraint firstAttribute="trailingMargin" secondItem="jJN-Xl-hDw" secondAttribute="trailing" id="kKH-rx-Kbh"/>
<constraint firstItem="jJN-Xl-hDw" firstAttribute="leading" secondItem="Ub2-YQ-3pA" secondAttribute="leadingMargin" id="xV5-9X-YM3"/>
</constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="0fV-ID-LB7"/>
<exclude reference="kKH-rx-Kbh"/>
<exclude reference="xV5-9X-YM3"/>
<exclude reference="gi6-I4-MDd"/>
</mask>
</variation>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qBB-yj-UWl">
<rect key="frame" x="8" y="169" width="304" height="49"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="运费:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="olD-XD-h2M">
<rect key="frame" x="8" y="14" width="51" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.60138541670000001" green="0.60138541670000001" blue="0.60138541670000001" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="¥10" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dJf-BG-hMK">
<rect key="frame" x="285" y="14" width="35" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="g7f-Jb-EQP">
<rect key="frame" x="0.0" y="48" width="328" height="1"/>
<color key="backgroundColor" red="0.91271875000000002" green="0.91271875000000002" blue="0.91271875000000002" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="ZX8-R6-1T0"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="g7f-Jb-EQP" secondAttribute="bottom" id="0XK-hK-0w8"/>
<constraint firstAttribute="trailing" secondItem="g7f-Jb-EQP" secondAttribute="trailing" id="9Zd-Md-Rmp"/>
<constraint firstItem="dJf-BG-hMK" firstAttribute="leading" secondItem="olD-XD-h2M" secondAttribute="trailing" id="BGr-IB-EEs"/>
<constraint firstItem="g7f-Jb-EQP" firstAttribute="bottom" secondItem="qBB-yj-UWl" secondAttribute="bottomMargin" constant="1" id="JUD-tf-a0Z"/>
<constraint firstItem="g7f-Jb-EQP" firstAttribute="leading" secondItem="qBB-yj-UWl" secondAttribute="leadingMargin" id="Nkd-3W-crO"/>
<constraint firstAttribute="height" constant="49" id="RXR-MW-IVf"/>
<constraint firstItem="dJf-BG-hMK" firstAttribute="centerY" secondItem="olD-XD-h2M" secondAttribute="centerY" id="aVT-n6-1PU"/>
<constraint firstAttribute="trailingMargin" secondItem="g7f-Jb-EQP" secondAttribute="trailing" id="dAK-lK-vhu"/>
<constraint firstItem="olD-XD-h2M" firstAttribute="centerY" secondItem="qBB-yj-UWl" secondAttribute="centerY" id="gdu-rn-H99"/>
<constraint firstItem="g7f-Jb-EQP" firstAttribute="leading" secondItem="qBB-yj-UWl" secondAttribute="leading" id="hUg-JJ-UGr"/>
<constraint firstItem="olD-XD-h2M" firstAttribute="leading" secondItem="qBB-yj-UWl" secondAttribute="leading" constant="8" id="iyh-AI-xsm"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="49" id="rke-Js-4Yu"/>
</constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="JUD-tf-a0Z"/>
<exclude reference="dAK-lK-vhu"/>
<exclude reference="Nkd-3W-crO"/>
<exclude reference="BGr-IB-EEs"/>
</mask>
</variation>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="79t-Nu-k0h">
<rect key="frame" x="8" y="218" width="304" height="49"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="应付总额:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ctk-Y4-G5i">
<rect key="frame" x="8" y="14" width="85" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.60138541670000001" green="0.60138541670000001" blue="0.60138541670000001" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="¥244" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Q6S-Hm-PjW">
<rect key="frame" x="272" y="14" width="48" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="kLC-bC-yM7">
<rect key="frame" x="0.0" y="48" width="328" height="1"/>
<color key="backgroundColor" red="0.91271875000000002" green="0.91271875000000002" blue="0.91271875000000002" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="mwK-aI-qW0"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="height" relation="lessThanOrEqual" constant="49" id="4ac-uB-8Gq"/>
<constraint firstItem="Q6S-Hm-PjW" firstAttribute="leading" secondItem="ctk-Y4-G5i" secondAttribute="trailing" id="67i-IN-040"/>
<constraint firstItem="ctk-Y4-G5i" firstAttribute="leading" secondItem="79t-Nu-k0h" secondAttribute="leading" constant="8" id="6C9-nf-hg7"/>
<constraint firstAttribute="trailing" secondItem="kLC-bC-yM7" secondAttribute="trailing" id="73w-Y4-dtZ"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="49" id="AmQ-1y-6p5"/>
<constraint firstItem="ctk-Y4-G5i" firstAttribute="centerY" secondItem="79t-Nu-k0h" secondAttribute="centerY" id="HJN-9r-aOB"/>
<constraint firstItem="kLC-bC-yM7" firstAttribute="bottom" secondItem="79t-Nu-k0h" secondAttribute="bottomMargin" constant="1" id="KWu-Le-sPG"/>
<constraint firstItem="Q6S-Hm-PjW" firstAttribute="centerY" secondItem="ctk-Y4-G5i" secondAttribute="centerY" id="VpS-JH-dGq"/>
<constraint firstAttribute="bottom" secondItem="kLC-bC-yM7" secondAttribute="bottom" id="Yan-6x-nYK"/>
<constraint firstAttribute="trailingMargin" secondItem="kLC-bC-yM7" secondAttribute="trailing" id="mFJ-Og-WVK"/>
<constraint firstItem="kLC-bC-yM7" firstAttribute="leading" secondItem="79t-Nu-k0h" secondAttribute="leadingMargin" id="ow4-yw-H8d"/>
<constraint firstItem="kLC-bC-yM7" firstAttribute="leading" secondItem="79t-Nu-k0h" secondAttribute="leading" id="tV5-L1-YDr"/>
<constraint firstAttribute="height" constant="49" id="uA3-TD-slw"/>
</constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="KWu-Le-sPG"/>
<exclude reference="mFJ-Og-WVK"/>
<exclude reference="ow4-yw-H8d"/>
<exclude reference="67i-IN-040"/>
</mask>
</variation>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GaB-5p-DxG">
<rect key="frame" x="8" y="267" width="304" height="49"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="佣金:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Stz-Tw-pxe">
<rect key="frame" x="8" y="14" width="51" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.60138541670000001" green="0.60138541670000001" blue="0.60138541670000001" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="22" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fYJ-v7-1ii">
<rect key="frame" x="300" y="14" width="20" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="oWs-qD-X86">
<rect key="frame" x="0.0" y="48" width="328" height="1"/>
<color key="backgroundColor" red="0.91271875000000002" green="0.91271875000000002" blue="0.91271875000000002" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="wPN-Ba-dm4"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="oWs-qD-X86" firstAttribute="leading" secondItem="GaB-5p-DxG" secondAttribute="leadingMargin" id="1Nn-3s-pAN"/>
<constraint firstAttribute="trailing" secondItem="oWs-qD-X86" secondAttribute="trailing" id="Av4-Kw-LET"/>
<constraint firstItem="Stz-Tw-pxe" firstAttribute="centerY" secondItem="GaB-5p-DxG" secondAttribute="centerY" id="InF-UY-vCB"/>
<constraint firstAttribute="trailingMargin" secondItem="oWs-qD-X86" secondAttribute="trailing" id="JML-B8-m1z"/>
<constraint firstAttribute="height" constant="49" id="MZP-bz-r3K"/>
<constraint firstAttribute="height" relation="lessThanOrEqual" constant="49" id="PhH-27-Uen"/>
<constraint firstItem="Stz-Tw-pxe" firstAttribute="leading" secondItem="GaB-5p-DxG" secondAttribute="leading" constant="8" id="Y6u-3r-bbr"/>
<constraint firstAttribute="bottom" secondItem="oWs-qD-X86" secondAttribute="bottom" id="eLH-Wa-cda"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="49" id="fP9-52-ggS"/>
<constraint firstItem="oWs-qD-X86" firstAttribute="bottom" secondItem="GaB-5p-DxG" secondAttribute="bottomMargin" constant="1" id="h3H-kv-8eR"/>
<constraint firstItem="oWs-qD-X86" firstAttribute="leading" secondItem="GaB-5p-DxG" secondAttribute="leading" id="m74-ly-jZX"/>
<constraint firstItem="fYJ-v7-1ii" firstAttribute="leading" secondItem="Stz-Tw-pxe" secondAttribute="trailing" id="n7L-7Q-7rf"/>
<constraint firstItem="fYJ-v7-1ii" firstAttribute="centerY" secondItem="Stz-Tw-pxe" secondAttribute="centerY" id="vPT-t7-RdZ"/>
</constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="1Nn-3s-pAN"/>
<exclude reference="JML-B8-m1z"/>
<exclude reference="h3H-kv-8eR"/>
<exclude reference="n7L-7Q-7rf"/>
</mask>
</variation>
</view>
</subviews>
<constraints>
<constraint firstItem="qBB-yj-UWl" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" id="A24-jS-atZ"/>
<constraint firstItem="dJf-BG-hMK" firstAttribute="trailing" secondItem="Q6S-Hm-PjW" secondAttribute="trailing" id="FjO-aB-Vtj"/>
<constraint firstItem="79t-Nu-k0h" firstAttribute="trailing" secondItem="H2p-sc-9uM" secondAttribute="trailingMargin" id="JZ8-X8-9Wr"/>
<constraint firstItem="Ub2-YQ-3pA" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" id="LDS-ZJ-4J0"/>
<constraint firstItem="GaB-5p-DxG" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" id="OIF-5B-tRh"/>
<constraint firstItem="79t-Nu-k0h" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" id="QTr-3k-F5L"/>
<constraint firstItem="Pij-kx-Pb0" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="Rae-Xk-dqr"/>
<constraint firstItem="GaB-5p-DxG" firstAttribute="top" secondItem="79t-Nu-k0h" secondAttribute="bottom" id="TY8-gO-W6N"/>
<constraint firstItem="xTa-Xo-cX9" firstAttribute="trailing" secondItem="dJf-BG-hMK" secondAttribute="trailing" id="Wwr-SD-uCa"/>
<constraint firstAttribute="trailingMargin" secondItem="Ub2-YQ-3pA" secondAttribute="trailing" id="aM0-QR-gFZ"/>
<constraint firstItem="Pij-kx-Pb0" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="b59-7C-Kbm"/>
<constraint firstItem="79t-Nu-k0h" firstAttribute="top" secondItem="qBB-yj-UWl" secondAttribute="bottom" id="f6O-lt-30t"/>
<constraint firstAttribute="trailingMargin" secondItem="qBB-yj-UWl" secondAttribute="trailing" id="jai-tw-O06"/>
<constraint firstItem="Q6S-Hm-PjW" firstAttribute="trailing" secondItem="fYJ-v7-1ii" secondAttribute="trailing" id="lg7-mp-3PH"/>
<constraint firstItem="GaB-5p-DxG" firstAttribute="trailing" secondItem="H2p-sc-9uM" secondAttribute="trailingMargin" id="n4H-G3-myo"/>
<constraint firstItem="Ub2-YQ-3pA" firstAttribute="top" secondItem="Pij-kx-Pb0" secondAttribute="bottom" id="tUw-aq-4sx"/>
<constraint firstItem="qBB-yj-UWl" firstAttribute="top" secondItem="Ub2-YQ-3pA" secondAttribute="bottom" id="uHz-y6-Jmv"/>
<constraint firstAttribute="trailing" secondItem="Pij-kx-Pb0" secondAttribute="trailing" id="yGA-6t-L2E"/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="cellTopView" destination="Pij-kx-Pb0" id="tFr-PT-ehm"/>
</connections>
<point key="canvasLocation" x="187" y="448"/>
</tableViewCell>
</objects>
<resources>
<image name="commodityManagementImage" width="185" height="185"/>
</resources>
</document>
......@@ -7,11 +7,22 @@
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, ORDERTOPTYPE)
{
ORDERTOPTYPE_NOPAYMENT,//代支付
ORDERTOPTYPE_WAITFORDISPATCH,//待发货
ORDERTOPTYPE_TRANSPORTED,//已发货
ORDERTOPTYPE_COMMPLETE,//已完成
ORDERTOPTYPE_CANCELED//已取消
};
@interface OrderDetailTopView : UIView
@property (weak, nonatomic) IBOutlet UILabel *labelAddress;
@property (nonatomic) CGFloat viewHeight;
@property (weak, nonatomic) IBOutlet UILabel *labelRemark;
@property (nonatomic, assign) ORDERTOPTYPE orderType;
@property (nonatomic) CGFloat viewHeight;
- (void)updateTag;
- (CGFloat)viewHeight;
@end
......@@ -11,17 +11,49 @@
@interface OrderDetailTopView ()
@property (weak, nonatomic) IBOutlet UILabel *labelBottom;
@property (weak, nonatomic) IBOutlet UIView *labelLastView;
@property (weak, nonatomic) IBOutlet UIImageView *imageViewTag;
@end
@implementation OrderDetailTopView
- (void)awakeFromNib {
}
- (void)updateTag {
switch (self.orderType) {
case ORDERTOPTYPE_NOPAYMENT:
self.imageViewTag.image = [UIImage imageNamed:@"order_state_noPayment"];
break;
case ORDERTOPTYPE_WAITFORDISPATCH:
self.imageViewTag.image = [UIImage imageNamed:@"order_state_unstasport"];
break;
case ORDERTOPTYPE_TRANSPORTED:
self.imageViewTag.image = [UIImage imageNamed:@"order_state_transported"];
break;
case ORDERTOPTYPE_COMMPLETE:
break;
case ORDERTOPTYPE_CANCELED:
break;
default:
break;
}
}
- (CGFloat)viewHeight {
[self.labelLastView layoutIfNeeded];
return self.labelLastView.bottom;
}
/*
......
......@@ -9,7 +9,7 @@
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="OrderDetailTopView"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="OrderDetailTopView">
<rect key="frame" x="0.0" y="0.0" width="320" height="419"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="405"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="订单信息" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lZw-qi-pdT">
......@@ -180,6 +180,14 @@
<constraint firstAttribute="height" constant="1" id="6rJ-qd-LaZ"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8Y0-d9-PiW">
<rect key="frame" x="264" y="8" width="33" height="33"/>
<constraints>
<constraint firstAttribute="width" constant="33" id="mqd-63-s2Y"/>
<constraint firstAttribute="height" constant="33" id="yGR-cG-W4W"/>
</constraints>
<state key="normal" backgroundImage="call_icon"/>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
......@@ -187,6 +195,7 @@
<constraint firstAttribute="height" constant="49" id="B6a-9l-HQw"/>
<constraint firstItem="cmZ-vl-b4K" firstAttribute="bottom" secondItem="5It-5A-BoF" secondAttribute="bottomMargin" constant="1" id="Hcl-0P-p3u"/>
<constraint firstItem="cmZ-vl-b4K" firstAttribute="leading" secondItem="5It-5A-BoF" secondAttribute="leadingMargin" id="Sj3-w5-CBv"/>
<constraint firstItem="8Y0-d9-PiW" firstAttribute="centerY" secondItem="g9c-Jz-PuK" secondAttribute="centerY" id="Zea-Kf-Yul"/>
<constraint firstItem="g9c-Jz-PuK" firstAttribute="leading" secondItem="otl-rE-SZa" secondAttribute="trailing" id="cVt-0n-37E"/>
<constraint firstAttribute="trailingMargin" secondItem="cmZ-vl-b4K" secondAttribute="trailing" id="gDh-jj-d0J"/>
<constraint firstItem="g9c-Jz-PuK" firstAttribute="centerY" secondItem="otl-rE-SZa" secondAttribute="centerY" id="pl3-oG-dPc"/>
......@@ -339,6 +348,12 @@
<constraint firstItem="vYi-Qy-3u1" firstAttribute="leading" secondItem="Hqq-GG-0vG" secondAttribute="leading" constant="8" id="iQy-hP-XDv"/>
</constraints>
</view>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="order_state_noPayment" translatesAutoresizingMaskIntoConstraints="NO" id="j5Q-x8-oTR">
<rect key="frame" x="274" y="30" width="23" height="55"/>
<constraints>
<constraint firstAttribute="width" constant="23" id="jhb-yG-Hd8"/>
</constraints>
</imageView>
</subviews>
<color key="backgroundColor" red="0.91271875000000002" green="0.91271875000000002" blue="0.91271875000000002" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
......@@ -351,6 +366,7 @@
<constraint firstAttribute="trailing" secondItem="Hqq-GG-0vG" secondAttribute="trailing" id="AZk-IX-9qv"/>
<constraint firstAttribute="trailing" secondItem="frY-Ni-LsQ" secondAttribute="trailing" id="FKy-GF-z3v"/>
<constraint firstItem="o64-Kj-GIA" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="Jm5-Pg-aDC"/>
<constraint firstItem="8Y0-d9-PiW" firstAttribute="trailing" secondItem="j5Q-x8-oTR" secondAttribute="trailing" id="K20-BN-VQi"/>
<constraint firstItem="2rG-ti-JCC" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="8" id="Lxn-5D-jJr"/>
<constraint firstItem="o64-Kj-GIA" firstAttribute="top" secondItem="2rG-ti-JCC" secondAttribute="bottom" constant="8" id="Mcu-Hu-VWJ"/>
<constraint firstAttribute="trailing" secondItem="bza-2c-LTJ" secondAttribute="trailing" id="Mgb-q8-WOx"/>
......@@ -361,24 +377,33 @@
<constraint firstItem="2rG-ti-JCC" firstAttribute="top" secondItem="frY-Ni-LsQ" secondAttribute="bottom" constant="8" id="XcT-9r-g9E"/>
<constraint firstItem="bza-2c-LTJ" firstAttribute="top" secondItem="L3h-Sp-ioz" secondAttribute="bottom" id="YkW-OS-YNp"/>
<constraint firstItem="lZw-qi-pdT" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="8" id="bQ2-FC-VOb"/>
<constraint firstItem="frY-Ni-LsQ" firstAttribute="top" secondItem="j5Q-x8-oTR" secondAttribute="bottom" constant="1" id="bcv-OG-beS"/>
<constraint firstItem="bza-2c-LTJ" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="hLT-MA-zej"/>
<constraint firstItem="Hqq-GG-0vG" firstAttribute="top" secondItem="bza-2c-LTJ" secondAttribute="bottom" id="jnQ-W9-9Vc"/>
<constraint firstItem="g9c-Jz-PuK" firstAttribute="leading" secondItem="awy-IH-s2E" secondAttribute="leading" id="mQL-Q3-JHp"/>
<constraint firstItem="awy-IH-s2E" firstAttribute="leading" secondItem="hff-wW-3rZ" secondAttribute="leading" id="meE-2G-p9E"/>
<constraint firstAttribute="trailing" secondItem="kwe-gE-Axq" secondAttribute="trailing" id="om7-SC-jVz"/>
<constraint firstItem="j5Q-x8-oTR" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="30" id="pjr-xv-wJg"/>
<constraint firstItem="L3h-Sp-ioz" firstAttribute="top" secondItem="5It-5A-BoF" secondAttribute="bottom" id="q08-EE-UEC"/>
<constraint firstItem="frY-Ni-LsQ" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="sGS-9j-fcZ"/>
<constraint firstAttribute="trailing" secondItem="j5Q-x8-oTR" secondAttribute="trailing" constant="23" id="tsX-QC-o7X"/>
<constraint firstItem="5It-5A-BoF" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="uUC-Lu-AnR"/>
<constraint firstItem="lZw-qi-pdT" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="8" id="viX-wK-650"/>
<constraint firstItem="kwe-gE-Axq" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="yBd-cf-dda"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<connections>
<outlet property="imageViewTag" destination="j5Q-x8-oTR" id="2NC-gp-pZk"/>
<outlet property="labelAddress" destination="tAt-2m-H2J" id="boj-po-20q"/>
<outlet property="labelBottom" destination="vYi-Qy-3u1" id="83x-0X-p0i"/>
<outlet property="labelLastView" destination="Hqq-GG-0vG" id="w6d-o7-ZFl"/>
<outlet property="labelRemark" destination="wpt-Ta-hYY" id="upU-v3-G5V"/>
</connections>
<point key="canvasLocation" x="293" y="462.5"/>
<point key="canvasLocation" x="215" y="335.5"/>
</view>
</objects>
<resources>
<image name="call_icon" width="45" height="45"/>
<image name="order_state_noPayment" width="33" height="68"/>
</resources>
</document>
//
// CanceledTableViewController.h
// SeeLogistics.h
// ALand
//
// Created by Z on 16/3/30.
// Created by Z on 16/4/1.
// Copyright © 2016年 Z. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface CanceledTableViewController : UITableViewController
@interface SeeLogistics : UIView
@end
//
// SeeLogistics.m
// ALand
//
// Created by Z on 16/4/1.
// Copyright © 2016年 Z. All rights reserved.
//
#import "SeeLogistics.h"
@implementation SeeLogistics
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
// Drawing code
}
*/
@end
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="SeeLogistics">
<rect key="frame" x="0.0" y="0.0" width="320" height="67"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BEp-i5-uuc">
<rect key="frame" x="52" y="12" width="216" height="44"/>
<constraints>
<constraint firstAttribute="width" constant="216" id="QMg-u5-sI8"/>
<constraint firstAttribute="height" constant="44" id="saD-TZ-a7b"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="22"/>
<state key="normal" title="查看物流" backgroundImage="logistics_btn">
<color key="titleColor" red="0.48627450979999998" green="0.76470588240000004" blue="0.1450980392" alpha="1" colorSpace="calibratedRGB"/>
</state>
</button>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="l89-NE-khH">
<rect key="frame" x="0.0" y="0.0" width="320" height="1"/>
<color key="backgroundColor" red="0.70570833333333338" green="0.70570833333333338" blue="0.70570833333333338" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="hPW-Gv-6aX"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="BEp-i5-uuc" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="EvC-aV-7Ov"/>
<constraint firstItem="BEp-i5-uuc" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="N2E-Ng-G2d"/>
<constraint firstAttribute="trailing" secondItem="l89-NE-khH" secondAttribute="trailing" id="QEC-YP-ULd"/>
<constraint firstItem="l89-NE-khH" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="nTS-W6-4Xm"/>
<constraint firstItem="l89-NE-khH" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="ytH-o1-fbL"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<point key="canvasLocation" x="275" y="30.5"/>
</view>
</objects>
<resources>
<image name="logistics_btn" width="244" height="70"/>
</resources>
</document>
//
// CanceledTableViewController.m
// ALand
//
// Created by Z on 16/3/30.
// Copyright © 2016年 Z. All rights reserved.
//
#import "CanceledTableViewController.h"
#import "OrderTableViewCell.h"
#define kCellId @"OrderTableViewCell.h"
@interface CanceledTableViewController ()
@property (nonatomic, strong) NSArray *array;
@end
@implementation CanceledTableViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.array = @[@2,@3,@5,@10];
[self.tableView registerNib:[UINib nibWithNibName:@"OrderTableViewCell" bundle:[NSBundle mainBundle]] forCellReuseIdentifier:kCellId];
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
self.tableView.contentInset = UIEdgeInsetsMake(0, 0, 64, 0);
// Uncomment the following line to preserve selection between presentations.
// self.clearsSelectionOnViewWillAppear = NO;
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
// self.navigationItem.rightBarButtonItem = self.editButtonItem;
}
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
return 115 + 130 * [self.array[indexPath.row] integerValue];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
#pragma mark - Table view data source
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
#warning Incomplete implementation, return the number of sections
return 1;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
#warning Incomplete implementation, return the number of rows
return self.array.count;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
OrderTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellId forIndexPath:indexPath];
// Configure the cell...
[cell cellWithViewNumber: [self.array[indexPath.row] integerValue]];
[cell setState:@"已取消"];
return cell;
}
/*
// Override to support conditional editing of the table view.
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
// Return NO if you do not want the specified item to be editable.
return YES;
}
*/
/*
// Override to support editing the table view.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
if (editingStyle == UITableViewCellEditingStyleDelete) {
// Delete the row from the data source
[tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationFade];
} else if (editingStyle == UITableViewCellEditingStyleInsert) {
// Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view
}
}
*/
/*
// Override to support rearranging the table view.
- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath {
}
*/
/*
// Override to support conditional rearranging of the table view.
- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath {
// Return NO if you do not want the item to be re-orderable.
return YES;
}
*/
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/
@end
//
// CommpleteTableViewController.h
// ALand
//
// Created by Z on 16/3/30.
// Copyright © 2016年 Z. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface CommpleteTableViewController : UITableViewController
@end
//
// CommpleteTableViewController.m
// ALand
//
// Created by Z on 16/3/30.
// Copyright © 2016年 Z. All rights reserved.
//
#import "CommpleteTableViewController.h"
#import "OrderTableViewCell.h"
#define kCellId @"OrderTableViewCell.h"
@interface CommpleteTableViewController ()
@property (nonatomic, strong) NSArray *array;
@end
@implementation CommpleteTableViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.array = @[@2,@3,@5,@10];
[self.tableView registerNib:[UINib nibWithNibName:@"OrderTableViewCell" bundle:[NSBundle mainBundle]] forCellReuseIdentifier:kCellId];
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
self.tableView.contentInset = UIEdgeInsetsMake(0, 0, 64, 0);
// Uncomment the following line to preserve selection between presentations.
// self.clearsSelectionOnViewWillAppear = NO;
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
// self.navigationItem.rightBarButtonItem = self.editButtonItem;
}
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
return 115 + 130 * [self.array[indexPath.row] integerValue];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
#pragma mark - Table view data source
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
#warning Incomplete implementation, return the number of sections
return 1;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
#warning Incomplete implementation, return the number of rows
return self.array.count;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
OrderTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellId forIndexPath:indexPath];
// Configure the cell...
[cell cellWithViewNumber: [self.array[indexPath.row] integerValue]];
[cell setState:@"已完成"];
return cell;
}
@end
......@@ -9,6 +9,6 @@
#import <UIKit/UIKit.h>
@interface NoPaymentTableViewController : UITableViewController
@property (nonatomic, copy) NSString *state;
@property (nonatomic, copy) NSString *orderTag;
@end
......@@ -55,13 +55,26 @@
// Configure the cell...
[cell cellWithViewNumber: [self.array[indexPath.row] integerValue]];
[cell setState:@"待支付"];
[cell setState:_orderTag];
return cell;
}
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
OrderDetailViewController *orderDetailVC = [[OrderDetailViewController alloc] init];
if ([self.orderTag isEqualToString:@"代支付"]) {
orderDetailVC.orderType = ORDERTOPTYPE_NOPAYMENT;
}else if([self.orderTag isEqualToString:@"待发货"]){
orderDetailVC.orderType = ORDERTOPTYPE_WAITFORDISPATCH;
}else if ([self.orderTag isEqualToString:@"已发货"]){
orderDetailVC.orderType = ORDERTOPTYPE_TRANSPORTED;
}else if ([self.orderTag isEqualToString:@"已完成"]){
orderDetailVC.orderType = ORDERTOPTYPE_COMMPLETE;
}else if ([self.orderTag isEqualToString:@"已取消"]){
orderDetailVC.orderType = ORDERTOPTYPE_CANCELED;
}
[self.navigationController pushViewController:orderDetailVC animated:YES];
}
......
......@@ -7,7 +7,10 @@
//
#import "IBTUIViewController.h"
#import "OrderDetailTopView.h"
@interface OrderDetailViewController : IBTUIViewController
@property (nonatomic, strong) OrderDetailTopView *topView;
@property (nonatomic, assign) ORDERTOPTYPE orderType;
@end
......@@ -7,9 +7,12 @@
//
#import "OrderDetailViewController.h"
#import "OrderDetailTopView.h"
#import "NSString+Category.h"
@interface OrderDetailViewController ()
#import "OrderDetailTableViewCell.h"
#import "UITableView+Category.h"
#import "SeeLogistics.h"
#define kCellId @"OrderDetailTableViewCell.h"
@interface OrderDetailViewController ()<UITableViewDelegate, UITableViewDataSource>
@property (nonatomic, strong) UITableView *tableView;
@end
......@@ -20,25 +23,49 @@
self.view.backgroundColor = kCustomGreenColor;
self.navigationItem.title = @"订单详情";
//tableView
self.tableView = [UITableView plainTableViewWithTarget:self cellNibName:@"OrderDetailTableViewCell" cellId:kCellId];
self.tableView.frame = CGRectMake(0, 0, kWidth, kHeight);
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
self.tableView.backgroundColor = kBacroundColor;
[self.view addSubview:self.tableView];//topView
OrderDetailTopView *topView = [OrderDetailTopView viewWithNibName:@"OrderDetailTopView"];
topView.width = kWidth;
topView.labelAddress.text = [NSString randomTestText];
[self.view addSubview:topView];
topView.labelRemark.text = [NSString randomTestText];
topView.frame = CGRectMake(0, -topView.viewHeight, kWidth, topView.viewHeight);
CLog(@"%f",topView.viewHeight);
self.tableView.contentInset = UIEdgeInsetsMake(topView.viewHeight, 0, 64 + 65, 0);
[self.tableView addSubview:topView];
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
topView.labelAddress.text = [NSString randomTestText];
CLog(@"%f",topView.viewHeight);
//改变tag
topView.orderType = self.orderType;
[topView updateTag];//根据
});
//底部查看物流按钮
if (self.orderType == ORDERTOPTYPE_TRANSPORTED) {
SeeLogistics *viewBottom = [SeeLogistics viewWithNibName:@"SeeLogistics"];
viewBottom.frame = CGRectMake(0, kHeight - 64 - 65, kWidth, 64 + 65);
[self.view addSubview:viewBottom];
}
// Do any additional setup after loading the view.
}
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
return 316;
}
// Do any additional setup after loading the view.
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return 3;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
OrderDetailTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellId forIndexPath:indexPath];
return cell;
}
- (void)setUpTableView {
}
......
......@@ -9,10 +9,6 @@
#import "OrderViewController.h"
#import "JavenMultipleViewWithHeader.h"
#import "NoPaymentTableViewController.h"
#import "WaitForDispatchTableViewController.h"
#import "TransportedTableViewController.h"
#import "CommpleteTableViewController.h"
#import "CanceledTableViewController.h"
@interface OrderViewController ()
@property (nonatomic, strong) JavenMultipleViewWithHeader *viewMutiple;
@end
......@@ -31,21 +27,15 @@
- (void)setUpView {
NoPaymentTableViewController *noPayMentVC = [[NoPaymentTableViewController alloc] init];
WaitForDispatchTableViewController *waitVC = [[WaitForDispatchTableViewController alloc] init];
TransportedTableViewController *transportedVC = [[TransportedTableViewController alloc] init];
CommpleteTableViewController *completeVC = [[CommpleteTableViewController alloc] init];
CanceledTableViewController *cancelVC = [[CanceledTableViewController alloc] init];
NSArray *arrVC = @[noPayMentVC, waitVC, transportedVC, completeVC, cancelVC];
NSArray *arrTitle = @[@"代支付",@"待发货",@"已发货",@"已完成",@"已取消"];
NSMutableArray *arrVC = [NSMutableArray array];
for (int i; i < arrTitle.count; i++) {
NoPaymentTableViewController *noPayMentVC = [[NoPaymentTableViewController alloc] init];
noPayMentVC.orderTag = arrTitle[i];
[arrVC addObject:noPayMentVC];
}
_viewMutiple = [[JavenMultipleViewWithHeader alloc] initWithFrame:CGRectMake(0, 0, kWidth, kHeight)
views:arrVC
titles: arrTitle
......
//
// TransportedTableViewController.m
// ALand
//
// Created by Z on 16/3/30.
// Copyright © 2016年 Z. All rights reserved.
//
#import "TransportedTableViewController.h"
#import "OrderTableViewCell.h"
#define kCellId @"OrderTableViewCell.h"
@interface TransportedTableViewController ()
@property (nonatomic, strong) NSArray *array;
@end
@implementation TransportedTableViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.array = @[@2,@3,@5,@10];
[self.tableView registerNib:[UINib nibWithNibName:@"OrderTableViewCell" bundle:[NSBundle mainBundle]] forCellReuseIdentifier:kCellId];
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
self.tableView.contentInset = UIEdgeInsetsMake(0, 0, 64, 0);
// Uncomment the following line to preserve selection between presentations.
// self.clearsSelectionOnViewWillAppear = NO;
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
// self.navigationItem.rightBarButtonItem = self.editButtonItem;
}
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
return 115 + 130 * [self.array[indexPath.row] integerValue];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
#pragma mark - Table view data source
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
#warning Incomplete implementation, return the number of sections
return 1;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
#warning Incomplete implementation, return the number of rows
return self.array.count;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
OrderTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellId forIndexPath:indexPath];
// Configure the cell...
[cell cellWithViewNumber: [self.array[indexPath.row] integerValue]];
[cell setState:@"已发货"];
return cell;
}
/*
// Override to support conditional editing of the table view.
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
// Return NO if you do not want the specified item to be editable.
return YES;
}
*/
/*
// Override to support editing the table view.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
if (editingStyle == UITableViewCellEditingStyleDelete) {
// Delete the row from the data source
[tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationFade];
} else if (editingStyle == UITableViewCellEditingStyleInsert) {
// Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view
}
}
*/
/*
// Override to support rearranging the table view.
- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath {
}
*/
/*
// Override to support conditional rearranging of the table view.
- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath {
// Return NO if you do not want the item to be re-orderable.
return YES;
}
*/
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/
@end
//
// WaitForDispatchTableViewController.h
// ALand
//
// Created by Z on 16/3/30.
// Copyright © 2016年 Z. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface WaitForDispatchTableViewController : UITableViewController
@end
//
// WaitForDispatchTableViewController.m
// ALand
//
// Created by Z on 16/3/30.
// Copyright © 2016年 Z. All rights reserved.
//
#import "WaitForDispatchTableViewController.h"
#import "OrderTableViewCell.h"
#define kCellId @"OrderTableViewCell.h"
@interface WaitForDispatchTableViewController ()
@property (nonatomic, strong) NSArray *array;
@end
@implementation WaitForDispatchTableViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.array = @[@2,@3,@5,@10];
[self.tableView registerNib:[UINib nibWithNibName:@"OrderTableViewCell" bundle:[NSBundle mainBundle]] forCellReuseIdentifier:kCellId];
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
self.tableView.contentInset = UIEdgeInsetsMake(0, 0, 64, 0);
// Uncomment the following line to preserve selection between presentations.
// self.clearsSelectionOnViewWillAppear = NO;
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
// self.navigationItem.rightBarButtonItem = self.editButtonItem;
}
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
return 115 + 130 * [self.array[indexPath.row] integerValue];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
#pragma mark - Table view data source
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
#warning Incomplete implementation, return the number of sections
return 1;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
#warning Incomplete implementation, return the number of rows
return self.array.count;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
OrderTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellId forIndexPath:indexPath];
// Configure the cell...
[cell cellWithViewNumber: [self.array[indexPath.row] integerValue]];
[cell setState:@"待发货"];
return cell;
}
/*
// Override to support conditional editing of the table view.
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
// Return NO if you do not want the specified item to be editable.
return YES;
}
*/
/*
// Override to support editing the table view.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
if (editingStyle == UITableViewCellEditingStyleDelete) {
// Delete the row from the data source
[tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationFade];
} else if (editingStyle == UITableViewCellEditingStyleInsert) {
// Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view
}
}
*/
/*
// Override to support rearranging the table view.
- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath {
}
*/
/*
// Override to support conditional rearranging of the table view.
- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath {
// Return NO if you do not want the item to be re-orderable.
return YES;
}
*/
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/
@end
......@@ -18,10 +18,10 @@
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Tdr-oJ-D2D">
<rect key="frame" x="0.0" y="0.0" width="375" height="502"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" image="login_top" translatesAutoresizingMaskIntoConstraints="NO" id="gIO-Jz-jhA">
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="login_top" translatesAutoresizingMaskIntoConstraints="NO" id="gIO-Jz-jhA">
<rect key="frame" x="71" y="94" width="234" height="136"/>
</imageView>
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Drd-sW-LYv">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Drd-sW-LYv">
<rect key="frame" x="32" y="274" width="311" height="44"/>
<constraints>
<constraint firstAttribute="width" constant="300" id="1bQ-Cb-7AQ"/>
......@@ -40,7 +40,7 @@
<action selector="rigistAction:" destination="-1" eventType="touchUpInside" id="Qaf-df-5Yo"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Te4-Rx-W0K">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Te4-Rx-W0K">
<rect key="frame" x="32" y="348" width="311" height="44"/>
<constraints>
<constraint firstAttribute="width" constant="300" id="do6-tj-oIb"/>
......
......@@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<string>com.gomore.patrol</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment