Commit 664c91ea authored by lujunye's avatar lujunye

物流费用显示

parent 91b39340
...@@ -155,6 +155,7 @@ class registerDataModel: Mappable { ...@@ -155,6 +155,7 @@ class registerDataModel: Mappable {
var kjxy_jd:String? var kjxy_jd:String?
var xy_data : Array<registerXYDataDataModel>? var xy_data : Array<registerXYDataDataModel>?
var jd_data : Array<registerJDDataDataModel>?
var kjxy_xy:String? var kjxy_xy:String?
var price_xy : Float? var price_xy : Float?
...@@ -169,6 +170,7 @@ class registerDataModel: Mappable { ...@@ -169,6 +170,7 @@ class registerDataModel: Mappable {
price_jd <- map["price_jd"] price_jd <- map["price_jd"]
price_sf <- map["price_sf"] price_sf <- map["price_sf"]
jd_data <- map["jd_data"]
sf_data <- map["sf_data"] sf_data <- map["sf_data"]
kjxy_sf <- map["kjxy_sf"] kjxy_sf <- map["kjxy_sf"]
kjxy_jd <- map["kjxy_jd"] kjxy_jd <- map["kjxy_jd"]
...@@ -178,6 +180,17 @@ class registerDataModel: Mappable { ...@@ -178,6 +180,17 @@ class registerDataModel: Mappable {
price_xy <- map["price_xy"] price_xy <- map["price_xy"]
} }
} }
class registerJDDataDataModel: Mappable {
var cn:String?
var number : String?
required init?( map: Map) {
}
func mapping(map: Map) {
cn <- map["cn"]
number <- map["number"]
}
}
class registerSfDataDataModel: Mappable { class registerSfDataDataModel: Mappable {
var cn:String? var cn:String?
var number : String? var number : String?
......
<?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="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" 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>
<deployment identifier="iOS"/> <deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
<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"/>
......
<?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="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" 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>
<deployment identifier="iOS"/> <deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
<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="System colors in document resources" minToolsVersion="11.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"/>
</dependencies> </dependencies>
<objects> <objects>
...@@ -134,7 +135,7 @@ ...@@ -134,7 +135,7 @@
<color key="textColor" name="灰色字体颜色"/> <color key="textColor" name="灰色字体颜色"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gc6-oj-wSU"> <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gc6-oj-wSU">
<rect key="frame" x="250" y="212" width="80" height="30"/> <rect key="frame" x="250" y="212" width="80" height="30"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="30" id="Kss-y0-K0x"/> <constraint firstAttribute="height" constant="30" id="Kss-y0-K0x"/>
...@@ -161,7 +162,7 @@ ...@@ -161,7 +162,7 @@
</connections> </connections>
</button> </button>
</subviews> </subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> <color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints> <constraints>
<constraint firstItem="Tvb-s6-5wR" firstAttribute="top" secondItem="aOy-Ef-DsK" secondAttribute="bottom" constant="5" id="0yL-uI-2Cg"/> <constraint firstItem="Tvb-s6-5wR" firstAttribute="top" secondItem="aOy-Ef-DsK" secondAttribute="bottom" constant="5" id="0yL-uI-2Cg"/>
<constraint firstAttribute="trailing" secondItem="yJh-1b-Ri8" secondAttribute="trailing" id="1wh-dY-0cB"/> <constraint firstAttribute="trailing" secondItem="yJh-1b-Ri8" secondAttribute="trailing" id="1wh-dY-0cB"/>
...@@ -238,14 +239,14 @@ ...@@ -238,14 +239,14 @@
<namedColor name="标题字颜色"> <namedColor name="标题字颜色">
<color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" 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="标题字颜色">
<color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="灰色字体颜色"> <namedColor name="灰色字体颜色">
<color red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" 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.27843137254901962" green="0.5607843137254902" blue="0.8901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor> </namedColor>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources> </resources>
</document> </document>
...@@ -16,6 +16,92 @@ protocol LogisticalSelectViewDelegate { ...@@ -16,6 +16,92 @@ protocol LogisticalSelectViewDelegate {
} }
class LogisticalSelectView: UIView { class LogisticalSelectView: UIView {
var data:registerDataModel?{
didSet{
if data != nil {
var jd_temp:Array<String> = []
var sf_temp:Array<String> = []
var xy_temp:Array<String> = []
data?.jd_data?.forEach({ (item) in
if item.number != "0" && item.number != "0.00"{
jd_temp.append(item.cn! + ":¥" + item.number!)
}
})
data?.xy_data?.forEach({ (item) in
if item.number != 0 {
xy_temp.append(item.cn! + ":¥\(item.number!)")
}
})
data?.sf_data?.forEach({ (item) in
if item.number != "0" && item.number != "0.00"{
sf_temp.append(item.cn! + ":¥" + item.number!)
}
})
let num = (jd_temp.count) + (xy_temp.count) + (sf_temp.count)
selectBgHeight.constant = CGFloat(340 + num * 19)
if (jd_temp.count) > 0 {
for i in 0 ..< jd_temp.count {
let lbl = UILabel()
lbl.text = jd_temp[i]
lbl.textColor = UIColor.init(named: "提示语字体颜色")
lbl.font = UIFont.systemFont(ofSize: 11)
selectBgView.addSubview(lbl)
lbl.snp.makeConstraints { (make) in
make.left.equalTo(jdAgreeLbl)
make.top.equalTo(jdAgreeLbl.snp_bottom).offset((5 + 15) * i + 5)
}
}
sfTop.constant = CGFloat((data?.jd_data!.count)! * 19)
jdlineBottom.constant = CGFloat(-((data?.jd_data!.count)! * 19))
}else{
sfTop.constant = CGFloat(0)
jdlineBottom.constant = CGFloat(0)
}
if sf_temp.count > 0 {
for i in 0..<sf_temp.count {
let lbl = UILabel()
lbl.text = sf_temp[i]
lbl.textColor = UIColor.init(named: "提示语字体颜色")
lbl.font = UIFont.systemFont(ofSize: 11)
selectBgView.addSubview(lbl)
lbl.snp.makeConstraints { (make) in
make.left.equalTo(sfAgreeLbl)
make.top.equalTo(sfAgreeLbl.snp_bottom).offset((5 + 15) * i + 5)
}
SFtempArr.append(lbl)
}
xyTop.constant = CGFloat(SFfuTitleArr.count * 19)
sflineBottom.constant = CGFloat(-(SFfuTitleArr.count * 19))
}else{
xyTop.constant = CGFloat(0)
sflineBottom.constant = CGFloat(0)
}
if xy_temp.count > 0 {
for i in 0..<xy_temp.count {
let lbl = UILabel()
lbl.text = xy_temp[i]
lbl.textColor = UIColor.init(named: "提示语字体颜色")
lbl.font = UIFont.systemFont(ofSize: 11)
selectBgView.addSubview(lbl)
lbl.snp.makeConstraints { (make) in
make.left.equalTo(xyAgreeLbl)
make.top.equalTo(xyAgreeLbl.snp_bottom).offset((5 + 15) * i + 5)
}
}
}
}
}
}
var delegate:LogisticalSelectViewDelegate? var delegate:LogisticalSelectViewDelegate?
@IBOutlet weak var jdBgViewH: NSLayoutConstraint! @IBOutlet weak var jdBgViewH: NSLayoutConstraint!
@IBOutlet weak var jdSelectBtn: UIButton! @IBOutlet weak var jdSelectBtn: UIButton!
......
...@@ -363,7 +363,7 @@ ...@@ -363,7 +363,7 @@
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GjP-qm-Koz"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GjP-qm-Koz">
<rect key="frame" x="114" y="12" width="285" height="37"/> <rect key="frame" x="114" y="12" width="285" height="37"/>
<subviews> <subviews>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="最多输入十个汉字喔。" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="hlo-EC-mgW"> <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="无" placeholder="最多输入十个汉字喔。" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="hlo-EC-mgW">
<rect key="frame" x="5" y="0.0" width="275" height="37"/> <rect key="frame" x="5" y="0.0" width="275" height="37"/>
<color key="textColor" name="灰色字体颜色"/> <color key="textColor" name="灰色字体颜色"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/> <fontDescription key="fontDescription" type="system" pointSize="13"/>
......
...@@ -671,7 +671,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie ...@@ -671,7 +671,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
let alertView = LogisticalSelectView(frame: self.view.window!.bounds) let alertView = LogisticalSelectView(frame: self.view.window!.bounds)
alertView.delegate = self alertView.delegate = self
if logPayPriceModel?.total_freight_jd != nil && logPayPriceModel?.total_freight_jd != 0 { if logPayPriceModel?.total_freight_jd != nil && logPayPriceModel?.total_freight_jd != 0 {
alertView.jdPriceLbl.text = "京东冷运(预估运费\(logPayPriceModel?.total_freight_jd)元)" alertView.jdPriceLbl.text = "京东冷运(预估运费\(logPayPriceModel?.total_freight_jd!)元)"
}else{ }else{
alertView.jdPriceLbl.text = "京东冷运(待上门评估)" alertView.jdPriceLbl.text = "京东冷运(待上门评估)"
} }
...@@ -686,7 +686,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie ...@@ -686,7 +686,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
// alertView.setXingYuan() // alertView.setXingYuan()
alertView.xyPriceLbl.text = "鑫源物流(待上门评估)" alertView.xyPriceLbl.text = "鑫源物流(待上门评估)"
} }
alertView.data = logPayPriceModel
self.view.window?.addSubview(alertView) self.view.window?.addSubview(alertView)
// alertView.setJD() // alertView.setJD()
weak_alertView = alertView weak_alertView = alertView
...@@ -694,30 +694,35 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie ...@@ -694,30 +694,35 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
} }
func LogisticalSelectViewBtnclick(idx:Int){ func LogisticalSelectViewBtnclick(idx:Int){
weak_alertView?.SFfuTitleArr = [] // weak_alertView?.SFfuTitleArr = []
weak_alertView?.XYfuTitleArr = [] // weak_alertView?.XYfuTitleArr = []
weak_alertView?.JDfuTitleArr = [] // weak_alertView?.JDfuTitleArr = []
if idx == 1{ // if idx == 1{
var futitleArr:Array<String> = [] // var futitleArr:Array<String> = []
logPayPriceModel?.sf_data?.forEach({ (model) in // logPayPriceModel?.sf_data?.forEach({ (model) in
let str = model.cn! + ":¥" + (model.number)! // let str = model.cn! + ":¥" + (model.number)!
futitleArr.append(str) // if model.number != "0" || model.number != nil {
}) // futitleArr.append(str)
weak_alertView?.SFfuTitleArr = futitleArr // }
}else if idx == 3{ // futitleArr.append(str)
var futitleArr:Array<String> = [] // })
logPayPriceModel?.xy_data?.forEach({ (model) in // weak_alertView?.SFfuTitleArr = futitleArr
let str = model.cn! + ":¥" + String(format: "%.2f", (model.number)!) // }else if idx == 3{
futitleArr.append(str) // var futitleArr:Array<String> = []
}) // logPayPriceModel?.xy_data?.forEach({ (model) in
// let str = model.cn! + ":¥" + String(format: "%.2f", (model.number)!)
weak_alertView?.XYfuTitleArr = futitleArr // if model.number != 0 || model.number != nil {
}else if idx == 0{ // futitleArr.append(str)
let str = "运费:¥\(logPayPriceModel!.price_jd!)" // }
let str1 = "揽收费:¥\(logPayPriceModel!.collect_fees!)" // })
let str2 = "派送费:¥\(logPayPriceModel!.delivery_fee!)" //
weak_alertView?.JDfuTitleArr = [str,str1,str2] // weak_alertView?.XYfuTitleArr = futitleArr
} // }else if idx == 0{
// let str = "运费:¥\(logPayPriceModel!.price_jd!)"
// let str1 = "揽收费:¥\(logPayPriceModel!.collect_fees!)"
// let str2 = "派送费:¥\(logPayPriceModel!.delivery_fee!)"
// weak_alertView?.JDfuTitleArr = [str,str1,str2]
// }
} }
override func viewWillAppear(_ animated: Bool) { override func viewWillAppear(_ animated: Bool) {
......
<?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="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" 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>
<deployment identifier="iOS"/> <deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
<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="System colors in document resources" minToolsVersion="11.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"/>
</dependencies> </dependencies>
<objects> <objects>
...@@ -35,7 +36,7 @@ ...@@ -35,7 +36,7 @@
<subviews> <subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Nmg-ZG-lPl" customClass="LGButton" customModule="LGButton"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Nmg-ZG-lPl" customClass="LGButton" customModule="LGButton">
<rect key="frame" x="0.0" y="813" width="414" height="49"/> <rect key="frame" x="0.0" y="813" width="414" height="49"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> <color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="49" id="TAL-W6-ECR"/> <constraint firstAttribute="height" constant="49" id="TAL-W6-ECR"/>
</constraints> </constraints>
...@@ -59,7 +60,7 @@ ...@@ -59,7 +60,7 @@
</view> </view>
<view userInteractionEnabled="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hCs-iB-ws2" customClass="LGButton" customModule="LGButton"> <view userInteractionEnabled="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hCs-iB-ws2" customClass="LGButton" customModule="LGButton">
<rect key="frame" x="0.0" y="862" width="414" height="60"/> <rect key="frame" x="0.0" y="862" width="414" height="60"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> <color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="60" id="1te-OJ-w3a"/> <constraint firstAttribute="height" constant="60" id="1te-OJ-w3a"/>
</constraints> </constraints>
...@@ -148,7 +149,7 @@ ...@@ -148,7 +149,7 @@
</userDefinedRuntimeAttributes> </userDefinedRuntimeAttributes>
</view> </view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="一" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Fzo-B3-gMd"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="一" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Fzo-B3-gMd">
<rect key="frame" x="385" y="106" width="14" height="21"/> <rect key="frame" x="386" y="106" width="13" height="21"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="21" id="C9s-un-cGd"/> <constraint firstAttribute="height" constant="21" id="C9s-un-cGd"/>
</constraints> </constraints>
...@@ -157,7 +158,7 @@ ...@@ -157,7 +158,7 @@
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="保费:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FxE-Ch-Fg9"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="保费:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FxE-Ch-Fg9">
<rect key="frame" x="345" y="108.5" width="40" height="16"/> <rect key="frame" x="346" y="108.5" width="40" height="16"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="16" id="cbd-o5-Pa6"/> <constraint firstAttribute="height" constant="16" id="cbd-o5-Pa6"/>
<constraint firstAttribute="width" constant="40" id="gRD-Ca-Wxm"/> <constraint firstAttribute="width" constant="40" id="gRD-Ca-Wxm"/>
...@@ -167,7 +168,7 @@ ...@@ -167,7 +168,7 @@
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
</subviews> </subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> <color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints> <constraints>
<constraint firstAttribute="trailing" secondItem="DEr-ZI-WlP" secondAttribute="trailing" constant="15" id="Bbr-9N-XZx"/> <constraint firstAttribute="trailing" secondItem="DEr-ZI-WlP" secondAttribute="trailing" constant="15" id="Bbr-9N-XZx"/>
<constraint firstItem="DEr-ZI-WlP" firstAttribute="leading" secondItem="4K2-Df-tz6" secondAttribute="trailing" id="FH9-qE-Eqk"/> <constraint firstItem="DEr-ZI-WlP" firstAttribute="leading" secondItem="4K2-Df-tz6" secondAttribute="trailing" id="FH9-qE-Eqk"/>
...@@ -185,7 +186,7 @@ ...@@ -185,7 +186,7 @@
</constraints> </constraints>
</view> </view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="02i-nE-RIf"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="02i-nE-RIf">
<rect key="frame" x="0.0" y="289.5" width="414" height="153.5"/> <rect key="frame" x="0.0" y="194.5" width="414" height="153.5"/>
<subviews> <subviews>
<view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KXe-pB-M4x"> <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KXe-pB-M4x">
<rect key="frame" x="0.0" y="0.0" width="414" height="0.0"/> <rect key="frame" x="0.0" y="0.0" width="414" height="0.0"/>
...@@ -200,7 +201,7 @@ ...@@ -200,7 +201,7 @@
<color key="textColor" name="标题字颜色"/> <color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<button opaque="NO" tag="2" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="59P-Nt-KTc"> <button opaque="NO" tag="2" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="59P-Nt-KTc">
<rect key="frame" x="335" y="-11.5" width="64" height="23.5"/> <rect key="frame" x="335" y="-11.5" width="64" height="23.5"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="23.5" id="76E-9N-Ruw"/> <constraint firstAttribute="height" constant="23.5" id="76E-9N-Ruw"/>
...@@ -229,7 +230,7 @@ ...@@ -229,7 +230,7 @@
<action selector="selectAction:" destination="-1" eventType="touchUpInside" id="UGc-Fk-IkB"/> <action selector="selectAction:" destination="-1" eventType="touchUpInside" id="UGc-Fk-IkB"/>
</connections> </connections>
</button> </button>
<button opaque="NO" tag="1" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="iJJ-Tn-rGC"> <button opaque="NO" tag="1" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="iJJ-Tn-rGC">
<rect key="frame" x="256" y="-11.5" width="64" height="23.5"/> <rect key="frame" x="256" y="-11.5" width="64" height="23.5"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="64" id="KAX-5m-7VU"/> <constraint firstAttribute="width" constant="64" id="KAX-5m-7VU"/>
...@@ -258,7 +259,7 @@ ...@@ -258,7 +259,7 @@
<action selector="selectAction:" destination="-1" eventType="touchUpInside" id="5hB-3v-Aug"/> <action selector="selectAction:" destination="-1" eventType="touchUpInside" id="5hB-3v-Aug"/>
</connections> </connections>
</button> </button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="28k-xF-svg"> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="28k-xF-svg">
<rect key="frame" x="188" y="-11.5" width="53" height="23.5"/> <rect key="frame" x="188" y="-11.5" width="53" height="23.5"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="23.5" id="7kg-ub-1bf"/> <constraint firstAttribute="height" constant="23.5" id="7kg-ub-1bf"/>
...@@ -385,7 +386,7 @@ ...@@ -385,7 +386,7 @@
</view> </view>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="39t-yU-vBX"> <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="39t-yU-vBX">
<rect key="frame" x="0.0" y="0.0" width="414" height="0.0"/> <rect key="frame" x="0.0" y="0.0" width="414" height="0.0"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> <color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints> <constraints>
<constraint firstAttribute="height" id="e6F-WT-FWA"/> <constraint firstAttribute="height" id="e6F-WT-FWA"/>
</constraints> </constraints>
...@@ -395,7 +396,7 @@ ...@@ -395,7 +396,7 @@
</connections> </connections>
</tableView> </tableView>
</subviews> </subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> <color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints> <constraints>
<constraint firstItem="KXe-pB-M4x" firstAttribute="leading" secondItem="02i-nE-RIf" secondAttribute="leading" id="Gvs-th-b2j"/> <constraint firstItem="KXe-pB-M4x" firstAttribute="leading" secondItem="02i-nE-RIf" secondAttribute="leading" id="Gvs-th-b2j"/>
<constraint firstAttribute="trailing" secondItem="KXe-pB-M4x" secondAttribute="trailing" id="HIw-us-qSf"/> <constraint firstAttribute="trailing" secondItem="KXe-pB-M4x" secondAttribute="trailing" id="HIw-us-qSf"/>
...@@ -410,8 +411,8 @@ ...@@ -410,8 +411,8 @@
<constraint firstAttribute="trailing" secondItem="39t-yU-vBX" secondAttribute="trailing" id="wA1-rr-gaX"/> <constraint firstAttribute="trailing" secondItem="39t-yU-vBX" secondAttribute="trailing" id="wA1-rr-gaX"/>
</constraints> </constraints>
</view> </view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iza-bg-yFV"> <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iza-bg-yFV">
<rect key="frame" x="0.0" y="188.5" width="414" height="96"/> <rect key="frame" x="0.0" y="188.5" width="414" height="1"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="额外服务" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0Px-Gb-NpV"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="额外服务" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0Px-Gb-NpV">
<rect key="frame" x="15" y="15" width="60" height="21"/> <rect key="frame" x="15" y="15" width="60" height="21"/>
...@@ -462,7 +463,7 @@ ...@@ -462,7 +463,7 @@
</connections> </connections>
</button> </button>
</subviews> </subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> <color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints> <constraints>
<constraint firstItem="dh6-v2-Ovm" firstAttribute="bottom" secondItem="0Px-Gb-NpV" secondAttribute="bottom" id="5na-5a-zBX"/> <constraint firstItem="dh6-v2-Ovm" firstAttribute="bottom" secondItem="0Px-Gb-NpV" secondAttribute="bottom" id="5na-5a-zBX"/>
<constraint firstItem="0Px-Gb-NpV" firstAttribute="top" secondItem="iza-bg-yFV" secondAttribute="top" constant="15" id="HtW-Rw-rQ2"/> <constraint firstItem="0Px-Gb-NpV" firstAttribute="top" secondItem="iza-bg-yFV" secondAttribute="top" constant="15" id="HtW-Rw-rQ2"/>
...@@ -470,12 +471,13 @@ ...@@ -470,12 +471,13 @@
<constraint firstItem="R9e-do-KxG" firstAttribute="centerX" secondItem="iza-bg-yFV" secondAttribute="centerX" constant="-62.5" id="L9n-fA-X0o"/> <constraint firstItem="R9e-do-KxG" firstAttribute="centerX" secondItem="iza-bg-yFV" secondAttribute="centerX" constant="-62.5" id="L9n-fA-X0o"/>
<constraint firstItem="6Vy-Ss-ncG" firstAttribute="centerX" secondItem="iza-bg-yFV" secondAttribute="centerX" constant="62.5" id="Nlo-re-yOA"/> <constraint firstItem="6Vy-Ss-ncG" firstAttribute="centerX" secondItem="iza-bg-yFV" secondAttribute="centerX" constant="62.5" id="Nlo-re-yOA"/>
<constraint firstItem="dh6-v2-Ovm" firstAttribute="leading" secondItem="0Px-Gb-NpV" secondAttribute="trailing" id="Wm6-PN-AG0"/> <constraint firstItem="dh6-v2-Ovm" firstAttribute="leading" secondItem="0Px-Gb-NpV" secondAttribute="trailing" id="Wm6-PN-AG0"/>
<constraint firstAttribute="height" constant="96" id="cxu-85-7z9"/> <constraint firstAttribute="height" constant="1" id="cxu-85-7z9"/>
<constraint firstItem="6Vy-Ss-ncG" firstAttribute="top" secondItem="dh6-v2-Ovm" secondAttribute="bottom" constant="15" id="dRg-2G-qFX"/> <constraint firstItem="6Vy-Ss-ncG" firstAttribute="top" secondItem="dh6-v2-Ovm" secondAttribute="bottom" constant="15" id="dRg-2G-qFX"/>
<constraint firstItem="R9e-do-KxG" firstAttribute="top" secondItem="dh6-v2-Ovm" secondAttribute="bottom" constant="15" id="olA-BO-L77"/> <constraint firstItem="R9e-do-KxG" firstAttribute="top" secondItem="dh6-v2-Ovm" secondAttribute="bottom" constant="15" id="olA-BO-L77"/>
</constraints> </constraints>
</view> </view>
</subviews> </subviews>
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
<color key="backgroundColor" name="app底色"/> <color key="backgroundColor" name="app底色"/>
<constraints> <constraints>
<constraint firstItem="hCs-iB-ws2" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="1ad-KT-hfI"/> <constraint firstItem="hCs-iB-ws2" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="1ad-KT-hfI"/>
...@@ -492,12 +494,19 @@ ...@@ -492,12 +494,19 @@
<constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="Nmg-ZG-lPl" secondAttribute="bottom" id="vH4-hE-X5q"/> <constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="Nmg-ZG-lPl" secondAttribute="bottom" id="vH4-hE-X5q"/>
<constraint firstItem="hCs-iB-ws2" firstAttribute="top" secondItem="Nmg-ZG-lPl" secondAttribute="bottom" id="vzB-Zj-U9o"/> <constraint firstItem="hCs-iB-ws2" firstAttribute="top" secondItem="Nmg-ZG-lPl" secondAttribute="bottom" id="vzB-Zj-U9o"/>
<constraint firstItem="WfN-QF-mFj" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="xw6-Sb-Jhl"/> <constraint firstItem="WfN-QF-mFj" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="xw6-Sb-Jhl"/>
<constraint firstItem="02i-nE-RIf" firstAttribute="top" secondItem="WfN-QF-mFj" secondAttribute="bottom" constant="106" id="yJz-yT-juZ"/> <constraint firstItem="02i-nE-RIf" firstAttribute="top" secondItem="iza-bg-yFV" secondAttribute="bottom" constant="5" id="yJz-yT-juZ"/>
</constraints> </constraints>
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
<point key="canvasLocation" x="131.8840579710145" y="121.875"/> <point key="canvasLocation" x="131.8840579710145" y="121.875"/>
</view> </view>
</objects> </objects>
<designables>
<designable name="Nmg-ZG-lPl">
<size key="intrinsicContentSize" width="10" height="10"/>
</designable>
<designable name="hCs-iB-ws2">
<size key="intrinsicContentSize" width="10" height="10"/>
</designable>
</designables>
<resources> <resources>
<image name="daixuan" width="19" height="19"/> <image name="daixuan" width="19" height="19"/>
<image name="yuxuan" width="19" height="19"/> <image name="yuxuan" width="19" height="19"/>
...@@ -516,9 +525,6 @@ ...@@ -516,9 +525,6 @@
<namedColor name="标题字颜色"> <namedColor name="标题字颜色">
<color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" 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="标题字颜色">
<color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</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>
...@@ -528,5 +534,8 @@ ...@@ -528,5 +534,8 @@
<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>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</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