Initial commit
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// CertificationViewFourthCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/16.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface CertificationViewFourthCell : UITableViewCell
|
||||
|
||||
@end
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// CertificationViewFourthCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/16.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "CertificationViewFourthCell.h"
|
||||
|
||||
@implementation CertificationViewFourthCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11201" systemVersion="15G31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.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="default" indentationWidth="10" reuseIdentifier="CertificationViewFourthCell" rowHeight="44" id="KGk-i7-Jjw" customClass="CertificationViewFourthCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
|
||||
<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">
|
||||
<frame key="frameInset" width="320" height="43"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="前往认证" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CDZ-gc-l5D">
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="CDZ-gc-l5D" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="100" id="WgJ-9S-6t1"/>
|
||||
<constraint firstItem="CDZ-gc-l5D" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="gG0-QE-EEe"/>
|
||||
<constraint firstItem="CDZ-gc-l5D" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="3" id="mx5-R2-R7Y"/>
|
||||
<constraint firstAttribute="bottomMargin" secondItem="CDZ-gc-l5D" secondAttribute="bottom" constant="3" id="rl3-V6-fwK"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<color key="backgroundColor" red="0.082352941176470587" green="0.66274509803921566" blue="0.91764705882352937" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<point key="canvasLocation" x="95" y="227"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<simulatedMetricsContainer key="defaultSimulatedMetrics">
|
||||
<simulatedStatusBarMetrics key="statusBar"/>
|
||||
<simulatedOrientationMetrics key="orientation"/>
|
||||
<simulatedScreenMetrics key="destination" type="retina4_7.fullscreen"/>
|
||||
</simulatedMetricsContainer>
|
||||
</document>
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// CertificationViewSecondCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/16.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface CertificationViewSecondCell : UITableViewCell
|
||||
|
||||
@end
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// CertificationViewSecondCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/16.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "CertificationViewSecondCell.h"
|
||||
|
||||
@implementation CertificationViewSecondCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="10117" systemVersion="15G31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="CertificationViewSecondCell" rowHeight="120" id="KGk-i7-Jjw" customClass="CertificationViewSecondCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="321" height="120"/>
|
||||
<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="321" height="119"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="认证费用:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0ca-Ar-7WZ">
|
||||
<rect key="frame" x="33" y="8" width="85" height="24"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="24" id="qlF-aM-lzh"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="17"/>
|
||||
<color key="textColor" red="0.066666666666666666" green="0.066666666666666666" blue="0.066666666666666666" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="免费" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QCd-pV-tD9">
|
||||
<rect key="frame" x="109" y="9" width="42" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="42" id="QCp-wc-Pfb"/>
|
||||
<constraint firstAttribute="height" constant="21" id="W8h-B9-B1j"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
|
||||
<color key="textColor" red="0.33333333333333331" green="0.6470588235294118" blue="0.32941176470588235" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="成为爱鱼奇认证商户,可开通帮用户远程看护等更多个性服务。" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AmH-Pc-RA9">
|
||||
<rect key="frame" x="34" y="66" width="279" height="41"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" red="0.42352941176470588" green="0.42352941176470588" blue="0.42352941176470588" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="QCd-pV-tD9" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="1" id="0Lt-7Z-TQe"/>
|
||||
<constraint firstAttribute="topMargin" secondItem="0ca-Ar-7WZ" secondAttribute="top" id="5A4-46-7Hg"/>
|
||||
<constraint firstItem="QCd-pV-tD9" firstAttribute="leading" secondItem="0ca-Ar-7WZ" secondAttribute="trailing" constant="-9" id="MeV-12-HSt"/>
|
||||
<constraint firstItem="AmH-Pc-RA9" firstAttribute="top" secondItem="0ca-Ar-7WZ" secondAttribute="bottom" constant="34" id="XIV-RD-4BU"/>
|
||||
<constraint firstItem="AmH-Pc-RA9" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="26" id="cdK-5I-LFm"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="AmH-Pc-RA9" secondAttribute="trailing" id="nkF-qs-esl"/>
|
||||
<constraint firstItem="0ca-Ar-7WZ" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="25" id="s9r-ff-kEG"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<color key="backgroundColor" red="0.91764705879999997" green="0.91764705879999997" blue="0.91764705879999997" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<point key="canvasLocation" x="330.5" y="312.5"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
</document>
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// CertificationViewThirdCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/16.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface CertificationViewThirdCell : UITableViewCell
|
||||
|
||||
@end
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// CertificationViewThirdCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/16.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "CertificationViewThirdCell.h"
|
||||
|
||||
@implementation CertificationViewThirdCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="10117" systemVersion="15G31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="CertificationViewThirdCell" rowHeight="280" id="KGk-i7-Jjw" customClass="CertificationViewThirdCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="280"/>
|
||||
<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="279"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="认证前请准备好以下资料:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="enI-6c-rNS">
|
||||
<rect key="frame" x="33" y="10" width="204" height="21"/>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
|
||||
<color key="textColor" red="0.066666666669999999" green="0.066666666669999999" blue="0.066666666669999999" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1.店铺经营者身份证" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g43-9l-m2B">
|
||||
<rect key="frame" x="33" y="39" width="148" height="21"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" red="0.42352941179999998" green="0.42352941179999998" blue="0.42352941179999998" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2.营业执照" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wAd-pZ-o27">
|
||||
<rect key="frame" x="33" y="68" width="83" height="21"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" red="0.42352941179999998" green="0.42352941179999998" blue="0.42352941179999998" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="shop_certification_introduce.png" translatesAutoresizingMaskIntoConstraints="NO" id="zD1-Tx-qLf">
|
||||
<rect key="frame" x="0.0" y="91" width="320" height="225"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="g43-9l-m2B" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="25" id="1rT-OX-Hav"/>
|
||||
<constraint firstItem="wAd-pZ-o27" firstAttribute="top" secondItem="g43-9l-m2B" secondAttribute="bottom" constant="8" id="6io-Rc-LKc"/>
|
||||
<constraint firstItem="enI-6c-rNS" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="25" id="9DN-Wf-rHJ"/>
|
||||
<constraint firstItem="zD1-Tx-qLf" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="G8R-qc-lB2"/>
|
||||
<constraint firstItem="wAd-pZ-o27" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="25" id="hdo-2Q-lSZ"/>
|
||||
<constraint firstItem="zD1-Tx-qLf" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="koj-hI-pFV"/>
|
||||
<constraint firstItem="enI-6c-rNS" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="2" id="tVC-4t-a9y"/>
|
||||
<constraint firstItem="zD1-Tx-qLf" firstAttribute="top" secondItem="wAd-pZ-o27" secondAttribute="bottom" constant="2" id="trC-54-J30"/>
|
||||
<constraint firstItem="g43-9l-m2B" firstAttribute="top" secondItem="enI-6c-rNS" secondAttribute="bottom" constant="8" id="zE5-NL-fmL"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<color key="backgroundColor" red="0.91764705882352937" green="0.91764705882352937" blue="0.91764705882352937" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<point key="canvasLocation" x="278" y="359.5"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="shop_certification_introduce.png" width="640" height="225"/>
|
||||
</resources>
|
||||
</document>
|
||||
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// CertifyListFourthCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/17.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface CertifyListFourthCell : UITableViewCell
|
||||
@property (weak, nonatomic) IBOutlet UIButton *xieYiBtn;
|
||||
@property (weak, nonatomic) IBOutlet UIButton *xieYiButton;
|
||||
@property (weak, nonatomic) IBOutlet UIButton *tiJiaoRenZheng;
|
||||
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// CertifyListFourthCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/17.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "CertifyListFourthCell.h"
|
||||
|
||||
@implementation CertifyListFourthCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" 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="11757"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.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="default" indentationWidth="10" rowHeight="93" id="KGk-i7-Jjw" customClass="CertifyListFourthCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="93"/>
|
||||
<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="92.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kgW-Y6-TNa">
|
||||
<rect key="frame" x="8" y="8" width="25" height="25"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="25" id="8so-4B-k2c"/>
|
||||
<constraint firstAttribute="width" constant="25" id="QfK-bf-obz"/>
|
||||
</constraints>
|
||||
<state key="normal" backgroundImage="registered_icon_tick_uncheck.png"/>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vdB-d2-azP">
|
||||
<rect key="frame" x="0.0" y="42" width="320" height="50"/>
|
||||
<color key="backgroundColor" red="0.082352941176470587" green="0.66274509803921566" blue="0.91764705882352937" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<state key="normal" title="提交认证">
|
||||
<color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
</state>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ucf-WP-h9k">
|
||||
<rect key="frame" x="47" y="8" width="234" height="25"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="234" id="8Kc-zV-4ml"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||
<inset key="contentEdgeInsets" minX="-90" minY="0.0" maxX="0.0" maxY="0.0"/>
|
||||
<state key="normal" title="商户入驻爱鱼奇服务协议">
|
||||
<color key="titleColor" red="0.60784313725490191" green="0.61176470588235299" blue="0.60784313725490191" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
</state>
|
||||
</button>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="leadingMargin" secondItem="vdB-d2-azP" secondAttribute="leading" constant="8" id="I9F-14-6bH"/>
|
||||
<constraint firstItem="ucf-WP-h9k" firstAttribute="leading" secondItem="kgW-Y6-TNa" secondAttribute="trailing" constant="14" id="QGr-JP-rms"/>
|
||||
<constraint firstAttribute="bottomMargin" secondItem="vdB-d2-azP" secondAttribute="bottom" constant="-8" id="RuE-jA-pub"/>
|
||||
<constraint firstItem="vdB-d2-azP" firstAttribute="top" secondItem="kgW-Y6-TNa" secondAttribute="bottom" constant="9" id="TDl-00-RY0"/>
|
||||
<constraint firstItem="vdB-d2-azP" firstAttribute="top" secondItem="ucf-WP-h9k" secondAttribute="bottom" constant="9" id="XzB-hv-bhx"/>
|
||||
<constraint firstAttribute="topMargin" secondItem="ucf-WP-h9k" secondAttribute="top" id="YMi-eZ-dGN"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="vdB-d2-azP" secondAttribute="trailing" constant="-8" id="fF1-J0-r61"/>
|
||||
<constraint firstItem="kgW-Y6-TNa" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" id="kNZ-BI-TaY"/>
|
||||
<constraint firstItem="kgW-Y6-TNa" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" id="lB8-2d-1Ix"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<color key="backgroundColor" red="0.91764705882352937" green="0.91764705882352937" blue="0.91764705882352937" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<connections>
|
||||
<outlet property="tiJiaoRenZheng" destination="vdB-d2-azP" id="dXv-oe-yz2"/>
|
||||
<outlet property="xieYiBtn" destination="kgW-Y6-TNa" id="4Vc-FZ-c9H"/>
|
||||
<outlet property="xieYiButton" destination="ucf-WP-h9k" id="oXB-xM-mFm"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="267" y="330.5"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="registered_icon_tick_uncheck.png" width="14" height="14"/>
|
||||
</resources>
|
||||
</document>
|
||||
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// CertifyListSecondCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/17.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface CertifyListSecondCell : UITableViewCell
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UILabel *loactionLabel;
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UIButton *dingWeiBtn;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// CertifyListSecondCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/17.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "CertifyListSecondCell.h"
|
||||
|
||||
@implementation CertifyListSecondCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11201" systemVersion="15G31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.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="default" indentationWidth="10" reuseIdentifier="CertifyListSecondCell" rowHeight="70" id="KGk-i7-Jjw" customClass="CertifyListSecondCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="70"/>
|
||||
<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">
|
||||
<frame key="frameInset" width="320" height="69"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Ifish_location.png" translatesAutoresizingMaskIntoConstraints="NO" id="524-6d-ko2">
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="20" id="91U-5N-Mhv"/>
|
||||
<constraint firstAttribute="height" constant="20" id="yVI-B4-8yD"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="暂未定位成功请手动输入地址。" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1ss-5p-cSQ">
|
||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||
<color key="textColor" red="0.61568627450980395" green="0.61568627450980395" blue="0.61568627450980395" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8xu-Pe-cR4">
|
||||
<color key="backgroundColor" red="0.082352941176470587" green="0.66274509803921566" blue="0.91764705882352937" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="90" id="d4C-kY-vPc"/>
|
||||
<constraint firstAttribute="height" constant="39" id="w9p-BB-zAK"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||
<state key="normal" title="使用定位地址">
|
||||
<color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
</state>
|
||||
</button>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="leadingMargin" secondItem="524-6d-ko2" secondAttribute="leading" id="9qJ-fG-elZ"/>
|
||||
<constraint firstItem="8xu-Pe-cR4" firstAttribute="top" secondItem="1ss-5p-cSQ" secondAttribute="top" constant="-5" id="Bsn-NP-ljr"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="8xu-Pe-cR4" secondAttribute="trailing" id="ENM-0d-caU"/>
|
||||
<constraint firstItem="8xu-Pe-cR4" firstAttribute="bottom" secondItem="1ss-5p-cSQ" secondAttribute="bottom" constant="4" id="Ffh-1w-ehH"/>
|
||||
<constraint firstItem="8xu-Pe-cR4" firstAttribute="centerY" secondItem="524-6d-ko2" secondAttribute="centerY" id="Qc5-5a-rqT"/>
|
||||
<constraint firstItem="8xu-Pe-cR4" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="RRT-jG-xvR"/>
|
||||
<constraint firstItem="1ss-5p-cSQ" firstAttribute="leading" secondItem="524-6d-ko2" secondAttribute="trailing" constant="8" id="Z5e-df-a9a"/>
|
||||
<constraint firstItem="8xu-Pe-cR4" firstAttribute="leading" secondItem="1ss-5p-cSQ" secondAttribute="trailing" constant="8" id="ZVv-kc-Tlz"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<color key="backgroundColor" red="0.91764705882352937" green="0.91764705882352937" blue="0.91764705882352937" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<connections>
|
||||
<outlet property="dingWeiBtn" destination="8xu-Pe-cR4" id="u7u-jH-BeQ"/>
|
||||
<outlet property="loactionLabel" destination="1ss-5p-cSQ" id="pfM-zh-Uyi"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="301" y="346"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="Ifish_location.png" width="64" height="64"/>
|
||||
</resources>
|
||||
</document>
|
||||
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// CertifyListThridCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/17.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface CertifyListThridCell : UITableViewCell
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UIView *backImgView;
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UIImageView *picImgView;
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UILabel *addLeiIXing;
|
||||
@property (weak, nonatomic) IBOutlet UIButton *addImgBtn;
|
||||
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// CertifyListThridCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/17.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "CertifyListThridCell.h"
|
||||
|
||||
@implementation CertifyListThridCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="10117" systemVersion="15G31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="CertifyListThridCell" rowHeight="100" id="KGk-i7-Jjw" customClass="CertifyListThridCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="150"/>
|
||||
<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="149"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ybi-NN-Lvo">
|
||||
<rect key="frame" x="8" y="6" width="304" height="138"/>
|
||||
<subviews>
|
||||
<imageView contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="6kK-vA-Vr2">
|
||||
<rect key="frame" x="8" y="8" width="288" height="122"/>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="添加营业执照" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Gsf-uq-87U">
|
||||
<rect key="frame" x="101" y="119" width="102" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="21" id="Ygh-DA-ZjO"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" red="0.53725490196078429" green="0.53725490196078429" blue="0.53725490196078429" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cQA-Cd-9cN">
|
||||
<rect key="frame" x="111" y="28" width="82" height="82"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="82" id="5OV-bX-xXi"/>
|
||||
<constraint firstAttribute="width" constant="82" id="sJl-OQ-QDA"/>
|
||||
</constraints>
|
||||
<state key="normal" image="certifyView_add.png"/>
|
||||
</button>
|
||||
</subviews>
|
||||
<color key="backgroundColor" red="0.9882352941176471" green="0.9882352941176471" blue="0.9882352941176471" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="bottom" secondItem="6kK-vA-Vr2" secondAttribute="bottom" constant="8" id="3Px-bl-i7m"/>
|
||||
<constraint firstItem="Gsf-uq-87U" firstAttribute="centerX" secondItem="cQA-Cd-9cN" secondAttribute="centerX" id="78g-iI-a7i"/>
|
||||
<constraint firstItem="6kK-vA-Vr2" firstAttribute="top" secondItem="Ybi-NN-Lvo" secondAttribute="top" constant="8" id="8D0-sg-kLi"/>
|
||||
<constraint firstItem="6kK-vA-Vr2" firstAttribute="leading" secondItem="Ybi-NN-Lvo" secondAttribute="leading" constant="8" id="GZW-by-XYa"/>
|
||||
<constraint firstItem="cQA-Cd-9cN" firstAttribute="centerY" secondItem="Ybi-NN-Lvo" secondAttribute="centerY" id="Hb7-Cb-JWG"/>
|
||||
<constraint firstAttribute="trailing" secondItem="6kK-vA-Vr2" secondAttribute="trailing" constant="8" id="KTj-NW-RWQ"/>
|
||||
<constraint firstItem="Gsf-uq-87U" firstAttribute="top" secondItem="cQA-Cd-9cN" secondAttribute="bottom" constant="9" id="ScK-6h-XvP"/>
|
||||
<constraint firstItem="cQA-Cd-9cN" firstAttribute="centerX" secondItem="Ybi-NN-Lvo" secondAttribute="centerX" id="or4-IV-JtJ"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="Ybi-NN-Lvo" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="-2" id="MnP-3A-wFu"/>
|
||||
<constraint firstAttribute="leadingMargin" secondItem="Ybi-NN-Lvo" secondAttribute="leading" id="PIx-zG-VAF"/>
|
||||
<constraint firstAttribute="bottomMargin" secondItem="Ybi-NN-Lvo" secondAttribute="bottom" constant="-3" id="c8M-T2-VxN"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="Ybi-NN-Lvo" secondAttribute="trailing" id="vyj-Q1-yJB"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<color key="backgroundColor" red="0.91764705882352937" green="0.91764705882352937" blue="0.91764705882352937" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<connections>
|
||||
<outlet property="addImgBtn" destination="cQA-Cd-9cN" id="Xzs-Wp-r3e"/>
|
||||
<outlet property="addLeiIXing" destination="Gsf-uq-87U" id="VKI-4C-qYe"/>
|
||||
<outlet property="backImgView" destination="Ybi-NN-Lvo" id="0fV-3J-mQU"/>
|
||||
<outlet property="picImgView" destination="6kK-vA-Vr2" id="EFN-fA-Gej"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="273" y="353"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="certifyView_add.png" width="240" height="240"/>
|
||||
</resources>
|
||||
</document>
|
||||
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// CertifyListViewFirstCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/17.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface CertifyListViewFirstCell : UITableViewCell
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UILabel *titleCatelabel;
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UITextField *infoDetailTextfeild;
|
||||
|
||||
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// CertifyListViewFirstCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/17.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "CertifyListViewFirstCell.h"
|
||||
|
||||
@implementation CertifyListViewFirstCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11542" systemVersion="15G31" 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="11524"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.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="default" indentationWidth="10" reuseIdentifier="CertifyListViewFirstCell" rowHeight="60" id="KGk-i7-Jjw" customClass="CertifyListViewFirstCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="323" height="60"/>
|
||||
<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="323" height="59"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="xiP-eY-ADv">
|
||||
<rect key="frame" x="59" y="5" width="256" height="50.5"/>
|
||||
<color key="backgroundColor" red="0.99607843137254903" green="0.99607843137254903" blue="0.99607843137254903" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<textInputTraits key="textInputTraits"/>
|
||||
</textField>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="姓名:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9YL-9y-u0a">
|
||||
<rect key="frame" x="8" y="19" width="51" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="51" id="p2k-xb-udc"/>
|
||||
<constraint firstAttribute="height" constant="21" id="qLK-FD-vAa"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
|
||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="xiP-eY-ADv" firstAttribute="leading" secondItem="9YL-9y-u0a" secondAttribute="trailing" id="AQm-5l-EMD"/>
|
||||
<constraint firstItem="9YL-9y-u0a" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" id="Dyi-iw-AnG"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="xiP-eY-ADv" secondAttribute="trailing" id="L6i-hd-rS8"/>
|
||||
<constraint firstAttribute="bottomMargin" secondItem="xiP-eY-ADv" secondAttribute="bottom" constant="-4" id="Oei-44-bja"/>
|
||||
<constraint firstAttribute="bottomMargin" secondItem="9YL-9y-u0a" secondAttribute="bottom" constant="11" id="q8u-wG-NQO"/>
|
||||
<constraint firstItem="9YL-9y-u0a" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="11" id="rNv-qt-89h"/>
|
||||
<constraint firstItem="xiP-eY-ADv" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="-3" id="y0Z-Nj-hZT"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<color key="backgroundColor" red="0.91764705882352937" green="0.91764705882352937" blue="0.91764705882352937" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<connections>
|
||||
<outlet property="infoDetailTextfeild" destination="xiP-eY-ADv" id="jyz-ob-e8V"/>
|
||||
<outlet property="titleCatelabel" destination="9YL-9y-u0a" id="gJW-Hv-XD5"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="462.5" y="284"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// IfishCertifyImgFile.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/17.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface IfishCertifyImgFile : NSObject
|
||||
|
||||
+(void)saveImageWithdata:(NSData*)data addImagIndex:(int)index;
|
||||
|
||||
+(NSString *)getImgWith :(int)index;
|
||||
|
||||
+(UIImage *)getImgeWith:(int)index;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,60 @@
|
||||
//
|
||||
// IfishCertifyImgFile.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/17.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "IfishCertifyImgFile.h"
|
||||
|
||||
@implementation IfishCertifyImgFile
|
||||
|
||||
+(void)saveImageWithdata:(NSData*)data addImagIndex:(int)index{
|
||||
|
||||
NSString *rootPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];
|
||||
|
||||
NSString *savePath = nil;
|
||||
|
||||
savePath = [NSString stringWithFormat:@"%@/uploadImg/%d",rootPath,index];
|
||||
NSFileManager *manager = [NSFileManager defaultManager];
|
||||
if(![manager fileExistsAtPath:savePath]){
|
||||
[manager createDirectoryAtPath:savePath withIntermediateDirectories:YES attributes:nil error:nil];
|
||||
}
|
||||
NSLog(@"savePath:%@",savePath);
|
||||
[data writeToFile:[NSString stringWithFormat:@"%@/%d.png",savePath,index] atomically:YES];
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
//取
|
||||
+(NSString *)getImgWith :(int)index{
|
||||
|
||||
|
||||
NSString *rootPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];
|
||||
NSString *filePath = nil;
|
||||
|
||||
filePath = [NSString stringWithFormat:@"%@/uploadImg/%d/%d.png",rootPath,index,index];
|
||||
|
||||
NSLog(@"savePath:%@",filePath);
|
||||
return filePath;
|
||||
|
||||
}
|
||||
|
||||
+(UIImage *)getImgeWith:(int)index{
|
||||
|
||||
NSString *rootPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];
|
||||
NSString *filePath = nil;
|
||||
|
||||
filePath = [NSString stringWithFormat:@"%@/uploadImg/%d/%d.png",rootPath,index,index];
|
||||
NSLog(@"savePath:%@",filePath);
|
||||
UIImage *Img = [UIImage imageWithContentsOfFile:filePath];
|
||||
|
||||
|
||||
|
||||
return Img;
|
||||
}
|
||||
|
||||
@end
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// ShopCertificationHtmlController.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/17.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "BaseVIewContorller.h"
|
||||
|
||||
@interface ShopCertificationHtmlController : BaseVIewContorller
|
||||
|
||||
@end
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
//
|
||||
// ShopCertificationHtmlController.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/17.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShopCertificationHtmlController.h"
|
||||
|
||||
@interface ShopCertificationHtmlController ()<UIWebViewDelegate>
|
||||
@property(nonatomic,strong)UIWebView*myWebView;
|
||||
@end
|
||||
|
||||
@implementation ShopCertificationHtmlController
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view.
|
||||
self.title = @"爱鱼奇商户入驻协议";
|
||||
self.view.backgroundColor = TABLE_HEADER_COLOR;
|
||||
|
||||
[self initWebView];
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
-(void)initWebView{
|
||||
self.myWebView=[[UIWebView alloc]initWithFrame:self.view.bounds];
|
||||
|
||||
NSString*filepath=[[NSBundle mainBundle]pathForResource:@"shopCertification" ofType:@"html"];
|
||||
NSString*html=[NSString stringWithContentsOfFile:filepath encoding:NSUTF8StringEncoding error:nil];
|
||||
|
||||
[self.myWebView loadHTMLString:html baseURL:[NSURL URLWithString:filepath]];
|
||||
|
||||
[self.view addSubview:self.myWebView];
|
||||
}
|
||||
-(void)webViewDidStartLoad:(UIWebView *)webView{
|
||||
|
||||
}
|
||||
-(void)webViewDidFinishLoad:(UIWebView *)webView{
|
||||
|
||||
}
|
||||
-(void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error{
|
||||
|
||||
|
||||
[self.view makeToast:@"加载失败"];
|
||||
}
|
||||
|
||||
@end
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// ShopCertificationIntroduceController.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/16.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "BaseVIewContorller.h"
|
||||
#import "WhiteNavBaseViewController.h"
|
||||
@interface ShopCertificationIntroduceController : WhiteNavBaseViewController
|
||||
|
||||
@end
|
||||
+157
@@ -0,0 +1,157 @@
|
||||
//
|
||||
// ShopCertificationIntroduceController.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/16.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShopCertificationIntroduceController.h"
|
||||
#import "CertificationViewThirdCell.h"
|
||||
#import "CertificationViewFourthCell.h"
|
||||
#include "CertificationViewSecondCell.h"
|
||||
#import "certificationViewFirstCell.h"
|
||||
#import "ShopCertificationViewController.h"
|
||||
#import "IfishShopCerNewViewController.h"
|
||||
@interface ShopCertificationIntroduceController ()<UITableViewDelegate,UITableViewDataSource>
|
||||
|
||||
@property(nonatomic,strong)UITableView *tableView;
|
||||
|
||||
@end
|
||||
|
||||
@implementation ShopCertificationIntroduceController
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view.
|
||||
[self addTitleViewWithTitle:@"商户认证"];
|
||||
[self setUI];
|
||||
|
||||
}
|
||||
|
||||
-(void)setUI{
|
||||
|
||||
self.tableView = [[UITableView alloc] init ];
|
||||
self.tableView.frame =CGRectMake(0,0, self.view.frame.size.width,self.view.frame.size.height);
|
||||
self.tableView.delegate = self;
|
||||
self.tableView.dataSource = self;
|
||||
|
||||
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
|
||||
self.tableView.showsVerticalScrollIndicator = NO;
|
||||
|
||||
self.tableView.backgroundColor = TABLE_HEADER_COLOR;
|
||||
|
||||
[self.view addSubview:self.tableView];
|
||||
|
||||
}
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
|
||||
|
||||
return 4;
|
||||
|
||||
}
|
||||
|
||||
-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
|
||||
if (indexPath.row == 0 ) {
|
||||
certificationViewFirstCell *cell=[tableView dequeueReusableCellWithIdentifier:@"certificationViewFirstCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle]loadNibNamed:@"certificationViewFirstCell" owner:self options:nil]lastObject];
|
||||
}
|
||||
cell.selectionStyle = UITableViewCellSelectionStyleNone;
|
||||
cell.backgroundColor = [UIColor redColor];
|
||||
|
||||
return cell;
|
||||
|
||||
}else if (indexPath.row == 1){
|
||||
|
||||
CertificationViewSecondCell *cell=[tableView dequeueReusableCellWithIdentifier:@"CertificationViewSecondCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle]loadNibNamed:@"CertificationViewSecondCell" owner:self options:nil]lastObject];
|
||||
|
||||
}
|
||||
|
||||
cell.selectionStyle = UITableViewCellSelectionStyleNone;
|
||||
|
||||
return cell;
|
||||
|
||||
}else if (indexPath.row == 2) {
|
||||
CertificationViewThirdCell *cell=[tableView dequeueReusableCellWithIdentifier:@"CertificationViewThirdCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle]loadNibNamed:@"CertificationViewThirdCell" owner:self options:nil]lastObject];
|
||||
}
|
||||
cell.selectionStyle = UITableViewCellSelectionStyleNone;
|
||||
|
||||
|
||||
return cell;
|
||||
}else if (indexPath.row == 3){
|
||||
CertificationViewFourthCell *cell=[tableView dequeueReusableCellWithIdentifier:@"CertificationViewFourthCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle]loadNibNamed:@"CertificationViewFourthCell" owner:self options:nil]lastObject];
|
||||
}
|
||||
|
||||
|
||||
cell.selectionStyle = UITableViewCellSelectionStyleNone;
|
||||
|
||||
return cell;
|
||||
}
|
||||
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
|
||||
|
||||
CGFloat headerImgH= self.view.frame.size.width * 0.37;
|
||||
CGFloat ImgH= self.view.frame.size.width * 0.35;
|
||||
//CGFloat QianWH= 49;
|
||||
if (indexPath.row == 0){
|
||||
|
||||
return headerImgH;
|
||||
|
||||
}else if (indexPath.row == 1){
|
||||
|
||||
return 120;
|
||||
|
||||
}else if (indexPath.row == 2){
|
||||
|
||||
return ImgH + 120 + 70;
|
||||
|
||||
|
||||
|
||||
}else if (indexPath.row == 3){
|
||||
|
||||
return 60 ;
|
||||
|
||||
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
|
||||
if (indexPath.row == 3) {
|
||||
|
||||
self.hidesBottomBarWhenPushed = YES;
|
||||
IfishShopCerNewViewController *cerVC = [[IfishShopCerNewViewController alloc] init];
|
||||
//ShopCertificationViewController *cerVC=[[ShopCertificationViewController alloc] init];
|
||||
[self.navigationController pushViewController:cerVC animated:YES];
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// ShopCertificationViewController.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/17.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "BaseVIewContorller.h"
|
||||
|
||||
#import "WhiteNavBaseViewController.h"
|
||||
//v4.4 后更改UI 此界面废弃
|
||||
@interface ShopCertificationViewController : WhiteNavBaseViewController
|
||||
@property (nonatomic,strong) ShopCertifyStausModel *statusM;
|
||||
@end
|
||||
+1170
File diff suppressed because it is too large
Load Diff
+13
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// ShopCertifyCheckViewController.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/19.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShopCertifyFailViewController.h"
|
||||
|
||||
@interface ShopCertifyCheckViewController : ShopCertifyFailViewController
|
||||
|
||||
@end
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
//
|
||||
// ShopCertifyCheckViewController.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/19.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShopCertifyCheckViewController.h"
|
||||
#import "WoShiShangJiaViewController.h"
|
||||
@interface ShopCertifyCheckViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation ShopCertifyCheckViewController
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view.
|
||||
|
||||
self.statusImg.image = [UIImage imageNamed:@"shop_certifycheck"];
|
||||
|
||||
self.statuesViewBtn.hidden = YES;
|
||||
NSString *titleStr=@"工作人员正在审核,请耐心等待。详情电话:021-54131006";
|
||||
NSMutableAttributedString * attributedString = [[NSMutableAttributedString alloc] initWithString:titleStr];
|
||||
NSMutableParagraphStyle * paragraphStyle = [[NSMutableParagraphStyle alloc] init];
|
||||
//[paragraphStyle setLineSpacing:8];
|
||||
[attributedString addAttribute:NSParagraphStyleAttributeName value:paragraphStyle range:NSMakeRange(0, titleStr.length)];
|
||||
[attributedString addAttribute:NSForegroundColorAttributeName value:[UIColor orangeColor] range:NSMakeRange(20,12)];
|
||||
self.statysLabel.userInteractionEnabled = YES;
|
||||
[self.statysLabel setAttributedText:attributedString];
|
||||
UITapGestureRecognizer *labelTapGestureRecognizer = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(labelTouchUpInside:)];
|
||||
|
||||
[self.statysLabel addGestureRecognizer:labelTapGestureRecognizer];
|
||||
|
||||
|
||||
}
|
||||
|
||||
//打电话
|
||||
|
||||
-(void)labelTouchUpInside:(UITapGestureRecognizer *)gesture{
|
||||
|
||||
//拨打电话
|
||||
if ([UIApplication instancesRespondToSelector:@selector(canOpenURL:)]) {
|
||||
|
||||
NSString *telNumber = [NSString stringWithFormat:@"telprompt://%@",@"021-54131006"];
|
||||
|
||||
NSURL *aURL = [NSURL URLWithString: telNumber];
|
||||
|
||||
if ([[UIApplication sharedApplication] canOpenURL:aURL])
|
||||
|
||||
{
|
||||
[[UIApplication sharedApplication] openURL:aURL];
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
-(void)viewDidAppear:(BOOL)animated{
|
||||
[super viewDidAppear:animated];
|
||||
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
/*
|
||||
#pragma mark - Navigation
|
||||
|
||||
// In a storyboard-based application, you will often want to do a little preparation before navigation
|
||||
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
|
||||
// Get the new view controller using [segue destinationViewController].
|
||||
// Pass the selected object to the new view controller.
|
||||
}
|
||||
*/
|
||||
|
||||
@end
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// ShopCertifyFailViewController.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/18.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "BaseVIewContorller.h"
|
||||
#import "WhiteNavBaseViewController.h"
|
||||
#import "ShopCertifyStausModel.h"
|
||||
|
||||
@interface ShopCertifyFailViewController : WhiteNavBaseViewController
|
||||
@property (weak, nonatomic) IBOutlet UIImageView *statusImg;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *statysLabel;
|
||||
@property (weak, nonatomic) IBOutlet UIButton *statuesViewBtn;
|
||||
|
||||
@property (nonatomic,strong) ShopCertifyStausModel *statusModel;
|
||||
-(void)renZhengShibai;
|
||||
|
||||
@end
|
||||
+93
@@ -0,0 +1,93 @@
|
||||
//
|
||||
// ShopCertifyFailViewController.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/18.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShopCertifyFailViewController.h"
|
||||
//#import "ShopCertificationViewController.h"
|
||||
#import "UINavigationBar+Background.h"
|
||||
#import "WoShiShangJiaViewController.h"
|
||||
#import "IfishShopCerNewViewController.h"
|
||||
@interface ShopCertifyFailViewController ()
|
||||
|
||||
@end
|
||||
extern BOOL isFromRootVC;
|
||||
@implementation ShopCertifyFailViewController
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view from its nib.
|
||||
|
||||
//self.title = @"认证";
|
||||
[self addTitleViewWithTitle:@"认证"];
|
||||
[self.statuesViewBtn addTarget:self action:@selector(renZhengShibai) forControlEvents:UIControlEventTouchUpInside];
|
||||
self.statuesViewBtn.layer.masksToBounds = YES;
|
||||
self.statuesViewBtn.layer.cornerRadius = 5;
|
||||
self.statuesViewBtn.layer.borderWidth = 1.0;
|
||||
self.statuesViewBtn.layer.borderColor = [UIColor colorWithRed:146/255.0f green:146/255.0f blue:146/255.0f alpha:1].CGColor;
|
||||
|
||||
self.statysLabel.text = self.statusModel.reason;
|
||||
|
||||
|
||||
|
||||
}
|
||||
//认证失败
|
||||
|
||||
-(void)renZhengShibai{
|
||||
|
||||
IfishShopCerNewViewController *certificationView = [[IfishShopCerNewViewController alloc] init];
|
||||
certificationView.statusM = self.statusModel;
|
||||
|
||||
self.hidesBottomBarWhenPushed = YES;
|
||||
|
||||
[self.navigationController pushViewController:certificationView animated:YES];
|
||||
|
||||
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
|
||||
-(void)viewWillAppear:(BOOL)animated{
|
||||
[super viewWillAppear:animated];
|
||||
[self.navigationController.navigationBar setWhiteNav];
|
||||
|
||||
|
||||
}
|
||||
|
||||
-(void)viewWillDisappear:(BOOL)animated{
|
||||
|
||||
[super viewWillDisappear:animated];
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
-(void)goBackAction{
|
||||
//
|
||||
|
||||
if (isFromRootVC) {
|
||||
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:1] animated:YES];
|
||||
return;
|
||||
}
|
||||
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:2] animated:YES];
|
||||
}
|
||||
|
||||
/*
|
||||
#pragma mark - Navigation
|
||||
|
||||
// In a storyboard-based application, you will often want to do a little preparation before navigation
|
||||
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
|
||||
// Get the new view controller using [segue destinationViewController].
|
||||
// Pass the selected object to the new view controller.
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
@end
|
||||
+78
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="15G31" 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="11757"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="ShopCertifyFailViewController">
|
||||
<connections>
|
||||
<outlet property="statuesViewBtn" destination="JY5-sX-5dy" id="3nx-Az-Ydg"/>
|
||||
<outlet property="statusImg" destination="9r6-Vy-R7e" id="tc0-ou-3vQ"/>
|
||||
<outlet property="statysLabel" destination="FIO-ek-AJe" id="MBv-gu-D2r"/>
|
||||
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
|
||||
</connections>
|
||||
</placeholder>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
|
||||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="shop_certifyfail.png" translatesAutoresizingMaskIntoConstraints="NO" id="9r6-Vy-R7e">
|
||||
<rect key="frame" x="137.5" y="157" width="100" height="100"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="100" id="Z78-UD-6a0"/>
|
||||
<constraint firstAttribute="width" constant="100" id="iG1-RW-Ak7"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JY5-sX-5dy">
|
||||
<rect key="frame" x="89.5" y="399" width="196" height="45"/>
|
||||
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="45" id="GZ7-DO-LcG"/>
|
||||
<constraint firstAttribute="width" constant="196" id="ICa-bn-4iT"/>
|
||||
</constraints>
|
||||
<state key="normal" title="前往修改">
|
||||
<color key="titleColor" red="0.31764705882352939" green="0.31764705882352939" blue="0.31764705882352939" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
</state>
|
||||
</button>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FIO-ek-AJe">
|
||||
<rect key="frame" x="83" y="285" width="209" height="64"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="64" id="qjN-Yt-UJB"/>
|
||||
<constraint firstAttribute="width" constant="209" id="zrT-Lt-haz"/>
|
||||
</constraints>
|
||||
<attributedString key="attributedText">
|
||||
<fragment content="营业执照与身份证信息不符,请检查后重新上传。">
|
||||
<attributes>
|
||||
<color key="NSColor" red="0.31764705882352939" green="0.31764705882352939" blue="0.31764705882352939" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<font key="NSFont" size="15" name="PingFangSC-Regular"/>
|
||||
<paragraphStyle key="NSParagraphStyle" alignment="center" lineBreakMode="wordWrapping" baseWritingDirection="natural" tighteningFactorForTruncation="0.0"/>
|
||||
</attributes>
|
||||
</fragment>
|
||||
</attributedString>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<color key="backgroundColor" red="0.91764705882352937" green="0.91764705882352937" blue="0.91764705882352937" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstItem="FIO-ek-AJe" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="285" id="0Ma-n2-IHa"/>
|
||||
<constraint firstItem="FIO-ek-AJe" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="1o3-y7-eVD"/>
|
||||
<constraint firstItem="JY5-sX-5dy" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="20J-OL-Sb9"/>
|
||||
<constraint firstItem="FIO-ek-AJe" firstAttribute="top" secondItem="9r6-Vy-R7e" secondAttribute="bottom" constant="28" id="5Bv-JY-NFJ"/>
|
||||
<constraint firstItem="9r6-Vy-R7e" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="TXq-nQ-nnz"/>
|
||||
<constraint firstItem="JY5-sX-5dy" firstAttribute="top" secondItem="FIO-ek-AJe" secondAttribute="bottom" constant="50" id="Y2I-nh-dcf"/>
|
||||
<constraint firstItem="9r6-Vy-R7e" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="157" id="kjb-os-Jpu"/>
|
||||
<constraint firstItem="JY5-sX-5dy" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="399" id="nMV-tR-k3E"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="450" y="240"/>
|
||||
</view>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="shop_certifyfail.png" width="200" height="200"/>
|
||||
</resources>
|
||||
</document>
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// ShopCertifySucssesViewController.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/19.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShopCertifyFailViewController.h"
|
||||
|
||||
@interface ShopCertifySucssesViewController : ShopCertifyFailViewController
|
||||
|
||||
@end
|
||||
+96
@@ -0,0 +1,96 @@
|
||||
//
|
||||
// ShopCertifySucssesViewController.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/19.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShopCertifySucssesViewController.h"
|
||||
//#import "WorkbechViewController.h"
|
||||
#import "IfishKanHuGuanLiViewController.h"
|
||||
#import "UINavigationBar+Background.h"
|
||||
@interface ShopCertifySucssesViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation ShopCertifySucssesViewController
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view.
|
||||
|
||||
self.statusImg.image = [UIImage imageNamed:@"shop_certifysuccess"];
|
||||
self.statysLabel.text = @"恭喜您的店铺已通过认证";
|
||||
[self.statuesViewBtn setTitle:@"前往看护工作台" forState:UIControlStateNormal];
|
||||
|
||||
[self.statuesViewBtn addTarget:self action:@selector(qianWangKanHuWork) forControlEvents:UIControlEventTouchUpInside];
|
||||
//4.4后认证成功后 隐藏前往工作台
|
||||
self.statuesViewBtn.hidden = YES;
|
||||
|
||||
}
|
||||
|
||||
//前往看护工作台
|
||||
|
||||
-(void)qianWangKanHuWork{
|
||||
CertificationShopModel *ShopsInfo= [[DataCenter defaultDtacenter] valueForKey:@"ShopsInfo"];
|
||||
|
||||
|
||||
if (ShopsInfo) {
|
||||
|
||||
if ([ShopsInfo.status isEqualToString:@"3"]) {
|
||||
|
||||
[self.view makeToast:@"此商户已被禁用"];
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
IfishKanHuGuanLiViewController *WorkVC=[[IfishKanHuGuanLiViewController alloc] init];
|
||||
WorkVC.shopsInfo = ShopsInfo;
|
||||
|
||||
UserModel *userModel=[[DataCenter defaultDtacenter] valueForKey:@"UserLogIn"];
|
||||
userModel.userType = @"1";
|
||||
[[DataCenter defaultDtacenter]setValue:userModel forKey:@"UserLogIn"];
|
||||
|
||||
|
||||
self.hidesBottomBarWhenPushed = YES;
|
||||
[self.navigationController pushViewController:WorkVC animated:YES];
|
||||
|
||||
|
||||
}
|
||||
|
||||
//重写父类方法可不做处理 不写会掉用父类方法 push 到认证界面
|
||||
|
||||
-(void)renZhengShibai{
|
||||
|
||||
|
||||
}
|
||||
|
||||
-(void)viewDidAppear:(BOOL)animated{
|
||||
[super viewDidAppear:animated];
|
||||
|
||||
}
|
||||
|
||||
-(void)viewWillAppear:(BOOL)animated{
|
||||
[super viewWillAppear:animated];
|
||||
[self.navigationController.navigationBar setWhiteNav];
|
||||
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
/*
|
||||
#pragma mark - Navigation
|
||||
|
||||
// In a storyboard-based application, you will often want to do a little preparation before navigation
|
||||
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
|
||||
// Get the new view controller using [segue destinationViewController].
|
||||
// Pass the selected object to the new view controller.
|
||||
}
|
||||
*/
|
||||
|
||||
@end
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// certificationViewFirstCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/16.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface certificationViewFirstCell : UITableViewCell
|
||||
|
||||
@end
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// certificationViewFirstCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/8/16.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "certificationViewFirstCell.h"
|
||||
|
||||
@implementation certificationViewFirstCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="10117" systemVersion="15G31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="certificationViewFirstCell" rowHeight="92" id="KGk-i7-Jjw" customClass="certificationViewFirstCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="100"/>
|
||||
<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="99"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="shop_certification_header.png" translatesAutoresizingMaskIntoConstraints="NO" id="8QU-3E-eMB">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="99"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="topMargin" secondItem="8QU-3E-eMB" secondAttribute="top" constant="8" id="7Lk-Kx-zXM"/>
|
||||
<constraint firstAttribute="bottomMargin" secondItem="8QU-3E-eMB" secondAttribute="bottom" constant="-8" id="O6q-yb-wPZ"/>
|
||||
<constraint firstAttribute="leadingMargin" secondItem="8QU-3E-eMB" secondAttribute="leading" constant="8" id="exM-wb-BBd"/>
|
||||
<constraint firstItem="8QU-3E-eMB" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="hF3-vv-YYq"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="8QU-3E-eMB" secondAttribute="trailing" constant="-8" id="nbB-CN-iub"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<point key="canvasLocation" x="230" y="244"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="shop_certification_header.png" width="640" height="237"/>
|
||||
</resources>
|
||||
</document>
|
||||
Reference in New Issue
Block a user