Commit 17b05726 authored by 刘俊宏's avatar 刘俊宏

完成分销订单详情

parent 531412ff
...@@ -634,6 +634,8 @@ ...@@ -634,6 +634,8 @@
F9DDBE922457BFEC00A32CB2 /* HUDEXT.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9DDBE912457BFEC00A32CB2 /* HUDEXT.swift */; }; F9DDBE922457BFEC00A32CB2 /* HUDEXT.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9DDBE912457BFEC00A32CB2 /* HUDEXT.swift */; };
F9DDBE962457D3EC00A32CB2 /* WebViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9DDBE942457D3EC00A32CB2 /* WebViewController.swift */; }; F9DDBE962457D3EC00A32CB2 /* WebViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9DDBE942457D3EC00A32CB2 /* WebViewController.swift */; };
F9DDBE972457D3EC00A32CB2 /* WebViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9DDBE952457D3EC00A32CB2 /* WebViewController.xib */; }; F9DDBE972457D3EC00A32CB2 /* WebViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9DDBE952457D3EC00A32CB2 /* WebViewController.xib */; };
F9ECC928255CD7FD00990B61 /* RetailManageDetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9ECC926255CD7FD00990B61 /* RetailManageDetailViewController.swift */; };
F9ECC929255CD7FD00990B61 /* RetailManageDetailViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9ECC927255CD7FD00990B61 /* RetailManageDetailViewController.xib */; };
F9F2866724CA95FD00959142 /* TitleTimeHeaderFooterView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9F2866624CA95FD00959142 /* TitleTimeHeaderFooterView.swift */; }; F9F2866724CA95FD00959142 /* TitleTimeHeaderFooterView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9F2866624CA95FD00959142 /* TitleTimeHeaderFooterView.swift */; };
F9FA9C4D255B8033004034B3 /* RetailManageHeaderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9FA9C4C255B8033004034B3 /* RetailManageHeaderView.swift */; }; F9FA9C4D255B8033004034B3 /* RetailManageHeaderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9FA9C4C255B8033004034B3 /* RetailManageHeaderView.swift */; };
F9FA9C55255B858C004034B3 /* RetailManageFooterView.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9FA9C54255B858C004034B3 /* RetailManageFooterView.xib */; }; F9FA9C55255B858C004034B3 /* RetailManageFooterView.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9FA9C54255B858C004034B3 /* RetailManageFooterView.xib */; };
...@@ -1354,6 +1356,8 @@ ...@@ -1354,6 +1356,8 @@
F9DDBE912457BFEC00A32CB2 /* HUDEXT.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HUDEXT.swift; sourceTree = "<group>"; }; F9DDBE912457BFEC00A32CB2 /* HUDEXT.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HUDEXT.swift; sourceTree = "<group>"; };
F9DDBE942457D3EC00A32CB2 /* WebViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebViewController.swift; sourceTree = "<group>"; }; F9DDBE942457D3EC00A32CB2 /* WebViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebViewController.swift; sourceTree = "<group>"; };
F9DDBE952457D3EC00A32CB2 /* WebViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = WebViewController.xib; sourceTree = "<group>"; }; F9DDBE952457D3EC00A32CB2 /* WebViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = WebViewController.xib; sourceTree = "<group>"; };
F9ECC926255CD7FD00990B61 /* RetailManageDetailViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RetailManageDetailViewController.swift; sourceTree = "<group>"; };
F9ECC927255CD7FD00990B61 /* RetailManageDetailViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = RetailManageDetailViewController.xib; sourceTree = "<group>"; };
F9F2866624CA95FD00959142 /* TitleTimeHeaderFooterView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TitleTimeHeaderFooterView.swift; sourceTree = "<group>"; }; F9F2866624CA95FD00959142 /* TitleTimeHeaderFooterView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TitleTimeHeaderFooterView.swift; sourceTree = "<group>"; };
F9FA9C4C255B8033004034B3 /* RetailManageHeaderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RetailManageHeaderView.swift; sourceTree = "<group>"; }; F9FA9C4C255B8033004034B3 /* RetailManageHeaderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RetailManageHeaderView.swift; sourceTree = "<group>"; };
F9FA9C54255B858C004034B3 /* RetailManageFooterView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = RetailManageFooterView.xib; sourceTree = "<group>"; }; F9FA9C54255B858C004034B3 /* RetailManageFooterView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = RetailManageFooterView.xib; sourceTree = "<group>"; };
...@@ -3111,6 +3115,8 @@ ...@@ -3111,6 +3115,8 @@
F9A1D4A9255B7AC50018DA8A /* View */, F9A1D4A9255B7AC50018DA8A /* View */,
F970B3652550F5AA0026F9D5 /* RetailManageViewController.swift */, F970B3652550F5AA0026F9D5 /* RetailManageViewController.swift */,
F970B3662550F5AA0026F9D5 /* RetailManageViewController.xib */, F970B3662550F5AA0026F9D5 /* RetailManageViewController.xib */,
F9ECC926255CD7FD00990B61 /* RetailManageDetailViewController.swift */,
F9ECC927255CD7FD00990B61 /* RetailManageDetailViewController.xib */,
); );
path = "分销订单管理"; path = "分销订单管理";
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -3561,6 +3567,7 @@ ...@@ -3561,6 +3567,7 @@
E0C4F4A8244EC82A00CC7E2F /* TitleAndBtnCell.xib in Resources */, E0C4F4A8244EC82A00CC7E2F /* TitleAndBtnCell.xib in Resources */,
F97E73322552A22000A11F98 /* DistributorSettingAlertView.xib in Resources */, F97E73322552A22000A11F98 /* DistributorSettingAlertView.xib in Resources */,
E02FD9F72455790800E10E27 /* DiZhiGuanLiCell.xib in Resources */, E02FD9F72455790800E10E27 /* DiZhiGuanLiCell.xib in Resources */,
F9ECC929255CD7FD00990B61 /* RetailManageDetailViewController.xib in Resources */,
F9C2F6F9254FE14900516E00 /* DistributorSettingViewController.xib in Resources */, F9C2F6F9254FE14900516E00 /* DistributorSettingViewController.xib in Resources */,
E0BE8AA5245AA31400E80134 /* YingFuZhangKuanXQViewController.xib in Resources */, E0BE8AA5245AA31400E80134 /* YingFuZhangKuanXQViewController.xib in Resources */,
E0F97B1B2451951D001BD600 /* ShangPinGguiGeCell.xib in Resources */, E0F97B1B2451951D001BD600 /* ShangPinGguiGeCell.xib in Resources */,
...@@ -3679,6 +3686,7 @@ ...@@ -3679,6 +3686,7 @@
F956D5B2246A2D9C003FF510 /* LMNDraft.m in Sources */, F956D5B2246A2D9C003FF510 /* LMNDraft.m in Sources */,
E09B03B62445B85A00211A51 /* LoginViewController.swift in Sources */, E09B03B62445B85A00211A51 /* LoginViewController.swift in Sources */,
E02FD9FA24557E8600E10E27 /* XinZengDiZhiViewController.swift in Sources */, E02FD9FA24557E8600E10E27 /* XinZengDiZhiViewController.swift in Sources */,
F9ECC928255CD7FD00990B61 /* RetailManageDetailViewController.swift in Sources */,
E020632B246CDD36007A40C4 /* OrderDViewFooterView.swift in Sources */, E020632B246CDD36007A40C4 /* OrderDViewFooterView.swift in Sources */,
F950FDDE24518B9500C40530 /* FSCalendarWeekdayView.m in Sources */, F950FDDE24518B9500C40530 /* FSCalendarWeekdayView.m in Sources */,
F9A4AB6E24C927E900094BD1 /* LogisticsCostDetailViewController.swift in Sources */, F9A4AB6E24C927E900094BD1 /* LogisticsCostDetailViewController.swift in Sources */,
......
//
// RetailManageDetailViewController.swift
// GeliBusinessPlatform
//
// Created by 刘俊宏 on 2020/11/12.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
class RetailManageDetailViewController: BaseViewController ,UITableViewDelegate,UITableViewDataSource{
let goodsTitleArr = ["商品合计"]
let fenxiaoTitleArr = ["分销角色","结算方式","佣金方式","佣金结算时间","佣金分销结算"]
let orderTitleArr = ["订单编号","下单时间","订单来源","支付方式","支付状态","买家留言","订单备注"]
@IBOutlet weak var listView: UITableView!
override func viewDidLoad() {
super.viewDidLoad()
navbar.title = "分销订单详情"
self.view.addSubview(navbar)
SetTopFrameView(view: listView, btmView: self.view)
listView.separatorStyle = .none
listView.register(UINib(nibName: "GLKHCell", bundle: nil), forCellReuseIdentifier: "GLKHCell")
listView.register(UINib(nibName: "XuanZeShangPinCell", bundle: nil), forCellReuseIdentifier: "XuanZeShangPinCell")
listView.register(UINib(nibName: "TitleAndTFCell", bundle: nil), forCellReuseIdentifier: "TitleAndTFCell")
loadData()
}
//MARK:--加载数据
var orderId:Int? //订单编号
var dataMdoel: OrderDetailDataModel? = nil
let UserToken = UserDefaults.standard.value(forKey: "user_token")
func loadData() {
HUD.flash(.progress)
orderDetail(["user_token":UserToken as Any,"order_id":orderId as Any], success: { [self] (data) in
HUD.hide(animated: true)
let dataM = data as! OrderDetailModel
self.dataMdoel = dataM.data
self.listView.reloadData()
}) { (error) in
self.listView.isHidden = true
}
}
func numberOfSections(in tableView: UITableView) -> Int {
if self.dataMdoel == nil {
return 0
}
return 5
}
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
switch section {
case 0:
return 1
case 1:
return (self.dataMdoel?.order_goods!.count)! //商品
case 2:
return goodsTitleArr.count
case 3:
return fenxiaoTitleArr.count
case 4:
return orderTitleArr.count
default:
return 0
}
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "TitleAndTFCell") as! TitleAndTFCell
cell.textTF.isUserInteractionEnabled = false
switch indexPath.section {
case 0:
let cell = tableView.dequeueReusableCell(withIdentifier: "GLKHCell") as! GLKHCell
cell.nameLbl.text = self.dataMdoel?.order_res?.user_name
cell.contentLbl.text = ""
cell.gotoImgV.isHidden = true
return cell
case 1:
let cell = tableView.dequeueReusableCell(withIdentifier: "XuanZeShangPinCell") as! XuanZeShangPinCell
cell.priceLbl.isHidden = false
cell.selectBtn.isHidden = true
let rowModel = self.dataMdoel?.order_goods![indexPath.row]
cell.nameLbl.text = rowModel?.goods_name
cell.iconImg?.sd_setImage(with: URL(string: SERVERCE_ImageHost + (rowModel?.goods_thumb)!))
if rowModel?.goods_attr != nil {
cell.detailLbl.text = (rowModel?.goods_attr)!
}else{
cell.detailLbl.text = "-"
}
cell.detailLbl2.text = "x" + StringByInt(number: (rowModel?.cart_number!)!)
cell.priceLbl.text = "¥" + (rowModel?.goods_price)! + " " + "佣金" + (rowModel?.commission_val)! + "元"
return cell
case 2:
cell.nameLbl.text = goodsTitleArr[indexPath.row]
cell.textTF.text = "¥" + (self.dataMdoel?.order_res!.goods_amount)!
case 3:
cell.nameLbl.text = fenxiaoTitleArr[indexPath.row]
switch indexPath.row {
case 0:
if self.dataMdoel?.order_res?.dbt_target == 1 {
cell.textTF.text = "供应商" + "(" + (self.dataMdoel?.order_res?.target_name)! + ")"
}else if self.dataMdoel?.order_res?.dbt_target == 2 {
cell.textTF.text = "分销商" + "(" + (self.dataMdoel?.order_res?.target_name)! + ")"
}else if self.dataMdoel?.order_res?.dbt_target == 3{
cell.textTF.text = "分销员" + "(" + (self.dataMdoel?.order_res?.target_name)! + ")"
}else{
cell.textTF.text = "-"
}
case 1:
cell.textTF.text = "结算方式"
case 2:
cell.textTF.text = "佣金方式"
case 3:
cell.textTF.text = "佣金结算时间"
case 4:
cell.textTF.text = "佣金分销结算"
default:
cell.textTF.text = ""
break
}
case 4:
cell.nameLbl.text = orderTitleArr[indexPath.row]
switch indexPath.row {
case 0:
cell.textTF.text = self.dataMdoel?.order_res?.order_sn
case 1:
cell.textTF.text = TimeByDouble(sender: (self.dataMdoel?.order_res?.add_time!)!)
case 2:
cell.textTF.text = self.dataMdoel?.order_res?.from_cn
case 3:
cell.textTF.text = self.dataMdoel?.order_res?.pay_type_cn
case 4:
cell.textTF.text = self.dataMdoel?.order_res?.pay_status_cn
case 5:
cell.textTF.text = self.dataMdoel?.order_res?.postscript
if self.dataMdoel?.order_res?.postscript?.count == 0 {
cell.textTF.text = "-"
}
case 6:
cell.textTF.text = self.dataMdoel?.order_res?.order_postscript
if self.dataMdoel?.order_res?.order_postscript?.count == 0 {
cell.textTF.text = "-"
}
default:
cell.textTF.text = ""
break
}
default:
break
}
return cell
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
if indexPath.section == 1 {
return 120
}
return 49
}
func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
if section == 3 || section == 4 {
return 39
}
return 0.5
}
func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
let view = UIView()
view.subviews.forEach { (subV) in
subV.removeFromSuperview()
}
switch section {
case 3:
let view1 = HeaderOnlyTitleView(frame: CGRect(x: 0, y: 0, width: fullScreenWidth, height: 39))
view1.nameLbl.text = "分销信息"
view.addSubview(view1)
return view
case 4:
let view1 = HeaderOnlyTitleView(frame: CGRect(x: 0, y: 0, width: fullScreenWidth, height: 39))
view1.nameLbl.text = "订单信息"
view.addSubview(view1)
return view
default:
break
}
return view
}
func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? {
let view = UIView()
view.subviews.forEach { (subV) in
subV.removeFromSuperview()
}
if section == 2 {
let view = OrderDViewSumFooter(frame: CGRect(x: 0, y: 0, width: fullScreenWidth, height: 59))
view.priceLbl.text = "¥" + (self.dataMdoel?.order_res!.sum_amount)! + "(总佣金" + (self.dataMdoel?.order_res!.sum_commission_val)! + "元)"
return view
}
return view
}
func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat {
if section == 2 {
return 59
}
if section == 3 {
return 10
}
return 0.5
}
}
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17156" 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="17126"/>
<capability name="Named colors" 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"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="RetailManageDetailViewController" customModule="TestClass" customModuleProvider="target">
<connections>
<outlet property="listView" destination="tYc-sK-fji" id="eiV-LO-a0h"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" style="grouped" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="18" sectionFooterHeight="18" translatesAutoresizingMaskIntoConstraints="NO" id="tYc-sK-fji">
<rect key="frame" x="0.0" y="44" width="414" height="818"/>
<color key="backgroundColor" name="app底色"/>
<connections>
<outlet property="dataSource" destination="-1" id="Dsh-hL-pEX"/>
<outlet property="delegate" destination="-1" id="hqL-ek-47R"/>
</connections>
</tableView>
</subviews>
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="tYc-sK-fji" secondAttribute="bottom" id="Vgw-Vv-CZV"/>
<constraint firstItem="tYc-sK-fji" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="X0H-Pm-zR2"/>
<constraint firstItem="tYc-sK-fji" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="bO3-PG-SRW"/>
<constraint firstAttribute="trailing" secondItem="tYc-sK-fji" secondAttribute="trailing" id="tby-ZM-jOk"/>
</constraints>
<point key="canvasLocation" x="58" y="110"/>
</view>
</objects>
<resources>
<namedColor name="app底色">
<color red="0.94509803921568625" green="0.94509803921568625" blue="0.94509803921568625" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources>
</document>
...@@ -309,6 +309,12 @@ class RetailManageViewController: BaseViewController,UISearchBarDelegate,SearchB ...@@ -309,6 +309,12 @@ class RetailManageViewController: BaseViewController,UISearchBarDelegate,SearchB
return cell return cell
} }
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
let vc = RetailManageDetailViewController()
let goodArrModel = self.dataArr[indexPath.section]
vc.orderId = goodArrModel.order_id
self.navigationController?.pushViewController(vc, animated: true)
}
func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? { func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
......
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
import UIKit import UIKit
class GLKHCell: UITableViewCell { class GLKHCell: UITableViewCell {
@IBOutlet weak var gotoImgV: UIImageView!
@IBOutlet weak var titleIconImgV: UIImageView!
@IBOutlet weak var contentLbl: UILabel! @IBOutlet weak var contentLbl: UILabel!
@IBOutlet weak var nameLbl: UILabel! @IBOutlet weak var nameLbl: UILabel!
override func awakeFromNib() { override func awakeFromNib() {
......
<?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="17156" 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="17126"/>
<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"/>
...@@ -55,16 +55,18 @@ ...@@ -55,16 +55,18 @@
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/> <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<connections> <connections>
<outlet property="contentLbl" destination="Kh6-Hv-73X" id="QlA-TV-Gyo"/> <outlet property="contentLbl" destination="Kh6-Hv-73X" id="QlA-TV-Gyo"/>
<outlet property="gotoImgV" destination="mzP-Q2-sl2" id="aJ4-Pq-Cpm"/>
<outlet property="nameLbl" destination="xEs-UK-3s6" id="li2-bd-2cg"/> <outlet property="nameLbl" destination="xEs-UK-3s6" id="li2-bd-2cg"/>
<outlet property="titleIconImgV" destination="fBF-NP-iMf" id="S9A-BB-mKF"/>
</connections> </connections>
<point key="canvasLocation" x="132" y="102"/> <point key="canvasLocation" x="-139" y="100"/>
</tableViewCell> </tableViewCell>
</objects> </objects>
<resources> <resources>
<image name="jinru" width="13" height="23"/> <image name="jinru" width="13" height="23"/>
<image name="kehu" width="17" height="18.5"/> <image name="kehu" width="17" height="18.5"/>
<namedColor name="多选按钮字体颜色"> <namedColor name="多选按钮字体颜色">
<color red="0.41200000047683716" green="0.41200000047683716" blue="0.41200000047683716" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color red="0.41176470588235292" green="0.41176470588235292" blue="0.41176470588235292" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor> </namedColor>
<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"/>
......
<?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="17156" 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="17126"/>
<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>
...@@ -25,11 +26,11 @@ ...@@ -25,11 +26,11 @@
<subviews> <subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="n9R-tn-hVY"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="n9R-tn-hVY">
<rect key="frame" x="0.0" y="813" width="414" height="83"/> <rect key="frame" x="0.0" y="813" width="414" height="83"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> <color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view> </view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uzE-Ha-UZM"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uzE-Ha-UZM">
<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="Scu-he-Peb"/> <constraint firstAttribute="height" constant="49" id="Scu-he-Peb"/>
</constraints> </constraints>
...@@ -43,6 +44,7 @@ ...@@ -43,6 +44,7 @@
</connections> </connections>
</tableView> </tableView>
</subviews> </subviews>
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints> <constraints>
<constraint firstItem="uzE-Ha-UZM" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="LYs-Mt-nSg"/> <constraint firstItem="uzE-Ha-UZM" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="LYs-Mt-nSg"/>
...@@ -57,7 +59,6 @@ ...@@ -57,7 +59,6 @@
<constraint firstItem="Ynh-hV-MLH" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="sSR-ql-biJ"/> <constraint firstItem="Ynh-hV-MLH" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="sSR-ql-biJ"/>
<constraint firstItem="Ynh-hV-MLH" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="sgr-ja-cQ2"/> <constraint firstItem="Ynh-hV-MLH" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="sgr-ja-cQ2"/>
</constraints> </constraints>
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
<point key="canvasLocation" x="131.8840579710145" y="138.61607142857142"/> <point key="canvasLocation" x="131.8840579710145" y="138.61607142857142"/>
</view> </view>
</objects> </objects>
...@@ -65,5 +66,8 @@ ...@@ -65,5 +66,8 @@
<namedColor name="app底色"> <namedColor name="app底色">
<color red="0.94509803921568625" green="0.94509803921568625" blue="0.94509803921568625" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color red="0.94509803921568625" green="0.94509803921568625" blue="0.94509803921568625" 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>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES"> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17156" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/> <device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies> <dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/> <deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17126"/>
<capability name="Named colors" minToolsVersion="9.0"/> <capability name="Named colors" 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"/>
</dependencies> </dependencies>
<objects> <objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="OrderDViewSumFooter" customModule="GeliBusinessPlatform" customModuleProvider="target"> <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="OrderDViewSumFooter" customModule="TestClass" customModuleProvider="target">
<connections> <connections>
<outlet property="priceLbl" destination="wyj-le-YWl" id="O2i-PV-aIt"/> <outlet property="priceLbl" destination="wyj-le-YWl" id="O2i-PV-aIt"/>
</connections> </connections>
...@@ -31,7 +32,7 @@ ...@@ -31,7 +32,7 @@
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="h2l-7X-TcJ"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="h2l-7X-TcJ">
<rect key="frame" x="263" y="1" width="66" height="48"/> <rect key="frame" x="264" y="1" width="65" height="48"/>
<attributedString key="attributedText"> <attributedString key="attributedText">
<fragment content="订单合计:"> <fragment content="订单合计:">
<attributes> <attributes>
......
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