Commit 3d3ef664 authored by lujunye's avatar lujunye

货拉拉物流下单大致样式

parent ea809758
......@@ -340,6 +340,8 @@
E0E7CB6124C17B9F00A26D3F /* GLKHCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0E7CB5F24C17B9F00A26D3F /* GLKHCell.swift */; };
E0E7CB6224C17B9F00A26D3F /* GLKHCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0E7CB6024C17B9F00A26D3F /* GLKHCell.xib */; };
E0E8ABFD246E359700E3BB54 /* GuiGeModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0E8ABFC246E359700E3BB54 /* GuiGeModel.swift */; };
E0E9FC3724CEC11000111738 /* HLLTopCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0E9FC3524CEC11000111738 /* HLLTopCell.xib */; };
E0E9FC3824CEC11000111738 /* HLLTopCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0E9FC3624CEC11000111738 /* HLLTopCell.swift */; };
E0EABAE72487748500F6CA8D /* NewSelectWarehouseVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0EABAE52487748500F6CA8D /* NewSelectWarehouseVC.swift */; };
E0EABAE82487748500F6CA8D /* NewSelectWarehouseVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0EABAE62487748500F6CA8D /* NewSelectWarehouseVC.xib */; };
E0EFB9C624930C0D005FB0CD /* CGDListViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0EFB9C424930C0D005FB0CD /* CGDListViewController.swift */; };
......@@ -958,6 +960,8 @@
E0E7CB5F24C17B9F00A26D3F /* GLKHCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GLKHCell.swift; sourceTree = "<group>"; };
E0E7CB6024C17B9F00A26D3F /* GLKHCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = GLKHCell.xib; sourceTree = "<group>"; };
E0E8ABFC246E359700E3BB54 /* GuiGeModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GuiGeModel.swift; sourceTree = "<group>"; };
E0E9FC3524CEC11000111738 /* HLLTopCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = HLLTopCell.xib; sourceTree = "<group>"; };
E0E9FC3624CEC11000111738 /* HLLTopCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HLLTopCell.swift; sourceTree = "<group>"; };
E0EABAE52487748500F6CA8D /* NewSelectWarehouseVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NewSelectWarehouseVC.swift; sourceTree = "<group>"; };
E0EABAE62487748500F6CA8D /* NewSelectWarehouseVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = NewSelectWarehouseVC.xib; sourceTree = "<group>"; };
E0EFB9C424930C0D005FB0CD /* CGDListViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CGDListViewController.swift; sourceTree = "<group>"; };
......@@ -2969,6 +2973,8 @@
F9A4F25224C9927600D1DD13 /* cell */ = {
isa = PBXGroup;
children = (
E0E9FC3624CEC11000111738 /* HLLTopCell.swift */,
E0E9FC3524CEC11000111738 /* HLLTopCell.xib */,
F9D44E8124CBC50700FBD8DB /* WayBillAddressCanDelItemCell.swift */,
F9D44E8224CBC50700FBD8DB /* WayBillAddressCanDelItemCell.xib */,
F96E48A124CA79D4000AB8D4 /* WayBillAddressItemCell.swift */,
......@@ -3174,6 +3180,7 @@
E0B6036F244D376900A56B38 /* KuWeiCell.xib in Resources */,
E0273DDA24551B6D00B3FCAE /* SendTimeSelectView.xib in Resources */,
F9011C0E24CE6A4C00AAF4F5 /* LogisticalSelectView.xib in Resources */,
E0E9FC3724CEC11000111738 /* HLLTopCell.xib in Resources */,
E0A409C42463F31600CFF109 /* ShouZhiTongJiViewController.xib in Resources */,
E0F1BE4924692379003015B2 /* ItemCell.xib in Resources */,
F9DDBE972457D3EC00A32CB2 /* WebViewController.xib in Resources */,
......@@ -3521,6 +3528,7 @@
F95D9B522448530E0080D6E3 /* GeliAlertView.swift in Sources */,
E002465224A8697B00049DBC /* TitleAndTFBtnCell.swift in Sources */,
E0B5308624728FB600FFCC15 /* WarehouseInterface.swift in Sources */,
E0E9FC3824CEC11000111738 /* HLLTopCell.swift in Sources */,
E02FD9EC2455627300E10E27 /* ChuKuViewController.swift in Sources */,
E095C42A24874E6100922571 /* CKGmCell.swift in Sources */,
E07B1E6F245929060055BA3C /* GYSGLViewController.swift in Sources */,
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......@@ -142,7 +142,7 @@
</objects>
<resources>
<namedColor name="个人中心灰色字体">
<color red="0.3919999897480011" green="0.3919999897480011" blue="0.3919999897480011" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color red="0.38823529411764707" green="0.38823529411764707" blue="0.38823529411764707" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="按钮渐变色下,字体颜色">
<color red="0.27843137254901962" green="0.5607843137254902" blue="0.8901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
......@@ -10,7 +11,7 @@
<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="49" id="KGk-i7-Jjw" customClass="BlueToothCell" customModule="GeliBusinessPlatform" customModuleProvider="target">
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="49" id="KGk-i7-Jjw" customClass="BlueToothCell" customModule="TestClass" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="375" height="49"/>
<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">
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......@@ -234,10 +234,10 @@
<color red="0.94509803921568625" green="0.94509803921568625" blue="0.94509803921568625" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="个人中心灰色字体">
<color red="0.3919999897480011" green="0.3919999897480011" blue="0.3919999897480011" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color red="0.38823529411764707" green="0.38823529411764707" blue="0.38823529411764707" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="企业、预售字体">
<color red="1" green="0.68999999761581421" blue="0.47099998593330383" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color red="1" green="0.68627450980392157" blue="0.47058823529411764" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="标题字颜色">
<color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......@@ -126,7 +126,7 @@
<resources>
<image name="jinru" width="13" height="23"/>
<namedColor name="企业、预售字体">
<color red="1" green="0.68999999761581421" blue="0.47099998593330383" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color red="1" green="0.68627450980392157" blue="0.47058823529411764" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="标题字颜色">
<color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......@@ -282,7 +282,7 @@
<color red="0.94509803921568625" green="0.94509803921568625" blue="0.94509803921568625" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="企业、预售字体">
<color red="1" green="0.68999999761581421" blue="0.47099998593330383" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color red="1" green="0.68627450980392157" blue="0.47058823529411764" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="按钮渐变色下,字体颜色">
<color red="0.27843137254901962" green="0.5607843137254902" blue="0.8901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......@@ -166,7 +166,7 @@
<image name="moren" width="70" height="70"/>
<image name="yuxuan" width="19" height="19"/>
<namedColor name="企业、预售字体">
<color red="1" green="0.68999999761581421" blue="0.47099998593330383" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color red="1" green="0.68627450980392157" blue="0.47058823529411764" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="按钮渐变色下,字体颜色">
<color red="0.27843137254901962" green="0.5607843137254902" blue="0.8901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
......@@ -10,7 +11,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="KuWeiCell" customModule="GeliBusinessPlatform" customModuleProvider="target">
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="KuWeiCell" customModule="TestClass" customModuleProvider="target">
<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">
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
......@@ -12,7 +12,8 @@ import UIKit
}
class TitleAndSwitchCell: UITableViewCell {
var delegate:TitleAndSwitchCellDelegate?
@IBOutlet weak var introLbl: UILabel!
var delegate:TitleAndSwitchCellDelegate?
@IBOutlet weak var namelbl: UILabel!
@IBOutlet weak var contentLbl: UILabel!
@IBOutlet weak var infoSw: UISwitch!
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......@@ -42,11 +42,19 @@
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="(对司机隐藏您的真实号码,保护您的隐私)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IGu-Bu-aPt">
<rect key="frame" x="55" y="20" width="225" height="14"/>
<fontDescription key="fontDescription" type="system" pointSize="11"/>
<color key="textColor" name="提示语字体颜色"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstAttribute="bottom" secondItem="Bds-Lh-7Ha" secondAttribute="bottom" id="0PF-oT-n5E"/>
<constraint firstItem="IGu-Bu-aPt" firstAttribute="leading" secondItem="fA1-yF-28i" secondAttribute="trailing" id="2nW-wK-gFB"/>
<constraint firstAttribute="trailing" secondItem="Bds-Lh-7Ha" secondAttribute="trailing" id="8cY-OD-5T0"/>
<constraint firstAttribute="trailing" secondItem="FvZ-bw-uC0" secondAttribute="trailing" constant="15" id="Erv-w0-1bq"/>
<constraint firstItem="IGu-Bu-aPt" firstAttribute="centerY" secondItem="fA1-yF-28i" secondAttribute="centerY" constant="2" id="HkK-JQ-7Sy"/>
<constraint firstItem="FvZ-bw-uC0" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="Lm1-iE-0pD"/>
<constraint firstItem="fA1-yF-28i" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="Sbu-8k-mlN"/>
<constraint firstItem="Bds-Lh-7Ha" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="Ub8-Dc-vqs"/>
......@@ -59,12 +67,16 @@
<connections>
<outlet property="contentLbl" destination="AM9-cN-zfh" id="ulu-a7-AL9"/>
<outlet property="infoSw" destination="FvZ-bw-uC0" id="qJb-jc-KCl"/>
<outlet property="introLbl" destination="IGu-Bu-aPt" id="kuF-yh-bun"/>
<outlet property="namelbl" destination="fA1-yF-28i" id="Jew-JX-3ML"/>
</connections>
<point key="canvasLocation" x="-74" y="82"/>
</tableViewCell>
</objects>
<resources>
<namedColor name="提示语字体颜色">
<color red="0.70588235294117652" green="0.70588235294117652" blue="0.70588235294117652" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="标题字颜色">
<color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
......@@ -10,7 +11,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="TitleAndTFAndBtnCell" customModule="GeliBusinessPlatform" customModuleProvider="target">
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="TitleAndTFAndBtnCell" customModule="TestClass" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="375" height="49"/>
<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">
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
......@@ -10,7 +11,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="WareHouseSpCell" customModule="GeliBusinessPlatform" customModuleProvider="target">
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="WareHouseSpCell" customModule="TestClass" customModuleProvider="target">
<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">
......@@ -115,7 +116,7 @@
<color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" 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"/>
<color red="0.27843137254901962" green="0.5607843137254902" blue="0.8901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......@@ -90,7 +90,7 @@
</objects>
<resources>
<namedColor name="多选按钮字体颜色">
<color red="0.41200000047683716" green="0.41200000047683716" blue="0.41200000047683716" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color red="0.41176470588235292" green="0.41176470588235292" blue="0.41176470588235292" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="标题字颜色">
<color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......@@ -28,16 +28,12 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button opaque="NO" alpha="0.5" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="6Sh-qF-UK5">
<rect key="frame" x="0.0" y="-92" width="414" height="1108"/>
<rect key="frame" x="0.0" y="-36" width="414" height="978"/>
<color key="backgroundColor" name="标题字颜色"/>
<connections>
<action selector="closeAction:" destination="-1" eventType="touchUpInside" id="ki1-Cn-gjP"/>
</connections>
</button>
<view alpha="0.5" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tDf-Te-gP3">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<color key="backgroundColor" name="标题字颜色"/>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rW2-Ka-gAx">
<rect key="frame" x="0.0" y="495" width="414" height="318"/>
<subviews>
......@@ -469,6 +465,10 @@
<constraint firstItem="Trf-1A-2UZ" firstAttribute="top" secondItem="9xb-ef-BR6" secondAttribute="bottom" id="rt6-MH-8ac"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="42o-v7-rc9">
<rect key="frame" x="0.0" y="813" width="414" height="83"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gq9-xD-Wd8" customClass="LGButton" customModule="LGButton">
<rect key="frame" x="0.0" y="813" width="414" height="83"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
......@@ -480,6 +480,9 @@
<color key="value" name="按钮渐变色下,字体颜色"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="boolean" keyPath="gradientHorizontal" value="YES"/>
<userDefinedRuntimeAttribute type="color" keyPath="bgColor">
<color key="value" name="白色背景色"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="submitAction:" destination="-1" eventType="touchUpInside" id="pHA-Ms-I2k"/>
......@@ -506,20 +509,20 @@
<constraints>
<constraint firstItem="gq9-xD-Wd8" firstAttribute="top" secondItem="i2O-Lc-NwB" secondAttribute="top" id="5aU-gh-ZPo"/>
<constraint firstItem="rW2-Ka-gAx" firstAttribute="bottom" secondItem="vUN-kp-3ea" secondAttribute="bottom" constant="-49" id="9k5-X2-pnB"/>
<constraint firstItem="6Sh-qF-UK5" firstAttribute="top" secondItem="vUN-kp-3ea" secondAttribute="top" constant="-136" id="BEH-1L-gfy"/>
<constraint firstItem="6Sh-qF-UK5" firstAttribute="top" secondItem="vUN-kp-3ea" secondAttribute="top" constant="-80" id="BEH-1L-gfy"/>
<constraint firstAttribute="trailing" secondItem="gq9-xD-Wd8" secondAttribute="trailing" id="Bzi-eL-ajv"/>
<constraint firstAttribute="bottom" secondItem="gq9-xD-Wd8" secondAttribute="bottom" id="EVw-zY-FJl"/>
<constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="rW2-Ka-gAx" secondAttribute="trailing" id="IfG-9S-fZ5"/>
<constraint firstItem="i2O-Lc-NwB" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" id="JhM-bb-elg"/>
<constraint firstItem="6Sh-qF-UK5" firstAttribute="top" secondItem="tDf-Te-gP3" secondAttribute="bottom" constant="-136" id="N9W-fu-qJZ"/>
<constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="6Sh-qF-UK5" secondAttribute="trailing" id="UCg-B2-JXR"/>
<constraint firstItem="tDf-Te-gP3" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="VXM-Yf-Vxh"/>
<constraint firstItem="42o-v7-rc9" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" id="X8O-Ua-qF0"/>
<constraint firstItem="42o-v7-rc9" firstAttribute="trailing" secondItem="vUN-kp-3ea" secondAttribute="trailing" id="XXP-um-HvR"/>
<constraint firstItem="42o-v7-rc9" firstAttribute="top" secondItem="rW2-Ka-gAx" secondAttribute="bottom" id="Ya5-2q-W9Z"/>
<constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="i2O-Lc-NwB" secondAttribute="trailing" id="ht6-ge-aco"/>
<constraint firstItem="6Sh-qF-UK5" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" id="hxs-hs-0GO"/>
<constraint firstItem="tDf-Te-gP3" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="j1O-jc-bP8"/>
<constraint firstItem="gq9-xD-Wd8" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="laU-gC-rJG"/>
<constraint firstItem="vUN-kp-3ea" firstAttribute="bottom" secondItem="6Sh-qF-UK5" secondAttribute="bottom" constant="-154" id="p0G-24-PI1"/>
<constraint firstAttribute="trailing" secondItem="tDf-Te-gP3" secondAttribute="trailing" id="uOz-jT-nGj"/>
<constraint firstAttribute="bottom" secondItem="42o-v7-rc9" secondAttribute="bottom" id="ndv-1c-8FW"/>
<constraint firstItem="vUN-kp-3ea" firstAttribute="bottom" secondItem="6Sh-qF-UK5" secondAttribute="bottom" constant="-80" id="p0G-24-PI1"/>
<constraint firstItem="vUN-kp-3ea" firstAttribute="bottom" secondItem="i2O-Lc-NwB" secondAttribute="bottom" id="wZT-BC-AYX"/>
<constraint firstItem="rW2-Ka-gAx" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" id="x4f-1E-FoH"/>
</constraints>
......
......@@ -12,6 +12,7 @@ import WebKit
class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableViewDataSource,JiTuoWuXinXiViewDelegate,JiPaiFangShiViewControllerDelegate,ZengZhiServicesViewControllerDelegate,AdressSelectCellDelegate,DZGLViewControllerDelegate,XinZengDiZhiViewControllerDelegate{
@IBOutlet weak var topCarBtnSelectView: UIView!
var sender:String?
var sendPhone:String?
var sendAdr:String?
......@@ -158,6 +159,21 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
}else{
hBtnViewH.constant = 49
}
if carTypesArr.count > 5 {
setBtnUI(carTypesArr: carTypesArr,view: topCarBtnSelectView)
}else{
setBtnUI(carTypesArr: carTypesArr,view: topCarBtnSelectView)
}
let line = UIView()
line.backgroundColor = UIColor(named: "灰色分界线")
topCarBtnSelectView.addSubview(line)
line.snp_makeConstraints { (make) in
make.height.equalTo(1)
make.left.right.bottom.equalTo(0)
}
}else{
rightBtn.isSelected = false
leftBtn.isSelected = true
......@@ -181,7 +197,8 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
self.view.addSubview(navbar)
locBtn.setImage(UIImage(named: "dzdingwei"), for: .normal)
locBtn.setTitle(" " + "广州", for: .normal)
locBtn.setTitle(" " + "请选择", for: .normal)
locBtn.setTitleColor(UIColor(named: "蓝色字体颜色"), for: .normal)
locBtn.titleLabel?.font = UIFont.systemFont(ofSize: 13)
locBtn.sizeToFit()
......@@ -192,7 +209,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
self.view.addSubview(locBtn)
locBtn.snp_makeConstraints({ (make) in
make.right.equalTo(-15)
make.centerY.equalTo(navbar.snp_centerY).offset(10)
make.bottom.equalTo(navbar.snp_bottom).offset(-7)
make.height.equalTo(30)
make.width.equalTo(locBtn.bounds.size.width)
})
......@@ -206,11 +223,15 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
listView.register(UINib(nibName: "WenDuCell", bundle: nil), forCellReuseIdentifier: "WenDu")
//MARK: - 货拉拉
hListView.separatorStyle = .none
hListView.register(UINib(nibName: "TitleAndSwitchCell", bundle: nil), forCellReuseIdentifier: "TitleAndSwitchCell")
hListView.register(UINib(nibName: "TitleAndBtnCell", bundle: nil), forCellReuseIdentifier: "TitleAndBtnCell")
hListView.register(UINib(nibName: "TitleAndTFBtnCell", bundle: nil), forCellReuseIdentifier: "TitleAndTFBtnCell")
hListView.register(UINib(nibName: "HLLTopCell", bundle: nil), forCellReuseIdentifier: "HLLTopCell")
hListView.register(UINib(nibName: "WayBillAddressCanDelItemCell", bundle: nil), forCellReuseIdentifier: "WayBillAddressCanDelItemCell")
}
let hPart2 = ["请选择用车时间","下单联系人信息","额外需求","货物保障"]
let hPart3 = ["关联平台:","关联订单号:"]
@objc func selectBtnClick(sender:UIButton){
if sender.tag == 99 {
//跳转查看合同页面
......@@ -222,10 +243,110 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
selectBtn!.isSelected = !selectBtn!.isSelected
}
//MARK: - CELL DELEGATE
//MARK: - 货拉拉 headerView
@objc func topBtnClick(btn:UIButton){
for item in btnArr {
if item == btn {
item.isSelected = true
item.setTitleColor(UIColor(named: "蓝色字体颜色"), for: .normal)
topBtnLine.frame = CGRect(x: item.frame.origin.x, y: topBtnLine.frame.minY, width: item.bounds.size.width*0.65, height: 2.5)
topBtnLine.center = CGPoint(x: item.center.x, y: topBtnLine.center.y)
}else{
item.isSelected = false
item.setTitleColor(UIColor(named: "提示语字体颜色"), for: .normal)
}
}
}
var btnArr:Array<UIButton> = []
var topBtnLine:UIView = UIView()
func setBtnUI(carTypesArr:Array<String>,view:UIView){
btnArr.removeAll()
var num = carTypesArr.count
if num > 5 {
num = 5
for i in 0 ..< num {
let btn = UIButton()
btn.setTitle(carTypesArr[i], for: .normal)
btn.tag = i
view.addSubview(btn)
btn.sizeToFit()
var x:CGFloat = 0
if btnArr.count != 0 {
let button = btnArr[i-1]
x = button.frame.maxX
}
btn.frame = CGRect(x:x, y: 0, width: btn.bounds.size.width + 6, height: 44)
btn.titleLabel?.font = UIFont.systemFont(ofSize: 13)
btn.setTitleColor(UIColor(named: "提示语字体颜色"), for: .normal)
btn.addTarget(self, action: #selector(topBtnClick), for: .touchUpInside)
btnArr.append(btn)
}
let button = UIButton(frame: CGRect(x: fullScreenWidth-44, y: 0, width: 44, height: 44))
// button.setImage(UIImage(named: ""), for: .normal)
view.addSubview(button)
let line = UIView()
line.backgroundColor = UIColor(named: "灰色分界线")
view.addSubview(line)
line.snp_makeConstraints { (make) in
make.height.equalTo(30)
make.width.equalTo(1)
make.right.equalTo(button.snp_left)
make.centerY.equalTo(view.snp_centerY)
}
}else{
for i in 0 ..< num {
let btn = UIButton()
btn.setTitle(carTypesArr[i], for: .normal)
btn.tag = i
view.addSubview(btn)
btn.sizeToFit()
var x:CGFloat = 0
if btnArr.count != 0 {
let button = btnArr[i-1]
x = button.frame.maxX
}
btn.frame = CGRect(x:x, y: 0, width: btn.bounds.size.width + 6, height: 44)
btn.titleLabel?.font = UIFont.systemFont(ofSize: 13)
btn.setTitleColor(UIColor(named: "提示语字体颜色"), for: .normal)
btn.addTarget(self, action: #selector(topBtnClick), for: .touchUpInside)
btnArr.append(btn)
}
}
let btn = btnArr.first
btn!.isSelected = true
btn!.setTitleColor(UIColor(named: "蓝色字体颜色"), for: .normal)
topBtnLine.backgroundColor = UIColor(named: "蓝色字体颜色")
topBtnLine.frame = CGRect(x: 0, y: 41.5, width: (btn?.bounds.size.width)!*0.65, height: 2.5)
topBtnLine.center = CGPoint(x: (btn?.center.x)!, y: topBtnLine.center.y)
topBtnLine.layer.cornerRadius = 1.25
topBtnLine.layer.masksToBounds = true
view.addSubview(topBtnLine)
}
var carTypesArr:Array<String> = ["小面包车","中面包车","小货车","中货车","5米2","ababa"]
func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
if section == 2 {
let view = UIView(frame: CGRect(x: 0, y: 0, width: fullScreenWidth, height: 5))
view.backgroundColor = UIColor(named: "app底色")
return view
}
return UIView()
}
func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
if tableView == hListView {//货拉拉
if section == 2 {
return 5
}
return 0.1
}else{
return 0.1
}
}
func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? {
if tableView == listView {
if section == 2 {
let view = UIView(frame: CGRect(x: 0, y: 0, width: fullScreenWidth, height: 41.5*glscale))
view.backgroundColor = UIColor(named: "app底色")
......@@ -275,12 +396,43 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
}
return view
}
let view = UIView()
view.backgroundColor = UIColor(named: "app底色")
return view
}else{//货拉拉
if section == 1 {
let view = UIView(frame: CGRect(x: 0, y: 0, width: fullScreenWidth, height: 49))
view.backgroundColor = UIColor.white
let lineT = UIView(frame: CGRect(x: 0, y: 0, width: fullScreenWidth, height: 1))
lineT.backgroundColor = UIColor(named: "灰色分界线")
view.addSubview(lineT)
let lineB = UIView(frame: CGRect(x: 0, y: 48, width: fullScreenWidth, height: 1))
lineB.backgroundColor = UIColor(named: "灰色分界线")
view.addSubview(lineB)
let lineC = UIView(frame: CGRect(x: fullScreenWidth*0.5-0.5, y: 7, width: 1, height: 35))
lineC.backgroundColor = UIColor(named: "灰色分界线")
view.addSubview(lineC)
let leftBtn = UIButton(frame: CGRect(x: 0, y: 0, width: fullScreenWidth*0.5, height: 44))
leftBtn.titleLabel?.font = UIFont.systemFont(ofSize: 13)
leftBtn.setTitle("调整收货地顺序", for: .normal)
leftBtn.setTitleColor(UIColor(named: "灰色字体颜色"), for: .normal)
view.addSubview(leftBtn)
let rightBtn = UIButton(frame: CGRect(x: fullScreenWidth*0.5, y: 0, width: fullScreenWidth*0.5, height: 44))
rightBtn.titleLabel?.font = UIFont.systemFont(ofSize: 13)
rightBtn.setTitle("添加收货地址", for: .normal)
rightBtn.setTitleColor(UIColor(named: "蓝色字体颜色"), for: .normal)
view.addSubview(rightBtn)
return view
}
let view = UIView()
return view
}
}
func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat {
if tableView == listView {
if section == 0 {
return 10*glscale
}
......@@ -288,22 +440,41 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
return 5*glscale
}
return 41.5*glscale
}else{//货拉拉
if section == 1 {
return 49
}
return 5*glscale
}
}
func numberOfSections(in tableView: UITableView) -> Int {
if tableView == listView {
return 3
}else{//货拉拉
return 5
}
}
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
if tableView == listView {
switch section {
case 0:return 2
case 1:return 4
default: return 2
}
}else{//货拉拉
switch section {
case 1:return 5
case 2:return 4
case 3:return 2
default: return 1
}
}
}
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
if tableView == listView {
if indexPath.section == 1 {
if indexPath.row < 3 {
print(indexPath.row)
switch indexPath.row {
case 0:
if jtwxxView == nil {
......@@ -326,8 +497,12 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
}
}
}
}else{//货拉拉
}
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
if tableView == listView {
if indexPath.section == 0 {
if indexPath.row == 0 {
if sender != nil {
......@@ -348,8 +523,20 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
return 49
}
return 49
}else{//货拉拉
if indexPath.section == 0 {
return 181
}
if indexPath.section == 1 {
return UITableView.automaticDimension
}
return 49
}
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if tableView == listView {
switch indexPath.section {
case 0:
let cell = tableView.dequeueReusableCell(withIdentifier: "AdressSelect") as! AdressSelectCell
......@@ -421,6 +608,66 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
cell.nameLbl.text = title2Arr[indexPath.row]
return cell
}
}else{//MARK: - 货拉拉cell
if indexPath.section == 0 {
let cell = tableView.dequeueReusableCell(withIdentifier: "HLLTopCell") as! HLLTopCell
cell.datas = carTypesArr
return cell
}
if indexPath.section == 1 {
let cell = tableView.dequeueReusableCell(withIdentifier: "WayBillAddressCanDelItemCell") as! WayBillAddressCanDelItemCell
cell.iconW.constant = 22
cell.iconH.constant = 22
cell.iconLbl.layer.cornerRadius = 11
cell.lineTopView.isHidden = false
cell.delBtn.isHidden = false
if indexPath.row == 0 {
cell.addressDetailLbl.text = ""
cell.namePhoneLbl.text = ""
cell.delBtn.isHidden = true
cell.iconLbl.text = "发"
cell.iconLbl.backgroundColor = UIColor.init(named: "蓝色字体颜色")
cell.lineTopView.isHidden = true
}else{
cell.addressDetailLbl.text = "广东省广州市白云区嘉禾望岗白云大道交叉路口东南侧州市白云区嘉禾望岗白云大道交叉路口东南侧(望岗村民委员会西侧约150米))"
}
if indexPath.row != 4 && indexPath.row != 0 {
cell.iconLbl.text = ""
cell.iconLbl.backgroundColor = UIColor.init(named: "虚线分界线颜色")
cell.iconW.constant = 12
cell.iconH.constant = 12
cell.iconLbl.layer.cornerRadius = 6
}
if indexPath.row == 4 {
//最后的不显示lineview
cell.lineView.isHidden = true
cell.iconLbl.text = "收"
cell.iconLbl.backgroundColor = UIColor.init(named: "企业、预售字体")
}else{
cell.lineView.isHidden = false
}
return cell
}
if indexPath.section == 2 {
let cell = tableView.dequeueReusableCell(withIdentifier: "TitleAndBtnCell") as! TitleAndBtnCell
cell.nameLbl.text = hPart2[indexPath.row]
return cell
}
if indexPath.section == 4 {
let cell = tableView.dequeueReusableCell(withIdentifier: "TitleAndSwitchCell") as! TitleAndSwitchCell
cell.namelbl.text = "号码保护"
cell.introLbl.isHidden = false
return cell
}
let cell = tableView.dequeueReusableCell(withIdentifier: "TitleAndTFBtnCell") as! TitleAndTFBtnCell
cell.nameLbl.text = hPart3[indexPath.row]
return cell
}
}
}
......@@ -21,6 +21,7 @@
<outlet property="priceLbl" destination="TJP-xc-KTh" id="NH7-PB-8a7"/>
<outlet property="rightBtn" destination="X6m-t6-gdl" id="yiF-bx-dJm"/>
<outlet property="topBtnView" destination="3NL-zo-jTU" id="7XJ-gu-PcZ"/>
<outlet property="topCarBtnSelectView" destination="1IP-8h-lB4" id="yhR-Ax-rsH"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
</placeholder>
......@@ -268,9 +269,13 @@
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="IhS-vZ-6YK">
<rect key="frame" x="0.0" y="0.0" width="414" height="758"/>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="grouped" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="18" estimatedSectionHeaderHeight="-1" sectionFooterHeight="18" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="IhS-vZ-6YK">
<rect key="frame" x="0.0" y="44" width="414" height="714"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<connections>
<outlet property="dataSource" destination="-1" id="VHp-ja-2wO"/>
<outlet property="delegate" destination="-1" id="atq-MI-T7V"/>
</connections>
</tableView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="iF4-Vu-8Dl">
<rect key="frame" x="252" y="757.66666666666663" width="52" height="52"/>
......@@ -302,10 +307,15 @@
<color key="textColor" name="白色背景色"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1IP-8h-lB4">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
</view>
</subviews>
<color key="backgroundColor" name="app底色"/>
<constraints>
<constraint firstItem="qOG-da-TxK" firstAttribute="leading" secondItem="iF4-Vu-8Dl" secondAttribute="trailing" id="4OG-bN-9VZ"/>
<constraint firstItem="1IP-8h-lB4" firstAttribute="leading" secondItem="YuH-ma-NxC" secondAttribute="leading" id="4mW-Ab-d8f"/>
<constraint firstItem="9RP-mp-AOf" firstAttribute="top" secondItem="IhS-vZ-6YK" secondAttribute="bottom" id="52u-uo-fwV"/>
<constraint firstAttribute="trailing" secondItem="IhS-vZ-6YK" secondAttribute="trailing" id="7du-v1-iTw"/>
<constraint firstAttribute="trailing" secondItem="9RP-mp-AOf" secondAttribute="trailing" id="7nn-w0-TN7"/>
......@@ -324,8 +334,11 @@
<constraint firstItem="qOG-da-TxK" firstAttribute="leading" secondItem="KH0-Nd-WU0" secondAttribute="trailing" id="hWl-5o-3Do"/>
<constraint firstAttribute="trailing" secondItem="qOG-da-TxK" secondAttribute="trailing" id="ioV-U8-VXK"/>
<constraint firstItem="Kz8-Xu-Ms3" firstAttribute="top" secondItem="9RP-mp-AOf" secondAttribute="bottom" constant="18" id="l6N-8F-KX2"/>
<constraint firstItem="IhS-vZ-6YK" firstAttribute="top" secondItem="YuH-ma-NxC" secondAttribute="top" id="l7B-SZ-1F4"/>
<constraint firstItem="IhS-vZ-6YK" firstAttribute="top" secondItem="YuH-ma-NxC" secondAttribute="top" constant="44" id="l7B-SZ-1F4"/>
<constraint firstItem="1IP-8h-lB4" firstAttribute="top" secondItem="YuH-ma-NxC" secondAttribute="top" id="lSs-ai-wNV"/>
<constraint firstAttribute="trailing" secondItem="1IP-8h-lB4" secondAttribute="trailing" id="mhG-Vm-nb5"/>
<constraint firstItem="b3u-F0-etc" firstAttribute="centerY" secondItem="Kz8-Xu-Ms3" secondAttribute="centerY" constant="-2" id="nkF-gv-ahQ"/>
<constraint firstItem="IhS-vZ-6YK" firstAttribute="top" secondItem="1IP-8h-lB4" secondAttribute="bottom" id="pJs-1m-mcn"/>
<constraint firstItem="9RP-mp-AOf" firstAttribute="leading" secondItem="YuH-ma-NxC" secondAttribute="leading" id="q5o-vi-WAd"/>
<constraint firstAttribute="bottom" secondItem="9RP-mp-AOf" secondAttribute="bottom" constant="49" id="udi-Jp-eUF"/>
</constraints>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
//
// HLLTopCell.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/7/27.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
class HLLTopCell: UITableViewCell,UIScrollViewDelegate {
var idx = 0
@IBAction func btnClick(_ sender: UIButton) {
leftBtn.isHidden = false
rightBtn.isHidden = false
if sender == leftBtn {
if idx >= 1 {
idx -= 1
}
if idx == 0 {
leftBtn.isHidden = true
}
}else{
if idx < datas.count - 1 {
idx += 1
}
if idx == datas.count - 1 {
rightBtn.isHidden = true
}
}
scrollView?.setContentOffset(CGPoint(x: scViewBg.bounds.size.width * CGFloat(idx), y: (scrollView?.frame.origin.y)!), animated: true)
}
func scrollViewDidScroll(_ scrollView: UIScrollView) {
leftBtn.isHidden = false
rightBtn.isHidden = false
if scrollView.contentOffset.x/scViewBg.bounds.size.width <= 0 {
leftBtn.isHidden = true
}
if scrollView.contentOffset.x/scViewBg.bounds.size.width >= CGFloat(datas.count-1) {
rightBtn.isHidden = true
}
}
@IBOutlet weak var rightBtn: UIButton!
@IBOutlet weak var leftBtn: UIButton!
@IBOutlet weak var scViewBg: UIView!
@IBOutlet weak var tjLbl: UILabel!
@IBOutlet weak var sizeLbl: UILabel!
@IBOutlet weak var weightLbl: UILabel!
var datas:Array<String> = []
var scrollView:UIScrollView?
override func awakeFromNib() {
super.awakeFromNib()
leftBtn.isHidden = true
self.selectionStyle = .none
scrollView = UIScrollView(frame: scViewBg.bounds)
scViewBg.addSubview(scrollView!)
scrollView?.isPagingEnabled = true
scrollView?.showsHorizontalScrollIndicator = false
scrollView?.delegate = self
}
override func layoutIfNeeded() {
super.layoutIfNeeded()
scrollView?.contentSize = CGSize(width: (scViewBg.bounds.size.width) * CGFloat(datas.count), height: (scViewBg.bounds.size.height))
for i in 0 ..< datas.count{
let view = UIView(frame: CGRect(x: CGFloat(i) * (scViewBg.bounds.size.width), y:0, width: scViewBg.bounds.size.width, height: scViewBg.bounds.size.height))
if i % 2 == 0 {
view.backgroundColor = UIColor.blue
}else{
view.backgroundColor = UIColor.red
}
scrollView?.addSubview(view)
}
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
}
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="Named colors" minToolsVersion="9.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="default" indentationWidth="10" rowHeight="187" id="KGk-i7-Jjw" customClass="HLLTopCell" customModule="TestClass" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="375" height="181"/>
<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="375" height="181"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6H1-9e-5gM">
<rect key="frame" x="0.0" y="126" width="375" height="55"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="长宽高" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AsL-1h-Y7c">
<rect key="frame" x="167.5" y="0.0" width="40" height="18.5"/>
<constraints>
<constraint firstAttribute="height" constant="18.5" id="aZW-Ut-Xhu"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="aC7-Bu-5oE">
<rect key="frame" x="167.5" y="21.5" width="33" height="18.5"/>
<constraints>
<constraint firstAttribute="height" constant="18.5" id="VaA-Ma-ZMN"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="灰色字体颜色"/>
<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="dcU-lR-ZVX">
<rect key="frame" x="267.5" y="0.0" width="54" height="18.5"/>
<constraints>
<constraint firstAttribute="height" constant="18.5" id="yUm-v9-hJB"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Yit-BG-pxY">
<rect key="frame" x="267.5" y="23" width="33" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="灰色字体颜色"/>
<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="wLi-w7-vL4">
<rect key="frame" x="57.5" y="0.0" width="27" height="18.5"/>
<constraints>
<constraint firstAttribute="height" constant="18.5" id="y7b-ro-Why"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3Ee-iC-Maa">
<rect key="frame" x="57.5" y="23" width="33" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="灰色字体颜色"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="AsL-1h-Y7c" firstAttribute="top" secondItem="6H1-9e-5gM" secondAttribute="top" id="4Dh-9v-gYg"/>
<constraint firstAttribute="height" constant="55" id="7Is-x1-1hq"/>
<constraint firstItem="wLi-w7-vL4" firstAttribute="top" secondItem="6H1-9e-5gM" secondAttribute="top" id="EzS-pi-dWY"/>
<constraint firstItem="Yit-BG-pxY" firstAttribute="centerY" secondItem="aC7-Bu-5oE" secondAttribute="centerY" id="FEL-Zp-Y4G"/>
<constraint firstItem="Yit-BG-pxY" firstAttribute="leading" secondItem="dcU-lR-ZVX" secondAttribute="leading" id="GgP-zY-J9k"/>
<constraint firstItem="wLi-w7-vL4" firstAttribute="leading" secondItem="6H1-9e-5gM" secondAttribute="leading" constant="57.5" id="IAQ-n4-Do0"/>
<constraint firstItem="aC7-Bu-5oE" firstAttribute="top" secondItem="AsL-1h-Y7c" secondAttribute="bottom" constant="3" id="Qy9-Zc-gHc"/>
<constraint firstItem="3Ee-iC-Maa" firstAttribute="centerY" secondItem="aC7-Bu-5oE" secondAttribute="centerY" id="UKT-1O-yg0"/>
<constraint firstItem="aC7-Bu-5oE" firstAttribute="leading" secondItem="AsL-1h-Y7c" secondAttribute="leading" id="WrE-Jq-ofm"/>
<constraint firstItem="dcU-lR-ZVX" firstAttribute="top" secondItem="6H1-9e-5gM" secondAttribute="top" id="Z0z-vO-vfu"/>
<constraint firstItem="3Ee-iC-Maa" firstAttribute="leading" secondItem="wLi-w7-vL4" secondAttribute="leading" id="sTl-1n-vkH"/>
<constraint firstItem="AsL-1h-Y7c" firstAttribute="centerX" secondItem="6H1-9e-5gM" secondAttribute="centerX" id="vj6-vD-EeX"/>
<constraint firstAttribute="trailing" secondItem="dcU-lR-ZVX" secondAttribute="trailing" constant="53.5" id="zbV-6L-D7f"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Z6t-TU-kTM">
<rect key="frame" x="332" y="59" width="28" height="28"/>
<color key="backgroundColor" red="0.29803921570000003" green="0.34901960780000002" blue="0.50196078430000002" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="width" constant="28" id="w4n-ZK-J9g"/>
<constraint firstAttribute="height" constant="28" id="yl6-Gd-YKI"/>
</constraints>
<color key="tintColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<connections>
<action selector="btnClick:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="uz8-x4-Svq"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="lc5-Gn-jWh">
<rect key="frame" x="15" y="59" width="28" height="28"/>
<color key="backgroundColor" red="0.44705882349999998" green="0.39607843139999999" blue="0.89019607840000003" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="width" constant="28" id="HYU-ly-9UX"/>
<constraint firstAttribute="height" constant="28" id="Wpx-pa-nSQ"/>
</constraints>
<color key="tintColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<connections>
<action selector="btnClick:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="xNF-PS-V1Q"/>
</connections>
</button>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yKZ-TN-Ah3">
<rect key="frame" x="63" y="35" width="249" height="76"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstAttribute="height" constant="76" id="Tmt-kI-8i7"/>
</constraints>
</view>
</subviews>
<constraints>
<constraint firstAttribute="trailing" secondItem="Z6t-TU-kTM" secondAttribute="trailing" constant="15" id="CCb-NA-2WT"/>
<constraint firstItem="Z6t-TU-kTM" firstAttribute="centerY" secondItem="lc5-Gn-jWh" secondAttribute="centerY" id="Fz6-EZ-qfM"/>
<constraint firstItem="yKZ-TN-Ah3" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="Ndt-ky-F2M"/>
<constraint firstItem="lc5-Gn-jWh" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="59" id="TgA-KY-7kh"/>
<constraint firstItem="6H1-9e-5gM" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="Tky-RL-RCw"/>
<constraint firstAttribute="bottom" secondItem="6H1-9e-5gM" secondAttribute="bottom" id="eXQ-6B-3ci"/>
<constraint firstItem="yKZ-TN-Ah3" firstAttribute="centerY" secondItem="Z6t-TU-kTM" secondAttribute="centerY" id="lxb-Rk-iBY"/>
<constraint firstAttribute="trailing" secondItem="6H1-9e-5gM" secondAttribute="trailing" id="oVG-eP-1wI"/>
<constraint firstItem="lc5-Gn-jWh" firstAttribute="left" secondItem="H2p-sc-9uM" secondAttribute="left" constant="15" id="oiu-C5-teY"/>
<constraint firstItem="yKZ-TN-Ah3" firstAttribute="leading" secondItem="lc5-Gn-jWh" secondAttribute="trailing" constant="20" id="uvm-EE-fX9"/>
<constraint firstItem="Z6t-TU-kTM" firstAttribute="leading" secondItem="yKZ-TN-Ah3" secondAttribute="trailing" constant="20" id="vZU-EL-4DR"/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<connections>
<outlet property="leftBtn" destination="lc5-Gn-jWh" id="Ovs-AO-Ojc"/>
<outlet property="rightBtn" destination="Z6t-TU-kTM" id="657-Rh-oer"/>
<outlet property="scViewBg" destination="yKZ-TN-Ah3" id="4eJ-Ls-Nt7"/>
<outlet property="sizeLbl" destination="aC7-Bu-5oE" id="8KI-fk-1CA"/>
<outlet property="tjLbl" destination="Yit-BG-pxY" id="qBB-Ll-lMa"/>
<outlet property="weightLbl" destination="3Ee-iC-Maa" id="aY6-FJ-blW"/>
</connections>
<point key="canvasLocation" x="131.15942028985509" y="118.86160714285714"/>
</tableViewCell>
</objects>
<resources>
<namedColor name="标题字颜色">
<color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="灰色字体颜色">
<color red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
......@@ -10,6 +10,7 @@ import UIKit
class WayBillAddressCanDelItemCell: UITableViewCell {
@IBOutlet weak var delBtn: UIButton!
@IBOutlet weak var lineTopView: UIView!
@IBOutlet weak var iconW: NSLayoutConstraint!
@IBOutlet weak var iconH: NSLayoutConstraint!
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......@@ -134,6 +134,7 @@
<connections>
<outlet property="addressDetailLbl" destination="JfY-Q9-10Q" id="Xi4-mV-0hL"/>
<outlet property="addressLbl" destination="wxD-2W-Kct" id="OPZ-UV-8Wi"/>
<outlet property="delBtn" destination="gIq-zy-KC4" id="2h5-bf-ftd"/>
<outlet property="iconH" destination="PTZ-fe-NB0" id="UMp-8r-8hy"/>
<outlet property="iconLbl" destination="JJG-L3-lyj" id="ZQ1-MD-9C6"/>
<outlet property="iconW" destination="Bp5-x3-dmY" id="blT-9t-em8"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
......
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