Commit 527c5551 authored by lujunye's avatar lujunye

绑定,改绑细节补充。共用界面

parent 0cd8a872
......@@ -7,7 +7,7 @@
<key>GeliBusinessPlatform.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>21</integer>
<integer>22</integer>
</dict>
</dict>
</dict>
......
......@@ -3,17 +3,4 @@
uuid = "4EFF3422-0342-402A-BFF0-17B15851B3EC"
type = "0"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
<BreakpointContent
uuid = "61B97D92-F859-4C21-8015-389C91785DC8"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
scope = "1"
stopOnStyle = "0">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "qianwang@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "qianwang@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
{
"properties" : {
"localizable" : true
},
"info" : {
"version" : 1,
"author" : "xcode"
......@@ -10,7 +13,7 @@
"color-space" : "srgb",
"components" : {
"red" : "1.000",
"alpha" : "1.000",
"alpha" : "0.650",
"blue" : "0.439",
"green" : "0.439"
}
......
......@@ -7,15 +7,21 @@
//
import UIKit
import LGButton
class BindViewController: BaseViewController,NavBarViewDelegate {
@IBOutlet weak var submitBtn: LGButton!
@IBOutlet weak var pinkView: UIView!
@IBOutlet weak var accountTF: UITextField!
@IBOutlet weak var phoneTF: UITextField!
@IBOutlet weak var codeTF: UITextField!
@IBOutlet weak var topInputView: UIView!
//MARK: -绑定、获取验证码、忘记手机号码方法
@IBAction func registerPayAccountAction(_ sender: Any) {
print("注册支付账号")
}
@IBAction func getCodeAction(_ sender: Any) {
print("获取验证码")
}
......@@ -34,11 +40,28 @@ class BindViewController: BaseViewController,NavBarViewDelegate {
self.view.addSubview(navbar)
if pinkView.isHidden {
topInputView.snp.makeConstraints { (make) in
make.top.equalTo(NavCGRect.height)
make.left.right.equalTo(0)
make.height.equalTo(50)
}
submitBtn.titleString = "确认绑定支付账户"
}else{
pinkView.snp.makeConstraints { (make) in
make.top.equalTo(NavCGRect.height)
make.left.right.equalTo(0)
make.height.equalTo(22.5)
}
topInputView.snp.makeConstraints { (make) in
make.top.equalTo(NavCGRect.height+32.5)
make.left.right.equalTo(0)
make.height.equalTo(50)
}
submitBtn.titleString = "绑定支付账户"
}
// Do any additional setup after loading the view.
}
......
......@@ -13,6 +13,8 @@
<outlet property="accountTF" destination="ffm-Wf-cTs" id="cgF-DC-suj"/>
<outlet property="codeTF" destination="3oP-hI-HAZ" id="0CL-cl-EaA"/>
<outlet property="phoneTF" destination="t65-xv-Q0b" id="h0N-xy-zNV"/>
<outlet property="pinkView" destination="prG-Tn-Xbh" id="mtL-tA-EXt"/>
<outlet property="submitBtn" destination="waH-iS-ZgL" id="WLb-wd-aup"/>
<outlet property="topInputView" destination="NLt-l1-671" id="Zd3-9m-ZL4"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
......@@ -65,6 +67,56 @@
<constraint firstAttribute="trailing" secondItem="ffm-Wf-cTs" secondAttribute="trailing" constant="15" id="yUz-p0-Rkw"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="prG-Tn-Xbh">
<rect key="frame" x="0.0" y="44" width="414" height="22.5"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yHc-Xh-wxI">
<rect key="frame" x="0.0" y="0.0" width="414" height="22.5"/>
<color key="backgroundColor" name="未登录提示背景色"/>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="若未注册支付账户,点击立即注册" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XAt-Ap-9cj">
<rect key="frame" x="20" y="0.0" width="169" height="22.5"/>
<constraints>
<constraint firstAttribute="width" constant="169" id="VMH-xB-g3H"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="11"/>
<color key="textColor" name="白色背景色"/>
<nil key="highlightedColor"/>
</label>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="qianwang" translatesAutoresizingMaskIntoConstraints="NO" id="s7H-zf-9UI">
<rect key="frame" x="392" y="8" width="7" height="7"/>
<constraints>
<constraint firstAttribute="height" constant="7" id="SBq-t5-WG5"/>
<constraint firstAttribute="width" constant="7" id="vRf-z8-UgS"/>
</constraints>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="E4H-3t-feW">
<rect key="frame" x="0.0" y="0.0" width="414" height="22.5"/>
<connections>
<action selector="registerPayAccountAction:" destination="-1" eventType="touchUpInside" id="NYx-SM-hsE"/>
</connections>
</button>
</subviews>
<constraints>
<constraint firstAttribute="trailing" secondItem="E4H-3t-feW" secondAttribute="trailing" id="0TQ-Xv-pWj"/>
<constraint firstAttribute="trailing" secondItem="yHc-Xh-wxI" secondAttribute="trailing" id="9cJ-W5-B8s"/>
<constraint firstAttribute="bottom" secondItem="XAt-Ap-9cj" secondAttribute="bottom" id="Axp-YG-vK3"/>
<constraint firstItem="E4H-3t-feW" firstAttribute="leading" secondItem="prG-Tn-Xbh" secondAttribute="leading" id="IYw-fv-lQv"/>
<constraint firstItem="E4H-3t-feW" firstAttribute="top" secondItem="prG-Tn-Xbh" secondAttribute="top" id="JlB-sD-HGN"/>
<constraint firstAttribute="bottom" secondItem="yHc-Xh-wxI" secondAttribute="bottom" id="Ntl-Bm-y29"/>
<constraint firstItem="yHc-Xh-wxI" firstAttribute="leading" secondItem="prG-Tn-Xbh" secondAttribute="leading" id="O6J-aA-a2p"/>
<constraint firstItem="XAt-Ap-9cj" firstAttribute="top" secondItem="prG-Tn-Xbh" secondAttribute="top" id="cI0-Fr-7EK"/>
<constraint firstAttribute="height" constant="22.5" id="kSq-kt-DWD"/>
<constraint firstItem="XAt-Ap-9cj" firstAttribute="leading" secondItem="prG-Tn-Xbh" secondAttribute="leading" constant="20" id="lBM-jN-bo1"/>
<constraint firstItem="yHc-Xh-wxI" firstAttribute="top" secondItem="prG-Tn-Xbh" secondAttribute="top" id="rIV-cW-cvq"/>
<constraint firstItem="s7H-zf-9UI" firstAttribute="centerY" secondItem="XAt-Ap-9cj" secondAttribute="centerY" id="rqN-PP-bBH"/>
<constraint firstAttribute="trailing" secondItem="s7H-zf-9UI" secondAttribute="trailing" constant="15" id="yNb-Rv-cWO"/>
<constraint firstAttribute="bottom" secondItem="E4H-3t-feW" secondAttribute="bottom" id="yz8-rl-sQY"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="boolean" keyPath="leftAligned" value="YES"/>
</userDefinedRuntimeAttributes>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KNo-tQ-dsg">
<rect key="frame" x="0.0" y="94" width="414" height="50"/>
<subviews>
......@@ -198,6 +250,7 @@
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="NLt-l1-671" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="0Ku-L4-Tkc"/>
<constraint firstItem="prG-Tn-Xbh" firstAttribute="trailing" secondItem="fnl-2z-Ty3" secondAttribute="trailing" id="0ur-Ua-dv0"/>
<constraint firstItem="NLt-l1-671" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="1OO-6W-Yef"/>
<constraint firstItem="JJc-HS-SOo" firstAttribute="top" secondItem="waH-iS-ZgL" secondAttribute="bottom" constant="20" id="62I-VJ-dGY"/>
<constraint firstItem="KNo-tQ-dsg" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="DOi-22-uzY"/>
......@@ -206,28 +259,37 @@
<constraint firstItem="waH-iS-ZgL" firstAttribute="top" secondItem="bCp-kS-a0t" secondAttribute="bottom" constant="100" id="UjX-A0-vCe"/>
<constraint firstItem="bCp-kS-a0t" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="UvF-Pr-mil"/>
<constraint firstItem="KNo-tQ-dsg" firstAttribute="top" secondItem="NLt-l1-671" secondAttribute="bottom" id="W4q-P7-j7d"/>
<constraint firstItem="prG-Tn-Xbh" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="WVR-Ex-lJM"/>
<constraint firstItem="JJc-HS-SOo" firstAttribute="centerX" secondItem="waH-iS-ZgL" secondAttribute="centerX" id="av7-O1-Iv8"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="KNo-tQ-dsg" secondAttribute="trailing" id="eXN-H3-sud"/>
<constraint firstItem="prG-Tn-Xbh" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="hGA-Ts-Psy"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="NLt-l1-671" secondAttribute="trailing" id="hRL-kU-JtX"/>
<constraint firstItem="bCp-kS-a0t" firstAttribute="top" secondItem="KNo-tQ-dsg" secondAttribute="bottom" id="hwk-HZ-g3B"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="waH-iS-ZgL" secondAttribute="trailing" constant="37.5" id="sBd-o3-rwa"/>
</constraints>
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
<point key="canvasLocation" x="133" y="113"/>
<point key="canvasLocation" x="131.8840579710145" y="112.5"/>
</view>
</objects>
<resources>
<image name="qianwang" width="9" height="18"/>
<namedColor name="按钮渐变色上">
<color red="0.3880000114440918" green="0.62400001287460327" blue="0.90200001001358032" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="按钮渐变色下,字体颜色">
<color red="0.27799999713897705" green="0.56099998950958252" blue="0.88999998569488525" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="未登录提示背景色">
<color red="1" green="0.43900001049041748" blue="0.43900001049041748" alpha="0.65000000000000002" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="标题字颜色">
<color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="灰色分界线">
<color red="0.92900002002716064" green="0.92900002002716064" blue="0.92900002002716064" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="白色背景色">
<color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>
......@@ -11,6 +11,11 @@
<key>orderHint</key>
<integer>0</integer>
</dict>
<key>BabyBluetooth.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>21</integer>
</dict>
<key>CryptoSwift.xcscheme</key>
<dict>
<key>isShown</key>
......@@ -102,6 +107,11 @@
<key>orderHint</key>
<integer>13</integer>
</dict>
<key>SVProgressHUD.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>23</integer>
</dict>
<key>SkeletonView.xcscheme</key>
<dict>
<key>isShown</key>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment