Commit f394a109 authored by zhangguangyi's avatar zhangguangyi

update

parent 3e133224
No preview for this file type
......@@ -58,10 +58,13 @@ static NSString * const ZJReminderTimeCellID = @"ZJReminderTimeCellID";
[self.view addSubview:self.sureButton];
self.sureButton.layer.cornerRadius = 22;
[self.sureButton addTarget:self action:@selector(buttonAction:) forControlEvents:UIControlEventTouchUpInside];
CGFloat bottomMargin = IPHONE_X ? (-20 - 39) : -20;
[self.sureButton mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(@20);
make.right.bottom.equalTo(@(-20));
make.right.equalTo(@(-20));
make.height.equalTo(@44);
make.bottom.equalTo(@(bottomMargin));
}];
}
......
......@@ -28,29 +28,20 @@
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="温馨提醒:添加提醒后,约定时间会向关心的人发起" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Gph-CG-J9S">
<rect key="frame" x="20" y="104" width="335" height="14.5"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="提醒消息" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0mH-sk-88b">
<rect key="frame" x="20" y="123.5" width="335" height="14.5"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="温馨提醒:添加提醒后,约定时间会向关心的人发起提醒消息" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Gph-CG-J9S">
<rect key="frame" x="40" y="104" width="295" height="29"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstAttribute="trailing" secondItem="Gph-CG-J9S" secondAttribute="trailing" constant="20" id="2CA-VO-Xc2"/>
<constraint firstAttribute="trailing" secondItem="0mH-sk-88b" secondAttribute="trailing" constant="20" id="2bm-g0-idw"/>
<constraint firstItem="0mH-sk-88b" firstAttribute="top" secondItem="Gph-CG-J9S" secondAttribute="bottom" constant="5" id="97w-MJ-gZe"/>
<constraint firstAttribute="trailing" secondItem="Gph-CG-J9S" secondAttribute="trailing" constant="40" id="2CA-VO-Xc2"/>
<constraint firstItem="Gph-CG-J9S" firstAttribute="top" secondItem="VBe-rX-7pd" secondAttribute="bottom" constant="20" id="9sH-8Q-IrK"/>
<constraint firstItem="VBe-rX-7pd" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="40" id="Q4B-wP-e7r"/>
<constraint firstItem="0mH-sk-88b" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" id="dCY-oj-k1M"/>
<constraint firstItem="VBe-rX-7pd" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" id="rKU-ig-hLw"/>
<constraint firstAttribute="trailing" secondItem="VBe-rX-7pd" secondAttribute="trailing" constant="20" id="vwa-NO-B9g"/>
<constraint firstItem="Gph-CG-J9S" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" id="whS-vc-bxT"/>
<constraint firstItem="Gph-CG-J9S" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="40" id="whS-vc-bxT"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<connections>
......
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