add
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// GIGaUserChangeMobleCell.h
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/19.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface GIGaUserChangeMobleCell : UITableViewCell
|
||||
@property (weak, nonatomic) IBOutlet UIButton *codeSendBtn;
|
||||
@property (weak, nonatomic) IBOutlet UIButton *oldBtn;
|
||||
@property (weak, nonatomic) IBOutlet UIButton *xinPhoneBtn;
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UITextField *numberTexFiled;
|
||||
@property (weak, nonatomic) IBOutlet UITextField *codeTexFiled;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// GIGaUserChangeMobleCell.m
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/19.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import "GIGaUserChangeMobleCell.h"
|
||||
|
||||
@implementation GIGaUserChangeMobleCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
self.codeSendBtn.layer.masksToBounds = YES;
|
||||
self.codeSendBtn.layer.cornerRadius = 2;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,137 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="GIGaUserChangeMobleCell" id="KGk-i7-Jjw" customClass="GIGaUserChangeMobleCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="170"/>
|
||||
<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">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="169.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="249" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="2ZD-g3-5XT">
|
||||
<rect key="frame" x="0.0" y="0.0" width="161" height="49"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="49" id="8X4-gu-I7p"/>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="161" id="KZV-my-7i5"/>
|
||||
<constraint firstAttribute="height" constant="49" id="Sbd-Zj-PhK"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="13"/>
|
||||
<state key="normal" title="1.验证原手机号">
|
||||
<color key="titleColor" red="0.51372549019607838" green="0.039215686274509803" blue="0.039215686274509803" alpha="1" colorSpace="calibratedRGB"/>
|
||||
</state>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" horizontalCompressionResistancePriority="749" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0O3-uD-8he">
|
||||
<rect key="frame" x="161" y="0.0" width="159" height="49"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="49" id="gHg-LI-QBV"/>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="159" id="udM-bR-3xe"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="13"/>
|
||||
<state key="normal" title="2. 绑定新手机" backgroundImage="bg_change_newnumber">
|
||||
<color key="titleColor" red="0.6470588235294118" green="0.6470588235294118" blue="0.6470588235294118" alpha="1" colorSpace="calibratedRGB"/>
|
||||
</state>
|
||||
</button>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ltN-mh-pCu">
|
||||
<rect key="frame" x="0.0" y="48" width="320" height="1"/>
|
||||
<color key="backgroundColor" red="0.8901960784313725" green="0.8901960784313725" blue="0.8901960784313725" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="1" id="BUO-kq-9vw"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="BHw-jn-B4K">
|
||||
<rect key="frame" x="25" y="96" width="271" height="1"/>
|
||||
<color key="backgroundColor" red="0.87058823529411766" green="0.87058823529411766" blue="0.87058823529411766" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="0.5" id="d5m-4a-rgv"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="111*****19199" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="zKj-gY-1hq">
|
||||
<rect key="frame" x="22" y="60" width="182" height="20"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="20" id="1lF-nU-EXq"/>
|
||||
</constraints>
|
||||
<nil key="textColor"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="14"/>
|
||||
<textInputTraits key="textInputTraits"/>
|
||||
</textField>
|
||||
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入验证码" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="hGp-Ng-Bdl">
|
||||
<rect key="frame" x="22" y="100" width="274" height="30"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="30" id="qX8-fG-b53"/>
|
||||
</constraints>
|
||||
<color key="textColor" red="0.73333333333333328" green="0.73333333333333328" blue="0.73333333333333328" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="13"/>
|
||||
<textInputTraits key="textInputTraits"/>
|
||||
</textField>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Xj0-4q-Lcf">
|
||||
<rect key="frame" x="25" y="137" width="271" height="1"/>
|
||||
<color key="backgroundColor" red="0.87058823529411766" green="0.87058823529411766" blue="0.87058823529411766" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="0.5" id="aPk-X1-OSE"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="yh7-p6-Uf5">
|
||||
<rect key="frame" x="245" y="56" width="59" height="30"/>
|
||||
<color key="backgroundColor" red="0.70980392160000005" green="0.054901960780000002" blue="0.054901960780000002" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="30" id="8iy-aa-Gc9"/>
|
||||
<constraint firstAttribute="width" constant="59" id="eTQ-av-rBv"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="10"/>
|
||||
<state key="normal" title="发送验证码"/>
|
||||
</button>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="ltN-mh-pCu" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="48" id="1B7-Zk-FVf"/>
|
||||
<constraint firstAttribute="trailing" secondItem="Xj0-4q-Lcf" secondAttribute="trailing" constant="24" id="1lK-gV-mIr"/>
|
||||
<constraint firstItem="ltN-mh-pCu" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="35t-8L-aG2"/>
|
||||
<constraint firstItem="BHw-jn-B4K" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="25" id="3B1-1D-A2u"/>
|
||||
<constraint firstItem="0O3-uD-8he" firstAttribute="leading" secondItem="2ZD-g3-5XT" secondAttribute="trailing" id="6K7-mx-gbk"/>
|
||||
<constraint firstItem="Xj0-4q-Lcf" firstAttribute="top" secondItem="hGp-Ng-Bdl" secondAttribute="bottom" constant="7" id="6u4-GR-ox5"/>
|
||||
<constraint firstItem="2ZD-g3-5XT" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="CiT-60-LRQ"/>
|
||||
<constraint firstItem="zKj-gY-1hq" firstAttribute="top" secondItem="ltN-mh-pCu" secondAttribute="bottom" constant="11" id="DHw-st-cVi"/>
|
||||
<constraint firstItem="Xj0-4q-Lcf" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="25" id="EuX-go-oDE"/>
|
||||
<constraint firstAttribute="trailing" secondItem="BHw-jn-B4K" secondAttribute="trailing" constant="24" id="JF7-TA-MUQ"/>
|
||||
<constraint firstItem="BHw-jn-B4K" firstAttribute="top" secondItem="yh7-p6-Uf5" secondAttribute="bottom" constant="10" id="KuJ-Ad-Lou"/>
|
||||
<constraint firstItem="0O3-uD-8he" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="LN4-jM-a7y"/>
|
||||
<constraint firstItem="yh7-p6-Uf5" firstAttribute="leading" secondItem="zKj-gY-1hq" secondAttribute="trailing" constant="41" id="PM7-xr-Z8C"/>
|
||||
<constraint firstAttribute="trailing" secondItem="0O3-uD-8he" secondAttribute="trailing" id="VMO-hZ-ZR6"/>
|
||||
<constraint firstItem="2ZD-g3-5XT" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="Yar-X7-iHB"/>
|
||||
<constraint firstAttribute="trailing" secondItem="hGp-Ng-Bdl" secondAttribute="trailing" constant="24" id="aQD-wy-GKM"/>
|
||||
<constraint firstAttribute="trailing" secondItem="ltN-mh-pCu" secondAttribute="trailing" id="edS-VB-4JC"/>
|
||||
<constraint firstAttribute="trailing" secondItem="yh7-p6-Uf5" secondAttribute="trailing" constant="16" id="el7-tP-Ix7"/>
|
||||
<constraint firstItem="zKj-gY-1hq" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="22" id="fPU-n6-Hyd"/>
|
||||
<constraint firstAttribute="bottomMargin" secondItem="Xj0-4q-Lcf" secondAttribute="bottom" constant="21" id="psu-29-T16"/>
|
||||
<constraint firstItem="hGp-Ng-Bdl" firstAttribute="top" secondItem="BHw-jn-B4K" secondAttribute="bottom" constant="3.5" id="tJp-CU-wfk"/>
|
||||
<constraint firstItem="hGp-Ng-Bdl" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="22" id="w93-63-Lei"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
|
||||
<connections>
|
||||
<outlet property="codeSendBtn" destination="yh7-p6-Uf5" id="Y6N-dz-UOL"/>
|
||||
<outlet property="codeTexFiled" destination="hGp-Ng-Bdl" id="fS5-MW-4DK"/>
|
||||
<outlet property="numberTexFiled" destination="zKj-gY-1hq" id="ggw-Pm-eZ5"/>
|
||||
<outlet property="oldBtn" destination="2ZD-g3-5XT" id="Nbp-cd-1tw"/>
|
||||
<outlet property="xinPhoneBtn" destination="0O3-uD-8he" id="FOV-jq-ysj"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="33" y="54"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="bg_change_newnumber" width="197" height="49"/>
|
||||
</resources>
|
||||
</document>
|
||||
Reference in New Issue
Block a user