Commit e3c17213 authored by lujunye's avatar lujunye

搜索界面

parent 43b8edb2
......@@ -13,7 +13,7 @@ import AMapFoundationKit
import MAMapKit
import AMapSearchKit
import IQKeyboardManagerSwift
class ToAndFormSelectViewController: BaseViewController, MAMapViewDelegate, CLLocationManagerDelegate, AMapSearchDelegate {
class ToAndFormSelectViewController: BaseViewController, MAMapViewDelegate, CLLocationManagerDelegate, AMapSearchDelegate, UISearchBarDelegate, SearchBarViewDelegate {
@IBOutlet weak var navBgView: UIView!
@IBOutlet weak var citySelectBtn: UIButton!
......@@ -34,14 +34,40 @@ class ToAndFormSelectViewController: BaseViewController, MAMapViewDelegate, CLLo
var lng:CLLocationDegrees = 0
var manger:CLLocationManager = CLLocationManager()
func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
manger.stopUpdatingLocation()
let location = locations.last
lat = location?.coordinate.latitude as! CLLocationDegrees
lng = location?.coordinate.longitude as! CLLocationDegrees
initMapView(lat: lat, lng: lng)
initSearch()
@IBOutlet weak var lineX: NSLayoutConstraint!
@IBOutlet weak var closeBtn: UIButton!
@IBAction func closeAction(_ sender: Any) {
closeBtn.isHidden = true
listViewBG.isHidden = true
IQKeyboardManager.shared.resignFirstResponder()
}
@IBOutlet weak var rightBtn: UIButton!
@IBOutlet weak var leftBtn: UIButton!
@IBAction func listViewRefresh(_ sender: UIButton) {
if sender == leftBtn {
leftBtn.isSelected = true
rightBtn.isSelected = false
lineX.constant = 0
}else{
leftBtn.isSelected = false
rightBtn.isSelected = true
lineX.constant = fullScreenWidth * 0.5
}
}
@IBOutlet weak var listViewBG: UIView!
@IBAction func backToUserLocation(_ sender: Any) {
}
override func viewDidLayoutSubviews() {
super.viewDidLayoutSubviews()
listViewBG.layer.cornerRadius = 5
listViewBG.layer.maskedCorners = [CACornerMask.layerMinXMinYCorner,CACornerMask.layerMaxXMinYCorner]
}
override func viewDidLoad() {
super.viewDidLoad()
......@@ -56,12 +82,25 @@ class ToAndFormSelectViewController: BaseViewController, MAMapViewDelegate, CLLo
}
searchBr.placeholderStr = "从哪儿发货"
searchBr.cornerRadius = 35/2.0
searchBr.delegate = self
searchBr.delegateL = self
AMapServices.shared().apiKey = "ca417b43e3d031db9c29382cc09a174a"
manger.delegate = self
manger.startUpdatingLocation()
}
func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
manger.stopUpdatingLocation()
let location = locations.last
lat = location?.coordinate.latitude as! CLLocationDegrees
lng = location?.coordinate.longitude as! CLLocationDegrees
initMapView(lat: lat, lng: lng)
initSearch()
}
func initMapView(lat:CLLocationDegrees,lng:CLLocationDegrees) {
AMapServices.shared().enableHTTPS = true
......@@ -98,6 +137,7 @@ class ToAndFormSelectViewController: BaseViewController, MAMapViewDelegate, CLLo
var introView:UIView?
var titleLbl:UILabel?
var contentLbl:UILabel?
var adrArr:Array<AMapPOI> = []
func onPOISearchDone(_ request: AMapPOISearchBaseRequest!, response: AMapPOISearchResponse!) {
......@@ -105,6 +145,12 @@ class ToAndFormSelectViewController: BaseViewController, MAMapViewDelegate, CLLo
return
}
//解析response获取POI信息,具体解析见 Demo
adrArr.removeAll()
response.pois.forEach { (poi) in
adrArr.append(poi)
}
print(adrArr.count)
if introView == nil {
introView = UIView()
......@@ -125,11 +171,21 @@ class ToAndFormSelectViewController: BaseViewController, MAMapViewDelegate, CLLo
introView?.addSubview(contentLbl!)
}
titleLbl!.text = response.pois.first?.name
contentLbl!.text = "\(String(describing: response.pois.first!.province!))\(String(describing: response.pois.first!.city!))\(String(describing: response.pois.first!.district!))\( String(describing: response.pois.first!.address!))"
//通过富文本来设置行间距
let paraph = NSMutableParagraphStyle()
//将行间距设置为28
paraph.lineSpacing = 3
let str = "\(String(describing: response.pois.first!.province!))\(String(describing: response.pois.first!.city!))\(String(describing: response.pois.first!.district!))\( String(describing: response.pois.first!.address!))"
let attributes = [NSAttributedString.Key.font:UIFont.systemFont(ofSize: 11),
NSAttributedString.Key.paragraphStyle: paraph]
contentLbl!.attributedText = NSAttributedString(string: str, attributes: attributes)
let t = getStrHeight(str: titleLbl!.text!, fontSize: 13)
let c = getStrHeight(str: contentLbl!.text!, fontSize: 11)
let c = getStrHeight(str: str, fontSize: 11)
let h = t+c
titleLbl?.snp_updateConstraints({ (make) in
......@@ -138,9 +194,9 @@ class ToAndFormSelectViewController: BaseViewController, MAMapViewDelegate, CLLo
make.right.equalTo(-10)
make.height.equalTo(t)
})
contentLbl?.snp_updateConstraints({ (make) in
make.top.equalTo(titleLbl!.snp.bottom).offset(5)
make.top.equalTo(titleLbl!.snp_bottom).offset(5)
make.left.equalTo(10)
make.right.equalTo(-10)
make.height.equalTo(c)
......@@ -174,7 +230,7 @@ class ToAndFormSelectViewController: BaseViewController, MAMapViewDelegate, CLLo
})
}
func getStrHeight(str:String,fontSize:CGFloat) -> CGFloat{
let lbl = UILabel()
lbl.text = str
......@@ -246,5 +302,28 @@ class ToAndFormSelectViewController: BaseViewController, MAMapViewDelegate, CLLo
let bdlat = z * sin(theta) + 0.006
return (bdlat,bdlon)
}
func clearSearchAction() {
print("清楚搜索文字")
}
func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
print("点击搜索进行--")
searchBar.resignFirstResponder()
let request = AMapPOIKeywordsSearchRequest()
request.keywords = searchBar.text
request.requireExtension = true
request.cityLimit = true
request.requireSubPOIs = true
search.aMapPOIKeywordsSearch(request)
}
func searchBarShouldBeginEditing(_ searchBar: UISearchBar) -> Bool {
print("调起搜索后添加个蒙版本")
closeBtn.isHidden = false
listViewBG.isHidden = false
return true
}
}
......@@ -14,9 +14,14 @@
<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="closeBtn" destination="T9o-ZR-uVl" id="2u4-UJ-aT3"/>
<outlet property="leftBtn" destination="NcV-XI-uHx" id="gai-yD-umg"/>
<outlet property="lineX" destination="7nr-rY-uEd" id="wyv-M1-EBv"/>
<outlet property="listViewBG" destination="c1E-9c-vVT" id="Y5F-1R-Zyq"/>
<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="rightBtn" destination="pS2-lL-cUp" id="HGP-qi-64L"/>
<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"/>
......@@ -204,15 +209,158 @@
<rect key="frame" x="0.0" y="89" width="414" height="586"/>
<color key="backgroundColor" name="app底色"/>
</view>
<button hidden="YES" opaque="NO" alpha="0.40000000000000002" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="T9o-ZR-uVl">
<rect key="frame" x="0.0" y="89" width="414" height="807"/>
<color key="backgroundColor" name="标题字颜色"/>
<color key="tintColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<state key="normal">
<color key="titleColor" name="标题字颜色"/>
</state>
<connections>
<action selector="closeAction:" destination="-1" eventType="touchUpInside" id="cdl-SB-iZa"/>
</connections>
</button>
<view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="c1E-9c-vVT">
<rect key="frame" x="0.0" y="148" width="414" height="748"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" selected="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="NcV-XI-uHx">
<rect key="frame" x="0.0" y="0.0" width="206.5" height="51.5"/>
<constraints>
<constraint firstAttribute="height" constant="51.5" id="WFr-ur-o45"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="tintColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<state key="normal" title="历史地址">
<color key="titleColor" name="多选按钮字体颜色"/>
</state>
<state key="selected" title="历史地址">
<color key="titleColor" name="蓝色字体颜色"/>
</state>
<connections>
<action selector="listViewRefresh:" destination="-1" eventType="touchUpInside" id="6ao-NZ-zbY"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pS2-lL-cUp">
<rect key="frame" x="207.5" y="0.0" width="206.5" height="51.5"/>
<constraints>
<constraint firstAttribute="height" constant="51.5" id="2Oq-8V-SXe"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="tintColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<state key="normal" title="常用地址">
<color key="titleColor" name="多选按钮字体颜色"/>
</state>
<state key="selected" title="常用地址">
<color key="titleColor" name="蓝色字体颜色"/>
</state>
<connections>
<action selector="listViewRefresh:" destination="-1" eventType="touchUpInside" id="8BA-uO-hre"/>
</connections>
</button>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="H2r-af-vS6">
<rect key="frame" x="206.5" y="7.5" width="1" height="36.5"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="width" constant="1" id="YCA-he-MkA"/>
<constraint firstAttribute="height" constant="36.5" id="oDp-nT-sHR"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="0Ha-lY-Z5m">
<rect key="frame" x="0.0" y="51.5" width="414" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="maU-7x-2yQ"/>
</constraints>
</view>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="dzdingwei" translatesAutoresizingMaskIntoConstraints="NO" id="DCc-3H-FXA">
<rect key="frame" x="15" y="70.5" width="12" height="14.5"/>
<constraints>
<constraint firstAttribute="height" constant="14.5" id="ZPT-GW-Kf2"/>
<constraint firstAttribute="width" constant="12" id="txZ-TM-srT"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="定位当前地址" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="whf-6g-CGo">
<rect key="frame" x="37" y="70" width="80" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qwS-jQ-IIf">
<rect key="frame" x="15" y="101.5" width="399" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="bZ3-HO-AFP"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7b1-Dd-JY1">
<rect key="frame" x="0.0" y="52.5" width="414" height="49"/>
<connections>
<action selector="backToUserLocation:" destination="-1" eventType="touchUpInside" id="fzl-eo-JNZ"/>
</connections>
</button>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="FkD-95-sVW">
<rect key="frame" x="0.0" y="101.5" width="414" height="646.5"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
</tableView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="maR-I9-Ohr">
<rect key="frame" x="0.0" y="50" width="206.5" height="2.5"/>
<color key="backgroundColor" name="蓝色字体颜色"/>
<constraints>
<constraint firstAttribute="height" constant="2.5" id="wkY-iJ-uxN"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="1.25"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="pS2-lL-cUp" firstAttribute="top" secondItem="c1E-9c-vVT" secondAttribute="top" id="5BL-o1-Fxg"/>
<constraint firstItem="FkD-95-sVW" firstAttribute="leading" secondItem="c1E-9c-vVT" secondAttribute="leading" id="5BV-xv-6A3"/>
<constraint firstItem="FkD-95-sVW" firstAttribute="top" secondItem="7b1-Dd-JY1" secondAttribute="bottom" id="6vs-qH-hJx"/>
<constraint firstItem="maR-I9-Ohr" firstAttribute="width" secondItem="NcV-XI-uHx" secondAttribute="width" id="7Hj-T9-Ub1"/>
<constraint firstItem="H2r-af-vS6" firstAttribute="centerX" secondItem="c1E-9c-vVT" secondAttribute="centerX" id="7f6-Bo-LWG"/>
<constraint firstItem="maR-I9-Ohr" firstAttribute="leading" secondItem="c1E-9c-vVT" secondAttribute="leading" id="7nr-rY-uEd"/>
<constraint firstItem="qwS-jQ-IIf" firstAttribute="top" secondItem="7b1-Dd-JY1" secondAttribute="bottom" id="EZn-ty-rFI"/>
<constraint firstItem="DCc-3H-FXA" firstAttribute="top" secondItem="0Ha-lY-Z5m" secondAttribute="bottom" constant="18" id="J19-GU-2qe"/>
<constraint firstAttribute="trailing" secondItem="qwS-jQ-IIf" secondAttribute="trailing" id="JRb-Nt-Cku"/>
<constraint firstItem="DCc-3H-FXA" firstAttribute="leading" secondItem="c1E-9c-vVT" secondAttribute="leading" constant="15" id="MCw-hb-LLg"/>
<constraint firstAttribute="trailing" secondItem="pS2-lL-cUp" secondAttribute="trailing" id="NYN-7W-6xL"/>
<constraint firstItem="H2r-af-vS6" firstAttribute="leading" secondItem="NcV-XI-uHx" secondAttribute="trailing" id="NsZ-He-8yM"/>
<constraint firstItem="NcV-XI-uHx" firstAttribute="leading" secondItem="c1E-9c-vVT" secondAttribute="leading" id="OJc-Wu-Iyt"/>
<constraint firstItem="qwS-jQ-IIf" firstAttribute="leading" secondItem="c1E-9c-vVT" secondAttribute="leading" constant="15" id="Pmh-ZZ-L8z"/>
<constraint firstItem="whf-6g-CGo" firstAttribute="centerY" secondItem="DCc-3H-FXA" secondAttribute="centerY" id="Xfv-A8-A4u"/>
<constraint firstItem="7b1-Dd-JY1" firstAttribute="leading" secondItem="c1E-9c-vVT" secondAttribute="leading" id="Zy6-7W-IKm"/>
<constraint firstItem="whf-6g-CGo" firstAttribute="leading" secondItem="DCc-3H-FXA" secondAttribute="trailing" constant="10" id="c07-MW-tgw"/>
<constraint firstAttribute="trailing" secondItem="0Ha-lY-Z5m" secondAttribute="trailing" id="c9z-Tw-2yO"/>
<constraint firstItem="pS2-lL-cUp" firstAttribute="leading" secondItem="H2r-af-vS6" secondAttribute="trailing" id="cVB-PT-Uwt"/>
<constraint firstAttribute="trailing" secondItem="FkD-95-sVW" secondAttribute="trailing" id="eFd-Tv-CIv"/>
<constraint firstItem="7b1-Dd-JY1" firstAttribute="top" secondItem="maR-I9-Ohr" secondAttribute="bottom" id="eVi-CT-HfP"/>
<constraint firstItem="0Ha-lY-Z5m" firstAttribute="top" secondItem="NcV-XI-uHx" secondAttribute="bottom" id="kiJ-5L-OXQ"/>
<constraint firstItem="qwS-jQ-IIf" firstAttribute="top" secondItem="0Ha-lY-Z5m" secondAttribute="bottom" constant="49" id="lOX-5M-Ru5"/>
<constraint firstItem="0Ha-lY-Z5m" firstAttribute="leading" secondItem="c1E-9c-vVT" secondAttribute="leading" id="lqg-ah-mQ6"/>
<constraint firstItem="NcV-XI-uHx" firstAttribute="top" secondItem="c1E-9c-vVT" secondAttribute="top" id="rRB-EU-3nc"/>
<constraint firstItem="7b1-Dd-JY1" firstAttribute="top" secondItem="0Ha-lY-Z5m" secondAttribute="bottom" id="wMf-gc-4TG"/>
<constraint firstAttribute="bottom" secondItem="FkD-95-sVW" secondAttribute="bottom" id="wmq-WJ-9rk"/>
<constraint firstItem="H2r-af-vS6" firstAttribute="top" secondItem="c1E-9c-vVT" secondAttribute="top" constant="7.5" id="zaZ-mU-GOc"/>
<constraint firstAttribute="trailing" secondItem="7b1-Dd-JY1" secondAttribute="trailing" id="zc6-2p-wci"/>
</constraints>
</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="c1E-9c-vVT" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="5Ki-Vd-Nuy"/>
<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="c1E-9c-vVT" firstAttribute="top" secondItem="gLT-4M-bfs" secondAttribute="bottom" constant="59" id="DQw-Nh-K5J"/>
<constraint firstItem="nZK-ad-fmq" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="Ggc-ZC-QWk"/>
<constraint firstAttribute="bottom" secondItem="c1E-9c-vVT" secondAttribute="bottom" id="H3k-Hg-OXB"/>
<constraint firstItem="gLT-4M-bfs" firstAttribute="top" secondItem="8qa-oS-xtb" secondAttribute="bottom" id="Hif-hO-bnV"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="c1E-9c-vVT" secondAttribute="trailing" id="Nj9-cB-qty"/>
<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"/>
......@@ -221,12 +369,16 @@
<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="T9o-ZR-uVl" firstAttribute="top" secondItem="gLT-4M-bfs" secondAttribute="bottom" id="Wns-PV-IIw"/>
<constraint firstAttribute="bottom" secondItem="T9o-ZR-uVl" secondAttribute="bottom" id="a1s-yZ-63g"/>
<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="T9o-ZR-uVl" firstAttribute="trailing" secondItem="fnl-2z-Ty3" secondAttribute="trailing" id="mB6-q1-Im9"/>
<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="T9o-ZR-uVl" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="sUG-bR-zWb"/>
<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"/>
......@@ -234,11 +386,15 @@
</view>
</objects>
<resources>
<image name="dzdingwei" width="14" height="17"/>
<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.41176470588235292" green="0.41176470588235292" blue="0.41176470588235292" 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>
......@@ -257,5 +413,8 @@
<namedColor name="白色背景色">
<color red="1" green="1" blue="1" 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>
</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