Commit 875117e4 authored by 刘俊宏's avatar 刘俊宏

完成新更UI

parent cc23cad0
...@@ -582,6 +582,10 @@ ...@@ -582,6 +582,10 @@
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 */; };
F9B9FAC324DE3BA200ACDC8F /* LalamoveBillTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9B9FAC124DE3BA200ACDC8F /* LalamoveBillTableViewCell.swift */; };
F9B9FAC424DE3BA200ACDC8F /* LalamoveBillTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9B9FAC224DE3BA200ACDC8F /* LalamoveBillTableViewCell.xib */; };
F9B9FAC724DE409300ACDC8F /* UpBillDataTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9B9FAC524DE409300ACDC8F /* UpBillDataTableViewCell.swift */; };
F9B9FAC824DE409300ACDC8F /* UpBillDataTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9B9FAC624DE409300ACDC8F /* UpBillDataTableViewCell.xib */; };
F9D44E8324CBC50700FBD8DB /* WayBillAddressCanDelItemCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9D44E8124CBC50700FBD8DB /* WayBillAddressCanDelItemCell.swift */; }; F9D44E8324CBC50700FBD8DB /* WayBillAddressCanDelItemCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9D44E8124CBC50700FBD8DB /* WayBillAddressCanDelItemCell.swift */; };
F9D44E8424CBC50700FBD8DB /* WayBillAddressCanDelItemCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9D44E8224CBC50700FBD8DB /* WayBillAddressCanDelItemCell.xib */; }; F9D44E8424CBC50700FBD8DB /* WayBillAddressCanDelItemCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9D44E8224CBC50700FBD8DB /* WayBillAddressCanDelItemCell.xib */; };
F9D44E8824CBC6A400FBD8DB /* ToAndFormSelectViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9D44E8624CBC6A400FBD8DB /* ToAndFormSelectViewController.swift */; }; F9D44E8824CBC6A400FBD8DB /* ToAndFormSelectViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9D44E8624CBC6A400FBD8DB /* ToAndFormSelectViewController.swift */; };
...@@ -1259,6 +1263,10 @@ ...@@ -1259,6 +1263,10 @@
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>"; };
F9B9FAC124DE3BA200ACDC8F /* LalamoveBillTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LalamoveBillTableViewCell.swift; sourceTree = "<group>"; };
F9B9FAC224DE3BA200ACDC8F /* LalamoveBillTableViewCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = LalamoveBillTableViewCell.xib; sourceTree = "<group>"; };
F9B9FAC524DE409300ACDC8F /* UpBillDataTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UpBillDataTableViewCell.swift; sourceTree = "<group>"; };
F9B9FAC624DE409300ACDC8F /* UpBillDataTableViewCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = UpBillDataTableViewCell.xib; sourceTree = "<group>"; };
F9D44E8124CBC50700FBD8DB /* WayBillAddressCanDelItemCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WayBillAddressCanDelItemCell.swift; 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>"; }; 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>"; }; F9D44E8624CBC6A400FBD8DB /* ToAndFormSelectViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ToAndFormSelectViewController.swift; sourceTree = "<group>"; };
...@@ -2457,6 +2465,10 @@ ...@@ -2457,6 +2465,10 @@
E0706EF324B40BE800D8251C /* TitleAndTfYuanCell.xib */, E0706EF324B40BE800D8251C /* TitleAndTfYuanCell.xib */,
E074B69A24DD305500777003 /* TitleHeaderCell.swift */, E074B69A24DD305500777003 /* TitleHeaderCell.swift */,
E074B69B24DD305500777003 /* TitleHeaderCell.xib */, E074B69B24DD305500777003 /* TitleHeaderCell.xib */,
F9B9FAC124DE3BA200ACDC8F /* LalamoveBillTableViewCell.swift */,
F9B9FAC224DE3BA200ACDC8F /* LalamoveBillTableViewCell.xib */,
F9B9FAC524DE409300ACDC8F /* UpBillDataTableViewCell.swift */,
F9B9FAC624DE409300ACDC8F /* UpBillDataTableViewCell.xib */,
); );
path = Cell; path = Cell;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -3191,6 +3203,7 @@ ...@@ -3191,6 +3203,7 @@
F96A5856247BBFFF0070A057 /* AddGuiGeCell.xib in Resources */, F96A5856247BBFFF0070A057 /* AddGuiGeCell.xib in Resources */,
E0A2E82824555B4400D6DB34 /* KuCunShangPinCell.xib in Resources */, E0A2E82824555B4400D6DB34 /* KuCunShangPinCell.xib in Resources */,
E0239203249069FD00C4C632 /* CGDXQVc.xib in Resources */, E0239203249069FD00C4C632 /* CGDXQVc.xib in Resources */,
F9B9FAC824DE409300ACDC8F /* UpBillDataTableViewCell.xib in Resources */,
E042F73D245288F800CDFA12 /* WenDuCell.xib in Resources */, E042F73D245288F800CDFA12 /* WenDuCell.xib in Resources */,
E02DDD92244FE55400ABB707 /* NewCreateHeader.xib in Resources */, E02DDD92244FE55400ABB707 /* NewCreateHeader.xib in Resources */,
F9956B1C2463D941001A617D /* WorkSelectTimeView.xib in Resources */, F9956B1C2463D941001A617D /* WorkSelectTimeView.xib in Resources */,
...@@ -3306,6 +3319,7 @@ ...@@ -3306,6 +3319,7 @@
F96E48A424CA79D4000AB8D4 /* WayBillAddressItemCell.xib in Resources */, F96E48A424CA79D4000AB8D4 /* WayBillAddressItemCell.xib in Resources */,
F969BF08244EC38000C79953 /* GoodsCollectionViewCell.xib in Resources */, F969BF08244EC38000C79953 /* GoodsCollectionViewCell.xib in Resources */,
E0D4166524483058008DCAB4 /* ChangePassViewController.xib in Resources */, E0D4166524483058008DCAB4 /* ChangePassViewController.xib in Resources */,
F9B9FAC424DE3BA200ACDC8F /* LalamoveBillTableViewCell.xib in Resources */,
F95A9ED9245520E500867849 /* OrderListVC.xib in Resources */, F95A9ED9245520E500867849 /* OrderListVC.xib in Resources */,
E099B589246BF8FA009F587F /* OrderDViewController.xib in Resources */, E099B589246BF8FA009F587F /* OrderDViewController.xib in Resources */,
E0BE8A91245A9B9600E80134 /* YingFuZhangKuanCell.xib in Resources */, E0BE8A91245A9B9600E80134 /* YingFuZhangKuanCell.xib in Resources */,
...@@ -3435,6 +3449,7 @@ ...@@ -3435,6 +3449,7 @@
F950FDE624518B9500C40530 /* FSCalendarAppearance.m in Sources */, F950FDE624518B9500C40530 /* FSCalendarAppearance.m in Sources */,
F9531F392465108800724BEE /* JXPhotoBrowserPageIndicator.swift in Sources */, F9531F392465108800724BEE /* JXPhotoBrowserPageIndicator.swift in Sources */,
F9023F6D2449A9B100DD5A63 /* TitleAndTFCell.swift in Sources */, F9023F6D2449A9B100DD5A63 /* TitleAndTFCell.swift in Sources */,
F9B9FAC724DE409300ACDC8F /* UpBillDataTableViewCell.swift in Sources */,
E0CC8482248239F6009B1FE9 /* OutGoodsDetailModel.swift in Sources */, E0CC8482248239F6009B1FE9 /* OutGoodsDetailModel.swift in Sources */,
F933F6D22452DAE100189561 /* TabBarContentClassView.swift in Sources */, F933F6D22452DAE100189561 /* TabBarContentClassView.swift in Sources */,
F933F6C82452C68B00189561 /* PKHUDTextView.swift in Sources */, F933F6C82452C68B00189561 /* PKHUDTextView.swift in Sources */,
...@@ -3523,6 +3538,7 @@ ...@@ -3523,6 +3538,7 @@
E00E48C62457C99900F16545 /* KuCunShangPinXQViewController.swift in Sources */, E00E48C62457C99900F16545 /* KuCunShangPinXQViewController.swift in Sources */,
E02D586B2477A1480065A9EB /* GetAddrsInfoModel.swift in Sources */, E02D586B2477A1480065A9EB /* GetAddrsInfoModel.swift in Sources */,
F9531F3C2465108800724BEE /* JXPhotoBrowserSmoothZoomAnimator.swift in Sources */, F9531F3C2465108800724BEE /* JXPhotoBrowserSmoothZoomAnimator.swift in Sources */,
F9B9FAC324DE3BA200ACDC8F /* LalamoveBillTableViewCell.swift in Sources */,
F9531F402465108800724BEE /* JXPhotoBrowserZoomAnimator.swift in Sources */, F9531F402465108800724BEE /* JXPhotoBrowserZoomAnimator.swift in Sources */,
E0337EED2464EED000952EF4 /* PinPaiListViewController.swift in Sources */, E0337EED2464EED000952EF4 /* PinPaiListViewController.swift in Sources */,
E0BE8A9C245A9E5900E80134 /* YingFuZhangKuanXQCell.swift in Sources */, E0BE8A9C245A9E5900E80134 /* YingFuZhangKuanXQCell.swift in Sources */,
......
{
"images" : [
{
"filename" : "shangchuantupian.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "shangchuantupian@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "shangchuantupian@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
...@@ -27,10 +27,10 @@ let systemVersion = (UIDevice.current.systemVersion as String) ...@@ -27,10 +27,10 @@ let systemVersion = (UIDevice.current.systemVersion as String)
//接口地址 //接口地址
//test //test
//let SERVERCE_ImageHost = "https://z.gelifood.com/" let SERVERCE_ImageHost = "https://z.gelifood.com/"
//let SERVERCE_HOST = "https://z.gelifood.com/admin/" let SERVERCE_HOST = "https://z.gelifood.com/admin/"
let SERVERCE_ImageHost = "https://zx.gelifood.com/" //let SERVERCE_ImageHost = "https://zx.gelifood.com/"
let SERVERCE_HOST = "https://zx.gelifood.com/admin/" //let SERVERCE_HOST = "https://zx.gelifood.com/admin/"
////online ////online
//视图常量 //视图常量
......
//
// LalamoveBillTableViewCell.swift
// GeliBusinessPlatform
//
// Created by 刘俊宏 on 2020/8/8.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
class LalamoveBillTableViewCell: UITableViewCell {
@IBOutlet weak var imgV2: UIImageView!
@IBOutlet weak var imgV1: UIImageView!
@IBOutlet weak var nameLbl: 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" rowHeight="159" id="KGk-i7-Jjw" customClass="LalamoveBillTableViewCell" customModule="TestClass" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="345" height="159"/>
<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="345" height="159"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="查看票据" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sR8-2p-s0j">
<rect key="frame" x="15" y="15" width="52.5" height="18.5"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="7RH-D6-2bx">
<rect key="frame" x="15" y="43.5" width="117" height="75"/>
<color key="backgroundColor" name="app底色"/>
<constraints>
<constraint firstAttribute="width" constant="117" id="ZJG-4R-D6X"/>
<constraint firstAttribute="height" constant="75" id="pap-qw-4iT"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="3"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</imageView>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Peb-o2-hIW">
<rect key="frame" x="142" y="43.5" width="117" height="75"/>
<color key="backgroundColor" name="app底色"/>
<constraints>
<constraint firstAttribute="width" constant="117" id="AuI-9f-C9C"/>
<constraint firstAttribute="height" constant="75" id="lJ7-KJ-xxS"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="3"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</imageView>
</subviews>
<constraints>
<constraint firstItem="7RH-D6-2bx" firstAttribute="top" secondItem="sR8-2p-s0j" secondAttribute="bottom" constant="10" id="4RI-AH-9DT"/>
<constraint firstItem="sR8-2p-s0j" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="GuK-M7-Zhv"/>
<constraint firstItem="Peb-o2-hIW" firstAttribute="centerY" secondItem="7RH-D6-2bx" secondAttribute="centerY" id="RDe-Xm-sLP"/>
<constraint firstItem="7RH-D6-2bx" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="XOw-ad-VYm"/>
<constraint firstItem="Peb-o2-hIW" firstAttribute="leading" secondItem="7RH-D6-2bx" secondAttribute="trailing" constant="10" id="f6M-Wd-Sy1"/>
<constraint firstItem="sR8-2p-s0j" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="15" id="iGe-VU-VAf"/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<connections>
<outlet property="imgV1" destination="7RH-D6-2bx" id="lW6-jw-lJ9"/>
<outlet property="imgV2" destination="Peb-o2-hIW" id="lxb-dX-YXO"/>
<outlet property="nameLbl" destination="sR8-2p-s0j" id="kCf-rk-OCp"/>
</connections>
<point key="canvasLocation" x="257.24637681159425" y="140.29017857142856"/>
</tableViewCell>
</objects>
<resources>
<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.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>
//
// UpBillDataTableViewCell.swift
// GeliBusinessPlatform
//
// Created by 刘俊宏 on 2020/8/8.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
class UpBillDataTableViewCell: UITableViewCell {
@IBOutlet weak var selectSegmentV: UISegmentedControl!
@IBOutlet weak var updataBtn: UIButton!
@IBOutlet weak var upDataTLbl: UILabel!
@IBOutlet weak var inputInfoTF: UITextField!
@IBOutlet weak var inputInfoTfBgV: UIView!
@IBOutlet weak var billNumLbl: UILabel!
//查看发票信息
@IBAction func checkBillDetailAction(_ sender: UIButton) {
print("//查看发票信息")
}
//通知用户
@IBAction func noticUserAction(_ sender: UIButton) {
print("//通知用户")
}
//上传发票
@IBAction func updataAction(_ sender: UIButton) {
print("//上传发票")
}
override func awakeFromNib() {
super.awakeFromNib()
self.selectionStyle = .none
let redAttribute = [NSAttributedString.Key.foregroundColor: UIColor.white,NSAttributedString.Key.font: UIFont.systemFont(ofSize: 13)] as [NSAttributedString.Key : Any]
selectSegmentV.setTitleTextAttributes(redAttribute, for: .selected)
let redAttribute1 = [NSAttributedString.Key.foregroundColor: UIColor.init(named: "灰色字体颜色") as Any,NSAttributedString.Key.font: UIFont.systemFont(ofSize: 13)] as [NSAttributedString.Key : Any]
selectSegmentV.setTitleTextAttributes(redAttribute1, for: .normal)
}
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="379" id="KGk-i7-Jjw" customClass="UpBillDataTableViewCell" customModule="TestClass" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="460" height="379"/>
<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="460" height="379"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="发票信息" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vfq-yj-257">
<rect key="frame" x="15" y="15" width="60" height="21"/>
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="15"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="发票抬头" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FsF-Gg-3X1">
<rect key="frame" x="15" y="51" width="53" height="19"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vSW-dv-R01">
<rect key="frame" x="366" y="45" width="79" height="31"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<state key="normal" title="查看发票信息">
<color key="titleColor" name="蓝色字体颜色"/>
</state>
<connections>
<action selector="checkBillDetailAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="V5I-js-MTB"/>
</connections>
</button>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="IKR-cK-omw">
<rect key="frame" x="15" y="91" width="430" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="Fbh-Do-rqA"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="avQ-Ht-Kh2">
<rect key="frame" x="363" y="334" width="82" height="30"/>
<constraints>
<constraint firstAttribute="width" constant="82" id="O2g-tp-poT"/>
<constraint firstAttribute="height" constant="30" id="fuH-Or-tGk"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<state key="normal" title="通知用户">
<color key="titleColor" name="蓝色字体颜色"/>
</state>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
<real key="value" value="1"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="color" keyPath="borderColor">
<color key="value" name="蓝色字体颜色"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="3"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="noticUserAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="UBN-jd-zDu"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="z2Y-im-0sy">
<rect key="frame" x="15" y="274" width="90" height="90"/>
<constraints>
<constraint firstAttribute="height" constant="90" id="B41-Xv-kap"/>
<constraint firstAttribute="width" constant="90" id="dUQ-pQ-c9C"/>
</constraints>
<state key="normal" image="shangchuantupian"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="3"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="updataAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="ewY-Tc-38G"/>
</connections>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="上传发票" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2Km-B1-KpF">
<rect key="frame" x="15" y="245" width="53" 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="tm2-Rk-h7z">
<rect key="frame" x="15" y="334" width="338" height="30"/>
<subviews>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入或粘贴发票地址" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="wP4-ua-jqt">
<rect key="frame" x="15" y="0.0" width="318" height="30"/>
<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 firstAttribute="bottom" secondItem="wP4-ua-jqt" secondAttribute="bottom" id="6pS-Dx-vHc"/>
<constraint firstItem="wP4-ua-jqt" firstAttribute="top" secondItem="tm2-Rk-h7z" secondAttribute="top" id="BYc-DL-lkK"/>
<constraint firstItem="wP4-ua-jqt" firstAttribute="leading" secondItem="tm2-Rk-h7z" secondAttribute="leading" constant="15" id="DKJ-w6-PRP"/>
<constraint firstAttribute="trailing" secondItem="wP4-ua-jqt" secondAttribute="trailing" constant="5" id="Dr7-GM-vQ9"/>
<constraint firstAttribute="height" constant="30" id="xb3-8P-DqS"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
<real key="value" value="1"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="color" keyPath="borderColor">
<color key="value" name="#999999"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="3"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
<view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hd8-Af-qe0">
<rect key="frame" x="128" y="107" width="204" height="30"/>
<subviews>
<segmentedControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="top" segmentControlStyle="plain" selectedSegmentIndex="0" translatesAutoresizingMaskIntoConstraints="NO" id="eNf-Tz-SDG">
<rect key="frame" x="-3" y="-1" width="210" height="32"/>
<color key="backgroundColor" name="app底色"/>
<constraints>
<constraint firstAttribute="width" constant="210" id="p4w-9w-Hwf"/>
</constraints>
<segments>
<segment title="展示发票地址">
<size key="contentOffset" width="2" height="0.0"/>
</segment>
<segment title="展示发票图片">
<size key="contentOffset" width="-2" height="0.0"/>
</segment>
</segments>
<color key="selectedSegmentTintColor" name="蓝色字体颜色"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="0.0"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</segmentedControl>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstAttribute="width" constant="204" id="CUr-7W-2Nf"/>
<constraint firstAttribute="height" constant="30" id="Hqu-al-Cck"/>
<constraint firstItem="eNf-Tz-SDG" firstAttribute="centerY" secondItem="hd8-Af-qe0" secondAttribute="centerY" constant="-0.5" id="iU5-DO-qzn"/>
<constraint firstItem="eNf-Tz-SDG" firstAttribute="centerX" secondItem="hd8-Af-qe0" secondAttribute="centerX" id="sS6-OB-ehY"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="15"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<constraints>
<constraint firstAttribute="trailing" secondItem="avQ-Ht-Kh2" secondAttribute="trailing" constant="15" id="0hh-Wc-wBU"/>
<constraint firstItem="avQ-Ht-Kh2" firstAttribute="leading" secondItem="tm2-Rk-h7z" secondAttribute="trailing" constant="10" id="47N-gz-eZi"/>
<constraint firstAttribute="bottom" secondItem="z2Y-im-0sy" secondAttribute="bottom" constant="15" id="4Wm-bR-cRX"/>
<constraint firstItem="vSW-dv-R01" firstAttribute="centerY" secondItem="FsF-Gg-3X1" secondAttribute="centerY" id="6Gn-CY-eUz"/>
<constraint firstItem="2Km-B1-KpF" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="A1w-Y7-97z"/>
<constraint firstItem="z2Y-im-0sy" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="GgI-cR-pZh"/>
<constraint firstItem="vfq-yj-257" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="15" id="Hco-vd-1X8"/>
<constraint firstAttribute="bottom" secondItem="avQ-Ht-Kh2" secondAttribute="bottom" constant="15" id="NwP-jz-fJg"/>
<constraint firstAttribute="bottom" secondItem="tm2-Rk-h7z" secondAttribute="bottom" constant="15" id="SeF-0s-oUx"/>
<constraint firstItem="vfq-yj-257" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="VS2-wj-eHB"/>
<constraint firstItem="IKR-cK-omw" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="dnF-Ym-dUV"/>
<constraint firstAttribute="trailing" secondItem="IKR-cK-omw" secondAttribute="trailing" constant="15" id="gUS-DK-KwM"/>
<constraint firstItem="hd8-Af-qe0" firstAttribute="top" secondItem="IKR-cK-omw" secondAttribute="bottom" constant="15" id="j9X-OD-4mu"/>
<constraint firstItem="FsF-Gg-3X1" firstAttribute="top" secondItem="vfq-yj-257" secondAttribute="bottom" constant="15" id="kUn-NG-VhK"/>
<constraint firstItem="hd8-Af-qe0" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="m92-Sj-BWz"/>
<constraint firstItem="tm2-Rk-h7z" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="pEL-q1-Wuj"/>
<constraint firstItem="z2Y-im-0sy" firstAttribute="top" secondItem="2Km-B1-KpF" secondAttribute="bottom" constant="10" id="q1q-Pi-4s0"/>
<constraint firstItem="FsF-Gg-3X1" firstAttribute="left" secondItem="H2p-sc-9uM" secondAttribute="left" constant="15" id="slx-KR-zLf"/>
<constraint firstItem="IKR-cK-omw" firstAttribute="top" secondItem="vSW-dv-R01" secondAttribute="bottom" constant="15" id="tHi-7D-fhK"/>
<constraint firstAttribute="trailing" secondItem="vSW-dv-R01" secondAttribute="trailing" constant="15" id="wa0-G0-Y1O"/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<connections>
<outlet property="billNumLbl" destination="FsF-Gg-3X1" id="O3G-es-7mk"/>
<outlet property="inputInfoTF" destination="wP4-ua-jqt" id="azs-dT-Rn7"/>
<outlet property="inputInfoTfBgV" destination="tm2-Rk-h7z" id="2zF-6E-gzq"/>
<outlet property="selectSegmentV" destination="eNf-Tz-SDG" id="7r1-Up-CTz"/>
<outlet property="upDataTLbl" destination="2Km-B1-KpF" id="5OM-0R-6US"/>
<outlet property="updataBtn" destination="z2Y-im-0sy" id="In7-Bi-s6b"/>
</connections>
<point key="canvasLocation" x="233.33333333333334" y="232.70089285714283"/>
</tableViewCell>
</objects>
<resources>
<image name="shangchuantupian" width="90" height="90"/>
<namedColor name="#999999">
<color red="0.60000002384185791" green="0.60000002384185791" blue="0.60000002384185791" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<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.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="0.27843137254901962" green="0.5607843137254902" blue="0.8901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>
...@@ -20,9 +20,31 @@ class LogisticalSelectView: UIView { ...@@ -20,9 +20,31 @@ class LogisticalSelectView: UIView {
@IBAction func blackAction(_ sender: Any) { @IBAction func blackAction(_ sender: Any) {
self.removeFromSuperview() self.removeFromSuperview()
} }
@IBOutlet weak var selectBgView: UIView!
@IBOutlet weak var selectBgHeight: NSLayoutConstraint!
@IBOutlet weak var sfAgreeLbl: UILabel!
@IBOutlet weak var sfPriceLbl: UILabel! @IBOutlet weak var sfPriceLbl: UILabel!
@IBOutlet weak var jdPriceLbl: UILabel! @IBOutlet weak var jdPriceLbl: UILabel!
var fuTitleArr:Array<String> = [] {
didSet {
for i in 0..<fuTitleArr.count {
let lbl = UILabel()
lbl.text = fuTitleArr[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)
}
}
selectBgHeight.constant = CGFloat(265 + fuTitleArr.count * 19)
}
}
@IBAction func xiadanAction(_ sender: Any) { @IBAction func xiadanAction(_ sender: Any) {
if jdSelectBtn.isSelected || sfSelectBtn.isSelected { if jdSelectBtn.isSelected || sfSelectBtn.isSelected {
if jdSelectBtn.isSelected { if jdSelectBtn.isSelected {
...@@ -38,6 +60,13 @@ class LogisticalSelectView: UIView { ...@@ -38,6 +60,13 @@ class LogisticalSelectView: UIView {
} }
@IBAction func kuaijianAction(_ sender: UIButton) {
if sender.tag == 0 {
print("京东快件服务协议")
}else if sender.tag == 1 {
print("顺丰快件服务协议")
}
}
@IBAction func selectTheLogisticalAction(_ sender: UIButton) { @IBAction func selectTheLogisticalAction(_ sender: UIButton) {
if sender == jdSelectBtn { if sender == jdSelectBtn {
......
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
<connections> <connections>
<outlet property="jdPriceLbl" destination="NjJ-Ja-GKH" id="Gxb-tF-ubD"/> <outlet property="jdPriceLbl" destination="NjJ-Ja-GKH" id="Gxb-tF-ubD"/>
<outlet property="jdSelectBtn" destination="5iJ-FB-kNk" id="EZu-xj-5I9"/> <outlet property="jdSelectBtn" destination="5iJ-FB-kNk" id="EZu-xj-5I9"/>
<outlet property="selectBgHeight" destination="wtX-OJ-Tbg" id="hzS-Oo-oIC"/>
<outlet property="selectBgView" destination="Jkx-2x-8N8" id="YLN-t4-96A"/>
<outlet property="sfAgreeLbl" destination="Uzk-gy-02b" id="ZId-A8-k71"/>
<outlet property="sfPriceLbl" destination="wwr-FR-oJl" id="B1O-wO-mD7"/> <outlet property="sfPriceLbl" destination="wwr-FR-oJl" id="B1O-wO-mD7"/>
<outlet property="sfSelectBtn" destination="4U6-AL-8Yv" id="bsK-dU-3Nn"/> <outlet property="sfSelectBtn" destination="4U6-AL-8Yv" id="bsK-dU-3Nn"/>
</connections> </connections>
...@@ -32,7 +35,7 @@ ...@@ -32,7 +35,7 @@
</userDefinedRuntimeAttributes> </userDefinedRuntimeAttributes>
</view> </view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Jkx-2x-8N8"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Jkx-2x-8N8">
<rect key="frame" x="50" y="330.5" width="314" height="235"/> <rect key="frame" x="50" y="315.5" width="314" height="265"/>
<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="vJM-Qj-NrI"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="请选择下单物流" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vJM-Qj-NrI">
<rect key="frame" x="104.5" y="15" width="105" height="21"/> <rect key="frame" x="104.5" y="15" width="105" height="21"/>
...@@ -48,24 +51,23 @@ ...@@ -48,24 +51,23 @@
</constraints> </constraints>
</view> </view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="0lW-V0-f3m"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="0lW-V0-f3m">
<rect key="frame" x="15" y="100" width="299" height="1"/> <rect key="frame" x="15" y="119" width="299" height="1"/>
<color key="backgroundColor" name="灰色分界线"/> <color key="backgroundColor" name="灰色分界线"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="1" id="fB0-Ez-quY"/> <constraint firstAttribute="height" constant="1" id="fB0-Ez-quY"/>
</constraints> </constraints>
</view> </view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ehz-QO-9SI"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ehz-QO-9SI">
<rect key="frame" x="0.0" y="186" width="314" height="1"/> <rect key="frame" x="0.0" y="214" width="314" height="1"/>
<color key="backgroundColor" name="灰色分界线"/> <color key="backgroundColor" name="灰色分界线"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="1" id="J9N-FF-47K"/> <constraint firstAttribute="height" constant="1" id="J9N-FF-47K"/>
</constraints> </constraints>
</view> </view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5iJ-FB-kNk"> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5iJ-FB-kNk">
<rect key="frame" x="15" y="64" width="19" height="23"/> <rect key="frame" x="15" y="64" width="19" height="42"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="19" id="W0t-mC-bTt"/> <constraint firstAttribute="height" constant="42" id="wJ2-9i-wMi"/>
<constraint firstAttribute="height" constant="23" id="Wto-hy-jcT"/>
</constraints> </constraints>
<state key="normal" image="daixuan"/> <state key="normal" image="daixuan"/>
<userDefinedRuntimeAttributes> <userDefinedRuntimeAttributes>
...@@ -79,16 +81,15 @@ ...@@ -79,16 +81,15 @@
</connections> </connections>
</button> </button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="京东冷运(预估运费-元)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NjJ-Ja-GKH"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="京东冷运(预估运费-元)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NjJ-Ja-GKH">
<rect key="frame" x="49" y="66" width="151" height="19"/> <rect key="frame" x="49" y="66" width="151" height="18.5"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/> <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<color key="textColor" name="标题字颜色"/> <color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<button opaque="NO" contentMode="scaleToFill" selected="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="4U6-AL-8Yv"> <button opaque="NO" contentMode="scaleToFill" selected="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="4U6-AL-8Yv">
<rect key="frame" x="15" y="116" width="19" height="22"/> <rect key="frame" x="15" y="133" width="19" height="42"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="19" id="kZ8-0N-OMD"/> <constraint firstAttribute="height" constant="42" id="8Wn-Ip-mbK"/>
<constraint firstAttribute="height" constant="22" id="tC1-sV-bms"/>
</constraints> </constraints>
<state key="normal" image="yuxuan"/> <state key="normal" image="yuxuan"/>
<userDefinedRuntimeAttributes> <userDefinedRuntimeAttributes>
...@@ -101,27 +102,27 @@ ...@@ -101,27 +102,27 @@
<action selector="selectTheLogisticalAction:" destination="-1" eventType="touchUpInside" id="DGM-27-2p5"/> <action selector="selectTheLogisticalAction:" destination="-1" eventType="touchUpInside" id="DGM-27-2p5"/>
</connections> </connections>
</button> </button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="顺丰冷运(预估运费5865元)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wwr-FR-oJl"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="顺丰冷运(预估运费-元)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wwr-FR-oJl">
<rect key="frame" x="49" y="116" width="175" height="19"/> <rect key="frame" x="49" y="135" width="151" height="19"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/> <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<color key="textColor" name="标题字颜色"/> <color key="textColor" name="标题字颜色"/>
<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="HHt-YQ-28E"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="注:以上费用以实际揽收为准" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HHt-YQ-28E">
<rect key="frame" x="15" y="160.5" width="284" height="15.5"/> <rect key="frame" x="15" y="188.5" width="284" height="15.5"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/> <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
<color key="textColor" name="#F57575"/> <color key="textColor" name="#F57575"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rVk-uJ-IxU"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rVk-uJ-IxU">
<rect key="frame" x="156.5" y="192" width="1" height="38"/> <rect key="frame" x="156.5" y="220" width="1" height="40"/>
<color key="backgroundColor" name="灰色分界线"/> <color key="backgroundColor" name="灰色分界线"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="1" id="N7K-YH-1nm"/> <constraint firstAttribute="width" constant="1" id="N7K-YH-1nm"/>
</constraints> </constraints>
</view> </view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9NS-Ze-kBV"> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9NS-Ze-kBV">
<rect key="frame" x="0.0" y="187" width="156.5" height="48"/> <rect key="frame" x="0.0" y="215" width="156.5" height="50"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/> <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
<state key="normal" title="取消"> <state key="normal" title="取消">
<color key="titleColor" name="提示语字体颜色"/> <color key="titleColor" name="提示语字体颜色"/>
...@@ -131,7 +132,7 @@ ...@@ -131,7 +132,7 @@
</connections> </connections>
</button> </button>
<button opaque="NO" contentMode="scaleToFill" semanticContentAttribute="forceRightToLeft" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Hg7-oO-Btb"> <button opaque="NO" contentMode="scaleToFill" semanticContentAttribute="forceRightToLeft" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Hg7-oO-Btb">
<rect key="frame" x="157.5" y="187" width="156.5" height="48"/> <rect key="frame" x="157.5" y="215" width="156.5" height="50"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/> <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
<state key="normal" title="下运单 " image="xiadango"> <state key="normal" title="下运单 " image="xiadango">
<color key="titleColor" name="蓝色字体颜色"/> <color key="titleColor" name="蓝色字体颜色"/>
...@@ -140,35 +141,67 @@ ...@@ -140,35 +141,67 @@
<action selector="xiadanAction:" destination="-1" eventType="touchUpInside" id="q4c-2A-EkE"/> <action selector="xiadanAction:" destination="-1" eventType="touchUpInside" id="q4c-2A-EkE"/>
</connections> </connections>
</button> </button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="我已阅读并同意" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ejE-yd-OuT">
<rect key="frame" x="49" y="88" width="77" height="16"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
<color key="textColor" name="灰色字体颜色"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Gbw-ID-cFn">
<rect key="frame" x="126" y="82" width="88" height="28"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
<state key="normal" title="《快件服务协议》"/>
<connections>
<action selector="kuaijianAction:" destination="-1" eventType="touchUpInside" id="FFE-zu-68j"/>
</connections>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="我已阅读并同意" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Uzk-gy-02b">
<rect key="frame" x="49" y="157.5" width="77" height="16"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
<color key="textColor" name="灰色字体颜色"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" tag="1" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="HlP-uj-tfd">
<rect key="frame" x="126" y="151.5" width="88" height="28"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
<state key="normal" title="《快件服务协议》"/>
<connections>
<action selector="kuaijianAction:" destination="-1" eventType="touchUpInside" id="wU1-0i-7Uq"/>
</connections>
</button>
</subviews> </subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints> <constraints>
<constraint firstItem="Ehz-QO-9SI" firstAttribute="top" secondItem="0lW-V0-f3m" secondAttribute="bottom" constant="85" id="1v6-1Q-snx"/>
<constraint firstAttribute="trailing" secondItem="Ehz-QO-9SI" secondAttribute="trailing" id="3GE-fn-5AT"/> <constraint firstAttribute="trailing" secondItem="Ehz-QO-9SI" secondAttribute="trailing" id="3GE-fn-5AT"/>
<constraint firstItem="4U6-AL-8Yv" firstAttribute="leading" secondItem="Jkx-2x-8N8" secondAttribute="leading" constant="15" id="3Rk-yx-ehf"/>
<constraint firstItem="Ehz-QO-9SI" firstAttribute="top" secondItem="HHt-YQ-28E" secondAttribute="bottom" constant="10" id="6rM-0h-sV5"/> <constraint firstItem="Ehz-QO-9SI" firstAttribute="top" secondItem="HHt-YQ-28E" secondAttribute="bottom" constant="10" id="6rM-0h-sV5"/>
<constraint firstItem="HHt-YQ-28E" firstAttribute="leading" secondItem="Jkx-2x-8N8" secondAttribute="leading" constant="15" id="AEs-ar-Gz8"/> <constraint firstItem="HHt-YQ-28E" firstAttribute="leading" secondItem="Jkx-2x-8N8" secondAttribute="leading" constant="15" id="AEs-ar-Gz8"/>
<constraint firstItem="5iJ-FB-kNk" firstAttribute="top" secondItem="u3x-lb-S3o" secondAttribute="bottom" constant="13" id="BUQ-Ak-hpJ"/> <constraint firstItem="NjJ-Ja-GKH" firstAttribute="leading" secondItem="5iJ-FB-kNk" secondAttribute="trailing" constant="15" id="Cvn-SV-7Ir"/>
<constraint firstItem="HlP-uj-tfd" firstAttribute="centerY" secondItem="Uzk-gy-02b" secondAttribute="centerY" id="EcH-Ig-use"/>
<constraint firstAttribute="trailing" secondItem="Hg7-oO-Btb" secondAttribute="trailing" id="G3E-PX-0UV"/> <constraint firstAttribute="trailing" secondItem="Hg7-oO-Btb" secondAttribute="trailing" id="G3E-PX-0UV"/>
<constraint firstItem="NjJ-Ja-GKH" firstAttribute="leading" secondItem="5iJ-FB-kNk" secondAttribute="trailing" constant="15" id="Gc6-YW-m8J"/> <constraint firstItem="5iJ-FB-kNk" firstAttribute="top" secondItem="u3x-lb-S3o" secondAttribute="bottom" constant="13" id="GUl-BM-s1F"/>
<constraint firstItem="Uzk-gy-02b" firstAttribute="leading" secondItem="4U6-AL-8Yv" secondAttribute="trailing" constant="15" id="Gld-X0-OyU"/>
<constraint firstItem="9NS-Ze-kBV" firstAttribute="leading" secondItem="Jkx-2x-8N8" secondAttribute="leading" id="HLg-Im-7FW"/> <constraint firstItem="9NS-Ze-kBV" firstAttribute="leading" secondItem="Jkx-2x-8N8" secondAttribute="leading" id="HLg-Im-7FW"/>
<constraint firstItem="vJM-Qj-NrI" firstAttribute="top" secondItem="Jkx-2x-8N8" secondAttribute="top" constant="15" id="Htw-TH-uwQ"/> <constraint firstItem="vJM-Qj-NrI" firstAttribute="top" secondItem="Jkx-2x-8N8" secondAttribute="top" constant="15" id="Htw-TH-uwQ"/>
<constraint firstItem="0lW-V0-f3m" firstAttribute="top" secondItem="NjJ-Ja-GKH" secondAttribute="bottom" constant="15" id="JwF-nL-ftq"/> <constraint firstItem="NjJ-Ja-GKH" firstAttribute="top" secondItem="u3x-lb-S3o" secondAttribute="bottom" constant="15" id="Jn0-jV-BvX"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="wwr-FR-oJl" secondAttribute="trailing" constant="15" id="Klq-9x-T0z"/>
<constraint firstAttribute="trailing" secondItem="HHt-YQ-28E" secondAttribute="trailing" constant="15" id="KnR-33-2gH"/> <constraint firstAttribute="trailing" secondItem="HHt-YQ-28E" secondAttribute="trailing" constant="15" id="KnR-33-2gH"/>
<constraint firstItem="Gbw-ID-cFn" firstAttribute="leading" secondItem="ejE-yd-OuT" secondAttribute="trailing" id="M26-2s-Apj"/>
<constraint firstAttribute="bottom" secondItem="rVk-uJ-IxU" secondAttribute="bottom" constant="5" id="MCo-Wm-eV0"/> <constraint firstAttribute="bottom" secondItem="rVk-uJ-IxU" secondAttribute="bottom" constant="5" id="MCo-Wm-eV0"/>
<constraint firstItem="0lW-V0-f3m" firstAttribute="top" secondItem="u3x-lb-S3o" secondAttribute="bottom" constant="49" id="N06-w3-d2s"/> <constraint firstItem="0lW-V0-f3m" firstAttribute="top" secondItem="u3x-lb-S3o" secondAttribute="bottom" constant="68" id="N06-w3-d2s"/>
<constraint firstItem="Gbw-ID-cFn" firstAttribute="centerY" secondItem="ejE-yd-OuT" secondAttribute="centerY" id="Nhw-6X-7Gp"/>
<constraint firstItem="HlP-uj-tfd" firstAttribute="leading" secondItem="Uzk-gy-02b" secondAttribute="trailing" id="OgY-0A-eg5"/>
<constraint firstItem="ejE-yd-OuT" firstAttribute="leading" secondItem="5iJ-FB-kNk" secondAttribute="trailing" constant="15" id="QJ8-3D-rkX"/>
<constraint firstItem="0lW-V0-f3m" firstAttribute="top" secondItem="ejE-yd-OuT" secondAttribute="bottom" constant="15" id="SHt-vq-fPe"/>
<constraint firstAttribute="trailing" secondItem="u3x-lb-S3o" secondAttribute="trailing" id="Tbp-DN-asD"/> <constraint firstAttribute="trailing" secondItem="u3x-lb-S3o" secondAttribute="trailing" id="Tbp-DN-asD"/>
<constraint firstAttribute="bottom" secondItem="9NS-Ze-kBV" secondAttribute="bottom" id="YPs-4i-hbC"/> <constraint firstAttribute="bottom" secondItem="9NS-Ze-kBV" secondAttribute="bottom" id="YPs-4i-hbC"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="NjJ-Ja-GKH" secondAttribute="trailing" constant="15" id="aDE-LE-Tyg"/> <constraint firstItem="wwr-FR-oJl" firstAttribute="top" secondItem="0lW-V0-f3m" secondAttribute="bottom" constant="15" id="aiv-Hj-LGU"/>
<constraint firstItem="0lW-V0-f3m" firstAttribute="top" secondItem="5iJ-FB-kNk" secondAttribute="bottom" constant="13" id="aXe-Vr-cTk"/>
<constraint firstAttribute="trailing" secondItem="0lW-V0-f3m" secondAttribute="trailing" id="eAB-fI-zpX"/> <constraint firstAttribute="trailing" secondItem="0lW-V0-f3m" secondAttribute="trailing" id="eAB-fI-zpX"/>
<constraint firstItem="4U6-AL-8Yv" firstAttribute="top" secondItem="0lW-V0-f3m" secondAttribute="bottom" constant="15" id="g3j-zx-R89"/>
<constraint firstItem="Hg7-oO-Btb" firstAttribute="top" secondItem="Ehz-QO-9SI" secondAttribute="bottom" id="h3h-M1-tyl"/> <constraint firstItem="Hg7-oO-Btb" firstAttribute="top" secondItem="Ehz-QO-9SI" secondAttribute="bottom" id="h3h-M1-tyl"/>
<constraint firstItem="u3x-lb-S3o" firstAttribute="leading" secondItem="Jkx-2x-8N8" secondAttribute="leading" id="hTB-St-x4g"/> <constraint firstItem="u3x-lb-S3o" firstAttribute="leading" secondItem="Jkx-2x-8N8" secondAttribute="leading" id="hTB-St-x4g"/>
<constraint firstItem="9NS-Ze-kBV" firstAttribute="top" secondItem="Ehz-QO-9SI" secondAttribute="bottom" id="hUF-eY-nga"/> <constraint firstItem="9NS-Ze-kBV" firstAttribute="top" secondItem="Ehz-QO-9SI" secondAttribute="bottom" id="hUF-eY-nga"/>
<constraint firstItem="5iJ-FB-kNk" firstAttribute="leading" secondItem="Jkx-2x-8N8" secondAttribute="leading" constant="15" id="hiu-AP-mcU"/> <constraint firstItem="wwr-FR-oJl" firstAttribute="leading" secondItem="4U6-AL-8Yv" secondAttribute="trailing" constant="15" id="k4L-r2-eDF"/>
<constraint firstItem="wwr-FR-oJl" firstAttribute="top" secondItem="0lW-V0-f3m" secondAttribute="bottom" constant="15" id="k3W-qo-xkh"/> <constraint firstItem="Uzk-gy-02b" firstAttribute="top" secondItem="wwr-FR-oJl" secondAttribute="bottom" constant="3.5" id="lYg-1T-2Vc"/>
<constraint firstItem="5iJ-FB-kNk" firstAttribute="leading" secondItem="Jkx-2x-8N8" secondAttribute="leading" constant="15" id="m4P-Jg-qsk"/>
<constraint firstItem="4U6-AL-8Yv" firstAttribute="top" secondItem="0lW-V0-f3m" secondAttribute="bottom" constant="13" id="m4c-hv-ClD"/>
<constraint firstItem="rVk-uJ-IxU" firstAttribute="top" secondItem="Ehz-QO-9SI" secondAttribute="bottom" constant="5" id="m8m-lQ-9MD"/> <constraint firstItem="rVk-uJ-IxU" firstAttribute="top" secondItem="Ehz-QO-9SI" secondAttribute="bottom" constant="5" id="m8m-lQ-9MD"/>
<constraint firstItem="Ehz-QO-9SI" firstAttribute="leading" secondItem="Jkx-2x-8N8" secondAttribute="leading" id="nDY-M9-F1h"/> <constraint firstItem="Ehz-QO-9SI" firstAttribute="leading" secondItem="Jkx-2x-8N8" secondAttribute="leading" id="nDY-M9-F1h"/>
<constraint firstItem="rVk-uJ-IxU" firstAttribute="centerX" secondItem="Jkx-2x-8N8" secondAttribute="centerX" id="oH5-zm-7Q3"/> <constraint firstItem="rVk-uJ-IxU" firstAttribute="centerX" secondItem="Jkx-2x-8N8" secondAttribute="centerX" id="oH5-zm-7Q3"/>
...@@ -177,10 +210,11 @@ ...@@ -177,10 +210,11 @@
<constraint firstItem="Hg7-oO-Btb" firstAttribute="leading" secondItem="rVk-uJ-IxU" secondAttribute="trailing" id="sx9-fg-JEB"/> <constraint firstItem="Hg7-oO-Btb" firstAttribute="leading" secondItem="rVk-uJ-IxU" secondAttribute="trailing" id="sx9-fg-JEB"/>
<constraint firstItem="rVk-uJ-IxU" firstAttribute="leading" secondItem="9NS-Ze-kBV" secondAttribute="trailing" id="tsl-ho-qYB"/> <constraint firstItem="rVk-uJ-IxU" firstAttribute="leading" secondItem="9NS-Ze-kBV" secondAttribute="trailing" id="tsl-ho-qYB"/>
<constraint firstItem="vJM-Qj-NrI" firstAttribute="centerX" secondItem="Jkx-2x-8N8" secondAttribute="centerX" id="uxj-bL-uIL"/> <constraint firstItem="vJM-Qj-NrI" firstAttribute="centerX" secondItem="Jkx-2x-8N8" secondAttribute="centerX" id="uxj-bL-uIL"/>
<constraint firstItem="wwr-FR-oJl" firstAttribute="leading" secondItem="4U6-AL-8Yv" secondAttribute="trailing" constant="15" id="vBf-VR-9R7"/> <constraint firstAttribute="bottom" secondItem="Ehz-QO-9SI" secondAttribute="bottom" constant="50" id="v12-zh-k8Q"/>
<constraint firstItem="0lW-V0-f3m" firstAttribute="top" secondItem="5iJ-FB-kNk" secondAttribute="bottom" constant="13" id="veN-dY-Z4f"/>
<constraint firstItem="u3x-lb-S3o" firstAttribute="top" secondItem="vJM-Qj-NrI" secondAttribute="bottom" constant="14" id="wCM-oT-wEO"/> <constraint firstItem="u3x-lb-S3o" firstAttribute="top" secondItem="vJM-Qj-NrI" secondAttribute="bottom" constant="14" id="wCM-oT-wEO"/>
<constraint firstAttribute="height" constant="235" id="wtX-OJ-Tbg"/> <constraint firstAttribute="height" constant="265" id="wtX-OJ-Tbg"/>
<constraint firstItem="NjJ-Ja-GKH" firstAttribute="top" secondItem="u3x-lb-S3o" secondAttribute="bottom" constant="15" id="zIa-FY-caq"/> <constraint firstItem="4U6-AL-8Yv" firstAttribute="leading" secondItem="Jkx-2x-8N8" secondAttribute="leading" constant="15" id="x3A-h5-Xuy"/>
</constraints> </constraints>
<userDefinedRuntimeAttributes> <userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
...@@ -228,6 +262,9 @@ ...@@ -228,6 +262,9 @@
<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="灰色字体颜色">
<color red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</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>
......
...@@ -332,32 +332,29 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie ...@@ -332,32 +332,29 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
//MARK:--预估费用 //MARK:--预估费用
@IBOutlet weak var priceLbl: UILabel! @IBOutlet weak var priceLbl: UILabel!
@IBAction func orderAction(_ sender: Any) { @IBAction func orderAction(_ sender: Any) {
if isSelectPoripl { if r_city == nil || s_city == nil || weight == nil || tiJi == nil || wenduIndex == 0{
if r_city == nil || s_city == nil || weight == nil || tiJi == nil || wenduIndex == 0{ HUD.flash(.label("请填写相关信息"), delay: 1.2)
HUD.flash(.label("请填写相关信息"), delay: 1.2) return
return }
} let alertView = LogisticalSelectView(frame: self.view.window!.bounds)
let alertView = LogisticalSelectView(frame: self.view.window!.bounds) alertView.delegate = self
alertView.delegate = self alertView.jdPriceLbl.text = "京东冷运(预估运费" + (logPayPriceModel?.price_jd)! + "元)"
alertView.jdPriceLbl.text = "京东冷运(预估运费" + (logPayPriceModel?.price_jd)! + "元)" alertView.sfPriceLbl.text = "顺丰冷运(预估运费" + (logPayPriceModel?.price_sf)! + "元)"
alertView.sfPriceLbl.text = "顺丰冷运(预估运费" + (logPayPriceModel?.price_sf)! + "元)" self.view.window?.addSubview(alertView)
self.view.window?.addSubview(alertView) if logPayPriceModel?.price_sf == "-" {
if logPayPriceModel?.price_sf == "-" { alertView.jdSelectBtn.isSelected = true
alertView.sfSelectBtn.isSelected = false
}else if logPayPriceModel?.price_sf != "-" && logPayPriceModel?.price_jd != "-" {
alertView.jdSelectBtn.isSelected = false
alertView.sfSelectBtn.isSelected = true
let num1 = logPayPriceModel?.price_sf as! NSString
let num2 = logPayPriceModel?.price_jd as! NSString
if num1.floatValue > num2.floatValue {
alertView.jdSelectBtn.isSelected = true alertView.jdSelectBtn.isSelected = true
alertView.sfSelectBtn.isSelected = false alertView.sfSelectBtn.isSelected = false
}else if logPayPriceModel?.price_sf != "-" && logPayPriceModel?.price_jd != "-" {
alertView.jdSelectBtn.isSelected = false
alertView.sfSelectBtn.isSelected = true
let num1 = logPayPriceModel?.price_sf as! NSString
let num2 = logPayPriceModel?.price_jd as! NSString
if num1.floatValue > num2.floatValue {
alertView.jdSelectBtn.isSelected = true
alertView.sfSelectBtn.isSelected = false
}
} }
}else{
HUD.flash(.label("未同意快件服务协议无法下单"), delay: 1.2)
} }
alertView.fuTitleArr = ["运费:¥56151","提货费:¥684151","配送费:¥26222"]
} }
...@@ -606,18 +603,8 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie ...@@ -606,18 +603,8 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
let hPart2 = ["请选择用车时间","下单联系人信息","额外需求","货物保障"] let hPart2 = ["请选择用车时间","下单联系人信息","额外需求","货物保障"]
var hPart2P = ["","","",""] var hPart2P = ["","","",""]
let hPart3 = ["关联平台:","关联订单号:"] let hPart3 = ["关联平台:","关联订单号:"]
var isSelectPoripl = false
@objc func selectBtnClick(sender:UIButton){
if sender.tag == 99 {
//跳转查看合同页面
let vc = WebViewController()
vc.urlStr = "https://www.baidu.com"
self.navigationController?.pushViewController(vc, animated: true)
return
}
selectBtn!.isSelected = !selectBtn!.isSelected
isSelectPoripl = ((selectBtn?.isSelected) != nil)
}
//MARK: - CELL DELEGATE //MARK: - CELL DELEGATE
//MARK: - 货拉拉 headerView //MARK: - 货拉拉 headerView
...@@ -644,58 +631,6 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie ...@@ -644,58 +631,6 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
} }
func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? { func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? {
if tableView == listView { if tableView == listView {
if section == 2 {
let view = UIView(frame: CGRect(x: 0, y: 0, width: fullScreenWidth, height: 41.5))
view.backgroundColor = UIColor(named: "app底色")
let btn = UIButton()
view.addSubview(btn)
btn.setImage(UIImage(named: "daixuan"), for: .normal)
btn.setImage(UIImage(named: "yuxuan"), for: .selected)
btn.snp.makeConstraints { (make) in
make.centerY.equalTo(view.snp_centerY)
make.left.equalTo(15)
make.width.height.equalTo(12.5)
}
selectBtn = btn
btn.isSelected = isSelectPoripl
let btn2 = UIButton()
view.addSubview(btn2)
btn2.addTarget(self, action: #selector(selectBtnClick(sender:)), for: .touchUpInside)
btn2.snp.makeConstraints { (make) in
make.top.left.bottom.equalTo(0)
make.width.equalTo(105)
}
let lbl1 = UILabel()
lbl1.text = "我已阅读并同意"
lbl1.textColor = UIColor(named: "标题字颜色")
lbl1.font = UIFont.systemFont(ofSize: 11)
lbl1.sizeToFit()
view.addSubview(lbl1)
lbl1.snp.makeConstraints { (make) in
make.left.equalTo(btn.snp_right).offset(3)
make.top.bottom.equalTo(0)
make.width.equalTo(lbl1.bounds.size.width)
}
let btn3 = UIButton()
btn3.setTitle("《快件服务协议》", for: .normal)
btn3.titleLabel?.font = UIFont.systemFont(ofSize: 11)
btn3.setTitleColor(UIColor(named: "蓝色字体颜色"), for: .normal)
btn3.tag = 99
view.addSubview(btn3)
btn3.sizeToFit()
btn3.addTarget(self, action: #selector(selectBtnClick(sender:)), for: .touchUpInside)
btn3.snp.makeConstraints { (make) in
make.left.equalTo(lbl1.snp_right)
make.top.bottom.equalTo(0)
make.width.equalTo(btn3.bounds.size.width)
}
return view
}
let view = UIView() let view = UIView()
view.backgroundColor = UIColor(named: "app底色") view.backgroundColor = UIColor(named: "app底色")
return view return view
......
<?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="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_5" orientation="portrait" appearance="light"/> <device id="retina6_5" orientation="portrait" appearance="light"/>
<dependencies> <dependencies>
<deployment identifier="iOS"/> <deployment identifier="iOS"/>
......
...@@ -525,9 +525,9 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD ...@@ -525,9 +525,9 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
HUD.flash(.label("敬请期待"),delay: 1.2) HUD.flash(.label("敬请期待"),delay: 1.2)
return return
case 88: //运单列表 case 88: //运单列表
HUD.flash(.label("敬请期待"),delay: 1.2) // HUD.flash(.label("敬请期待"),delay: 1.2)
// let vc = YDLBVc() let vc = YDLBVc()
// self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
return return
case 89: //物流公司列表 case 89: //物流公司列表
HUD.flash(.label("敬请期待"),delay: 1.2) HUD.flash(.label("敬请期待"),delay: 1.2)
...@@ -535,10 +535,10 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD ...@@ -535,10 +535,10 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
// self.navigationController?.pushViewController(vc, animated: true) // self.navigationController?.pushViewController(vc, animated: true)
return return
case 90: //下运单 case 90: //下运单
HUD.flash(.label("敬请期待"),delay: 1.2) // HUD.flash(.label("敬请期待"),delay: 1.2)
// let vc = XiaYunDanViewController() let vc = XiaYunDanViewController()
// self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: true)
return return
case 92: //采购订单管理 case 92: //采购订单管理
// HUD.flash(.label("敬请期待"),delay: 1.2) // HUD.flash(.label("敬请期待"),delay: 1.2)
......
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