1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="12120" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12088"/>
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="KWMProductBannerItemView">
<connections>
<outlet property="vContent" destination="iN0-l3-epB" id="rUH-Gz-s4z"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB">
<rect key="frame" x="0.0" y="0.0" width="375" height="190"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="d5I-Jk-u2e">
<rect key="frame" x="0.0" y="0.0" width="375" height="190"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="test_banner_2" translatesAutoresizingMaskIntoConstraints="NO" id="e8E-hq-YPY">
<rect key="frame" x="0.0" y="0.0" width="375" height="190"/>
</imageView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FUE-dq-5n6" userLabel="商品信息">
<rect key="frame" x="187.5" y="0.0" width="187.5" height="170"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gqI-UE-aVc">
<rect key="frame" x="142.5" y="141" width="25" height="14"/>
<attributedString key="attributedText">
<fragment content="¥">
<attributes>
<color key="NSColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<font key="NSFont" size="7" name="PingFangSC-Regular"/>
</attributes>
</fragment>
<fragment content="880">
<attributes>
<color key="NSColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<font key="NSFont" size="10" name="PingFangSC-Regular"/>
</attributes>
</fragment>
</attributedString>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="l0b-N1-QSE">
<rect key="frame" x="98" y="141" width="29.5" height="14"/>
<attributedString key="attributedText">
<fragment content="¥">
<attributes>
<color key="NSColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<font key="NSFont" size="7" name="PingFangSC-Regular"/>
</attributes>
</fragment>
<fragment content="1200">
<attributes>
<color key="NSColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<font key="NSFont" size="10" name="PingFangSC-Regular"/>
</attributes>
</fragment>
</attributedString>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Baby Girls Pink Cotton Dress" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PDD-Zm-9cr">
<rect key="frame" x="31.5" y="127" width="136" height="14"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="10"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="CARAMEL" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Dzs-Ez-twO">
<rect key="frame" x="80" y="101.5" width="87" height="25.5"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="18"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="Dzs-Ez-twO" secondAttribute="trailing" constant="20" id="8MQ-ZI-ZHb"/>
<constraint firstAttribute="trailing" secondItem="PDD-Zm-9cr" secondAttribute="trailing" constant="20" id="9Ev-aV-nZo"/>
<constraint firstItem="l0b-N1-QSE" firstAttribute="top" secondItem="PDD-Zm-9cr" secondAttribute="bottom" id="AXG-nE-kFs"/>
<constraint firstItem="PDD-Zm-9cr" firstAttribute="top" secondItem="Dzs-Ez-twO" secondAttribute="bottom" id="jYG-hT-q5P"/>
<constraint firstAttribute="bottom" secondItem="gqI-UE-aVc" secondAttribute="bottom" constant="15" id="noz-yo-JpT"/>
<constraint firstAttribute="bottom" secondItem="l0b-N1-QSE" secondAttribute="bottom" constant="15" id="nsC-YQ-yQM"/>
<constraint firstItem="gqI-UE-aVc" firstAttribute="leading" secondItem="l0b-N1-QSE" secondAttribute="trailing" constant="15" id="oVH-EC-ywQ"/>
<constraint firstAttribute="trailing" secondItem="gqI-UE-aVc" secondAttribute="trailing" constant="20" id="sFH-Bq-Sfk"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="e8E-hq-YPY" firstAttribute="leading" secondItem="d5I-Jk-u2e" secondAttribute="leading" id="0Qm-0k-z0A"/>
<constraint firstAttribute="bottom" secondItem="e8E-hq-YPY" secondAttribute="bottom" id="4Rb-kL-rLu"/>
<constraint firstItem="e8E-hq-YPY" firstAttribute="top" secondItem="d5I-Jk-u2e" secondAttribute="top" id="5j8-kh-GHZ"/>
<constraint firstAttribute="bottom" secondItem="FUE-dq-5n6" secondAttribute="bottom" constant="20" id="6k8-eF-uYf"/>
<constraint firstAttribute="trailing" secondItem="FUE-dq-5n6" secondAttribute="trailing" id="Sqx-Vh-hsq"/>
<constraint firstItem="FUE-dq-5n6" firstAttribute="top" secondItem="d5I-Jk-u2e" secondAttribute="top" id="dGf-oG-WVx"/>
<constraint firstAttribute="trailing" secondItem="e8E-hq-YPY" secondAttribute="trailing" id="e21-c1-FBV"/>
<constraint firstItem="FUE-dq-5n6" firstAttribute="width" secondItem="d5I-Jk-u2e" secondAttribute="width" multiplier="0.5" id="jqh-we-QJP"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="d5I-Jk-u2e" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="DF9-Ns-NOe"/>
<constraint firstAttribute="trailing" secondItem="d5I-Jk-u2e" secondAttribute="trailing" id="O7r-5R-oqM"/>
<constraint firstItem="d5I-Jk-u2e" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="Xdn-n5-6i6"/>
<constraint firstAttribute="bottom" secondItem="d5I-Jk-u2e" secondAttribute="bottom" id="iZv-pE-RuC"/>
</constraints>
<nil key="simulatedStatusBarMetrics"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<point key="canvasLocation" x="16" y="90"/>
</view>
</objects>
<resources>
<image name="test_banner_2" width="375" height="212"/>
</resources>
</document>