Commit bfc73e91 authored by Sandy's avatar Sandy

封装sortview

parent 8ed4b621
...@@ -139,6 +139,8 @@ ...@@ -139,6 +139,8 @@
19D906B71CC86DA300CD42DC /* SettingViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 19D906B51CC86DA300CD42DC /* SettingViewController.xib */; }; 19D906B71CC86DA300CD42DC /* SettingViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 19D906B51CC86DA300CD42DC /* SettingViewController.xib */; };
19D906BB1CC87F3B00CD42DC /* OrderExpressTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 19D906B91CC87F3B00CD42DC /* OrderExpressTableViewCell.m */; }; 19D906BB1CC87F3B00CD42DC /* OrderExpressTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 19D906B91CC87F3B00CD42DC /* OrderExpressTableViewCell.m */; };
19D906BC1CC87F3B00CD42DC /* OrderExpressTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 19D906BA1CC87F3B00CD42DC /* OrderExpressTableViewCell.xib */; }; 19D906BC1CC87F3B00CD42DC /* OrderExpressTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 19D906BA1CC87F3B00CD42DC /* OrderExpressTableViewCell.xib */; };
19D906C31CC8A20F00CD42DC /* OrderDetailBottomView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 19D906C21CC8A20F00CD42DC /* OrderDetailBottomView.xib */; };
19D906C61CC8A21700CD42DC /* OrderDetailBottomView.m in Sources */ = {isa = PBXBuildFile; fileRef = 19D906C51CC8A21700CD42DC /* OrderDetailBottomView.m */; };
19DC6AFC1CBF867E0064A9FD /* JavenShopModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 19DC6AFB1CBF867E0064A9FD /* JavenShopModel.m */; }; 19DC6AFC1CBF867E0064A9FD /* JavenShopModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 19DC6AFB1CBF867E0064A9FD /* JavenShopModel.m */; };
19DC6B0F1CC0AA7D0064A9FD /* MyTeamViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 19DC6B0E1CC0AA7D0064A9FD /* MyTeamViewController.m */; }; 19DC6B0F1CC0AA7D0064A9FD /* MyTeamViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 19DC6B0E1CC0AA7D0064A9FD /* MyTeamViewController.m */; };
19DC6B131CC0ACDE0064A9FD /* MyteamTopView.m in Sources */ = {isa = PBXBuildFile; fileRef = 19DC6B121CC0ACDE0064A9FD /* MyteamTopView.m */; }; 19DC6B131CC0ACDE0064A9FD /* MyteamTopView.m in Sources */ = {isa = PBXBuildFile; fileRef = 19DC6B121CC0ACDE0064A9FD /* MyteamTopView.m */; };
...@@ -483,6 +485,9 @@ ...@@ -483,6 +485,9 @@
19D906B81CC87F3B00CD42DC /* OrderExpressTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OrderExpressTableViewCell.h; sourceTree = "<group>"; }; 19D906B81CC87F3B00CD42DC /* OrderExpressTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OrderExpressTableViewCell.h; sourceTree = "<group>"; };
19D906B91CC87F3B00CD42DC /* OrderExpressTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OrderExpressTableViewCell.m; sourceTree = "<group>"; }; 19D906B91CC87F3B00CD42DC /* OrderExpressTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OrderExpressTableViewCell.m; sourceTree = "<group>"; };
19D906BA1CC87F3B00CD42DC /* OrderExpressTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = OrderExpressTableViewCell.xib; sourceTree = "<group>"; }; 19D906BA1CC87F3B00CD42DC /* OrderExpressTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = OrderExpressTableViewCell.xib; sourceTree = "<group>"; };
19D906C21CC8A20F00CD42DC /* OrderDetailBottomView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = OrderDetailBottomView.xib; sourceTree = "<group>"; };
19D906C41CC8A21700CD42DC /* OrderDetailBottomView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OrderDetailBottomView.h; sourceTree = "<group>"; };
19D906C51CC8A21700CD42DC /* OrderDetailBottomView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OrderDetailBottomView.m; sourceTree = "<group>"; };
19DC6AFA1CBF867E0064A9FD /* JavenShopModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JavenShopModel.h; sourceTree = "<group>"; }; 19DC6AFA1CBF867E0064A9FD /* JavenShopModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JavenShopModel.h; sourceTree = "<group>"; };
19DC6AFB1CBF867E0064A9FD /* JavenShopModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JavenShopModel.m; sourceTree = "<group>"; }; 19DC6AFB1CBF867E0064A9FD /* JavenShopModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JavenShopModel.m; sourceTree = "<group>"; };
19DC6B0D1CC0AA7D0064A9FD /* MyTeamViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyTeamViewController.h; sourceTree = "<group>"; }; 19DC6B0D1CC0AA7D0064A9FD /* MyTeamViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyTeamViewController.h; sourceTree = "<group>"; };
...@@ -766,6 +771,9 @@ ...@@ -766,6 +771,9 @@
199B4D691CABBEF400451E0E /* OrderDetailTopView.xib */, 199B4D691CABBEF400451E0E /* OrderDetailTopView.xib */,
199B4D6B1CABBF0800451E0E /* OrderDetailTopView.h */, 199B4D6B1CABBF0800451E0E /* OrderDetailTopView.h */,
199B4D6C1CABBF0800451E0E /* OrderDetailTopView.m */, 199B4D6C1CABBF0800451E0E /* OrderDetailTopView.m */,
19D906C21CC8A20F00CD42DC /* OrderDetailBottomView.xib */,
19D906C41CC8A21700CD42DC /* OrderDetailBottomView.h */,
19D906C51CC8A21700CD42DC /* OrderDetailBottomView.m */,
199B4D831CAE43F800451E0E /* OrderDetailTableViewCell.h */, 199B4D831CAE43F800451E0E /* OrderDetailTableViewCell.h */,
199B4D841CAE43F800451E0E /* OrderDetailTableViewCell.m */, 199B4D841CAE43F800451E0E /* OrderDetailTableViewCell.m */,
199B4D851CAE43F800451E0E /* OrderDetailTableViewCell.xib */, 199B4D851CAE43F800451E0E /* OrderDetailTableViewCell.xib */,
...@@ -1392,8 +1400,8 @@ ...@@ -1392,8 +1400,8 @@
1979752B1CA90D3900407E3F /* CommodityManagement */, 1979752B1CA90D3900407E3F /* CommodityManagement */,
199BC79F1C9AA7DF00E4E0B8 /* HomeViewController.h */, 199BC79F1C9AA7DF00E4E0B8 /* HomeViewController.h */,
199BC7A01C9AA7DF00E4E0B8 /* HomeViewController.m */, 199BC7A01C9AA7DF00E4E0B8 /* HomeViewController.m */,
1929F18C1CA10C94000E9B26 /* HomeCollectionViewController.h */,
1929F18D1CA10C94000E9B26 /* HomeCollectionViewController.m */, 1929F18D1CA10C94000E9B26 /* HomeCollectionViewController.m */,
1929F18C1CA10C94000E9B26 /* HomeCollectionViewController.h */,
); );
path = ViewController; path = ViewController;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -1856,6 +1864,7 @@ ...@@ -1856,6 +1864,7 @@
199B4D891CAE67C600451E0E /* SeeLogistics.xib in Resources */, 199B4D891CAE67C600451E0E /* SeeLogistics.xib in Resources */,
199BC7B21C9AD4FD00E4E0B8 /* LoginViewController.xib in Resources */, 199BC7B21C9AD4FD00E4E0B8 /* LoginViewController.xib in Resources */,
19ADD38F1CA4EC1000EE6E5A /* AddCommodityHeaderCollectionReusableView.xib in Resources */, 19ADD38F1CA4EC1000EE6E5A /* AddCommodityHeaderCollectionReusableView.xib in Resources */,
19D906C31CC8A20F00CD42DC /* OrderDetailBottomView.xib in Resources */,
199B4D981CAE701F00451E0E /* StoreManagermentViewController.xib in Resources */, 199B4D981CAE701F00451E0E /* StoreManagermentViewController.xib in Resources */,
199BC7C81C9BA2A300E4E0B8 /* ResetPasswordViewController.xib in Resources */, 199BC7C81C9BA2A300E4E0B8 /* ResetPasswordViewController.xib in Resources */,
197975311CA90DA400407E3F /* CommodityManagementTopView.xib in Resources */, 197975311CA90DA400407E3F /* CommodityManagementTopView.xib in Resources */,
...@@ -2011,6 +2020,7 @@ ...@@ -2011,6 +2020,7 @@
19DCCB691C9A9EB30072C3BF /* IBTObject.m in Sources */, 19DCCB691C9A9EB30072C3BF /* IBTObject.m in Sources */,
19DCCBDD1C9AA0450072C3BF /* IBTFileManager.m in Sources */, 19DCCBDD1C9AA0450072C3BF /* IBTFileManager.m in Sources */,
1900A3411CB6059000B2B7C4 /* introductionViewController.m in Sources */, 1900A3411CB6059000B2B7C4 /* introductionViewController.m in Sources */,
19D906C61CC8A21700CD42DC /* OrderDetailBottomView.m in Sources */,
19ADD3771CA4D19F00EE6E5A /* AddCommodityViewController.m in Sources */, 19ADD3771CA4D19F00EE6E5A /* AddCommodityViewController.m in Sources */,
199B4D6D1CABBF0800451E0E /* OrderDetailTopView.m in Sources */, 199B4D6D1CABBF0800451E0E /* OrderDetailTopView.m in Sources */,
19DCCBC71C9AA0450072C3BF /* NSDate+FormatterAdditions.m in Sources */, 19DCCBC71C9AA0450072C3BF /* NSDate+FormatterAdditions.m in Sources */,
......
{
"images" : [
{
"idiom" : "universal",
"filename" : "icon_order_address.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "icon_order_address@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
...@@ -62,8 +62,9 @@ ...@@ -62,8 +62,9 @@
<constraint firstAttribute="height" constant="1" id="qzP-Z6-Apx"/> <constraint firstAttribute="height" constant="1" id="qzP-Z6-Apx"/>
</constraints> </constraints>
</view> </view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aRu-lu-Ec8"> <button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aRu-lu-Ec8" customClass="MBButtonWithFontAdapter">
<rect key="frame" x="6" y="9" width="115" height="25"/> <rect key="frame" x="6" y="9" width="115" height="25"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<state key="normal" title="添加到店铺" image="commodityUnAdded"> <state key="normal" title="添加到店铺" image="commodityUnAdded">
<color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> <color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
</state> </state>
......
...@@ -8,16 +8,17 @@ ...@@ -8,16 +8,17 @@
<objects> <objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="110" id="KGk-i7-Jjw" customClass="CustomerTableViewCell"> <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="86" id="KGk-i7-Jjw" customClass="CustomerTableViewCell">
<rect key="frame" x="0.0" y="0.0" width="375" height="110"/> <rect key="frame" x="0.0" y="0.0" width="339" height="86"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <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"> <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="375" height="109"/> <rect key="frame" x="0.0" y="0.0" width="339" height="85"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="team_icon" translatesAutoresizingMaskIntoConstraints="NO" id="pvt-ct-mi8"> <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="team_icon" translatesAutoresizingMaskIntoConstraints="NO" id="pvt-ct-mi8">
<rect key="frame" x="13" y="18" width="94" height="73"/> <rect key="frame" x="13" y="18" width="70" height="49"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="70" id="Ku3-bP-fbJ"/>
<constraint firstAttribute="width" constant="129" id="bHh-Wt-O1J"/> <constraint firstAttribute="width" constant="129" id="bHh-Wt-O1J"/>
</constraints> </constraints>
<variation key="default"> <variation key="default">
...@@ -26,54 +27,62 @@ ...@@ -26,54 +27,62 @@
</mask> </mask>
</variation> </variation>
</imageView> </imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="18253432522" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pwt-qX-7g4"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="订单总数:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5XS-Sk-n6g" customClass="MBLabelWithFontAdapter">
<rect key="frame" x="112" y="18" width="122" height="23"/> <rect key="frame" x="91" y="42" width="73" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="19"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="订单总数:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5XS-Sk-n6g" customClass="MBLabelWithFontAdapter">
<rect key="frame" x="112" y="56" width="85" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="8" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3bd-RB-h0V" customClass="MBLabelWithFontAdapter"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="8" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3bd-RB-h0V" customClass="MBLabelWithFontAdapter">
<rect key="frame" x="197" y="56" width="11" height="21"/> <rect key="frame" x="164" y="42" width="11" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> <color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="收入总计" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0K4-NW-0GC" customClass="MBLabelWithFontAdapter"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="收入总计:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0K4-NW-0GC" customClass="MBLabelWithFontAdapter">
<rect key="frame" x="216" y="56" width="85" height="21"/> <rect key="frame" x="213" y="42" width="73" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="32.89" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cfg-Yj-Odk" customClass="MBLabelWithFontAdapter"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="32.89" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cfg-Yj-Odk" customClass="MBLabelWithFontAdapter">
<rect key="frame" x="301" y="56" width="45" height="21"/> <rect key="frame" x="286" y="42" width="45" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> <color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="18253432522" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pwt-qX-7g4">
<rect key="frame" x="91" y="18" width="122" height="23"/>
<fontDescription key="fontDescription" type="system" pointSize="19"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews> </subviews>
<constraints> <constraints>
<constraint firstItem="3bd-RB-h0V" firstAttribute="leading" secondItem="5XS-Sk-n6g" secondAttribute="trailing" id="0Wo-I5-m3A"/> <constraint firstItem="3bd-RB-h0V" firstAttribute="leading" secondItem="5XS-Sk-n6g" secondAttribute="trailing" id="0Wo-I5-m3A"/>
<constraint firstItem="0K4-NW-0GC" firstAttribute="leading" secondItem="3bd-RB-h0V" secondAttribute="trailing" constant="8" id="777-Y1-0sK"/>
<constraint firstItem="Cfg-Yj-Odk" firstAttribute="centerY" secondItem="0K4-NW-0GC" secondAttribute="centerY" id="Aeu-AR-P9w"/> <constraint firstItem="Cfg-Yj-Odk" firstAttribute="centerY" secondItem="0K4-NW-0GC" secondAttribute="centerY" id="Aeu-AR-P9w"/>
<constraint firstItem="pwt-qX-7g4" firstAttribute="top" secondItem="pvt-ct-mi8" secondAttribute="top" id="BFk-3n-8Oz"/> <constraint firstItem="pwt-qX-7g4" firstAttribute="top" secondItem="pvt-ct-mi8" secondAttribute="top" id="BFk-3n-8Oz"/>
<constraint firstAttribute="bottomMargin" secondItem="pvt-ct-mi8" secondAttribute="bottom" constant="10" id="JuT-Dm-8nM"/> <constraint firstAttribute="bottomMargin" secondItem="pvt-ct-mi8" secondAttribute="bottom" constant="10" id="JuT-Dm-8nM"/>
<constraint firstItem="5XS-Sk-n6g" firstAttribute="leading" secondItem="pwt-qX-7g4" secondAttribute="leading" id="VIi-vp-LNf"/> <constraint firstItem="5XS-Sk-n6g" firstAttribute="leading" secondItem="pwt-qX-7g4" secondAttribute="leading" id="VIi-vp-LNf"/>
<constraint firstItem="3bd-RB-h0V" firstAttribute="centerY" secondItem="5XS-Sk-n6g" secondAttribute="centerY" id="Zcq-dD-Ld6"/> <constraint firstItem="3bd-RB-h0V" firstAttribute="centerY" secondItem="5XS-Sk-n6g" secondAttribute="centerY" id="Zcq-dD-Ld6"/>
<constraint firstItem="pvt-ct-mi8" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="5" id="avJ-C6-GSY"/>
<constraint firstItem="0K4-NW-0GC" firstAttribute="centerY" secondItem="5XS-Sk-n6g" secondAttribute="centerY" id="fxJ-cS-7rA"/> <constraint firstItem="0K4-NW-0GC" firstAttribute="centerY" secondItem="5XS-Sk-n6g" secondAttribute="centerY" id="fxJ-cS-7rA"/>
<constraint firstItem="pwt-qX-7g4" firstAttribute="leading" secondItem="pvt-ct-mi8" secondAttribute="trailing" constant="5" id="gur-Ai-o3L"/> <constraint firstItem="pwt-qX-7g4" firstAttribute="leading" secondItem="pvt-ct-mi8" secondAttribute="trailing" constant="5" id="gur-Ai-o3L"/>
<constraint firstAttribute="bottomMargin" secondItem="5XS-Sk-n6g" secondAttribute="bottom" constant="24" id="q9w-IX-k6y"/> <constraint firstAttribute="bottomMargin" secondItem="5XS-Sk-n6g" secondAttribute="bottom" constant="14" id="q9w-IX-k6y"/>
<constraint firstItem="Cfg-Yj-Odk" firstAttribute="leading" secondItem="0K4-NW-0GC" secondAttribute="trailing" id="qYK-QT-W1E"/> <constraint firstItem="Cfg-Yj-Odk" firstAttribute="leading" secondItem="0K4-NW-0GC" secondAttribute="trailing" id="qYK-QT-W1E"/>
<constraint firstItem="pvt-ct-mi8" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="5" id="v4x-dD-DNg"/> <constraint firstItem="pwt-qX-7g4" firstAttribute="leading" secondItem="pvt-ct-mi8" secondAttribute="trailing" constant="8" id="vZ1-uN-4Jn"/>
<constraint firstItem="pvt-ct-mi8" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="10" id="yLM-1G-dB1"/> <constraint firstItem="pvt-ct-mi8" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="10" id="yLM-1G-dB1"/>
<constraint firstItem="pwt-qX-7g4" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="10" id="zOf-m4-bTU"/>
<constraint firstAttribute="trailingMargin" secondItem="Cfg-Yj-Odk" secondAttribute="trailing" id="ztN-52-GKe"/>
</constraints> </constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="BFk-3n-8Oz"/>
<exclude reference="gur-Ai-o3L"/>
</mask>
</variation>
</tableViewCellContentView> </tableViewCellContentView>
<point key="canvasLocation" x="307.5" y="338"/> <point key="canvasLocation" x="289.5" y="326"/>
</tableViewCell> </tableViewCell>
</objects> </objects>
<resources> <resources>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Bloem天然草本更年期综合营养 胶囊100粒 " textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dhI-dB-05Q"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Bloem天然草本更年期综合营养 胶囊100粒 " textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dhI-dB-05Q">
<rect key="frame" x="106" y="8" width="206" height="41"/> <rect key="frame" x="106" y="8" width="206" height="41"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="96粒" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bGv-K4-Dnw"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="96粒" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bGv-K4-Dnw">
......
//
// OrderDetailBottomView.h
// ALand
//
// Created by Z on 16/4/21.
// Copyright © 2016年 Z. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface OrderDetailBottomView : UIView
@property (weak, nonatomic) IBOutlet UILabel *laberRemark;
@property (weak, nonatomic) IBOutlet UIView *viewRemark;
- (void)updateHeight;
@end
//
// OrderDetailBottomView.m
// ALand
//
// Created by Z on 16/4/21.
// Copyright © 2016年 Z. All rights reserved.
//
#import "OrderDetailBottomView.h"
@implementation OrderDetailBottomView
- (void)setString:(NSString *)string {
self.laberRemark.text = string;
[self layoutIfNeeded];
self.height = self.viewRemark.bottom;
CLog(@"%f", self.height);
}
- (void)updateHeight {
self.height = self.viewRemark.bottom + 163;
}
/*
// 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="pOh-s7-CKQ" customClass="OrderDetailBottomView">
<rect key="frame" x="0.0" y="0.0" width="320" height="337"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="RJv-jW-sXA">
<rect key="frame" x="0.0" y="164" width="320" height="195"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FNl-YE-JKf">
<rect key="frame" x="0.0" y="8" width="320" height="30"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="订单编号:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Zmf-WG-qXK">
<rect key="frame" x="24" y="5" width="85" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2223323423008340" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="aoW-zQ-3TF">
<rect key="frame" x="112" y="4" width="164" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="Zmf-WG-qXK" firstAttribute="centerY" secondItem="FNl-YE-JKf" secondAttribute="centerY" id="WUW-GY-0Ho"/>
<constraint firstItem="aoW-zQ-3TF" firstAttribute="centerY" secondItem="FNl-YE-JKf" secondAttribute="centerY" id="Xg9-wM-vR6"/>
<constraint firstItem="aoW-zQ-3TF" firstAttribute="leading" secondItem="Zmf-WG-qXK" secondAttribute="trailing" constant="3" id="dxp-wj-KhK"/>
<constraint firstItem="Zmf-WG-qXK" firstAttribute="leading" secondItem="FNl-YE-JKf" secondAttribute="leading" constant="24" id="sts-AV-a0s"/>
<constraint firstAttribute="height" constant="30" id="zC1-D9-DwE"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LjE-2u-bRX">
<rect key="frame" x="0.0" y="38" width="320" height="30"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="下单时间:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TKU-pz-h5N">
<rect key="frame" x="24" y="5" width="85" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2016-12-38" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sKX-f4-drT">
<rect key="frame" x="112" y="4" width="92" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="Sib-j2-iRW"/>
<constraint firstItem="TKU-pz-h5N" firstAttribute="centerY" secondItem="LjE-2u-bRX" secondAttribute="centerY" id="h7c-Pq-imX"/>
<constraint firstItem="TKU-pz-h5N" firstAttribute="leading" secondItem="LjE-2u-bRX" secondAttribute="leading" constant="24" id="hg7-D9-KAb"/>
<constraint firstItem="sKX-f4-drT" firstAttribute="centerY" secondItem="LjE-2u-bRX" secondAttribute="centerY" id="l2Y-WU-xiA"/>
<constraint firstItem="sKX-f4-drT" firstAttribute="leading" secondItem="TKU-pz-h5N" secondAttribute="trailing" constant="3" id="zSn-nC-BBE"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CoV-Us-WDw">
<rect key="frame" x="0.0" y="68" width="320" height="70"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="订单备注:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ufG-kV-Uns">
<rect key="frame" x="24" y="25" width="85" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="85" id="Jep-Tb-hyP"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="无进度时代发生地方瑟道夫快结束了开发建设sd东方时代分手的风味噢噢 " textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Dfr-K5-NeA">
<rect key="frame" x="112" y="4" width="200" height="61"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="Dfr-K5-NeA" secondAttribute="trailing" constant="8" id="6qV-Fw-PKo"/>
<constraint firstAttribute="height" constant="30" id="9bZ-Vc-6MA"/>
<constraint firstItem="Dfr-K5-NeA" firstAttribute="centerY" secondItem="CoV-Us-WDw" secondAttribute="centerY" id="NFi-ME-rvn"/>
<constraint firstAttribute="bottom" secondItem="Dfr-K5-NeA" secondAttribute="bottom" constant="5" id="SFi-Cx-PUz"/>
<constraint firstItem="Dfr-K5-NeA" firstAttribute="centerY" secondItem="CoV-Us-WDw" secondAttribute="centerY" id="YBM-sM-12R"/>
<constraint firstItem="ufG-kV-Uns" firstAttribute="centerY" secondItem="CoV-Us-WDw" secondAttribute="centerY" id="eSp-kW-8R0"/>
<constraint firstAttribute="bottom" secondItem="Dfr-K5-NeA" secondAttribute="bottom" constant="4" id="ezY-8M-C6w"/>
<constraint firstItem="Dfr-K5-NeA" firstAttribute="top" secondItem="CoV-Us-WDw" secondAttribute="top" constant="4" id="g8q-wD-DZX"/>
<constraint firstItem="ufG-kV-Uns" firstAttribute="leading" secondItem="CoV-Us-WDw" secondAttribute="leading" constant="24" id="gPM-Rf-z4T"/>
<constraint firstItem="Dfr-K5-NeA" firstAttribute="leading" secondItem="ufG-kV-Uns" secondAttribute="trailing" constant="3" id="i1q-1o-sXW"/>
<constraint firstItem="Dfr-K5-NeA" firstAttribute="top" secondItem="CoV-Us-WDw" secondAttribute="top" constant="4" id="tGd-OM-w2n"/>
<constraint firstItem="Dfr-K5-NeA" firstAttribute="leading" secondItem="ufG-kV-Uns" secondAttribute="trailing" constant="3" id="wvv-Rf-cc8"/>
<constraint firstAttribute="trailing" secondItem="Dfr-K5-NeA" secondAttribute="trailing" constant="8" id="xqB-61-As0"/>
</constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="9bZ-Vc-6MA"/>
<exclude reference="NFi-ME-rvn"/>
<exclude reference="ezY-8M-C6w"/>
<exclude reference="tGd-OM-w2n"/>
<exclude reference="wvv-Rf-cc8"/>
<exclude reference="xqB-61-As0"/>
</mask>
</variation>
</view>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="CoV-Us-WDw" firstAttribute="top" secondItem="LjE-2u-bRX" secondAttribute="bottom" id="0b3-Lu-GYs"/>
<constraint firstItem="LjE-2u-bRX" firstAttribute="leading" secondItem="RJv-jW-sXA" secondAttribute="leading" id="3ab-lX-rJz"/>
<constraint firstItem="FNl-YE-JKf" firstAttribute="leading" secondItem="RJv-jW-sXA" secondAttribute="leading" id="ESG-2E-zzI"/>
<constraint firstAttribute="trailing" secondItem="FNl-YE-JKf" secondAttribute="trailing" id="FHr-10-deL"/>
<constraint firstItem="FNl-YE-JKf" firstAttribute="top" secondItem="RJv-jW-sXA" secondAttribute="top" constant="8" id="UyZ-Dw-M55"/>
<constraint firstAttribute="trailing" secondItem="LjE-2u-bRX" secondAttribute="trailing" id="Yau-af-JN5"/>
<constraint firstItem="CoV-Us-WDw" firstAttribute="leading" secondItem="RJv-jW-sXA" secondAttribute="leading" id="ZAT-x9-msr"/>
<constraint firstItem="LjE-2u-bRX" firstAttribute="top" secondItem="FNl-YE-JKf" secondAttribute="bottom" id="dOT-8J-l2t"/>
<constraint firstAttribute="trailing" secondItem="CoV-Us-WDw" secondAttribute="trailing" id="oqB-QT-1n4"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="7Zx-SM-x7F">
<rect key="frame" x="0.0" y="0.0" width="320" height="150"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4Ej-sj-xdJ">
<rect key="frame" x="0.0" y="0.0" width="320" height="30"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="商品金额:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="N4g-xA-5Vq">
<rect key="frame" x="20" y="5" width="85" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥827" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="20G-Ig-3ql">
<rect key="frame" x="255" y="5" width="45" height="20"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="N4g-xA-5Vq" firstAttribute="centerY" secondItem="4Ej-sj-xdJ" secondAttribute="centerY" id="3wR-Vn-WGA"/>
<constraint firstAttribute="trailing" secondItem="20G-Ig-3ql" secondAttribute="trailing" constant="20" id="9Ej-bi-cHv"/>
<constraint firstAttribute="height" constant="30" id="Jqs-oi-mS8"/>
<constraint firstItem="20G-Ig-3ql" firstAttribute="centerY" secondItem="4Ej-sj-xdJ" secondAttribute="centerY" id="KwP-hW-v83"/>
<constraint firstItem="N4g-xA-5Vq" firstAttribute="leading" secondItem="4Ej-sj-xdJ" secondAttribute="leading" constant="20" id="sr6-fZ-MuC"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="03T-0h-Ufa">
<rect key="frame" x="0.0" y="30" width="320" height="30"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="运费:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="upY-P3-t4v">
<rect key="frame" x="20" y="5" width="85" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥827" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7hy-IY-Wba">
<rect key="frame" x="255" y="5" width="45" height="20"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="upY-P3-t4v" firstAttribute="centerY" secondItem="03T-0h-Ufa" secondAttribute="centerY" id="Kfa-Jw-v8n"/>
<constraint firstItem="upY-P3-t4v" firstAttribute="leading" secondItem="03T-0h-Ufa" secondAttribute="leading" constant="20" id="Kzm-9w-uMG"/>
<constraint firstItem="7hy-IY-Wba" firstAttribute="centerY" secondItem="03T-0h-Ufa" secondAttribute="centerY" id="ac2-j5-RA8"/>
<constraint firstAttribute="trailing" secondItem="7hy-IY-Wba" secondAttribute="trailing" constant="20" id="gid-e4-5S0"/>
<constraint firstAttribute="height" constant="30" id="x0U-Jr-cj2"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="K9h-pd-1Nq">
<rect key="frame" x="0.0" y="60" width="320" height="30"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="行邮税:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Hbh-zG-m7Y">
<rect key="frame" x="20" y="5" width="64" height="20"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="¥827" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wye-4u-nVq">
<rect key="frame" x="253" y="5" width="47" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="Hbh-zG-m7Y" firstAttribute="centerY" secondItem="K9h-pd-1Nq" secondAttribute="centerY" id="9gV-6Y-XQX"/>
<constraint firstItem="Hbh-zG-m7Y" firstAttribute="leading" secondItem="K9h-pd-1Nq" secondAttribute="leading" constant="20" id="KUD-Hj-4PC"/>
<constraint firstAttribute="height" constant="30" id="fKw-rh-qmc"/>
<constraint firstItem="wye-4u-nVq" firstAttribute="centerY" secondItem="K9h-pd-1Nq" secondAttribute="centerY" id="soH-bR-G5E"/>
<constraint firstAttribute="trailing" secondItem="wye-4u-nVq" secondAttribute="trailing" constant="20" id="vQD-Tt-tCD"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wtu-Ae-wuE">
<rect key="frame" x="0.0" y="90" width="320" height="30"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="总计:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bW0-JD-btp">
<rect key="frame" x="20" y="5" width="48" height="20"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥827" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VEX-fb-el0">
<rect key="frame" x="255" y="5" width="45" height="20"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="VEX-fb-el0" secondAttribute="trailing" constant="20" id="0kF-YW-tRU"/>
<constraint firstItem="bW0-JD-btp" firstAttribute="centerY" secondItem="wtu-Ae-wuE" secondAttribute="centerY" id="4PE-bw-uVD"/>
<constraint firstAttribute="height" constant="30" id="hIM-gy-qDw"/>
<constraint firstItem="bW0-JD-btp" firstAttribute="leading" secondItem="wtu-Ae-wuE" secondAttribute="leading" constant="20" id="mLm-K6-0VT"/>
<constraint firstItem="VEX-fb-el0" firstAttribute="centerY" secondItem="wtu-Ae-wuE" secondAttribute="centerY" id="uni-4e-AtR"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="C9h-JJ-zIN">
<rect key="frame" x="0.0" y="120" width="320" height="30"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="佣金:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XyZ-8W-5gq">
<rect key="frame" x="20" y="5" width="48" height="20"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥827" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="A7h-to-ZFP">
<rect key="frame" x="255" y="5" width="45" height="20"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="A7h-to-ZFP" secondAttribute="trailing" constant="20" id="SiW-Y5-QMz"/>
<constraint firstItem="XyZ-8W-5gq" firstAttribute="leading" secondItem="C9h-JJ-zIN" secondAttribute="leading" constant="20" id="Wdb-sm-Lc1"/>
<constraint firstAttribute="height" constant="30" id="Z2L-bW-9WX"/>
<constraint firstItem="A7h-to-ZFP" firstAttribute="centerY" secondItem="C9h-JJ-zIN" secondAttribute="centerY" id="pO7-4B-Fyh"/>
<constraint firstItem="XyZ-8W-5gq" firstAttribute="centerY" secondItem="C9h-JJ-zIN" secondAttribute="centerY" id="t0p-Gh-yVC"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="C9h-JJ-zIN" firstAttribute="leading" secondItem="7Zx-SM-x7F" secondAttribute="leading" id="5wj-uQ-13q"/>
<constraint firstItem="wtu-Ae-wuE" firstAttribute="top" secondItem="K9h-pd-1Nq" secondAttribute="bottom" id="AlR-xj-Wp5"/>
<constraint firstAttribute="height" constant="150" id="EWy-8W-nLz"/>
<constraint firstItem="4Ej-sj-xdJ" firstAttribute="top" secondItem="7Zx-SM-x7F" secondAttribute="top" id="Gu3-FE-nP7"/>
<constraint firstItem="K9h-pd-1Nq" firstAttribute="top" secondItem="03T-0h-Ufa" secondAttribute="bottom" id="IIH-Kq-ow0"/>
<constraint firstItem="C9h-JJ-zIN" firstAttribute="top" secondItem="wtu-Ae-wuE" secondAttribute="bottom" id="JcR-GM-yQf"/>
<constraint firstItem="4Ej-sj-xdJ" firstAttribute="leading" secondItem="7Zx-SM-x7F" secondAttribute="leading" id="LSX-JW-G6o"/>
<constraint firstItem="K9h-pd-1Nq" firstAttribute="leading" secondItem="7Zx-SM-x7F" secondAttribute="leading" id="WnB-ih-MzY"/>
<constraint firstItem="03T-0h-Ufa" firstAttribute="top" secondItem="4Ej-sj-xdJ" secondAttribute="bottom" id="X8h-7k-M8I"/>
<constraint firstItem="03T-0h-Ufa" firstAttribute="leading" secondItem="7Zx-SM-x7F" secondAttribute="leading" id="e7k-PN-Vr2"/>
<constraint firstAttribute="trailing" secondItem="wtu-Ae-wuE" secondAttribute="trailing" id="hLJ-1m-L1X"/>
<constraint firstAttribute="trailing" secondItem="C9h-JJ-zIN" secondAttribute="trailing" id="t4v-ap-4u7"/>
<constraint firstAttribute="trailing" secondItem="K9h-pd-1Nq" secondAttribute="trailing" id="vHy-Ld-Ue0"/>
<constraint firstAttribute="trailing" secondItem="4Ej-sj-xdJ" secondAttribute="trailing" id="vLj-uz-pVK"/>
<constraint firstAttribute="trailing" secondItem="03T-0h-Ufa" secondAttribute="trailing" id="wZJ-8f-ybK"/>
<constraint firstItem="wtu-Ae-wuE" firstAttribute="leading" secondItem="7Zx-SM-x7F" secondAttribute="leading" id="zF4-Vz-kYU"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" red="0.91271875000000002" green="0.91271875000000002" blue="0.91271875000000002" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstItem="RJv-jW-sXA" firstAttribute="leading" secondItem="pOh-s7-CKQ" secondAttribute="leading" id="BBO-In-y9Q"/>
<constraint firstItem="7Zx-SM-x7F" firstAttribute="leading" secondItem="pOh-s7-CKQ" secondAttribute="leading" id="R62-0x-hsL"/>
<constraint firstItem="RJv-jW-sXA" firstAttribute="top" secondItem="7Zx-SM-x7F" secondAttribute="bottom" constant="14" id="XWw-H1-C7X"/>
<constraint firstItem="7Zx-SM-x7F" firstAttribute="top" secondItem="pOh-s7-CKQ" secondAttribute="top" id="aFC-7f-O7k"/>
<constraint firstAttribute="bottom" secondItem="RJv-jW-sXA" secondAttribute="bottom" id="e7J-wh-XGv"/>
<constraint firstAttribute="trailing" secondItem="7Zx-SM-x7F" secondAttribute="trailing" id="o5z-sU-uAr"/>
<constraint firstAttribute="trailing" secondItem="RJv-jW-sXA" secondAttribute="trailing" id="uzL-4u-2kd"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<connections>
<outlet property="laberRemark" destination="Dfr-K5-NeA" id="GK4-H5-9pu"/>
<outlet property="viewRemark" destination="CoV-Us-WDw" id="JZe-Oc-FgW"/>
</connections>
<point key="canvasLocation" x="370" y="34.5"/>
</view>
</objects>
</document>
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
- (void)setSelected:(BOOL)selected animated:(BOOL)animated { - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSelected:selected animated:animated]; [super setSelected:selected animated:animated];
// Configure the view for the selected state // Configure the view for the selected state
} }
......
...@@ -8,305 +8,111 @@ ...@@ -8,305 +8,111 @@
<objects> <objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="318" id="KGk-i7-Jjw" customClass="OrderDetailTableViewCell"> <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="132" id="KGk-i7-Jjw" customClass="OrderDetailTableViewCell">
<rect key="frame" x="0.0" y="0.0" width="320" height="316"/> <rect key="frame" x="0.0" y="0.0" width="393" height="130"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <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"> <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"/> <rect key="frame" x="0.0" y="0.0" width="393" height="129"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Pij-kx-Pb0"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="r5S-Ro-8VU" customClass="OrderCellView">
<rect key="frame" x="0.0" y="0.0" width="320" height="120"/> <rect key="frame" x="0.0" y="0.0" width="393" height="129"/>
<subviews> <subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="commodityManagementImage" translatesAutoresizingMaskIntoConstraints="NO" id="zVj-uC-2Ee"> <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="commodityManagementImage" translatesAutoresizingMaskIntoConstraints="NO" id="Mc7-h2-x4c">
<rect key="frame" x="8" y="8" width="90" height="101"/> <rect key="frame" x="8" y="8" width="90" height="113"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="90" id="Wde-RT-QaX"/> <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="90" id="22x-hE-Rpa"/>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="90" id="gAR-gh-hPh"/> <constraint firstAttribute="width" constant="90" id="UdZ-Em-tDJ"/>
<constraint firstAttribute="height" constant="81" id="zzN-2S-ayj"/> <constraint firstAttribute="height" constant="81" id="ihX-bo-i9r"/>
</constraints> </constraints>
<variation key="default"> <variation key="default">
<mask key="constraints"> <mask key="constraints">
<exclude reference="zzN-2S-ayj"/> <exclude reference="ihX-bo-i9r"/>
</mask> </mask>
</variation> </variation>
</imageView> </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"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Bloem天然草本更年期综合营养 胶囊100粒 " textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cAt-eD-6vx">
<rect key="frame" x="106" y="8" width="230" height="41"/> <rect key="frame" x="106" y="8" width="279" height="41"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<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"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="96粒" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8kn-MT-U4g">
<rect key="frame" x="106" y="62" width="43" height="23"/> <rect key="frame" x="106" y="89" width="38" height="21"/>
<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"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.60138541670000001" green="0.60138541670000001" blue="0.60138541670000001" alpha="1" colorSpace="calibratedRGB"/> <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </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"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="x3" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tF6-Uj-hrX">
<rect key="frame" x="285" y="14" width="35" height="21"/> <rect key="frame" x="152" y="89" width="20" height="22"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="18"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/> <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<view contentMode="scaleToFill" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="g7f-Jb-EQP"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥178" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dJx-Eq-r4u">
<rect key="frame" x="0.0" y="48" width="328" height="1"/> <rect key="frame" x="298" y="89" width="45" height="21"/>
<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="Nkd-3W-crO"/>
<exclude reference="dAK-lK-vhu"/>
<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"/> <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"/> <nil key="highlightedColor"/>
</label> </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"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="thy-fG-0wI">
<rect key="frame" x="272" y="14" width="48" height="21"/> <rect key="frame" x="8" y="127" width="377" height="1"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="backgroundColor" red="0.94901960780000005" green="0.94901960780000005" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/>
<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> <constraints>
<constraint firstAttribute="height" constant="1" id="mwK-aI-qW0"/> <constraint firstAttribute="height" constant="1" id="mLp-3F-2T4"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="1" id="t9r-WP-d4i"/>
</constraints> </constraints>
</view> </view>
</subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="售价:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KHr-8i-qcJ">
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <rect key="frame" x="259" y="89" width="39" height="21"/>
<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"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/> <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </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> </subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <color key="backgroundColor" red="0.96470588239999999" green="0.96470588239999999" blue="0.96470588239999999" alpha="1" colorSpace="calibratedRGB"/>
<constraints> <constraints>
<constraint firstItem="oWs-qD-X86" firstAttribute="leading" secondItem="GaB-5p-DxG" secondAttribute="leadingMargin" id="1Nn-3s-pAN"/> <constraint firstAttribute="trailingMargin" secondItem="cAt-eD-6vx" secondAttribute="trailing" id="1RH-5d-fWz"/>
<constraint firstAttribute="trailing" secondItem="oWs-qD-X86" secondAttribute="trailing" id="Av4-Kw-LET"/> <constraint firstAttribute="bottom" secondItem="8kn-MT-U4g" secondAttribute="bottom" constant="19" id="4gf-4J-NsH"/>
<constraint firstItem="Stz-Tw-pxe" firstAttribute="centerY" secondItem="GaB-5p-DxG" secondAttribute="centerY" id="InF-UY-vCB"/> <constraint firstItem="Mc7-h2-x4c" firstAttribute="leading" secondItem="r5S-Ro-8VU" secondAttribute="leadingMargin" id="5aN-FQ-xIS"/>
<constraint firstAttribute="trailingMargin" secondItem="oWs-qD-X86" secondAttribute="trailing" id="JML-B8-m1z"/> <constraint firstAttribute="trailing" secondItem="dJx-Eq-r4u" secondAttribute="trailing" constant="50" id="C6W-5B-Vfo"/>
<constraint firstAttribute="height" constant="49" id="MZP-bz-r3K"/> <constraint firstItem="dJx-Eq-r4u" firstAttribute="leading" secondItem="KHr-8i-qcJ" secondAttribute="trailing" id="H6p-31-uZp"/>
<constraint firstAttribute="height" relation="lessThanOrEqual" constant="49" id="PhH-27-Uen"/> <constraint firstItem="thy-fG-0wI" firstAttribute="leading" secondItem="r5S-Ro-8VU" secondAttribute="leading" constant="8" id="HPo-JN-THV"/>
<constraint firstItem="Stz-Tw-pxe" firstAttribute="leading" secondItem="GaB-5p-DxG" secondAttribute="leading" constant="8" id="Y6u-3r-bbr"/> <constraint firstItem="dJx-Eq-r4u" firstAttribute="leading" secondItem="8kn-MT-U4g" secondAttribute="leading" id="Lse-c0-ldA"/>
<constraint firstAttribute="bottom" secondItem="oWs-qD-X86" secondAttribute="bottom" id="eLH-Wa-cda"/> <constraint firstItem="cAt-eD-6vx" firstAttribute="leading" secondItem="Mc7-h2-x4c" secondAttribute="trailing" constant="8" id="MEv-Yu-ON5"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="49" id="fP9-52-ggS"/> <constraint firstItem="tF6-Uj-hrX" firstAttribute="leading" secondItem="8kn-MT-U4g" secondAttribute="trailing" constant="8" id="O2S-uw-5HE"/>
<constraint firstItem="oWs-qD-X86" firstAttribute="bottom" secondItem="GaB-5p-DxG" secondAttribute="bottomMargin" constant="1" id="h3H-kv-8eR"/> <constraint firstAttribute="bottom" secondItem="thy-fG-0wI" secondAttribute="bottom" constant="1" id="Psr-bK-xuu"/>
<constraint firstItem="oWs-qD-X86" firstAttribute="leading" secondItem="GaB-5p-DxG" secondAttribute="leading" id="m74-ly-jZX"/> <constraint firstAttribute="bottomMargin" secondItem="Mc7-h2-x4c" secondAttribute="bottom" id="R4c-l5-NBa"/>
<constraint firstItem="fYJ-v7-1ii" firstAttribute="leading" secondItem="Stz-Tw-pxe" secondAttribute="trailing" id="n7L-7Q-7rf"/> <constraint firstItem="dJx-Eq-r4u" firstAttribute="centerY" secondItem="tF6-Uj-hrX" secondAttribute="centerY" id="SWh-Xa-8Ws"/>
<constraint firstItem="fYJ-v7-1ii" firstAttribute="centerY" secondItem="Stz-Tw-pxe" secondAttribute="centerY" id="vPT-t7-RdZ"/> <constraint firstItem="tF6-Uj-hrX" firstAttribute="centerY" secondItem="8kn-MT-U4g" secondAttribute="centerY" id="TdK-l1-FY5"/>
<constraint firstItem="dJx-Eq-r4u" firstAttribute="top" secondItem="8kn-MT-U4g" secondAttribute="bottom" constant="3" id="WcB-SJ-J9P"/>
<constraint firstItem="KHr-8i-qcJ" firstAttribute="centerY" secondItem="tF6-Uj-hrX" secondAttribute="centerY" id="Y0d-qA-kTu"/>
<constraint firstItem="cAt-eD-6vx" firstAttribute="top" secondItem="Mc7-h2-x4c" secondAttribute="top" id="a30-CC-wtp"/>
<constraint firstItem="dJx-Eq-r4u" firstAttribute="bottom" secondItem="Mc7-h2-x4c" secondAttribute="bottom" id="a7S-Rv-SpR"/>
<constraint firstItem="8kn-MT-U4g" firstAttribute="leading" secondItem="cAt-eD-6vx" secondAttribute="leading" id="heK-Ec-xkq"/>
<constraint firstItem="Mc7-h2-x4c" firstAttribute="top" secondItem="r5S-Ro-8VU" secondAttribute="topMargin" id="ndG-Rc-WEf"/>
<constraint firstAttribute="trailing" secondItem="thy-fG-0wI" secondAttribute="trailing" constant="8" id="s5d-Qe-Rjm"/>
</constraints> </constraints>
<variation key="default"> <variation key="default">
<mask key="constraints"> <mask key="constraints">
<exclude reference="1Nn-3s-pAN"/> <exclude reference="WcB-SJ-J9P"/>
<exclude reference="JML-B8-m1z"/> <exclude reference="a7S-Rv-SpR"/>
<exclude reference="h3H-kv-8eR"/> <exclude reference="Lse-c0-ldA"/>
<exclude reference="n7L-7Q-7rf"/>
</mask> </mask>
</variation> </variation>
<connections>
<outlet property="labelTitle" destination="cAt-eD-6vx" id="hME-O8-9VO"/>
</connections>
</view> </view>
</subviews> </subviews>
<color key="backgroundColor" red="0.75686274509999996" green="0.75686274509999996" blue="0.75686274509999996" alpha="1" colorSpace="calibratedRGB"/>
<constraints> <constraints>
<constraint firstItem="qBB-yj-UWl" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" id="A24-jS-atZ"/> <constraint firstAttribute="bottom" secondItem="r5S-Ro-8VU" secondAttribute="bottom" id="PDL-3S-w5o"/>
<constraint firstItem="dJf-BG-hMK" firstAttribute="trailing" secondItem="Q6S-Hm-PjW" secondAttribute="trailing" id="FjO-aB-Vtj"/> <constraint firstItem="r5S-Ro-8VU" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="Trt-Ig-CcU"/>
<constraint firstItem="79t-Nu-k0h" firstAttribute="trailing" secondItem="H2p-sc-9uM" secondAttribute="trailingMargin" id="JZ8-X8-9Wr"/> <constraint firstItem="r5S-Ro-8VU" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="U1s-IO-fVx"/>
<constraint firstItem="Ub2-YQ-3pA" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" id="LDS-ZJ-4J0"/> <constraint firstAttribute="trailing" secondItem="r5S-Ro-8VU" secondAttribute="trailing" id="r2Z-Ef-iF5"/>
<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> </constraints>
</tableViewCellContentView> </tableViewCellContentView>
<connections> <point key="canvasLocation" x="233.5" y="296"/>
<outlet property="cellTopView" destination="Pij-kx-Pb0" id="tFr-PT-ehm"/>
</connections>
<point key="canvasLocation" x="187" y="448"/>
</tableViewCell> </tableViewCell>
</objects> </objects>
<resources> <resources>
......
...@@ -17,12 +17,16 @@ typedef NS_ENUM(NSInteger, ORDERTOPTYPE) ...@@ -17,12 +17,16 @@ typedef NS_ENUM(NSInteger, ORDERTOPTYPE)
}; };
@interface OrderDetailTopView : UIView @interface OrderDetailTopView : UIView
@property (weak, nonatomic) IBOutlet UILabel *labelAddress;
@property (weak, nonatomic) IBOutlet UILabel *labelRemark;
@property (nonatomic, assign) ORDERTOPTYPE orderType; @property (nonatomic, assign) ORDERTOPTYPE orderType;
@property (weak, nonatomic) IBOutlet UILabel *labelAddress;
@property (weak, nonatomic) IBOutlet UIView *bottomView;
@property (weak, nonatomic) IBOutlet UILabel *labelName;
@property (weak, nonatomic) IBOutlet UILabel *labelPhoneNumber;
@property (nonatomic) CGFloat viewHeight; @property (nonatomic) CGFloat viewHeight;
- (void)updateTag; - (void)updateHeight;
- (CGFloat)viewHeight;
@end @end
...@@ -9,9 +9,6 @@ ...@@ -9,9 +9,6 @@
#import "OrderDetailTopView.h" #import "OrderDetailTopView.h"
@interface OrderDetailTopView () @interface OrderDetailTopView ()
@property (weak, nonatomic) IBOutlet UILabel *labelBottom;
@property (weak, nonatomic) IBOutlet UIView *labelLastView;
@property (weak, nonatomic) IBOutlet UIImageView *imageViewTag;
@end @end
@implementation OrderDetailTopView @implementation OrderDetailTopView
...@@ -20,41 +17,12 @@ ...@@ -20,41 +17,12 @@
} }
- (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;
}
- (void)updateHeight {
self.height = self.bottomView.bottom;
} }
- (IBAction)actionCall:(id)sender {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"tel://%@", self.labelPhoneNumber.text]]];
- (CGFloat)viewHeight {
[self.labelLastView layoutIfNeeded];
return self.labelLastView.bottom;
} }
/* /*
// Only override drawRect: if you perform custom drawing. // Only override drawRect: if you perform custom drawing.
......
...@@ -3,407 +3,164 @@ ...@@ -3,407 +3,164 @@
<dependencies> <dependencies>
<deployment identifier="iOS"/> <deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
</dependencies> </dependencies>
<objects> <objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="OrderDetailTopView"/> <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="OrderDetailTopView"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="OrderDetailTopView"> <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="OrderDetailTopView">
<rect key="frame" x="0.0" y="0.0" width="320" height="405"/> <rect key="frame" x="0.0" y="0.0" width="320" height="323"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <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"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hQw-oZ-PUV">
<rect key="frame" x="8" y="8" width="68" height="21"/> <rect key="frame" x="0.0" y="0.0" width="320" height="120"/>
<constraints>
<constraint firstAttribute="height" constant="21" id="qYp-VA-CoQ"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.60138541666666667" green="0.60138541666666667" blue="0.60138541666666667" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kwe-gE-Axq">
<rect key="frame" x="0.0" y="37" width="320" 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="KHj-g2-F1Z">
<rect key="frame" x="8" y="14" width="85" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="85" id="1DP-ou-pkO"/>
<constraint firstAttribute="height" constant="21" id="mji-Wf-vx2"/>
</constraints>
<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="00022334432345" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="awy-IH-s2E">
<rect key="frame" x="93" y="14" width="144" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zPc-Iq-6AX">
<rect key="frame" x="8" y="48" width="304" 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="i7N-ac-rWN"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="height" constant="49" id="1rY-gm-4fC"/>
<constraint firstItem="KHj-g2-F1Z" firstAttribute="centerY" secondItem="kwe-gE-Axq" secondAttribute="centerY" id="Agh-cM-C8g"/>
<constraint firstItem="awy-IH-s2E" firstAttribute="centerY" secondItem="KHj-g2-F1Z" secondAttribute="centerY" id="ExR-tH-Ljx"/>
<constraint firstAttribute="trailingMargin" secondItem="zPc-Iq-6AX" secondAttribute="trailing" id="Ijy-Ql-SGn"/>
<constraint firstItem="zPc-Iq-6AX" firstAttribute="bottom" secondItem="kwe-gE-Axq" secondAttribute="bottomMargin" constant="1" id="Xy8-q6-gma"/>
<constraint firstItem="KHj-g2-F1Z" firstAttribute="leading" secondItem="kwe-gE-Axq" secondAttribute="leading" constant="8" id="e6s-3E-ehV"/>
<constraint firstItem="awy-IH-s2E" firstAttribute="leading" secondItem="KHj-g2-F1Z" secondAttribute="trailing" id="f7Z-bx-Aja"/>
<constraint firstAttribute="bottom" secondItem="zPc-Iq-6AX" secondAttribute="bottom" id="h7T-wk-ldL"/>
<constraint firstItem="zPc-Iq-6AX" firstAttribute="leading" secondItem="kwe-gE-Axq" secondAttribute="leadingMargin" id="iNJ-qC-P6C"/>
</constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="Xy8-q6-gma"/>
</mask>
</variation>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="frY-Ni-LsQ">
<rect key="frame" x="0.0" y="86" width="320" height="49"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="订单编号:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Xzc-tf-koH"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="等待付款" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nyc-Bh-qZx">
<rect key="frame" x="8" y="14" width="85" height="21"/> <rect key="frame" x="22" y="48" width="76" height="23"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="19"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/> <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="00022334432345" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="azl-X9-pOX">
<rect key="frame" x="93" y="14" width="144" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="90e-Nx-kwS">
<rect key="frame" x="8" y="48" width="304" 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="7Qz-8T-x1E"/>
</constraints>
</view>
</subviews> </subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <color key="backgroundColor" red="0.48627450979999998" green="0.76470588240000004" blue="0.1450980392" alpha="1" colorSpace="calibratedRGB"/>
<constraints> <constraints>
<constraint firstAttribute="trailingMargin" secondItem="90e-Nx-kwS" secondAttribute="trailing" id="0Vx-y9-XlN"/> <constraint firstAttribute="height" constant="120" id="5NF-bg-COp"/>
<constraint firstAttribute="bottom" secondItem="90e-Nx-kwS" secondAttribute="bottom" id="7yr-rF-YBK"/> <constraint firstItem="nyc-Bh-qZx" firstAttribute="centerY" secondItem="hQw-oZ-PUV" secondAttribute="centerY" id="B1x-lb-Dsd"/>
<constraint firstItem="Xzc-tf-koH" firstAttribute="centerY" secondItem="frY-Ni-LsQ" secondAttribute="centerY" id="JZ3-Uj-IVa"/> <constraint firstItem="nyc-Bh-qZx" firstAttribute="leading" secondItem="hQw-oZ-PUV" secondAttribute="leading" constant="22" id="ecB-5T-290"/>
<constraint firstItem="90e-Nx-kwS" firstAttribute="leading" secondItem="frY-Ni-LsQ" secondAttribute="leadingMargin" id="U5A-aL-RfR"/>
<constraint firstAttribute="height" constant="49" id="X4e-iG-mnJ"/>
<constraint firstItem="azl-X9-pOX" firstAttribute="leading" secondItem="Xzc-tf-koH" secondAttribute="trailing" id="eim-or-fgc"/>
<constraint firstItem="azl-X9-pOX" firstAttribute="centerY" secondItem="Xzc-tf-koH" secondAttribute="centerY" id="fLF-w3-cDC"/>
<constraint firstItem="90e-Nx-kwS" firstAttribute="bottom" secondItem="frY-Ni-LsQ" secondAttribute="bottomMargin" constant="1" id="iee-t1-dhY"/>
<constraint firstItem="Xzc-tf-koH" firstAttribute="leading" secondItem="frY-Ni-LsQ" secondAttribute="leading" constant="8" id="vo1-pQ-0FV"/>
</constraints> </constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="iee-t1-dhY"/>
</mask>
</variation>
</view> </view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="收货人信息" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2rG-ti-JCC"> <view contentMode="scaleToFill" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="9kH-LK-wk8">
<rect key="frame" x="8" y="143" width="85" height="21"/> <rect key="frame" x="0.0" y="120" width="320" height="132"/>
<constraints>
<constraint firstAttribute="height" constant="21" id="UOj-5n-TCa"/>
</constraints>
<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" translatesAutoresizingMaskIntoConstraints="NO" id="o64-Kj-GIA">
<rect key="frame" x="0.0" y="172" width="320" height="49"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="收货人:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pMC-E5-B9j"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="收货人:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Xru-fq-ja3">
<rect key="frame" x="8" y="14" width="68" height="21"/> <rect key="frame" x="35" y="22" width="68" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/> <color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="谢德彬" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hff-wW-3rZ"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="谢德彬" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="J01-8B-y5r">
<rect key="frame" x="93" y="14" width="51" height="21"/> <rect key="frame" x="105" y="22" width="51" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ezy-Pc-QZ3"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="手机号:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6Vh-Et-vJt">
<rect key="frame" x="8" y="48" width="304" height="1"/> <rect key="frame" x="35" y="51" width="68" height="21"/>
<color key="backgroundColor" red="0.91271875000000002" green="0.91271875000000002" blue="0.91271875000000002" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="eIX-CW-iFz"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="height" constant="49" id="B5h-cf-3e2"/>
<constraint firstAttribute="bottom" secondItem="ezy-Pc-QZ3" secondAttribute="bottom" id="FYb-to-TU9"/>
<constraint firstItem="ezy-Pc-QZ3" firstAttribute="bottom" secondItem="o64-Kj-GIA" secondAttribute="bottomMargin" constant="1" id="Vo6-mB-mS7"/>
<constraint firstItem="pMC-E5-B9j" firstAttribute="centerY" secondItem="o64-Kj-GIA" secondAttribute="centerY" id="aqR-jL-zo3"/>
<constraint firstAttribute="trailingMargin" secondItem="ezy-Pc-QZ3" secondAttribute="trailing" id="b0x-Dr-UOK"/>
<constraint firstItem="hff-wW-3rZ" firstAttribute="centerY" secondItem="pMC-E5-B9j" secondAttribute="centerY" id="bE0-UF-mZd"/>
<constraint firstItem="hff-wW-3rZ" firstAttribute="leading" secondItem="pMC-E5-B9j" secondAttribute="trailing" id="dhA-dI-v6H"/>
<constraint firstItem="ezy-Pc-QZ3" firstAttribute="leading" secondItem="o64-Kj-GIA" secondAttribute="leadingMargin" id="fir-b6-gP1"/>
<constraint firstItem="pMC-E5-B9j" firstAttribute="leading" secondItem="o64-Kj-GIA" secondAttribute="leading" constant="8" id="suW-Er-yy7"/>
</constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="Vo6-mB-mS7"/>
<exclude reference="dhA-dI-v6H"/>
</mask>
</variation>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5It-5A-BoF">
<rect key="frame" x="0.0" y="221" width="320" 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="otl-rE-SZa">
<rect key="frame" x="8" y="14" width="85" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/> <color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="182525435332" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g9c-Jz-PuK"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="18321155536" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="v7R-er-zaD">
<rect key="frame" x="93" y="14" width="120" height="21"/> <rect key="frame" x="105" y="51" width="105" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="cmZ-vl-b4K"> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Yca-8a-HcF">
<rect key="frame" x="8" y="48" width="304" height="1"/> <rect key="frame" x="262" y="22" width="50" height="50"/>
<color key="backgroundColor" red="0.91271875000000002" green="0.91271875000000002" blue="0.91271875000000002" alpha="1" colorSpace="calibratedRGB"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="1" id="6rJ-qd-LaZ"/> <constraint firstAttribute="width" constant="50" id="2su-RU-ZJh"/>
</constraints> </constraints>
</view> <state key="normal" image="call_icon"/>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8Y0-d9-PiW"> <connections>
<rect key="frame" x="264" y="8" width="33" height="33"/> <action selector="actionCall:" destination="-1" eventType="touchUpInside" id="2Q6-do-hGR"/>
<constraints> </connections>
<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> </button>
</subviews> <imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleAspectFit" image="icon_order_address" translatesAutoresizingMaskIntoConstraints="NO" id="OeX-RE-d2m">
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <rect key="frame" x="4" y="92" width="30" height="23"/>
<constraints>
<constraint firstItem="otl-rE-SZa" firstAttribute="leading" secondItem="5It-5A-BoF" secondAttribute="leading" constant="8" id="4n9-CO-D8L"/>
<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"/>
<constraint firstAttribute="bottom" secondItem="cmZ-vl-b4K" secondAttribute="bottom" id="wkO-10-Og1"/>
<constraint firstItem="otl-rE-SZa" firstAttribute="centerY" secondItem="5It-5A-BoF" secondAttribute="centerY" id="yGq-4d-7M6"/>
</constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="Hcl-0P-p3u"/>
<exclude reference="cVt-0n-37E"/>
</mask>
</variation>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="L3h-Sp-ioz">
<rect key="frame" x="0.0" y="270" width="320" 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="ro9-2J-A4r">
<rect key="frame" x="8" y="14" width="85" height="21"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="85" id="aso-kW-N9V"/> <constraint firstAttribute="width" constant="30" id="eth-Xe-EGH"/>
<constraint firstAttribute="height" constant="23" id="yMF-z8-J4m"/>
</constraints> </constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/> </imageView>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="上海市 上海市 闵行区 鹤坡南路55弄2号232室上海市 上海市 闵行区 鹤坡南路55弄2号232室" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rM9-W2-1PT">
<rect key="frame" x="35" y="76" width="277" height="54"/>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="上海市 上海市 闵行区" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tAt-2m-H2J">
<rect key="frame" x="93" y="14" width="219" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
<size key="shadowOffset" width="0.0" height="0.0"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zgR-vR-1fa">
<rect key="frame" x="8" y="48" width="304" 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="uaG-aO-qVA"/>
</constraints>
</view>
</subviews> </subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints> <constraints>
<constraint firstItem="zgR-vR-1fa" firstAttribute="top" secondItem="tAt-2m-H2J" secondAttribute="bottom" constant="13" id="4DM-xk-e5D"/> <constraint firstItem="J01-8B-y5r" firstAttribute="centerY" secondItem="Xru-fq-ja3" secondAttribute="centerY" id="1yq-ND-DOX"/>
<constraint firstItem="tAt-2m-H2J" firstAttribute="top" secondItem="L3h-Sp-ioz" secondAttribute="top" constant="14" id="GF3-HS-g6E"/> <constraint firstAttribute="trailing" secondItem="rM9-W2-1PT" secondAttribute="trailing" constant="8" id="2TA-EB-U6d"/>
<constraint firstAttribute="trailingMargin" secondItem="tAt-2m-H2J" secondAttribute="trailing" id="K8F-Zh-88H"/> <constraint firstItem="6Vh-Et-vJt" firstAttribute="top" secondItem="Xru-fq-ja3" secondAttribute="bottom" constant="8" id="7Xk-JU-bqo"/>
<constraint firstItem="tAt-2m-H2J" firstAttribute="centerY" secondItem="ro9-2J-A4r" secondAttribute="centerY" id="PaD-HV-PLT"/> <constraint firstItem="v7R-er-zaD" firstAttribute="leading" secondItem="6Vh-Et-vJt" secondAttribute="trailing" constant="2" id="CNp-I7-IEP"/>
<constraint firstAttribute="trailingMargin" secondItem="zgR-vR-1fa" secondAttribute="trailing" id="dKl-lJ-wpY"/> <constraint firstItem="rM9-W2-1PT" firstAttribute="centerY" secondItem="OeX-RE-d2m" secondAttribute="centerY" id="CZW-j3-3fO"/>
<constraint firstItem="zgR-vR-1fa" firstAttribute="bottom" secondItem="L3h-Sp-ioz" secondAttribute="bottomMargin" constant="1" id="inD-X0-fx1"/> <constraint firstItem="rM9-W2-1PT" firstAttribute="top" secondItem="Yca-8a-HcF" secondAttribute="bottom" constant="4" id="DRA-Wo-4yR"/>
<constraint firstItem="ro9-2J-A4r" firstAttribute="leading" secondItem="L3h-Sp-ioz" secondAttribute="leading" constant="8" id="llu-V1-Qaq"/> <constraint firstItem="Xru-fq-ja3" firstAttribute="leading" secondItem="9kH-LK-wk8" secondAttribute="leading" constant="35" id="E6Q-au-bhy"/>
<constraint firstAttribute="height" constant="49" id="pnn-x5-i8S"/> <constraint firstItem="Xru-fq-ja3" firstAttribute="top" secondItem="9kH-LK-wk8" secondAttribute="top" constant="22" id="FPH-kW-Z2b"/>
<constraint firstItem="tAt-2m-H2J" firstAttribute="leading" secondItem="ro9-2J-A4r" secondAttribute="trailing" id="tO5-UO-JaM"/> <constraint firstItem="rM9-W2-1PT" firstAttribute="leading" secondItem="6Vh-Et-vJt" secondAttribute="leading" id="LfN-Fv-Jbp"/>
<constraint firstItem="zgR-vR-1fa" firstAttribute="leading" secondItem="L3h-Sp-ioz" secondAttribute="leadingMargin" id="z5B-yl-wla"/> <constraint firstItem="v7R-er-zaD" firstAttribute="centerY" secondItem="6Vh-Et-vJt" secondAttribute="centerY" id="Lz3-QZ-8GQ"/>
<constraint firstAttribute="bottom" secondItem="zgR-vR-1fa" secondAttribute="bottom" id="zFb-Cw-t2F"/> <constraint firstItem="OeX-RE-d2m" firstAttribute="leading" secondItem="9kH-LK-wk8" secondAttribute="leading" constant="4" id="NG9-wy-89L"/>
<constraint firstItem="ro9-2J-A4r" firstAttribute="centerY" secondItem="L3h-Sp-ioz" secondAttribute="centerY" id="zQb-k0-beC"/> <constraint firstItem="OeX-RE-d2m" firstAttribute="leading" secondItem="9kH-LK-wk8" secondAttribute="leading" constant="4" id="QYX-ek-8nV"/>
<constraint firstAttribute="bottom" secondItem="rM9-W2-1PT" secondAttribute="bottom" constant="8" id="RaR-xO-2gG"/>
<constraint firstItem="J01-8B-y5r" firstAttribute="leading" secondItem="Xru-fq-ja3" secondAttribute="trailing" constant="2" id="Wx8-FT-eJa"/>
<constraint firstAttribute="trailing" secondItem="Yca-8a-HcF" secondAttribute="trailing" constant="8" id="XeZ-We-Wvh"/>
<constraint firstItem="rM9-W2-1PT" firstAttribute="centerY" secondItem="OeX-RE-d2m" secondAttribute="centerY" constant="-2" id="aSi-VQ-cSz"/>
<constraint firstItem="Yca-8a-HcF" firstAttribute="bottom" secondItem="v7R-er-zaD" secondAttribute="bottom" id="bNp-A6-54w"/>
<constraint firstItem="6Vh-Et-vJt" firstAttribute="leading" secondItem="Xru-fq-ja3" secondAttribute="leading" id="daA-gc-eqU"/>
<constraint firstItem="OeX-RE-d2m" firstAttribute="centerY" secondItem="rM9-W2-1PT" secondAttribute="centerY" id="dl4-pr-bOv"/>
<constraint firstItem="Yca-8a-HcF" firstAttribute="top" secondItem="J01-8B-y5r" secondAttribute="top" id="fAD-Ql-Hdd"/>
<constraint firstAttribute="bottom" secondItem="OeX-RE-d2m" secondAttribute="bottom" constant="6" id="nN0-rt-cNW"/>
<constraint firstItem="v7R-er-zaD" firstAttribute="centerY" secondItem="6Vh-Et-vJt" secondAttribute="centerY" id="pzj-5A-wNp"/>
</constraints> </constraints>
<variation key="default"> <variation key="default">
<mask key="constraints"> <mask key="constraints">
<exclude reference="pnn-x5-i8S"/> <exclude reference="CZW-j3-3fO"/>
<exclude reference="zQb-k0-beC"/> <exclude reference="aSi-VQ-cSz"/>
<exclude reference="inD-X0-fx1"/> <exclude reference="nN0-rt-cNW"/>
<exclude reference="tO5-UO-JaM"/>
</mask> </mask>
</variation> </variation>
</view> </view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bza-2c-LTJ"> <view contentMode="scaleToFill" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="kMe-iN-q0b">
<rect key="frame" x="0.0" y="319" width="320" height="49"/> <rect key="frame" x="0.0" y="260" width="320" height="29"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="备注:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IWM-Fa-Ed6"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="商品信息" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nUT-vO-b28">
<rect key="frame" x="8" y="14" width="51" height="21"/> <rect key="frame" x="15" y="4" width="68" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="51" id="c97-UW-hiy"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="丰功硕德开了房" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wpt-Ta-hYY">
<rect key="frame" x="93" y="14" width="219" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
<size key="shadowOffset" width="0.0" height="0.0"/>
</label> </label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="g2Z-XB-0ZF">
<rect key="frame" x="8" y="48" width="304" 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="HAT-yK-ZlF"/>
</constraints>
</view>
</subviews> </subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints> <constraints>
<constraint firstItem="IWM-Fa-Ed6" firstAttribute="centerY" secondItem="bza-2c-LTJ" secondAttribute="centerY" id="0at-n9-AQC"/> <constraint firstAttribute="height" constant="29" id="2IX-IJ-0wa"/>
<constraint firstItem="wpt-Ta-hYY" firstAttribute="top" secondItem="bza-2c-LTJ" secondAttribute="top" constant="14" id="DGM-qP-2Zg"/> <constraint firstItem="nUT-vO-b28" firstAttribute="centerY" secondItem="kMe-iN-q0b" secondAttribute="centerY" id="FI4-W1-32h"/>
<constraint firstItem="IWM-Fa-Ed6" firstAttribute="leading" secondItem="bza-2c-LTJ" secondAttribute="leading" constant="8" id="KEC-X4-nfY"/> <constraint firstItem="nUT-vO-b28" firstAttribute="leading" secondItem="kMe-iN-q0b" secondAttribute="leading" constant="15" id="zCP-9S-LPU"/>
<constraint firstAttribute="bottom" secondItem="g2Z-XB-0ZF" secondAttribute="bottom" id="Ps1-H9-0ow"/>
<constraint firstItem="g2Z-XB-0ZF" firstAttribute="top" secondItem="wpt-Ta-hYY" secondAttribute="bottom" constant="13" id="Seg-3S-fzW"/>
<constraint firstAttribute="trailing" secondItem="wpt-Ta-hYY" secondAttribute="trailing" constant="8" id="aqc-OH-c4m"/>
<constraint firstItem="wpt-Ta-hYY" firstAttribute="leading" secondItem="IWM-Fa-Ed6" secondAttribute="trailing" id="bhV-vn-HEt"/>
<constraint firstItem="IWM-Fa-Ed6" firstAttribute="top" secondItem="bza-2c-LTJ" secondAttribute="top" id="cD7-wr-5IV"/>
<constraint firstItem="wpt-Ta-hYY" firstAttribute="centerY" secondItem="IWM-Fa-Ed6" secondAttribute="centerY" id="cMY-J5-w6r"/>
<constraint firstAttribute="trailingMargin" secondItem="g2Z-XB-0ZF" secondAttribute="trailing" id="fMR-vl-mLI"/>
<constraint firstAttribute="height" constant="49" id="gJW-wj-BYJ"/>
<constraint firstItem="g2Z-XB-0ZF" firstAttribute="bottom" secondItem="bza-2c-LTJ" secondAttribute="bottomMargin" constant="1" id="gaG-Gb-2dg"/>
<constraint firstItem="g2Z-XB-0ZF" firstAttribute="leading" secondItem="bza-2c-LTJ" secondAttribute="leadingMargin" id="hM6-Ij-73p"/>
<constraint firstItem="g2Z-XB-0ZF" firstAttribute="top" secondItem="IWM-Fa-Ed6" secondAttribute="bottom" id="olK-r3-GQH"/>
<constraint firstItem="wpt-Ta-hYY" firstAttribute="centerY" secondItem="IWM-Fa-Ed6" secondAttribute="centerY" id="x1A-bQ-uZu"/>
</constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="gJW-wj-BYJ"/>
<exclude reference="0at-n9-AQC"/>
<exclude reference="cD7-wr-5IV"/>
<exclude reference="gaG-Gb-2dg"/>
<exclude reference="olK-r3-GQH"/>
<exclude reference="bhV-vn-HEt"/>
<exclude reference="x1A-bQ-uZu"/>
</mask>
</variation>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Hqq-GG-0vG">
<rect key="frame" x="0.0" y="368" width="320" height="37"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="订单信息" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vYi-Qy-3u1">
<rect key="frame" x="8" y="8" width="68" height="21"/>
<constraints>
<constraint firstAttribute="height" constant="21" id="3Bf-Hx-cZ0"/>
<constraint firstAttribute="height" constant="21" id="7Rh-Pt-0RY"/>
<constraint firstAttribute="width" constant="68" id="GBg-Pa-cx1"/>
<constraint firstAttribute="height" constant="21" id="K0O-4b-Xpy"/>
<constraint firstAttribute="width" constant="68" id="LnU-XO-tV4"/>
</constraints>
<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"/>
<variation key="default">
<mask key="constraints">
<exclude reference="7Rh-Pt-0RY"/>
<exclude reference="K0O-4b-Xpy"/>
<exclude reference="LnU-XO-tV4"/>
</mask>
</variation>
</label>
</subviews>
<color key="backgroundColor" red="0.91271875000000002" green="0.91271875000000002" blue="0.91271875000000002" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="vYi-Qy-3u1" secondAttribute="bottom" constant="8" id="EFB-cT-KLN"/>
<constraint firstItem="vYi-Qy-3u1" firstAttribute="top" secondItem="Hqq-GG-0vG" secondAttribute="top" constant="8" id="aPz-40-dCR"/>
<constraint firstItem="vYi-Qy-3u1" firstAttribute="leading" secondItem="Hqq-GG-0vG" secondAttribute="leading" constant="8" id="iQy-hP-XDv"/>
</constraints> </constraints>
</view> </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> </subviews>
<color key="backgroundColor" red="0.91271875000000002" green="0.91271875000000002" blue="0.91271875000000002" alpha="1" colorSpace="calibratedRGB"/> <color key="backgroundColor" red="0.91271875000000002" green="0.91271875000000002" blue="0.91271875000000002" alpha="1" colorSpace="calibratedRGB"/>
<constraints> <constraints>
<constraint firstItem="kwe-gE-Axq" firstAttribute="top" secondItem="lZw-qi-pdT" secondAttribute="bottom" constant="8" id="1rQ-8M-KmQ"/> <constraint firstAttribute="trailing" secondItem="hQw-oZ-PUV" secondAttribute="trailing" id="0zM-WW-Si3"/>
<constraint firstItem="5It-5A-BoF" firstAttribute="top" secondItem="o64-Kj-GIA" secondAttribute="bottom" id="37n-EI-O1E"/> <constraint firstItem="9kH-LK-wk8" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="3Jf-z4-xwi"/>
<constraint firstItem="L3h-Sp-ioz" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="5SZ-4p-vsL"/> <constraint firstAttribute="bottom" secondItem="kMe-iN-q0b" secondAttribute="bottom" id="AsD-oa-aoC"/>
<constraint firstItem="frY-Ni-LsQ" firstAttribute="top" secondItem="kwe-gE-Axq" secondAttribute="bottom" id="6zW-Bb-SzV"/> <constraint firstAttribute="bottom" secondItem="9kH-LK-wk8" secondAttribute="bottom" constant="37" id="FF9-pf-GaR"/>
<constraint firstAttribute="trailing" secondItem="o64-Kj-GIA" secondAttribute="trailing" id="8Z1-wA-Feu"/> <constraint firstItem="hQw-oZ-PUV" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="Hdo-R0-om7"/>
<constraint firstAttribute="trailing" secondItem="L3h-Sp-ioz" secondAttribute="trailing" id="9Ls-pN-YbD"/> <constraint firstItem="9kH-LK-wk8" firstAttribute="top" secondItem="hQw-oZ-PUV" secondAttribute="bottom" id="MIg-ho-Nb1"/>
<constraint firstAttribute="trailing" secondItem="Hqq-GG-0vG" secondAttribute="trailing" id="AZk-IX-9qv"/> <constraint firstAttribute="trailing" secondItem="9kH-LK-wk8" secondAttribute="trailing" id="Mxw-8U-opv"/>
<constraint firstAttribute="trailing" secondItem="frY-Ni-LsQ" secondAttribute="trailing" id="FKy-GF-z3v"/> <constraint firstItem="kMe-iN-q0b" firstAttribute="top" secondItem="9kH-LK-wk8" secondAttribute="bottom" constant="8" id="TuG-vz-tdQ"/>
<constraint firstItem="o64-Kj-GIA" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="Jm5-Pg-aDC"/> <constraint firstAttribute="trailing" secondItem="kMe-iN-q0b" secondAttribute="trailing" id="X5r-ow-Mr3"/>
<constraint firstItem="8Y0-d9-PiW" firstAttribute="trailing" secondItem="j5Q-x8-oTR" secondAttribute="trailing" id="K20-BN-VQi"/> <constraint firstItem="hQw-oZ-PUV" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="mge-f8-Nlj"/>
<constraint firstItem="2rG-ti-JCC" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="8" id="Lxn-5D-jJr"/> <constraint firstItem="kMe-iN-q0b" firstAttribute="top" secondItem="9kH-LK-wk8" secondAttribute="bottom" constant="8" id="s5e-DB-8Gt"/>
<constraint firstItem="o64-Kj-GIA" firstAttribute="top" secondItem="2rG-ti-JCC" secondAttribute="bottom" constant="8" id="Mcu-Hu-VWJ"/> <constraint firstItem="kMe-iN-q0b" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="uTe-8n-paJ"/>
<constraint firstAttribute="trailing" secondItem="bza-2c-LTJ" secondAttribute="trailing" id="Mgb-q8-WOx"/>
<constraint firstItem="tAt-2m-H2J" firstAttribute="leading" secondItem="awy-IH-s2E" secondAttribute="leading" id="RNn-Bl-mZc"/>
<constraint firstItem="Hqq-GG-0vG" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="S09-mP-VfY"/>
<constraint firstItem="wpt-Ta-hYY" firstAttribute="leading" secondItem="awy-IH-s2E" secondAttribute="leading" id="TXF-Fl-woF"/>
<constraint firstAttribute="trailing" secondItem="5It-5A-BoF" secondAttribute="trailing" id="Wi3-t1-bHb"/>
<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> </constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<variation key="default">
<mask key="constraints">
<exclude reference="FF9-pf-GaR"/>
<exclude reference="AsD-oa-aoC"/>
<exclude reference="s5e-DB-8Gt"/>
</mask>
</variation>
<connections> <connections>
<outlet property="imageViewTag" destination="j5Q-x8-oTR" id="2NC-gp-pZk"/> <outlet property="bottomView" destination="kMe-iN-q0b" id="RF7-79-dgV"/>
<outlet property="labelAddress" destination="tAt-2m-H2J" id="boj-po-20q"/> <outlet property="labelAddress" destination="rM9-W2-1PT" id="Vpk-og-XdW"/>
<outlet property="labelBottom" destination="vYi-Qy-3u1" id="83x-0X-p0i"/> <outlet property="labelName" destination="J01-8B-y5r" id="jwt-aT-2P0"/>
<outlet property="labelLastView" destination="Hqq-GG-0vG" id="w6d-o7-ZFl"/> <outlet property="labelPhoneNumber" destination="v7R-er-zaD" id="jiO-J8-KxV"/>
<outlet property="labelRemark" destination="wpt-Ta-hYY" id="upU-v3-G5V"/>
</connections> </connections>
<point key="canvasLocation" x="215" y="335.5"/> <point key="canvasLocation" x="215" y="302.5"/>
</view> </view>
</objects> </objects>
<resources> <resources>
<image name="call_icon" width="45" height="45"/> <image name="call_icon" width="45" height="45"/>
<image name="order_state_noPayment" width="33" height="68"/> <image name="icon_order_address" width="33" height="32"/>
</resources> </resources>
</document> </document>
...@@ -8,8 +8,9 @@ ...@@ -8,8 +8,9 @@
#import "IBTUIViewController.h" #import "IBTUIViewController.h"
#import "CommodityManagementSortView.h" #import "CommodityManagementSortView.h"
#import "JavenSortView.h"
@interface CommodityManagementViewController : IBTUIViewController @interface CommodityManagementViewController : IBTUIViewController
@property (nonatomic, strong) CommodityManagementSortView *sorView; @property (nonatomic, strong) JavenSortView *sorView;
@end @end
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
#import "CommodityListModel/CommotityListModel.h" #import "CommodityListModel/CommotityListModel.h"
#import "ManagementViewController.h" #import "ManagementViewController.h"
#import "Conditions.h" #import "Conditions.h"
#import "JavenSortView.h"
#define kCellID @"commodityCell" #define kCellID @"commodityCell"
#define kPageSize @999 #define kPageSize @999
#define kCellId @"CommodityTableViewCell.h" #define kCellId @"CommodityTableViewCell.h"
...@@ -297,9 +299,9 @@ ...@@ -297,9 +299,9 @@
} }
#pragma mark =========== lazy loading =========== #pragma mark =========== lazy loading ===========
- (CommodityManagementSortView *)sorView { - (JavenSortView *)sorView {
if (!_sorView) { if (!_sorView) {
_sorView = [[CommodityManagementSortView new] sortView]; _sorView = [JavenSortView sortViewLeftTitles:@[@"销售中",@"未上架"] rightTitles:@[@"最新排序",@"销量排序",@"佣金排序",@"售价排序"]];
_sorView.frame = CGRectMake(0, _topView.bottom - 50, kWidth, 49); _sorView.frame = CGRectMake(0, _topView.bottom - 50, kWidth, 49);
} }
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{ {
return 110; return kAutoValue(110);
} }
#pragma mark =========== searchbar delegate =========== #pragma mark =========== searchbar delegate ===========
...@@ -87,24 +87,34 @@ ...@@ -87,24 +87,34 @@
- (void)searchBarCancelButtonClicked:(UISearchBar *)searchBar - (void)searchBarCancelButtonClicked:(UISearchBar *)searchBar
{ {
self.sortView.userInteractionEnabled = YES;
[self.searchBar endEditing:YES]; [self.searchBar endEditing:YES];
} }
- (BOOL)searchBarShouldBeginEditing:(UISearchBar *)searchBar - (BOOL)searchBarShouldBeginEditing:(UISearchBar *)searchBar
{ {
[self.sortView hide];
self.sortView.userInteractionEnabled = NO;
self.searchBar.showsCancelButton = YES; self.searchBar.showsCancelButton = YES;
return YES; return YES;
} }
- (BOOL)searchBarShouldEndEditing:(UISearchBar *)searchBar - (BOOL)searchBarShouldEndEditing:(UISearchBar *)searchBar
{ {
self.searchBar.showsCancelButton = NO; self.searchBar.showsCancelButton = NO;
return YES; return YES;
} }
- (void)cancelSearchAction { - (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar {
self.sortView.userInteractionEnabled = YES;
}
- (void)popAction {
[super popAction];
[self.sortView hide];
} }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#import "CommodityManagementSortView.h" #import "CommodityManagementSortView.h"
#import "CommodityManagementViewController.h" #import "CommodityManagementViewController.h"
@interface ManagementViewController : IBTUIViewController @interface ManagementViewController : IBTUIViewController
@property (nonatomic, strong) CommodityManagementSortView *sorView; @property (nonatomic, strong) JavenSortView *sorView;
@property (nonatomic, strong) NSMutableArray *arrCellData; @property (nonatomic, strong) NSMutableArray *arrCellData;
@property (nonatomic, assign) BOOL isLeft;//判断排序判断选中了左边还是右边 @property (nonatomic, assign) BOOL isLeft;//判断排序判断选中了左边还是右边
@property (nonatomic, assign) NSInteger row;//判断排序判断选中了哪一行 @property (nonatomic, assign) NSInteger row;//判断排序判断选中了哪一行
......
...@@ -316,13 +316,17 @@ ...@@ -316,13 +316,17 @@
}]; }];
} }
- (void)popAction {
[super popAction];
[self.sorView hide];
}
#pragma mark =========== lazyloading =========== #pragma mark =========== lazyloading ===========
- (CommodityManagementSortView *)sorView { - (JavenSortView *)sorView {
if (!_sorView) { if (!_sorView) {
_sorView = [[CommodityManagementSortView new] sortView]; _sorView = [JavenSortView sortViewLeftTitles:@[@"销售中",@"未上架"] rightTitles:@[@"最新排序",@"销量排序",@"佣金排序",@"售价排序"]];
_sorView.frame = CGRectMake(0, 0, kWidth, 49); _sorView.frame = CGRectMake(0, 0, kWidth, 49);
} }
return _sorView; return _sorView;
......
...@@ -11,9 +11,13 @@ ...@@ -11,9 +11,13 @@
#import "OrderDetailTableViewCell.h" #import "OrderDetailTableViewCell.h"
#import "UITableView+Category.h" #import "UITableView+Category.h"
#import "SeeLogistics.h" #import "SeeLogistics.h"
#import "OrderDetailBottomView.h"
#define kCellId @"OrderDetailTableViewCell.h" #define kCellId @"OrderDetailTableViewCell.h"
@interface OrderDetailViewController ()<UITableViewDelegate, UITableViewDataSource> @interface OrderDetailViewController ()<UITableViewDelegate, UITableViewDataSource>
@property (nonatomic, strong) UITableView *tableView; @property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, strong) OrderDetailBottomView *bottomView;
@property (nonatomic, strong) OrderDetailTopView *atopView;
@end @end
@implementation OrderDetailViewController @implementation OrderDetailViewController
...@@ -25,24 +29,22 @@ ...@@ -25,24 +29,22 @@
//tableView //tableView
self.tableView = [UITableView plainTableViewWithTarget:self cellNibName:@"OrderDetailTableViewCell" cellId:kCellId]; self.tableView = [UITableView plainTableViewWithTarget:self cellNibName:@"OrderDetailTableViewCell" cellId:kCellId];
self.tableView.frame = CGRectMake(0, 0, kWidth, kHeight);
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone; self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
self.tableView.backgroundColor = kBacroundColor; self.tableView.backgroundColor = kBacroundColor;
[self.view addSubview:self.tableView];//topView [self.view addSubview:self.tableView];//topView
OrderDetailTopView *topView = [OrderDetailTopView viewWithNibName:@"OrderDetailTopView"];
topView.width = kWidth;
topView.labelAddress.text = [NSString randomTestText];
topView.labelRemark.text = [NSString randomTestText];
topView.frame = CGRectMake(0, -topView.viewHeight, kWidth, topView.viewHeight);
self.tableView.contentInset = UIEdgeInsetsMake(topView.viewHeight, 0, 64 + 65, 0);
OrderDetailTopView *topView = [OrderDetailTopView viewWithNibName:@"OrderDetailTopView"];
self.atopView = topView;
self.atopView.labelAddress.text = [NSString randomTestText];
[self.tableView addSubview:topView]; [self.tableView addSubview:topView];
//改变tag self.bottomView = [OrderDetailBottomView viewWithNibName:@"OrderDetailBottomView"];
topView.orderType = self.orderType; self.bottomView.laberRemark.text = [NSString randomTestText];
[topView updateTag];//根据
self.tableView.tableFooterView = self.bottomView;
//底部查看物流按钮 //底部查看物流按钮
if (self.orderType == ORDERTOPTYPE_TRANSPORTED) { if (self.orderType == ORDERTOPTYPE_TRANSPORTED) {
...@@ -54,8 +56,31 @@ ...@@ -54,8 +56,31 @@
// Do any additional setup after loading the view. // Do any additional setup after loading the view.
} }
- (void)viewDidLayoutSubviews {
self.tableView.frame = CGRectMake(0, 0, kWidth, kHeight);
[self.atopView updateHeight];
self.atopView.frame = CGRectMake(0, -self.atopView.height, kWidth, self.atopView.height);
[self.bottomView updateHeight];
//self.bottomView.y = kHeight - self.bottomView.height;
self.bottomView.width = kWidth;
self.tableView.contentInset = UIEdgeInsetsMake(self.atopView.height, 0, self.bottomView.height - 250, 0);
// self.tableView.frame = CGRectMake(0, 0, kWidth, kHeight - self.atopView.height);
[self.tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0] atScrollPosition:UITableViewScrollPositionTop animated:YES];
}
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
return 1;
}
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
return 316; return 100;
} }
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
......
...@@ -43,6 +43,12 @@ ...@@ -43,6 +43,12 @@
//本地已有密码时登录 //本地已有密码时登录
- (void)defaultLoginAction { - (void)defaultLoginAction {
// BaseViewController *baseVC = [[BaseViewController alloc] init];
// baseVC.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
// [self presentViewController:baseVC animated:YES completion:nil];
//
if ([[NSUserDefaults standardUserDefaults] objectForKey:@"passWord"]) { if ([[NSUserDefaults standardUserDefaults] objectForKey:@"passWord"]) {
NSDictionary *paramers = @{@"domain":kDomain, NSDictionary *paramers = @{@"domain":kDomain,
......
...@@ -268,19 +268,17 @@ ...@@ -268,19 +268,17 @@
} }
- (void)leftIconAnimateToDefault { - (void)leftIconAnimateToDefault {
WS(weakSelf) self.leftBtn.imageView.transform = CGAffineTransformMakeRotation(0);
[UIView animateWithDuration:0.3 animations:^{ self.isLeftOpen = NO;
weakSelf.leftBtn.imageView.transform = CGAffineTransformMakeRotation(M_PI); self.clickCount = 0;
}];
} }
- (void)rightIconAnimateToDefault { - (void)rightIconAnimateToDefault {
WS(weakSelf) self.rightBtn.imageView.transform = CGAffineTransformMakeRotation(0);
[UIView animateWithDuration:0.3 animations:^{ self.isLeftOpen = YES;
weakSelf.rightBtn.imageView.transform = CGAffineTransformMakeRotation(M_PI); self.rightClickCount = 0;
}];
} }
......
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