Commit cb951225 authored by lujunye's avatar lujunye

调整时间选择下划线位置

parent dbec7585
......@@ -112,17 +112,17 @@ class YDLBVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,UISea
}
}
@objc func closeTimeSelect(){
timeBgH.constant = 0
scvContentH.constant = 680
calendarV.removeFromSuperview()
}
// @objc func closeTimeSelect(){
// timeBgH.constant = 0
// scvContentH.constant = 680
// calendarV.removeFromSuperview()
//
// }
override func viewDidLoad() {
super.viewDidLoad()
let tap = UITapGestureRecognizer(target: self, action: #selector(closeTimeSelect))
contentView.addGestureRecognizer(tap)
// let tap = UITapGestureRecognizer(target: self, action: #selector(closeTimeSelect))
// contentView.addGestureRecognizer(tap)
timeBgH.constant = 0
scvContentH.constant = 680
......
......@@ -182,17 +182,14 @@
</userDefinedRuntimeAttributes>
</textField>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gfG-Nj-pdp">
<rect key="frame" x="15" y="90.666666666666657" width="360" height="1"/>
<rect key="frame" x="15" y="325.66666666666669" width="360" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="4WW-33-NiP"/>
</constraints>
</view>
<button opaque="NO" tag="996" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uTx-fd-l3A">
<rect key="frame" x="0.0" y="43.666666666666657" width="375" height="35"/>
<constraints>
<constraint firstAttribute="height" constant="35" id="ac7-KT-Opg"/>
</constraints>
<rect key="frame" x="15" y="43.666666666666657" width="225" height="32"/>
<color key="tintColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="color" keyPath="borderColor">
......@@ -673,8 +670,8 @@
</connections>
</button>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eih-w3-GJh">
<rect key="frame" x="0.0" y="91.666666666666657" width="375" height="234.99999999999997"/>
<color key="backgroundColor" systemColor="systemRedColor" red="1" green="0.23137254900000001" blue="0.18823529410000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<rect key="frame" x="0.0" y="90.666666666666657" width="375" height="234.99999999999997"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="235" id="poR-Of-Vq5"/>
</constraints>
......@@ -683,16 +680,16 @@
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="xcT-cv-hKb" firstAttribute="leading" secondItem="BjS-uk-wr7" secondAttribute="trailing" constant="15" id="0Rk-LS-yEY"/>
<constraint firstItem="uTx-fd-l3A" firstAttribute="height" secondItem="6Uc-Df-mp9" secondAttribute="height" id="1wv-BC-rkc"/>
<constraint firstItem="qCR-5z-Ioa" firstAttribute="centerY" secondItem="xcT-cv-hKb" secondAttribute="centerY" id="2KS-rS-bSv"/>
<constraint firstItem="BjS-uk-wr7" firstAttribute="leading" secondItem="zcv-YD-IHi" secondAttribute="leading" constant="15" id="37R-DM-CRZ"/>
<constraint firstItem="9C6-aG-nkC" firstAttribute="leading" secondItem="KjV-Pm-Xox" secondAttribute="trailing" constant="15" id="61v-Wy-D4o"/>
<constraint firstAttribute="trailing" secondItem="uTx-fd-l3A" secondAttribute="trailing" id="6eP-DJ-Biy"/>
<constraint firstItem="uTx-fd-l3A" firstAttribute="width" secondItem="6Uc-Df-mp9" secondAttribute="width" id="6Nr-Px-Fct"/>
<constraint firstItem="XNI-3O-CwK" firstAttribute="top" secondItem="ThR-AD-Zdh" secondAttribute="bottom" constant="15" id="7r9-FP-sWG"/>
<constraint firstItem="T6r-F3-LjK" firstAttribute="top" secondItem="zcv-YD-IHi" secondAttribute="top" constant="15" id="96t-hB-dky"/>
<constraint firstItem="IfE-o6-jvc" firstAttribute="centerY" secondItem="eh5-A9-9oM" secondAttribute="centerY" id="ArS-yi-ATI"/>
<constraint firstItem="luQ-AH-QHc" firstAttribute="leading" secondItem="zcv-YD-IHi" secondAttribute="leading" constant="15" id="Bt4-Rg-5cW"/>
<constraint firstItem="qCR-5z-Ioa" firstAttribute="leading" secondItem="xcT-cv-hKb" secondAttribute="trailing" constant="15" id="CNu-so-tUM"/>
<constraint firstItem="uTx-fd-l3A" firstAttribute="leading" secondItem="zcv-YD-IHi" secondAttribute="leading" id="DCM-Bv-BB6"/>
<constraint firstItem="jLq-pi-MtE" firstAttribute="leading" secondItem="5af-3I-E0X" secondAttribute="trailing" constant="13" id="DHy-Cg-NaX"/>
<constraint firstItem="Sos-ke-wWW" firstAttribute="centerY" secondItem="lQu-wS-luP" secondAttribute="centerY" id="FgN-H6-6e6"/>
<constraint firstItem="6Eb-pX-eg0" firstAttribute="top" secondItem="XNI-3O-CwK" secondAttribute="bottom" constant="15" id="GQc-eu-3Uw"/>
......@@ -705,7 +702,7 @@
<constraint firstAttribute="trailing" secondItem="gfG-Nj-pdp" secondAttribute="trailing" id="PmD-oQ-0BS"/>
<constraint firstItem="mtO-oL-Tzv" firstAttribute="leading" secondItem="zcv-YD-IHi" secondAttribute="leading" constant="15" id="Pow-Yg-S7Z"/>
<constraint firstItem="6Uc-Df-mp9" firstAttribute="top" secondItem="T6r-F3-LjK" secondAttribute="bottom" constant="10" id="QIe-FW-dr4"/>
<constraint firstItem="eih-w3-GJh" firstAttribute="top" secondItem="gfG-Nj-pdp" secondAttribute="bottom" id="Qsm-JA-YFV"/>
<constraint firstItem="eih-w3-GJh" firstAttribute="top" secondItem="6Uc-Df-mp9" secondAttribute="bottom" constant="15" id="Qsm-JA-YFV"/>
<constraint firstItem="IfE-o6-jvc" firstAttribute="leading" secondItem="eh5-A9-9oM" secondAttribute="trailing" constant="13" id="RKX-h7-qIC"/>
<constraint firstItem="KjV-Pm-Xox" firstAttribute="leading" secondItem="Sos-ke-wWW" secondAttribute="trailing" constant="15" id="ROX-kP-BUM"/>
<constraint firstItem="eBn-ZQ-kRE" firstAttribute="top" secondItem="lQu-wS-luP" secondAttribute="bottom" constant="15" id="Ra7-2t-3eO"/>
......@@ -728,6 +725,7 @@
<constraint firstItem="74P-eC-sht" firstAttribute="leading" secondItem="zcv-YD-IHi" secondAttribute="leading" constant="15" id="eeq-M6-uYa"/>
<constraint firstItem="KmP-UE-Z2m" firstAttribute="centerY" secondItem="eBn-ZQ-kRE" secondAttribute="centerY" id="fE6-yV-H6N"/>
<constraint firstItem="5af-3I-E0X" firstAttribute="top" secondItem="x64-TX-dLy" secondAttribute="bottom" constant="10" id="gSR-NK-7IO"/>
<constraint firstItem="uTx-fd-l3A" firstAttribute="centerX" secondItem="6Uc-Df-mp9" secondAttribute="centerX" id="hS8-wB-NM0"/>
<constraint firstItem="luQ-AH-QHc" firstAttribute="top" secondItem="XMu-zq-EhP" secondAttribute="bottom" constant="15" id="hpb-JI-t9A"/>
<constraint firstItem="KmP-UE-Z2m" firstAttribute="leading" secondItem="eBn-ZQ-kRE" secondAttribute="trailing" constant="15" id="iUY-8u-86D"/>
<constraint firstItem="lQu-wS-luP" firstAttribute="top" secondItem="IOi-sC-dEe" secondAttribute="bottom" constant="15" id="jhU-Q3-kjG"/>
......@@ -740,10 +738,9 @@
<constraint firstItem="XNI-3O-CwK" firstAttribute="leading" secondItem="zcv-YD-IHi" secondAttribute="leading" constant="15" id="m5I-f5-XHd"/>
<constraint firstAttribute="height" constant="915" id="mIQ-xh-FRR"/>
<constraint firstItem="mtO-oL-Tzv" firstAttribute="top" secondItem="luQ-AH-QHc" secondAttribute="bottom" constant="10" id="obd-w1-4dP"/>
<constraint firstItem="uTx-fd-l3A" firstAttribute="top" secondItem="T6r-F3-LjK" secondAttribute="bottom" constant="10" id="ooX-EL-R7b"/>
<constraint firstAttribute="trailing" secondItem="LGt-SE-ga1" secondAttribute="trailing" id="p6k-XD-zaD"/>
<constraint firstItem="eh5-A9-9oM" firstAttribute="leading" secondItem="jLq-pi-MtE" secondAttribute="trailing" constant="13" id="pbd-hJ-TZy"/>
<constraint firstItem="x64-TX-dLy" firstAttribute="top" secondItem="eih-w3-GJh" secondAttribute="bottom" constant="15" id="q0u-RA-N5l"/>
<constraint firstItem="x64-TX-dLy" firstAttribute="top" secondItem="gfG-Nj-pdp" secondAttribute="bottom" constant="15" id="q0u-RA-N5l"/>
<constraint firstItem="6Eb-pX-eg0" firstAttribute="leading" secondItem="zcv-YD-IHi" secondAttribute="leading" constant="15" id="q86-p4-qZu"/>
<constraint firstItem="wOP-Ki-lQ5" firstAttribute="leading" secondItem="zcv-YD-IHi" secondAttribute="leading" constant="15" id="rfd-4O-fZs"/>
<constraint firstItem="XMu-zq-EhP" firstAttribute="top" secondItem="5af-3I-E0X" secondAttribute="bottom" constant="15" id="s7c-NU-JcE"/>
......@@ -752,7 +749,8 @@
<constraint firstItem="eih-w3-GJh" firstAttribute="leading" secondItem="zcv-YD-IHi" secondAttribute="leading" id="vBp-rf-lMO"/>
<constraint firstItem="IOi-sC-dEe" firstAttribute="top" secondItem="wOP-Ki-lQ5" secondAttribute="bottom" constant="15" id="vN5-hb-q2W"/>
<constraint firstItem="wOP-Ki-lQ5" firstAttribute="top" secondItem="BjS-uk-wr7" secondAttribute="bottom" constant="15" id="vit-IH-4hb"/>
<constraint firstItem="gfG-Nj-pdp" firstAttribute="top" secondItem="6Uc-Df-mp9" secondAttribute="bottom" constant="15" id="wG7-H8-LaO"/>
<constraint firstItem="uTx-fd-l3A" firstAttribute="centerY" secondItem="6Uc-Df-mp9" secondAttribute="centerY" id="vy9-XE-g3I"/>
<constraint firstItem="gfG-Nj-pdp" firstAttribute="top" secondItem="eih-w3-GJh" secondAttribute="bottom" id="wG7-H8-LaO"/>
<constraint firstItem="gfG-Nj-pdp" firstAttribute="leading" secondItem="zcv-YD-IHi" secondAttribute="leading" constant="15" id="xbB-2H-LPC"/>
<constraint firstItem="YAK-sz-pnE" firstAttribute="top" secondItem="74P-eC-sht" secondAttribute="bottom" constant="10" id="y3t-qT-np0"/>
<constraint firstItem="lmi-Tf-AWO" firstAttribute="top" secondItem="LGt-SE-ga1" secondAttribute="bottom" constant="15" id="y9U-Ch-Xcc"/>
......
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