Commit 6bd1d21b authored by 刘俊宏's avatar 刘俊宏

添加仓库管理listVC

parent 4006bfa8
...@@ -177,6 +177,8 @@ ...@@ -177,6 +177,8 @@
F950FDE624518B9500C40530 /* FSCalendarAppearance.m in Sources */ = {isa = PBXBuildFile; fileRef = F950FDD624518B9500C40530 /* FSCalendarAppearance.m */; }; F950FDE624518B9500C40530 /* FSCalendarAppearance.m in Sources */ = {isa = PBXBuildFile; fileRef = F950FDD624518B9500C40530 /* FSCalendarAppearance.m */; };
F950FDE824518CD800C40530 /* TimeSelectView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F950FDE724518CD800C40530 /* TimeSelectView.swift */; }; F950FDE824518CD800C40530 /* TimeSelectView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F950FDE724518CD800C40530 /* TimeSelectView.swift */; };
F950FDEA2451920200C40530 /* DIYCalendarCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F950FDE92451920200C40530 /* DIYCalendarCell.swift */; }; F950FDEA2451920200C40530 /* DIYCalendarCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F950FDE92451920200C40530 /* DIYCalendarCell.swift */; };
F95567A72453DA86009674AB /* WarehoseMangementListVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = F95567A52453DA86009674AB /* WarehoseMangementListVC.swift */; };
F95567A82453DA86009674AB /* WarehoseMangementListVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = F95567A62453DA86009674AB /* WarehoseMangementListVC.xib */; };
F95D9B5024484FAE0080D6E3 /* GeliAlertView.xib in Resources */ = {isa = PBXBuildFile; fileRef = F95D9B4F24484FAE0080D6E3 /* GeliAlertView.xib */; }; F95D9B5024484FAE0080D6E3 /* GeliAlertView.xib in Resources */ = {isa = PBXBuildFile; fileRef = F95D9B4F24484FAE0080D6E3 /* GeliAlertView.xib */; };
F95D9B522448530E0080D6E3 /* GeliAlertView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F95D9B512448530E0080D6E3 /* GeliAlertView.swift */; }; F95D9B522448530E0080D6E3 /* GeliAlertView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F95D9B512448530E0080D6E3 /* GeliAlertView.swift */; };
F95D9CA424493E840080D6E3 /* ShopInfoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F95D9CA224493E840080D6E3 /* ShopInfoViewController.swift */; }; F95D9CA424493E840080D6E3 /* ShopInfoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F95D9CA224493E840080D6E3 /* ShopInfoViewController.swift */; };
...@@ -417,6 +419,8 @@ ...@@ -417,6 +419,8 @@
F950FDD624518B9500C40530 /* FSCalendarAppearance.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FSCalendarAppearance.m; sourceTree = "<group>"; }; F950FDD624518B9500C40530 /* FSCalendarAppearance.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FSCalendarAppearance.m; sourceTree = "<group>"; };
F950FDE724518CD800C40530 /* TimeSelectView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TimeSelectView.swift; sourceTree = "<group>"; }; F950FDE724518CD800C40530 /* TimeSelectView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TimeSelectView.swift; sourceTree = "<group>"; };
F950FDE92451920200C40530 /* DIYCalendarCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DIYCalendarCell.swift; sourceTree = "<group>"; }; F950FDE92451920200C40530 /* DIYCalendarCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DIYCalendarCell.swift; sourceTree = "<group>"; };
F95567A52453DA86009674AB /* WarehoseMangementListVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WarehoseMangementListVC.swift; sourceTree = "<group>"; };
F95567A62453DA86009674AB /* WarehoseMangementListVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = WarehoseMangementListVC.xib; sourceTree = "<group>"; };
F95D9B4F24484FAE0080D6E3 /* GeliAlertView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = GeliAlertView.xib; sourceTree = "<group>"; }; F95D9B4F24484FAE0080D6E3 /* GeliAlertView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = GeliAlertView.xib; sourceTree = "<group>"; };
F95D9B512448530E0080D6E3 /* GeliAlertView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GeliAlertView.swift; sourceTree = "<group>"; }; F95D9B512448530E0080D6E3 /* GeliAlertView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GeliAlertView.swift; sourceTree = "<group>"; };
F95D9CA224493E840080D6E3 /* ShopInfoViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShopInfoViewController.swift; sourceTree = "<group>"; }; F95D9CA224493E840080D6E3 /* ShopInfoViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShopInfoViewController.swift; sourceTree = "<group>"; };
...@@ -923,6 +927,8 @@ ...@@ -923,6 +927,8 @@
children = ( children = (
F9023F60244999F500DD5A63 /* WarehoseMangementCell.swift */, F9023F60244999F500DD5A63 /* WarehoseMangementCell.swift */,
F9023F61244999F500DD5A63 /* WarehoseMangementCell.xib */, F9023F61244999F500DD5A63 /* WarehoseMangementCell.xib */,
F95567A52453DA86009674AB /* WarehoseMangementListVC.swift */,
F95567A62453DA86009674AB /* WarehoseMangementListVC.xib */,
); );
path = "仓库管理"; path = "仓库管理";
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -1278,6 +1284,7 @@ ...@@ -1278,6 +1284,7 @@
E0F97B092451620B001BD600 /* ProductDetailViewController.xib in Resources */, E0F97B092451620B001BD600 /* ProductDetailViewController.xib in Resources */,
E0F97B0D24516B1F001BD600 /* AddImgCell.xib in Resources */, E0F97B0D24516B1F001BD600 /* AddImgCell.xib in Resources */,
E0D197D6244860B1002B080C /* BlueToothCell.xib in Resources */, E0D197D6244860B1002B080C /* BlueToothCell.xib in Resources */,
F95567A82453DA86009674AB /* WarehoseMangementListVC.xib in Resources */,
E0C4F4BE244EF53D00CC7E2F /* BindStepTwoViewController.xib in Resources */, E0C4F4BE244EF53D00CC7E2F /* BindStepTwoViewController.xib in Resources */,
E0F97B1524517A31001BD600 /* CommendCell.xib in Resources */, E0F97B1524517A31001BD600 /* CommendCell.xib in Resources */,
E042F735245274F200CDFA12 /* YunDanLieBiaoCell.xib in Resources */, E042F735245274F200CDFA12 /* YunDanLieBiaoCell.xib in Resources */,
...@@ -1402,6 +1409,7 @@ ...@@ -1402,6 +1409,7 @@
E0F97B0C24516B1F001BD600 /* AddImgCell.swift in Sources */, E0F97B0C24516B1F001BD600 /* AddImgCell.swift in Sources */,
E09B03C32445BD9500211A51 /* NavViewController.swift in Sources */, E09B03C32445BD9500211A51 /* NavViewController.swift in Sources */,
E042F7382452766100CDFA12 /* AdressSelectCell.swift in Sources */, E042F7382452766100CDFA12 /* AdressSelectCell.swift in Sources */,
F95567A72453DA86009674AB /* WarehoseMangementListVC.swift in Sources */,
F933F6CF2452C68B00189561 /* PKHUDErrorView.swift in Sources */, F933F6CF2452C68B00189561 /* PKHUDErrorView.swift in Sources */,
F933F6C42452C68B00189561 /* PKHUD.swift in Sources */, F933F6C42452C68B00189561 /* PKHUD.swift in Sources */,
E0F97B102451728D001BD600 /* AddGuiGeCell.swift in Sources */, E0F97B102451728D001BD600 /* AddGuiGeCell.swift in Sources */,
......
...@@ -70,8 +70,8 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate, UITabBarControllerDeleg ...@@ -70,8 +70,8 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate, UITabBarControllerDeleg
let v1 = GoodsManageListVC() let v1 = GoodsManageListVC()
let v2 = GoodsManageListVC() let v2 = GoodsManageListVC()
let v3 = GoodsManageListVC() let v3 = GoodsManageListVC()
let v4 = LoginViewController() let v4 = WarehoseMangementListVC()
let v5 = DemoViewController() let v5 = PersonCenterViewController()
v1.tabBarItem = ESTabBarItem.init(ExampleBouncesContentView(), title: "订单管理", image: UIImage(named: "daixuan"), selectedImage: UIImage(named: "kuwei")) v1.tabBarItem = ESTabBarItem.init(ExampleBouncesContentView(), title: "订单管理", image: UIImage(named: "daixuan"), selectedImage: UIImage(named: "kuwei"))
v2.tabBarItem = ESTabBarItem.init(ExampleBouncesContentView(), title: "商品管理", image: UIImage(named: "daixuan"), selectedImage: UIImage(named: "kuwei")) v2.tabBarItem = ESTabBarItem.init(ExampleBouncesContentView(), title: "商品管理", image: UIImage(named: "daixuan"), selectedImage: UIImage(named: "kuwei"))
......
...@@ -14,7 +14,7 @@ class TitleContentCell: UITableViewCell { ...@@ -14,7 +14,7 @@ class TitleContentCell: UITableViewCell {
@IBOutlet weak var titleLbl: UILabel! @IBOutlet weak var titleLbl: UILabel!
override func awakeFromNib() { override func awakeFromNib() {
super.awakeFromNib() super.awakeFromNib()
// Initialization code self.selectionStyle = .none
} }
override func setSelected(_ selected: Bool, animated: Bool) { override func setSelected(_ selected: Bool, animated: Bool) {
......
...@@ -30,13 +30,13 @@ class SelectContentView: UIView, UITableViewDelegate, UITableViewDataSource { ...@@ -30,13 +30,13 @@ class SelectContentView: UIView, UITableViewDelegate, UITableViewDataSource {
didSet{ didSet{
if dataArr.count > 3 { if dataArr.count > 3 {
if dataArr.count > 6 { if dataArr.count > 6 {
tabContentHeight.constant = 50 * 5 + 5 tabContentHeight.constant = 50 * 5 * glscale + 5
}else{ }else{
tabContentHeight.constant = CGFloat(50 * dataArr.count + 5) tabContentHeight.constant = CGFloat((50 * Int(glscale)) * dataArr.count + 5)
} }
}else{ }else{
tabContentHeight.constant = 155 tabContentHeight.constant = 150 * glscale + 5
} }
tableV.reloadData() tableV.reloadData()
} }
...@@ -60,7 +60,6 @@ class SelectContentView: UIView, UITableViewDelegate, UITableViewDataSource { ...@@ -60,7 +60,6 @@ class SelectContentView: UIView, UITableViewDelegate, UITableViewDataSource {
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "TitleContentCell") as! TitleContentCell let cell = tableView.dequeueReusableCell(withIdentifier: "TitleContentCell") as! TitleContentCell
cell.selectionStyle = .none
let titleStr = dataArr[indexPath.row] let titleStr = dataArr[indexPath.row]
cell.contentLbl.text = "" cell.contentLbl.text = ""
cell.titleLbl.text = titleStr cell.titleLbl.text = titleStr
...@@ -83,7 +82,7 @@ class SelectContentView: UIView, UITableViewDelegate, UITableViewDataSource { ...@@ -83,7 +82,7 @@ class SelectContentView: UIView, UITableViewDelegate, UITableViewDataSource {
} }
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 50 return 50*glscale
} }
//初始化时将xib中的view添加进来 //初始化时将xib中的view添加进来
override init(frame: CGRect) { override init(frame: CGRect) {
......
<?xml version="1.0" encoding="UTF-8"?> <?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="16096" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/> <device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies> <dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16086"/>
<capability name="Named colors" minToolsVersion="9.0"/> <capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
...@@ -76,7 +76,11 @@ ...@@ -76,7 +76,11 @@
</subviews> </subviews>
<constraints> <constraints>
<constraint firstAttribute="bottom" secondItem="KhW-Le-FMh" secondAttribute="bottom" id="1ub-oa-aqP"/> <constraint firstAttribute="bottom" secondItem="KhW-Le-FMh" secondAttribute="bottom" id="1ub-oa-aqP"/>
<constraint firstItem="KhW-Le-FMh" firstAttribute="top" secondItem="voP-B3-BGZ" secondAttribute="bottom" constant="15" id="2mM-q5-eUk"/> <constraint firstItem="KhW-Le-FMh" firstAttribute="top" secondItem="voP-B3-BGZ" secondAttribute="bottom" constant="15" id="2mM-q5-eUk">
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="boolean" keyPath="isAdaptateScreen" value="YES"/>
</userDefinedRuntimeAttributes>
</constraint>
<constraint firstItem="S67-Hn-Sjn" firstAttribute="leading" secondItem="zy2-GT-oMd" secondAttribute="trailing" constant="10" id="CPY-Q8-xPH"> <constraint firstItem="S67-Hn-Sjn" firstAttribute="leading" secondItem="zy2-GT-oMd" secondAttribute="trailing" constant="10" id="CPY-Q8-xPH">
<userDefinedRuntimeAttributes> <userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="boolean" keyPath="isAdaptateScreen" value="YES"/> <userDefinedRuntimeAttribute type="boolean" keyPath="isAdaptateScreen" value="YES"/>
...@@ -102,8 +106,16 @@ ...@@ -102,8 +106,16 @@
<userDefinedRuntimeAttribute type="boolean" keyPath="isAdaptateScreen" value="YES"/> <userDefinedRuntimeAttribute type="boolean" keyPath="isAdaptateScreen" value="YES"/>
</userDefinedRuntimeAttributes> </userDefinedRuntimeAttributes>
</constraint> </constraint>
<constraint firstItem="voP-B3-BGZ" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="eip-ze-5GO"/> <constraint firstItem="voP-B3-BGZ" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="eip-ze-5GO">
<constraint firstItem="bj5-q9-e71" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="ft0-TZ-hKh"/> <userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="boolean" keyPath="isAdaptateScreen" value="YES"/>
</userDefinedRuntimeAttributes>
</constraint>
<constraint firstItem="bj5-q9-e71" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="ft0-TZ-hKh">
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="boolean" keyPath="isAdaptateScreen" value="YES"/>
</userDefinedRuntimeAttributes>
</constraint>
<constraint firstAttribute="trailing" secondItem="voP-B3-BGZ" secondAttribute="trailing" constant="30" id="gbP-D6-WcB"/> <constraint firstAttribute="trailing" secondItem="voP-B3-BGZ" secondAttribute="trailing" constant="30" id="gbP-D6-WcB"/>
<constraint firstItem="TPl-73-La4" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="lmY-7S-KxB"/> <constraint firstItem="TPl-73-La4" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="lmY-7S-KxB"/>
<constraint firstItem="KhW-Le-FMh" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="mM8-35-q0k"> <constraint firstItem="KhW-Le-FMh" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="mM8-35-q0k">
...@@ -114,25 +126,25 @@ ...@@ -114,25 +126,25 @@
</constraints> </constraints>
</tableViewCellContentView> </tableViewCellContentView>
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/> <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<point key="canvasLocation" x="131.8840579710145" y="127.90178571428571"/> <point key="canvasLocation" x="213" y="129"/>
</tableViewCell> </tableViewCell>
</objects> </objects>
<resources> <resources>
<image name="jinru" width="13" height="23"/> <image name="jinru" width="13" height="23"/>
<namedColor name="标题字颜色"> <namedColor name="标题字颜色">
<color red="0.1803921568627451" green="0.1803921568627451" blue="0.1803921568627451" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor> </namedColor>
<namedColor name="灰色分界线"> <namedColor name="灰色分界线">
<color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor> </namedColor>
<namedColor name="灰色字体颜色"> <namedColor name="灰色字体颜色">
<color red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color red="0.40000000596046448" green="0.40000000596046448" blue="0.40000000596046448" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor> </namedColor>
<namedColor name="白色背景色"> <namedColor name="白色背景色">
<color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor> </namedColor>
<namedColor name="蓝色字体颜色"> <namedColor name="蓝色字体颜色">
<color red="0.27843137254901962" green="0.5607843137254902" blue="0.8901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color red="0.27799999713897705" green="0.56099998950958252" blue="0.88999998569488525" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor> </namedColor>
</resources> </resources>
</document> </document>
//
// WarehoseMangementListVC.swift
// GeliBusinessPlatform
//
// Created by 刘俊宏 on 2020/4/25.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
import ViewAnimator
class WarehoseMangementListVC: BaseViewController, UISearchBarDelegate, UITableViewDelegate, UITableViewDataSource {
@IBOutlet weak var contentView: UIView!
@IBOutlet weak var searchView: UIView!
override func viewDidLoad() {
super.viewDidLoad()
self.view.backgroundColor = UIColor.white
//searchbar
let searchBr = SearchBarView.init()
self.searchView.addSubview(searchBr)
searchBr.snp.makeConstraints { (make) in
make.left.right.equalTo(0)
make.centerY.equalToSuperview()
make.height.equalTo(35)
}
searchBr.placeholderStr = "请输入仓库名称"
searchBr.cornerRadius = 35/2.0
searchBr.delegate = self
setTabv()
}
//MARK:--搜索按钮代理
func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
print("点击搜索进行--")
searchBar.resignFirstResponder()
}
@IBAction func addNewWarehose(_ sender: UIButton) {
print("点击新增--")
}
var tableV :UITableView!
private let animations = [AnimationType.from(direction: .bottom, offset: 150*glscale)]
func setTabv() {
tableV = UITableView()
contentView.addSubview(tableV);
tableV.snp.makeConstraints { (make) in
make.top.left.right.bottom.equalToSuperview()
}
tableV.delegate = self
tableV.dataSource = self
tableV.separatorStyle = .none
tableV?.register(UINib(nibName: "WarehoseMangementCell", bundle: nil), forCellReuseIdentifier: "WarehoseMangementCell")
tableV.performBatchUpdates({
UIView.animate(views: self.tableV!.visibleCells,
animations: self.animations, completion: {
})
}, completion: nil)
}
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return 10
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "WarehoseMangementCell") as! WarehoseMangementCell
return cell
}
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
print(indexPath)
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 94*glscale
}
}
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16096" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16086"/>
<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="WarehoseMangementListVC" customModule="GeliBusinessPlatform" customModuleProvider="target">
<connections>
<outlet property="contentView" destination="fng-dx-7gZ" id="2eI-9o-xiH"/>
<outlet property="searchView" destination="9uz-hT-q6i" id="XI6-mH-yBP"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9uz-hT-q6i">
<rect key="frame" x="0.0" y="0.0" width="320" height="45"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstAttribute="height" constant="45" id="ZBv-CM-JLF">
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="boolean" keyPath="isAdaptateScreen" value="YES"/>
</userDefinedRuntimeAttributes>
</constraint>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="lfJ-T6-x4o">
<rect key="frame" x="0.0" y="45" width="375" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="7ws-MS-KcF"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="fng-dx-7gZ">
<rect key="frame" x="0.0" y="46" width="375" height="621"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="IoW-Gs-1nk">
<rect key="frame" x="330" y="8" width="30" height="29"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<state key="normal" title="新增">
<color key="titleColor" name="蓝色字体颜色"/>
</state>
<connections>
<action selector="addNewWarehose:" destination="-1" eventType="touchUpInside" id="JLP-Yu-o2W"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="IoW-Gs-1nk" secondAttribute="trailing" constant="15" id="DtM-7e-yIf"/>
<constraint firstItem="lfJ-T6-x4o" firstAttribute="top" secondItem="9uz-hT-q6i" secondAttribute="bottom" id="E7j-5b-odp"/>
<constraint firstItem="fng-dx-7gZ" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="Kmb-EP-k8Q"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="lfJ-T6-x4o" secondAttribute="trailing" id="Ql9-tD-xcD"/>
<constraint firstItem="fng-dx-7gZ" firstAttribute="bottom" secondItem="fnl-2z-Ty3" secondAttribute="bottom" id="Qla-b6-j79"/>
<constraint firstAttribute="trailing" secondItem="9uz-hT-q6i" secondAttribute="trailing" constant="55" id="TLN-y8-x1q"/>
<constraint firstItem="9uz-hT-q6i" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="cTb-zk-cpL"/>
<constraint firstItem="fng-dx-7gZ" firstAttribute="trailing" secondItem="fnl-2z-Ty3" secondAttribute="trailing" id="ftA-wr-c9b"/>
<constraint firstItem="IoW-Gs-1nk" firstAttribute="centerY" secondItem="9uz-hT-q6i" secondAttribute="centerY" id="nWR-hj-Jco"/>
<constraint firstItem="lfJ-T6-x4o" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="wgP-pX-r1Y"/>
<constraint firstItem="fng-dx-7gZ" firstAttribute="top" secondItem="lfJ-T6-x4o" secondAttribute="bottom" id="wgZ-aZ-YC1"/>
<constraint firstItem="9uz-hT-q6i" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="y1S-EV-3Zn"/>
</constraints>
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
<point key="canvasLocation" x="132" y="135"/>
</view>
</objects>
<resources>
<namedColor name="灰色分界线">
<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"/>
</namedColor>
</resources>
</document>
<?xml version="1.0" encoding="UTF-8"?> <?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="16096" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait" appearance="light"/> <device id="retina4_7" orientation="portrait" appearance="light"/>
<dependencies> <dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16086"/>
<capability name="Named colors" minToolsVersion="9.0"/> <capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
<color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor> </namedColor>
<namedColor name="蓝色字体颜色"> <namedColor name="蓝色字体颜色">
<color red="0.27843137254901962" green="0.5607843137254902" blue="0.8901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color red="0.27799999713897705" green="0.56099998950958252" blue="0.88999998569488525" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor> </namedColor>
</resources> </resources>
</document> </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