Commit 09671b5f authored by 刘俊宏's avatar 刘俊宏

调整test临时


parent caba6188
...@@ -569,6 +569,14 @@ ...@@ -569,6 +569,14 @@
F9A4F25024C9689600D1DD13 /* OtherDemandViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9A4F24E24C9689600D1DD13 /* OtherDemandViewController.xib */; }; F9A4F25024C9689600D1DD13 /* OtherDemandViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9A4F24E24C9689600D1DD13 /* OtherDemandViewController.xib */; };
F9B6D9E12486890D00111698 /* MoreAndTimeSelectView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9B6D9E02486890D00111698 /* MoreAndTimeSelectView.swift */; }; F9B6D9E12486890D00111698 /* MoreAndTimeSelectView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9B6D9E02486890D00111698 /* MoreAndTimeSelectView.swift */; };
F9B6D9E32486891C00111698 /* MoreAndTimeSelectView.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9B6D9E22486891C00111698 /* MoreAndTimeSelectView.xib */; }; F9B6D9E32486891C00111698 /* MoreAndTimeSelectView.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9B6D9E22486891C00111698 /* MoreAndTimeSelectView.xib */; };
F9D44E8324CBC50700FBD8DB /* WayBillAddressCanDelItemCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9D44E8124CBC50700FBD8DB /* WayBillAddressCanDelItemCell.swift */; };
F9D44E8424CBC50700FBD8DB /* WayBillAddressCanDelItemCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9D44E8224CBC50700FBD8DB /* WayBillAddressCanDelItemCell.xib */; };
F9D44E8824CBC6A400FBD8DB /* ToAndFormSelectViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9D44E8624CBC6A400FBD8DB /* ToAndFormSelectViewController.swift */; };
F9D44E8924CBC6A400FBD8DB /* ToAndFormSelectViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9D44E8724CBC6A400FBD8DB /* ToAndFormSelectViewController.xib */; };
F9D44E8C24CBDC2600FBD8DB /* TestViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9D44E8B24CBDC2600FBD8DB /* TestViewController.swift */; };
F9D44E8F24CBDDD000FBD8DB /* ToFormChangeTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9D44E8D24CBDDD000FBD8DB /* ToFormChangeTableViewCell.swift */; };
F9D44E9024CBDDD000FBD8DB /* ToFormChangeTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9D44E8E24CBDDD000FBD8DB /* ToFormChangeTableViewCell.xib */; };
F9D44E9224CBE66E00FBD8DB /* ToFormChangeView.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9D44E9124CBE66E00FBD8DB /* ToFormChangeView.xib */; };
F9DDBE922457BFEC00A32CB2 /* HUDEXT.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9DDBE912457BFEC00A32CB2 /* HUDEXT.swift */; }; F9DDBE922457BFEC00A32CB2 /* HUDEXT.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9DDBE912457BFEC00A32CB2 /* HUDEXT.swift */; };
F9DDBE962457D3EC00A32CB2 /* WebViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9DDBE942457D3EC00A32CB2 /* WebViewController.swift */; }; F9DDBE962457D3EC00A32CB2 /* WebViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9DDBE942457D3EC00A32CB2 /* WebViewController.swift */; };
F9DDBE972457D3EC00A32CB2 /* WebViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9DDBE952457D3EC00A32CB2 /* WebViewController.xib */; }; F9DDBE972457D3EC00A32CB2 /* WebViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9DDBE952457D3EC00A32CB2 /* WebViewController.xib */; };
...@@ -1223,6 +1231,14 @@ ...@@ -1223,6 +1231,14 @@
F9A4F24E24C9689600D1DD13 /* OtherDemandViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = OtherDemandViewController.xib; sourceTree = "<group>"; }; F9A4F24E24C9689600D1DD13 /* OtherDemandViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = OtherDemandViewController.xib; sourceTree = "<group>"; };
F9B6D9E02486890D00111698 /* MoreAndTimeSelectView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MoreAndTimeSelectView.swift; sourceTree = "<group>"; }; F9B6D9E02486890D00111698 /* MoreAndTimeSelectView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MoreAndTimeSelectView.swift; sourceTree = "<group>"; };
F9B6D9E22486891C00111698 /* MoreAndTimeSelectView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MoreAndTimeSelectView.xib; sourceTree = "<group>"; }; F9B6D9E22486891C00111698 /* MoreAndTimeSelectView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MoreAndTimeSelectView.xib; sourceTree = "<group>"; };
F9D44E8124CBC50700FBD8DB /* WayBillAddressCanDelItemCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WayBillAddressCanDelItemCell.swift; sourceTree = "<group>"; };
F9D44E8224CBC50700FBD8DB /* WayBillAddressCanDelItemCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WayBillAddressCanDelItemCell.xib; sourceTree = "<group>"; };
F9D44E8624CBC6A400FBD8DB /* ToAndFormSelectViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ToAndFormSelectViewController.swift; sourceTree = "<group>"; };
F9D44E8724CBC6A400FBD8DB /* ToAndFormSelectViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = ToAndFormSelectViewController.xib; sourceTree = "<group>"; };
F9D44E8B24CBDC2600FBD8DB /* TestViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestViewController.swift; sourceTree = "<group>"; };
F9D44E8D24CBDDD000FBD8DB /* ToFormChangeTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ToFormChangeTableViewCell.swift; sourceTree = "<group>"; };
F9D44E8E24CBDDD000FBD8DB /* ToFormChangeTableViewCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = ToFormChangeTableViewCell.xib; sourceTree = "<group>"; };
F9D44E9124CBE66E00FBD8DB /* ToFormChangeView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = ToFormChangeView.xib; sourceTree = "<group>"; };
F9DDBE912457BFEC00A32CB2 /* HUDEXT.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HUDEXT.swift; sourceTree = "<group>"; }; F9DDBE912457BFEC00A32CB2 /* HUDEXT.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HUDEXT.swift; sourceTree = "<group>"; };
F9DDBE942457D3EC00A32CB2 /* WebViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebViewController.swift; sourceTree = "<group>"; }; F9DDBE942457D3EC00A32CB2 /* WebViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebViewController.swift; sourceTree = "<group>"; };
F9DDBE952457D3EC00A32CB2 /* WebViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = WebViewController.xib; sourceTree = "<group>"; }; F9DDBE952457D3EC00A32CB2 /* WebViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = WebViewController.xib; sourceTree = "<group>"; };
...@@ -2889,6 +2905,8 @@ ...@@ -2889,6 +2905,8 @@
F9A4AB6A24C9220C00094BD1 /* 货拉拉 */ = { F9A4AB6A24C9220C00094BD1 /* 货拉拉 */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
F9D44E8A24CBD9F400FBD8DB /* 调整地址 */,
F9D44E8524CBC66900FBD8DB /* 收发货地址 */,
F9A4F25124C9926700D1DD13 /* 运单详情 */, F9A4F25124C9926700D1DD13 /* 运单详情 */,
F9A4F24C24C9687300D1DD13 /* 额外需求 */, F9A4F24C24C9687300D1DD13 /* 额外需求 */,
F9A4AB7024C9337600094BD1 /* 下单联系人信息 */, F9A4AB7024C9337600094BD1 /* 下单联系人信息 */,
...@@ -2937,6 +2955,8 @@ ...@@ -2937,6 +2955,8 @@
F9A4F25224C9927600D1DD13 /* cell */ = { F9A4F25224C9927600D1DD13 /* cell */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
F9D44E8124CBC50700FBD8DB /* WayBillAddressCanDelItemCell.swift */,
F9D44E8224CBC50700FBD8DB /* WayBillAddressCanDelItemCell.xib */,
F96E48A124CA79D4000AB8D4 /* WayBillAddressItemCell.swift */, F96E48A124CA79D4000AB8D4 /* WayBillAddressItemCell.swift */,
F96E48A224CA79D4000AB8D4 /* WayBillAddressItemCell.xib */, F96E48A224CA79D4000AB8D4 /* WayBillAddressItemCell.xib */,
F96E48A524CA90DC000AB8D4 /* DriverItemTableViewCell.swift */, F96E48A524CA90DC000AB8D4 /* DriverItemTableViewCell.swift */,
...@@ -2949,6 +2969,26 @@ ...@@ -2949,6 +2969,26 @@
path = cell; path = cell;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
F9D44E8524CBC66900FBD8DB /* 收发货地址 */ = {
isa = PBXGroup;
children = (
F9D44E8624CBC6A400FBD8DB /* ToAndFormSelectViewController.swift */,
F9D44E8724CBC6A400FBD8DB /* ToAndFormSelectViewController.xib */,
);
path = "收发货地址";
sourceTree = "<group>";
};
F9D44E8A24CBD9F400FBD8DB /* 调整地址 */ = {
isa = PBXGroup;
children = (
F9D44E8B24CBDC2600FBD8DB /* TestViewController.swift */,
F9D44E8D24CBDDD000FBD8DB /* ToFormChangeTableViewCell.swift */,
F9D44E8E24CBDDD000FBD8DB /* ToFormChangeTableViewCell.xib */,
F9D44E9124CBE66E00FBD8DB /* ToFormChangeView.xib */,
);
path = "调整地址";
sourceTree = "<group>";
};
F9DDBE932457D3CB00A32CB2 /* Web */ = { F9DDBE932457D3CB00A32CB2 /* Web */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
...@@ -3077,6 +3117,7 @@ ...@@ -3077,6 +3117,7 @@
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
E042F731245272FF00CDFA12 /* XiaYunDanViewController.xib in Resources */, E042F731245272FF00CDFA12 /* XiaYunDanViewController.xib in Resources */,
F9D44E9224CBE66E00FBD8DB /* ToFormChangeView.xib in Resources */,
F9023F63244999F500DD5A63 /* WarehoseMangementCell.xib in Resources */, F9023F63244999F500DD5A63 /* WarehoseMangementCell.xib in Resources */,
E051EBD824A1F0ED00892DA9 /* CGDCell.xib in Resources */, E051EBD824A1F0ED00892DA9 /* CGDCell.xib in Resources */,
F96E48A024CA7930000AB8D4 /* WaybillDetailViewController.xib in Resources */, F96E48A024CA7930000AB8D4 /* WaybillDetailViewController.xib in Resources */,
...@@ -3130,6 +3171,7 @@ ...@@ -3130,6 +3171,7 @@
E0F8E91C248737F100817A08 /* NewOnlyRKCell.xib in Resources */, E0F8E91C248737F100817A08 /* NewOnlyRKCell.xib in Resources */,
E013D7892484B1B90092DE46 /* CRKXiangQVC.xib in Resources */, E013D7892484B1B90092DE46 /* CRKXiangQVC.xib in Resources */,
E0A409C92464010D00CFF109 /* FirstCell.xib in Resources */, E0A409C92464010D00CFF109 /* FirstCell.xib in Resources */,
F9D44E9024CBDDD000FBD8DB /* ToFormChangeTableViewCell.xib in Resources */,
E0EABAE82487748500F6CA8D /* NewSelectWarehouseVC.xib in Resources */, E0EABAE82487748500F6CA8D /* NewSelectWarehouseVC.xib in Resources */,
E0EFB9CB24930DD5005FB0CD /* CGDListVC.xib in Resources */, E0EFB9CB24930DD5005FB0CD /* CGDListVC.xib in Resources */,
E00E48C32457C0D600F16545 /* XuanZeShangPinViewController.xib in Resources */, E00E48C32457C0D600F16545 /* XuanZeShangPinViewController.xib in Resources */,
...@@ -3224,6 +3266,7 @@ ...@@ -3224,6 +3266,7 @@
F95D9B5024484FAE0080D6E3 /* GeliAlertView.xib in Resources */, F95D9B5024484FAE0080D6E3 /* GeliAlertView.xib in Resources */,
E01EA1A1245A5D6B00F019D5 /* YunDanXiangQingViewController.xib in Resources */, E01EA1A1245A5D6B00F019D5 /* YunDanXiangQingViewController.xib in Resources */,
E0BE8A8C245A7D3300E80134 /* BtmBtnCell.xib in Resources */, E0BE8A8C245A7D3300E80134 /* BtmBtnCell.xib in Resources */,
F9D44E8424CBC50700FBD8DB /* WayBillAddressCanDelItemCell.xib in Resources */,
E007B1D9248F7276004D14CC /* CGDCell1.xib in Resources */, E007B1D9248F7276004D14CC /* CGDCell1.xib in Resources */,
E0DDCB1E244AE81800DF54C7 /* GuanLianKeHuCell.xib in Resources */, E0DDCB1E244AE81800DF54C7 /* GuanLianKeHuCell.xib in Resources */,
E0DDCB14244ADF2C00DF54C7 /* ChangePriceNormalCell.xib in Resources */, E0DDCB14244ADF2C00DF54C7 /* ChangePriceNormalCell.xib in Resources */,
...@@ -3238,6 +3281,7 @@ ...@@ -3238,6 +3281,7 @@
E02392072490819600C4C632 /* CGDListCell.xib in Resources */, E02392072490819600C4C632 /* CGDListCell.xib in Resources */,
E0F3C2CC24590C86006F0D1F /* XinZengAndBianJiKeHuViewController.xib in Resources */, E0F3C2CC24590C86006F0D1F /* XinZengAndBianJiKeHuViewController.xib in Resources */,
E02C88272456B24F00925766 /* WuLiuGenZongViewController.xib in Resources */, E02C88272456B24F00925766 /* WuLiuGenZongViewController.xib in Resources */,
F9D44E8924CBC6A400FBD8DB /* ToAndFormSelectViewController.xib in Resources */,
E0C4F4A8244EC82A00CC7E2F /* TitleAndBtnCell.xib in Resources */, E0C4F4A8244EC82A00CC7E2F /* TitleAndBtnCell.xib in Resources */,
E02FD9F72455790800E10E27 /* DiZhiGuanLiCell.xib in Resources */, E02FD9F72455790800E10E27 /* DiZhiGuanLiCell.xib in Resources */,
E0BE8AA5245AA31400E80134 /* YingFuZhangKuanXQViewController.xib in Resources */, E0BE8AA5245AA31400E80134 /* YingFuZhangKuanXQViewController.xib in Resources */,
...@@ -3343,6 +3387,7 @@ ...@@ -3343,6 +3387,7 @@
F956D59C246A2D9C003FF510 /* UIFont+LMNote.m in Sources */, F956D59C246A2D9C003FF510 /* UIFont+LMNote.m in Sources */,
F961D264244FD744007FBE70 /* SearchBarView.swift in Sources */, F961D264244FD744007FBE70 /* SearchBarView.swift in Sources */,
F950FDE124518B9500C40530 /* FSCalendarConstants.m in Sources */, F950FDE124518B9500C40530 /* FSCalendarConstants.m in Sources */,
F9D44E8324CBC50700FBD8DB /* WayBillAddressCanDelItemCell.swift in Sources */,
E030DF3B248651A5002764D3 /* NewRKVc.swift in Sources */, E030DF3B248651A5002764D3 /* NewRKVc.swift in Sources */,
F9023F712449ACA800DD5A63 /* TitleAndSwitchCell.swift in Sources */, F9023F712449ACA800DD5A63 /* TitleAndSwitchCell.swift in Sources */,
E0C4F4BD244EF53D00CC7E2F /* BindStepTwoViewController.swift in Sources */, E0C4F4BD244EF53D00CC7E2F /* BindStepTwoViewController.swift in Sources */,
...@@ -3359,6 +3404,7 @@ ...@@ -3359,6 +3404,7 @@
E0BE8A7F245A740600E80134 /* ChengGongCell.swift in Sources */, E0BE8A7F245A740600E80134 /* ChengGongCell.swift in Sources */,
E02DDD90244FE54C00ABB707 /* NewCreateHeader.swift in Sources */, E02DDD90244FE54C00ABB707 /* NewCreateHeader.swift in Sources */,
E0228BB0246FDA9A005812FA /* TitleAndLblCell.swift in Sources */, E0228BB0246FDA9A005812FA /* TitleAndLblCell.swift in Sources */,
F9D44E8C24CBDC2600FBD8DB /* TestViewController.swift in Sources */,
F950FDA92451613500C40530 /* GetMobileModel.swift in Sources */, F950FDA92451613500C40530 /* GetMobileModel.swift in Sources */,
F94A314724624E9500FEC38E /* GetGelipayInfoModel.swift in Sources */, F94A314724624E9500FEC38E /* GetGelipayInfoModel.swift in Sources */,
F9FF1E45247D1F670026FCE3 /* StringFile.swift in Sources */, F9FF1E45247D1F670026FCE3 /* StringFile.swift in Sources */,
...@@ -3388,6 +3434,7 @@ ...@@ -3388,6 +3434,7 @@
E03549AD24582828008BD021 /* KeHuGuanLiCell.swift in Sources */, E03549AD24582828008BD021 /* KeHuGuanLiCell.swift in Sources */,
F93615DD2480B693004187F9 /* WorkcenterIndexModel.swift in Sources */, F93615DD2480B693004187F9 /* WorkcenterIndexModel.swift in Sources */,
F95567A72453DA86009674AB /* WarehoseMangementListVC.swift in Sources */, F95567A72453DA86009674AB /* WarehoseMangementListVC.swift in Sources */,
F9D44E8F24CBDDD000FBD8DB /* ToFormChangeTableViewCell.swift in Sources */,
F933F6CF2452C68B00189561 /* PKHUDErrorView.swift in Sources */, F933F6CF2452C68B00189561 /* PKHUDErrorView.swift in Sources */,
E0EFB9CE2493189D005FB0CD /* PurchaseModel.swift in Sources */, E0EFB9CE2493189D005FB0CD /* PurchaseModel.swift in Sources */,
F933C42E2484A66C0058940C /* WorkTestModel.swift in Sources */, F933C42E2484A66C0058940C /* WorkTestModel.swift in Sources */,
...@@ -3500,6 +3547,7 @@ ...@@ -3500,6 +3547,7 @@
E06524ED2458008900CA22E2 /* RuKuViewController.swift in Sources */, E06524ED2458008900CA22E2 /* RuKuViewController.swift in Sources */,
F9171F0224513C5B00359C2B /* UpDataModel.swift in Sources */, F9171F0224513C5B00359C2B /* UpDataModel.swift in Sources */,
F950FDAD245163E500C40530 /* GoodsListModel.swift in Sources */, F950FDAD245163E500C40530 /* GoodsListModel.swift in Sources */,
F9D44E8824CBC6A400FBD8DB /* ToAndFormSelectViewController.swift in Sources */,
E0D197BD2448431C002B080C /* BabySpeaker.m in Sources */, E0D197BD2448431C002B080C /* BabySpeaker.m in Sources */,
F9956B22246408A6001A617D /* GoodsClassViewController.swift in Sources */, F9956B22246408A6001A617D /* GoodsClassViewController.swift in Sources */,
F950FDDA24518B9500C40530 /* FSCalendarCell.m in Sources */, F950FDDA24518B9500C40530 /* FSCalendarCell.m in Sources */,
......
//
// ToAndFormSelectViewController.swift
// GeliBusinessPlatform
//
// Created by 刘俊宏 on 2020/7/25.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
import LGButton
class ToAndFormSelectViewController: BaseViewController {
@IBOutlet weak var navBgView: UIView!
@IBOutlet weak var citySelectBtn: UIButton!
@IBOutlet weak var phoneTF: UITextField!
@IBOutlet weak var nameTF: UITextField!
@IBOutlet weak var addressDetailTF: UITextField!
@IBOutlet weak var toFormTitleLbl: UILabel!
@IBOutlet weak var sureSelectLbl: UILabel!
@IBOutlet weak var MapBgView: UIView!
override func viewDidLoad() {
super.viewDidLoad()
let searchBr = SearchBarView.init()
navBgView.addSubview(searchBr)
searchBr.snp.makeConstraints { (make) in
make.left.equalTo(citySelectBtn.snp_right).offset(5)
make.right.equalTo(-10)
make.centerY.equalToSuperview()
make.height.equalTo(35)
}
searchBr.placeholderStr = "从哪儿发货"
searchBr.cornerRadius = 35/2.0
}
@IBAction func sureSelectAddressAction(_ sender: LGButton) {
print("sureSelectAddressAction")
}
}
<?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">
<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" customClass="ToAndFormSelectViewController" customModule="TestClass" customModuleProvider="target">
<connections>
<outlet property="MapBgView" destination="pVD-hG-0z5" id="baE-fs-VNT"/>
<outlet property="addressDetailTF" destination="16f-P2-ghe" id="i3P-Yq-GRL"/>
<outlet property="citySelectBtn" destination="ADf-bf-b5w" id="86g-Jd-J9c"/>
<outlet property="nameTF" destination="tlN-2m-Au1" id="DpV-qf-Z56"/>
<outlet property="navBgView" destination="gLT-4M-bfs" id="fjx-Hf-4GS"/>
<outlet property="phoneTF" destination="zpG-8r-dzl" id="nwC-VM-snC"/>
<outlet property="sureSelectLbl" destination="nZK-ad-fmq" id="5gq-Yd-d6B"/>
<outlet property="toFormTitleLbl" destination="kjg-a9-QU1" id="8Fc-oo-P93"/>
<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="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8qa-oS-xtb" userLabel="View1">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<color key="backgroundColor" name="白色背景色"/>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gLT-4M-bfs" userLabel="View2">
<rect key="frame" x="0.0" y="44" width="414" height="45"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="LY7-wU-8ih">
<rect key="frame" x="15" y="14" width="10" height="17"/>
<constraints>
<constraint firstAttribute="width" constant="10" id="hEa-Si-N2Z"/>
<constraint firstAttribute="height" constant="17" id="vhX-x5-Uej"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="19"/>
<state key="normal" image="fanhui"/>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mc4-mS-8P7">
<rect key="frame" x="0.0" y="8" width="46" height="30"/>
<constraints>
<constraint firstAttribute="width" constant="46" id="4w1-lk-ryV"/>
</constraints>
<state key="normal" title="Button">
<color key="titleColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
</button>
<button opaque="NO" contentMode="scaleToFill" semanticContentAttribute="forceRightToLeft" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ADf-bf-b5w">
<rect key="frame" x="56" y="13.5" width="60" height="18"/>
<constraints>
<constraint firstAttribute="width" constant="60" id="1ot-j5-ieI"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<state key="normal" title="广州" image="xiala">
<color key="titleColor" name="标题字颜色"/>
</state>
</button>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="QHB-sv-BsU">
<rect key="frame" x="0.0" y="44" width="414" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="0dr-TA-Vco"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="mc4-mS-8P7" secondAttribute="bottom" constant="7" id="295-Ym-bWu"/>
<constraint firstItem="mc4-mS-8P7" firstAttribute="top" secondItem="gLT-4M-bfs" secondAttribute="top" constant="8" id="6jl-8q-avT"/>
<constraint firstItem="QHB-sv-BsU" firstAttribute="leading" secondItem="gLT-4M-bfs" secondAttribute="leading" id="7PO-yT-p5b"/>
<constraint firstItem="LY7-wU-8ih" firstAttribute="leading" secondItem="gLT-4M-bfs" secondAttribute="leading" constant="15" id="CSB-P9-sJW"/>
<constraint firstAttribute="trailing" secondItem="QHB-sv-BsU" secondAttribute="trailing" id="NNc-Tm-Iye"/>
<constraint firstItem="ADf-bf-b5w" firstAttribute="centerY" secondItem="gLT-4M-bfs" secondAttribute="centerY" id="OYn-qq-QJP"/>
<constraint firstItem="mc4-mS-8P7" firstAttribute="leading" secondItem="gLT-4M-bfs" secondAttribute="leading" id="QbR-Uv-mj9"/>
<constraint firstItem="ADf-bf-b5w" firstAttribute="leading" secondItem="mc4-mS-8P7" secondAttribute="trailing" constant="10" id="Sy5-bj-ulv"/>
<constraint firstAttribute="bottom" secondItem="QHB-sv-BsU" secondAttribute="bottom" id="rT4-u8-EiK"/>
<constraint firstItem="LY7-wU-8ih" firstAttribute="centerY" secondItem="gLT-4M-bfs" secondAttribute="centerY" id="tdR-GU-ZsW"/>
<constraint firstAttribute="height" constant="45" id="ze9-Uw-zVl"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Zku-OV-GRM" customClass="LGButton" customModule="LGButton">
<rect key="frame" x="0.0" y="813" width="414" height="83"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="color" keyPath="gradientStartColor">
<color key="value" name="按钮渐变色上"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="color" keyPath="gradientEndColor">
<color key="value" name="按钮渐变色下,字体颜色"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="boolean" keyPath="gradientHorizontal" value="YES"/>
</userDefinedRuntimeAttributes>
<connections>
<action selector="sureSelectAddressAction:" destination="-1" eventType="touchUpInside" id="dGm-Vd-gpz"/>
</connections>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="确认发货地" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nZK-ad-fmq">
<rect key="frame" x="0.0" y="813" width="414" height="49"/>
<constraints>
<constraint firstAttribute="height" constant="49" id="2xf-Mb-LWL"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
<color key="textColor" name="白色背景色"/>
<nil key="highlightedColor"/>
</label>
<view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Lvk-JQ-tFy">
<rect key="frame" x="0.0" y="675" width="414" height="138"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="VeH-QA-qo5">
<rect key="frame" x="0.0" y="0.0" width="414" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="UyF-N0-MeM"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Gh9-a6-8wp">
<rect key="frame" x="0.0" y="39" width="414" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="kz5-6D-3TJ"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="mLk-53-Hn6">
<rect key="frame" x="15" y="90" width="399" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="cbk-CS-9hK"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="发货人信息(选填)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kjg-a9-QU1">
<rect key="frame" x="15" y="11" width="118" height="19"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入楼层及门牌号" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="16f-P2-ghe">
<rect key="frame" x="15" y="48" width="384" height="34"/>
<color key="textColor" name="灰色字体颜色"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<textInputTraits key="textInputTraits"/>
</textField>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1hY-wr-ip3">
<rect key="frame" x="130" y="99" width="1" height="31"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="width" constant="1" id="oDj-JS-wlu"/>
</constraints>
</view>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="联系电话" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="zpG-8r-dzl">
<rect key="frame" x="146" y="99" width="253" height="31"/>
<color key="textColor" name="灰色字体颜色"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<textInputTraits key="textInputTraits"/>
</textField>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="收货人姓名" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="tlN-2m-Au1">
<rect key="frame" x="15" y="99" width="110" height="31"/>
<color key="textColor" name="灰色字体颜色"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="Gh9-a6-8wp" firstAttribute="leading" secondItem="Lvk-JQ-tFy" secondAttribute="leading" id="1PB-XO-mET"/>
<constraint firstItem="1hY-wr-ip3" firstAttribute="top" secondItem="mLk-53-Hn6" secondAttribute="bottom" constant="8" id="4dz-DW-x9E"/>
<constraint firstItem="1hY-wr-ip3" firstAttribute="leading" secondItem="Lvk-JQ-tFy" secondAttribute="leading" constant="130" id="6rF-ZD-3ud"/>
<constraint firstItem="16f-P2-ghe" firstAttribute="leading" secondItem="Lvk-JQ-tFy" secondAttribute="leading" constant="15" id="7dg-iV-B6K"/>
<constraint firstItem="mLk-53-Hn6" firstAttribute="top" secondItem="Gh9-a6-8wp" secondAttribute="bottom" constant="50" id="7mk-N0-h8F"/>
<constraint firstAttribute="trailing" secondItem="Gh9-a6-8wp" secondAttribute="trailing" id="Af1-Ky-vhC"/>
<constraint firstItem="mLk-53-Hn6" firstAttribute="leading" secondItem="Lvk-JQ-tFy" secondAttribute="leading" constant="15" id="BgF-gz-dcO"/>
<constraint firstItem="kjg-a9-QU1" firstAttribute="top" secondItem="VeH-QA-qo5" secondAttribute="bottom" constant="10" id="DGU-RU-VJN"/>
<constraint firstAttribute="trailing" secondItem="16f-P2-ghe" secondAttribute="trailing" constant="15" id="H26-Df-3T5"/>
<constraint firstItem="tlN-2m-Au1" firstAttribute="top" secondItem="mLk-53-Hn6" secondAttribute="bottom" constant="8" id="HNl-nd-i7d"/>
<constraint firstAttribute="trailing" secondItem="mLk-53-Hn6" secondAttribute="trailing" id="Lj6-nF-Rpq"/>
<constraint firstItem="16f-P2-ghe" firstAttribute="top" secondItem="Gh9-a6-8wp" secondAttribute="bottom" constant="8" id="LpM-yc-gxy"/>
<constraint firstItem="zpG-8r-dzl" firstAttribute="leading" secondItem="1hY-wr-ip3" secondAttribute="trailing" constant="15" id="RlW-uB-aXp"/>
<constraint firstItem="zpG-8r-dzl" firstAttribute="top" secondItem="mLk-53-Hn6" secondAttribute="bottom" constant="8" id="SRv-OV-CPs"/>
<constraint firstItem="Gh9-a6-8wp" firstAttribute="top" secondItem="VeH-QA-qo5" secondAttribute="bottom" constant="38" id="Uep-8t-L8p"/>
<constraint firstAttribute="bottom" secondItem="tlN-2m-Au1" secondAttribute="bottom" constant="8" id="ZRW-y8-ht2"/>
<constraint firstItem="tlN-2m-Au1" firstAttribute="leading" secondItem="Lvk-JQ-tFy" secondAttribute="leading" constant="15" id="ZaU-Po-iwg"/>
<constraint firstItem="1hY-wr-ip3" firstAttribute="leading" secondItem="tlN-2m-Au1" secondAttribute="trailing" constant="5" id="aJ1-wE-1vG"/>
<constraint firstItem="VeH-QA-qo5" firstAttribute="leading" secondItem="Lvk-JQ-tFy" secondAttribute="leading" id="b0q-gP-4HX"/>
<constraint firstAttribute="bottom" secondItem="1hY-wr-ip3" secondAttribute="bottom" constant="8" id="fhT-us-630"/>
<constraint firstItem="mLk-53-Hn6" firstAttribute="top" secondItem="16f-P2-ghe" secondAttribute="bottom" constant="8" id="h83-Dk-kmN"/>
<constraint firstAttribute="bottom" secondItem="zpG-8r-dzl" secondAttribute="bottom" constant="8" id="kne-Qy-5Qg"/>
<constraint firstAttribute="height" constant="138" id="rH2-Cv-APR"/>
<constraint firstItem="kjg-a9-QU1" firstAttribute="leading" secondItem="Lvk-JQ-tFy" secondAttribute="leading" constant="15" id="rXf-gA-Aee"/>
<constraint firstAttribute="trailing" secondItem="zpG-8r-dzl" secondAttribute="trailing" constant="15" id="vN0-8I-o7G"/>
<constraint firstItem="VeH-QA-qo5" firstAttribute="top" secondItem="Lvk-JQ-tFy" secondAttribute="top" id="vRW-Ny-lEh"/>
<constraint firstAttribute="trailing" secondItem="VeH-QA-qo5" secondAttribute="trailing" id="vpy-IV-T1h"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="pVD-hG-0z5">
<rect key="frame" x="0.0" y="89" width="414" height="586"/>
<color key="backgroundColor" name="app底色"/>
</view>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="8qa-oS-xtb" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="0eG-SR-nwc"/>
<constraint firstItem="Zku-OV-GRM" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="2Gr-Nv-AAd"/>
<constraint firstItem="Zku-OV-GRM" firstAttribute="top" secondItem="Lvk-JQ-tFy" secondAttribute="bottom" id="63e-tN-dGT"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="Lvk-JQ-tFy" secondAttribute="trailing" id="735-xr-kJw"/>
<constraint firstItem="nZK-ad-fmq" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="Ggc-ZC-QWk"/>
<constraint firstItem="gLT-4M-bfs" firstAttribute="top" secondItem="8qa-oS-xtb" secondAttribute="bottom" id="Hif-hO-bnV"/>
<constraint firstItem="8qa-oS-xtb" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="Oh7-LA-DQj"/>
<constraint firstItem="Lvk-JQ-tFy" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="PPB-br-lng"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="gLT-4M-bfs" secondAttribute="trailing" id="TUk-rI-DQP"/>
<constraint firstItem="nZK-ad-fmq" firstAttribute="bottom" secondItem="fnl-2z-Ty3" secondAttribute="bottom" id="Tou-BW-QPi"/>
<constraint firstItem="gLT-4M-bfs" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="Ttz-JG-fBx"/>
<constraint firstItem="pVD-hG-0z5" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="UT0-cD-TUC"/>
<constraint firstAttribute="bottom" secondItem="Zku-OV-GRM" secondAttribute="bottom" id="VaG-f8-y6O"/>
<constraint firstItem="pVD-hG-0z5" firstAttribute="top" secondItem="gLT-4M-bfs" secondAttribute="bottom" id="Vd5-h0-cTT"/>
<constraint firstItem="Lvk-JQ-tFy" firstAttribute="top" secondItem="pVD-hG-0z5" secondAttribute="bottom" id="ejz-Bi-ldk"/>
<constraint firstItem="nZK-ad-fmq" firstAttribute="trailing" secondItem="fnl-2z-Ty3" secondAttribute="trailing" id="iuc-QU-pwV"/>
<constraint firstItem="Zku-OV-GRM" firstAttribute="trailing" secondItem="fnl-2z-Ty3" secondAttribute="trailing" id="mvM-Ub-tiQ"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="8qa-oS-xtb" secondAttribute="trailing" id="q6T-0u-AsH"/>
<constraint firstItem="Zku-OV-GRM" firstAttribute="top" secondItem="nZK-ad-fmq" secondAttribute="top" id="qVs-hx-vR2"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="pVD-hG-0z5" secondAttribute="trailing" id="sSM-vR-jJS"/>
<constraint firstItem="gLT-4M-bfs" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="zkb-lY-UXz"/>
</constraints>
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
<point key="canvasLocation" x="131.8840579710145" y="89.732142857142847"/>
</view>
</objects>
<resources>
<image name="fanhui" width="18" height="35"/>
<image name="xiala" width="9" height="4.5"/>
<namedColor name="app底色">
<color red="0.94509803921568625" green="0.94509803921568625" blue="0.94509803921568625" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="按钮渐变色上">
<color red="0.3880000114440918" green="0.62400001287460327" blue="0.90200001001358032" 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"/>
</namedColor>
<namedColor name="标题字颜色">
<color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="灰色分界线">
<color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" 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>
<namedColor name="白色背景色">
<color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>
//
// File.swift
// GeliBusinessPlatform
//
// Created by 刘俊宏 on 2020/7/25.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
class TestViewController: BaseViewController,UITableViewDelegate,
UITableViewDataSource,UIGestureRecognizerDelegate {
var tableView:UITableView?
var ctrlnames:[String] = ["UILabel 标签","UIButton 按钮","UIDatePiker 日期选择器",
"UITableView 表格视图","UIButton 按钮","UIDatePiker 日期选择器",
"UITableView 表格视图"]
override func viewDidLoad() {
super.viewDidLoad()
//创建表视图
self.tableView = UITableView(frame: self.view.frame,
style:.plain)
self.tableView!.delegate = self
self.tableView!.dataSource = self
//创建一个重用的单元格
self.tableView!.register(UINib(nibName: "ToFormChangeTableViewCell", bundle: nil), forCellReuseIdentifier: "ToFormChangeTableViewCell")
self.view.addSubview(self.tableView!)
self.tableView!.setEditing(true, animated:true)
self.tableView!.separatorStyle = .none
}
//在本例中,只有一个分区
func numberOfSections(in tableView: UITableView) -> Int {
return 1
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 49
}
//返回表格行数(也就是返回控件数)
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return self.ctrlnames.count
}
//创建各单元显示内容(创建参数indexPath指定的单元)
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath)
-> UITableViewCell {
//为了提供表格显示性能,已创建完成的单元需重复使用
let identify:String = "ToFormChangeTableViewCell"
//同一形式的单元格重复使用,在声明时已注册
let cell = tableView.dequeueReusableCell(withIdentifier: identify, for: indexPath)
as! ToFormChangeTableViewCell
cell.accessoryType = UITableViewCell.AccessoryType.disclosureIndicator
cell.titleLbl.text = self.ctrlnames[indexPath.row]
return cell
}
//单元格的编辑样式
func tableView(_ tableView: UITableView, editingStyleForRowAt indexPath: IndexPath)
-> UITableViewCell.EditingStyle {
return .none
}
//去除编辑模式下的头部缩进
func tableView(_ tableView: UITableView, shouldIndentWhileEditingRowAt
indexPath: IndexPath) -> Bool {
return false
}
//在编辑状态,可以拖动设置cell位置
func tableView(_ tableView: UITableView, canMoveRowAt indexPath: IndexPath) -> Bool {
return true
}
//移动cell事件
func tableView(_ tableView: UITableView, moveRowAt sourceIndexPath: IndexPath,
to destinationIndexPath: IndexPath) {
if sourceIndexPath != destinationIndexPath{
//获取移动行对应的值
let itemValue:String = ctrlnames[sourceIndexPath.row]
//删除移动的值
ctrlnames.remove(at: sourceIndexPath.row)
//如果移动区域大于现有行数,直接在最后添加移动的值
if destinationIndexPath.row > ctrlnames.count{
ctrlnames.append(itemValue)
}else{
//没有超过最大行数,则在目标位置添加刚才删除的值
ctrlnames.insert(itemValue, at:destinationIndexPath.row)
}
}
}
}
//
// ToFormChangeTableViewCell.swift
// GeliBusinessPlatform
//
// Created by 刘俊宏 on 2020/7/25.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
class ToFormChangeTableViewCell: UITableViewCell {
@IBOutlet weak var titleLbl: UILabel!
override func awakeFromNib() {
super.awakeFromNib()
self.selectionStyle = .none
}
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" 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" id="KGk-i7-Jjw" customClass="ToFormChangeTableViewCell" 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" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Lzh-Cs-4fl">
<rect key="frame" x="28" y="19.5" width="5" height="5"/>
<color key="backgroundColor" name="灰色字体颜色"/>
<constraints>
<constraint firstAttribute="width" constant="5" id="tOB-Kd-Wm8"/>
<constraint firstAttribute="height" constant="5" id="vtS-Wv-4rQ"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="2.5"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="荔湾区环市西路" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WWM-Pn-qYa">
<rect key="frame" x="51" y="12.5" width="259" height="19"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bcf-lc-orz">
<rect key="frame" x="15" y="0.0" width="405" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="bFe-gB-OhN"/>
</constraints>
</view>
</subviews>
<constraints>
<constraint firstItem="WWM-Pn-qYa" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="CpH-RR-r2S"/>
<constraint firstAttribute="trailing" secondItem="bcf-lc-orz" secondAttribute="trailing" constant="-100" id="Rd4-nY-oh8"/>
<constraint firstItem="bcf-lc-orz" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="b7F-Oq-PQ9"/>
<constraint firstAttribute="top" secondItem="bcf-lc-orz" secondAttribute="top" id="cIb-Hk-zRW"/>
<constraint firstAttribute="trailing" secondItem="WWM-Pn-qYa" secondAttribute="trailing" constant="10" id="hL2-3f-a07"/>
<constraint firstItem="Lzh-Cs-4fl" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="lOK-nX-AGS"/>
<constraint firstItem="WWM-Pn-qYa" firstAttribute="leading" secondItem="Lzh-Cs-4fl" secondAttribute="trailing" constant="18" id="nva-7y-wOR"/>
<constraint firstItem="Lzh-Cs-4fl" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="28" id="vvo-Lj-OSA"/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<connections>
<outlet property="titleLbl" destination="WWM-Pn-qYa" id="iYa-Zx-74c"/>
</connections>
<point key="canvasLocation" x="131.8840579710145" y="138.61607142857142"/>
</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.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" 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">
<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"/>
<view contentMode="scaleToFill" id="iN0-l3-epB">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2YO-rG-fQK" userLabel="blackView">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<color key="backgroundColor" name="提示视图背景色"/>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="T6j-Em-STw" userLabel="tishiView">
<rect key="frame" x="0.0" y="562" width="414" height="334"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="SMN-3i-vby" userLabel="Button1">
<rect key="frame" x="0.0" y="243" width="207" height="91"/>
<color key="backgroundColor" name="分界线颜色"/>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="取消" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3dJ-NN-9ty">
<rect key="frame" x="0.0" y="243" width="207" height="49"/>
<constraints>
<constraint firstAttribute="height" constant="49" id="p36-BL-s7S"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="17"/>
<color key="textColor" name="白色背景色"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="URA-MY-eW3" userLabel="Button2">
<rect key="frame" x="207" y="243" width="207" height="91"/>
<color key="backgroundColor" name="按钮渐变色下,字体颜色"/>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="确定" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZcS-Ue-j1a">
<rect key="frame" x="207" y="243" width="207" height="49"/>
<constraints>
<constraint firstAttribute="height" constant="49" id="YKu-lg-ZRQ"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="17"/>
<color key="textColor" name="白色背景色"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="ZcS-Ue-j1a" firstAttribute="leading" secondItem="SMN-3i-vby" secondAttribute="trailing" id="0P8-lE-rRu"/>
<constraint firstItem="3dJ-NN-9ty" firstAttribute="leading" secondItem="T6j-Em-STw" secondAttribute="leading" id="9Dc-Fh-fGS"/>
<constraint firstAttribute="centerX" secondItem="SMN-3i-vby" secondAttribute="trailing" id="Aed-A2-55l"/>
<constraint firstItem="URA-MY-eW3" firstAttribute="leading" secondItem="SMN-3i-vby" secondAttribute="trailing" id="ArI-0y-96V"/>
<constraint firstAttribute="trailing" secondItem="ZcS-Ue-j1a" secondAttribute="trailing" id="Dvk-fS-bhk"/>
<constraint firstAttribute="centerX" secondItem="3dJ-NN-9ty" secondAttribute="trailing" id="JP8-qG-ppa"/>
<constraint firstAttribute="height" constant="334" id="K4b-LB-BO2"/>
<constraint firstItem="SMN-3i-vby" firstAttribute="leading" secondItem="T6j-Em-STw" secondAttribute="leading" id="LdA-5e-KpG"/>
<constraint firstAttribute="trailing" secondItem="URA-MY-eW3" secondAttribute="trailing" id="dBw-Ll-DDm"/>
<constraint firstItem="SMN-3i-vby" firstAttribute="bottom" secondItem="T6j-Em-STw" secondAttribute="bottom" id="jNr-jb-K10"/>
<constraint firstItem="3dJ-NN-9ty" firstAttribute="top" secondItem="SMN-3i-vby" secondAttribute="top" id="nGt-7F-1at"/>
<constraint firstAttribute="bottomMargin" secondItem="3dJ-NN-9ty" secondAttribute="bottom" id="o57-5n-psE"/>
<constraint firstItem="ZcS-Ue-j1a" firstAttribute="top" secondItem="URA-MY-eW3" secondAttribute="top" id="yVW-k0-r7k"/>
<constraint firstItem="URA-MY-eW3" firstAttribute="top" secondItem="SMN-3i-vby" secondAttribute="top" id="yi6-1N-EP9"/>
<constraint firstAttribute="bottom" secondItem="URA-MY-eW3" secondAttribute="bottom" id="yt9-03-Q3S"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="10"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="2YO-rG-fQK" secondAttribute="trailing" id="7BW-Mk-PpH"/>
<constraint firstAttribute="bottom" secondItem="T6j-Em-STw" secondAttribute="bottom" id="BgZ-UB-mkl"/>
<constraint firstItem="T6j-Em-STw" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" id="hcb-Ja-oBo"/>
<constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="T6j-Em-STw" secondAttribute="trailing" id="j3F-EE-dmx"/>
<constraint firstItem="2YO-rG-fQK" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="n3L-Jb-m49"/>
<constraint firstAttribute="bottom" secondItem="2YO-rG-fQK" secondAttribute="bottom" id="rLN-0U-24z"/>
<constraint firstItem="2YO-rG-fQK" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="zkc-c8-ysI"/>
</constraints>
<viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
<point key="canvasLocation" x="132" y="139"/>
</view>
</objects>
<resources>
<namedColor name="分界线颜色">
<color red="0.65100002288818359" green="0.75700002908706665" blue="0.87800002098083496" 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"/>
</namedColor>
<namedColor name="提示视图背景色">
<color red="0.1803921568627451" green="0.1803921568627451" blue="0.1803921568627451" alpha="0.5" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="白色背景色">
<color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>
...@@ -16,7 +16,7 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab ...@@ -16,7 +16,7 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
navbar.title = "运单详情" navbar.title = "运单详情"
self.view.addSubview(navbar) self.view.addSubview(navbar)
SetTopFrameView(view: listView, btmView: self.view) SetTopFrameView(view: listView, btmView: self.view)
listView.register(UINib(nibName: "WayBillAddressItemCell", bundle: nil), forCellReuseIdentifier: "WayBillAddressItemCell") listView.register(UINib(nibName: "WayBillAddressCanDelItemCell", bundle: nil), forCellReuseIdentifier: "WayBillAddressCanDelItemCell")
listView.register(UINib(nibName: "DriverItemTableViewCell", bundle: nil), forCellReuseIdentifier: "DriverItemTableViewCell") listView.register(UINib(nibName: "DriverItemTableViewCell", bundle: nil), forCellReuseIdentifier: "DriverItemTableViewCell")
listView.register(UINib(nibName: "TitleAndTFCell", bundle: nil), forCellReuseIdentifier: "TitleAndTFCell") listView.register(UINib(nibName: "TitleAndTFCell", bundle: nil), forCellReuseIdentifier: "TitleAndTFCell")
listView.register(UINib(nibName: "WayBillStautsTableViewCell", bundle: nil), forCellReuseIdentifier: "WayBillStautsTableViewCell") listView.register(UINib(nibName: "WayBillStautsTableViewCell", bundle: nil), forCellReuseIdentifier: "WayBillStautsTableViewCell")
...@@ -96,7 +96,7 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab ...@@ -96,7 +96,7 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
return cell return cell
} }
let cell = tableView.dequeueReusableCell(withIdentifier: "WayBillAddressItemCell") as! WayBillAddressItemCell let cell = tableView.dequeueReusableCell(withIdentifier: "WayBillAddressCanDelItemCell") as! WayBillAddressCanDelItemCell
cell.iconW.constant = 22 cell.iconW.constant = 22
cell.iconH.constant = 22 cell.iconH.constant = 22
...@@ -104,7 +104,8 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab ...@@ -104,7 +104,8 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
cell.lineTopView.isHidden = false cell.lineTopView.isHidden = false
if indexPath.row == 0 { if indexPath.row == 0 {
cell.addressDetailLbl.text = "广东省广州市白云区嘉禾望岗白云大道交叉" cell.addressDetailLbl.text = ""
cell.namePhoneLbl.text = ""
cell.iconLbl.text = "发" cell.iconLbl.text = "发"
cell.iconLbl.backgroundColor = UIColor.init(named: "蓝色字体颜色") cell.iconLbl.backgroundColor = UIColor.init(named: "蓝色字体颜色")
......
//
// WayBillAddressItemCell.swift
// GeliBusinessPlatform
//
// Created by 刘俊宏 on 2020/7/24.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
class WayBillAddressCanDelItemCell: UITableViewCell {
@IBOutlet weak var lineTopView: UIView!
@IBOutlet weak var iconW: NSLayoutConstraint!
@IBOutlet weak var iconH: NSLayoutConstraint!
@IBOutlet weak var lineView: UIView!
@IBOutlet weak var namePhoneLbl: UILabel!
@IBOutlet weak var addressDetailLbl: UILabel!
@IBOutlet weak var addressLbl: UILabel!
@IBOutlet weak var iconLbl: UILabel!
override func awakeFromNib() {
super.awakeFromNib()
self.selectionStyle = .none
}
open override func layoutSubviews() {
super.layoutSubviews()
self.contentView.setNeedsLayout()
self.contentView.layoutIfNeeded()
drawLineOfDashByCAShapeLayer(lineView:lineView, lineLength: 4, lineSpacing: 4, lineColor: UIColor.init(named: "虚线分界线颜色")!, isHorizonal: false)
drawLineOfDashByCAShapeLayer(lineView:lineTopView, lineLength: 4, lineSpacing: 4, lineColor: UIColor.init(named: "虚线分界线颜色")!, isHorizonal: false)
}
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" 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="100" id="KGk-i7-Jjw" customClass="WayBillAddressCanDelItemCell" customModule="TestClass" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="358" 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="358" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="大岭中街17巷7号" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wxD-2W-Kct">
<rect key="frame" x="46" y="5" width="297" height="19"/>
<constraints>
<constraint firstAttribute="height" constant="19" id="xRT-Rm-QDF"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="skeletonLineSpacing">
<real key="value" value="0.0"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="收" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JJG-L3-lyj">
<rect key="frame" x="14" y="3.5" width="22" height="22"/>
<color key="backgroundColor" name="企业、预售字体"/>
<constraints>
<constraint firstAttribute="width" constant="22" id="Bp5-x3-dmY"/>
<constraint firstAttribute="height" constant="22" id="PTZ-fe-NB0"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<color key="textColor" name="白色背景色"/>
<nil key="highlightedColor"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="11"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="黄小丽 18378147992" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="d4F-L8-sHy">
<rect key="frame" x="46" y="74" width="297" height="16"/>
<constraints>
<constraint firstAttribute="height" constant="16" id="bGF-qJ-Zma"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
<color key="textColor" name="灰色字体颜色"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JfY-Q9-10Q">
<rect key="frame" x="46" y="29" width="232" height="42"/>
<attributedString key="attributedText">
<fragment content="广东省广州市白云区嘉禾望岗白云大道交叉路口东南侧(望岗村民委员会西侧约150米">
<attributes>
<color key="NSColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<font key="NSFont" size="11" name="PingFangSC-Regular"/>
<paragraphStyle key="NSParagraphStyle" alignment="left" lineBreakMode="wordWrapping" baseWritingDirection="natural" lineSpacing="3" tighteningFactorForTruncation="0.0"/>
</attributes>
</fragment>
</attributedString>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eV0-oM-vuy">
<rect key="frame" x="24.5" y="28.5" width="1" height="71.5"/>
<constraints>
<constraint firstAttribute="width" constant="1" id="7ia-Rw-VRr"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Zm0-Vi-78r">
<rect key="frame" x="24.5" y="0.0" width="1" height="1.5"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstAttribute="width" constant="1" id="kML-si-FgW"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gIq-zy-KC4">
<rect key="frame" x="303" y="29" width="40" height="20"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="b8d-ak-qvu"/>
<constraint firstAttribute="width" constant="40" id="lLc-Ql-JTh"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
<state key="normal" title="删除">
<color key="titleColor" name="灰色字体颜色"/>
</state>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="color" keyPath="borderColor">
<color key="value" name="灰色字体颜色"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
<real key="value" value="1"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="3"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</button>
</subviews>
<constraints>
<constraint firstAttribute="trailing" secondItem="wxD-2W-Kct" secondAttribute="trailing" constant="15" id="0az-l1-1Hw"/>
<constraint firstItem="JfY-Q9-10Q" firstAttribute="top" secondItem="wxD-2W-Kct" secondAttribute="bottom" constant="5" id="5He-uS-VEh"/>
<constraint firstItem="d4F-L8-sHy" firstAttribute="top" secondItem="JfY-Q9-10Q" secondAttribute="bottom" constant="3" id="Gfl-8h-fHP"/>
<constraint firstItem="eV0-oM-vuy" firstAttribute="top" secondItem="JJG-L3-lyj" secondAttribute="bottom" constant="3" id="Lqi-vd-qWB"/>
<constraint firstItem="JJG-L3-lyj" firstAttribute="centerY" secondItem="wxD-2W-Kct" secondAttribute="centerY" id="NoB-YO-Cpj"/>
<constraint firstItem="wxD-2W-Kct" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="5" id="PRU-ei-cCI"/>
<constraint firstAttribute="trailing" secondItem="gIq-zy-KC4" secondAttribute="trailing" constant="15" id="Ri9-3e-MXC"/>
<constraint firstItem="Zm0-Vi-78r" firstAttribute="centerX" secondItem="eV0-oM-vuy" secondAttribute="centerX" id="UCp-IU-g22"/>
<constraint firstItem="wxD-2W-Kct" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="46" id="VjN-9X-ks1"/>
<constraint firstItem="gIq-zy-KC4" firstAttribute="top" secondItem="JfY-Q9-10Q" secondAttribute="top" id="WFS-QX-fNC"/>
<constraint firstItem="eV0-oM-vuy" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="24.5" id="WMP-T4-bk7"/>
<constraint firstItem="JJG-L3-lyj" firstAttribute="top" secondItem="Zm0-Vi-78r" secondAttribute="bottom" constant="2" id="YGa-qO-R9y"/>
<constraint firstItem="Zm0-Vi-78r" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="ZMj-hd-wiR"/>
<constraint firstItem="JfY-Q9-10Q" firstAttribute="leading" secondItem="wxD-2W-Kct" secondAttribute="leading" id="d9o-tS-vGG"/>
<constraint firstAttribute="bottom" secondItem="d4F-L8-sHy" secondAttribute="bottom" constant="10" id="enF-EC-E99"/>
<constraint firstAttribute="trailing" secondItem="d4F-L8-sHy" secondAttribute="trailing" constant="15" id="fik-0a-bN6"/>
<constraint firstItem="d4F-L8-sHy" firstAttribute="leading" secondItem="wxD-2W-Kct" secondAttribute="leading" id="geB-F3-UYR"/>
<constraint firstAttribute="trailing" secondItem="JfY-Q9-10Q" secondAttribute="trailing" constant="80" id="rWE-FX-NSP"/>
<constraint firstItem="eV0-oM-vuy" firstAttribute="centerX" secondItem="JJG-L3-lyj" secondAttribute="centerX" id="wRy-Qd-9t3"/>
<constraint firstItem="Zm0-Vi-78r" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="24.5" id="ygX-wP-k9T"/>
<constraint firstAttribute="bottom" secondItem="eV0-oM-vuy" secondAttribute="bottom" id="zZh-DB-pte"/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<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="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"/>
<outlet property="lineTopView" destination="Zm0-Vi-78r" id="8jr-df-3Cj"/>
<outlet property="lineView" destination="eV0-oM-vuy" id="6LP-YK-WUE"/>
<outlet property="namePhoneLbl" destination="d4F-L8-sHy" id="4lt-Va-UDs"/>
</connections>
<point key="canvasLocation" x="194.20289855072465" y="120.53571428571428"/>
</tableViewCell>
</objects>
<resources>
<namedColor name="企业、预售字体">
<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"/>
</namedColor>
<namedColor name="灰色字体颜色">
<color red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="白色背景色">
<color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>
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