Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GeliBusinessPlatform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljy
GeliBusinessPlatform
Commits
11d0016a
Commit
11d0016a
authored
Aug 07, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增头cell,地址选择修改
parent
c566576b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
93 additions
and
24 deletions
+93
-24
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+8
-0
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/View/Cell/TitleHeaderCell.swift
GeliBusinessPlatform/View/Cell/TitleHeaderCell.swift
+27
-0
GeliBusinessPlatform/View/Cell/TitleHeaderCell.xib
GeliBusinessPlatform/View/Cell/TitleHeaderCell.xib
+39
-0
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
...ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
+19
-24
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
11d0016a
...
@@ -179,6 +179,8 @@
...
@@ -179,6 +179,8 @@
E0707DD024624A2F00E039A8
/* AMapSearchKit.framework in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0707DCF24624A2F00E039A8
/* AMapSearchKit.framework */
;
};
E0707DD024624A2F00E039A8
/* AMapSearchKit.framework in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0707DCF24624A2F00E039A8
/* AMapSearchKit.framework */
;
};
E0707DD224624A3700E039A8
/* MAMapKit.framework in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0707DD124624A3700E039A8
/* MAMapKit.framework */
;
};
E0707DD224624A3700E039A8
/* MAMapKit.framework in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0707DD124624A3700E039A8
/* MAMapKit.framework */
;
};
E0707DD624624B5200E039A8
/* AMap.bundle in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0707DD524624B5200E039A8
/* AMap.bundle */
;
};
E0707DD624624B5200E039A8
/* AMap.bundle in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0707DD524624B5200E039A8
/* AMap.bundle */
;
};
E074B69C24DD305600777003
/* TitleHeaderCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E074B69A24DD305500777003
/* TitleHeaderCell.swift */
;
};
E074B69D24DD305600777003
/* TitleHeaderCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E074B69B24DD305500777003
/* TitleHeaderCell.xib */
;
};
E07B1E5E24591AA50055BA3C
/* KeHuXQViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E07B1E5C24591AA50055BA3C
/* KeHuXQViewController.swift */
;
};
E07B1E5E24591AA50055BA3C
/* KeHuXQViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E07B1E5C24591AA50055BA3C
/* KeHuXQViewController.swift */
;
};
E07B1E5F24591AA50055BA3C
/* KeHuXQViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E07B1E5D24591AA50055BA3C
/* KeHuXQViewController.xib */
;
};
E07B1E5F24591AA50055BA3C
/* KeHuXQViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E07B1E5D24591AA50055BA3C
/* KeHuXQViewController.xib */
;
};
E07B1E62245921A60055BA3C
/* KeHuXQCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E07B1E60245921A60055BA3C
/* KeHuXQCell.swift */
;
};
E07B1E62245921A60055BA3C
/* KeHuXQCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E07B1E60245921A60055BA3C
/* KeHuXQCell.swift */
;
};
...
@@ -796,6 +798,8 @@
...
@@ -796,6 +798,8 @@
E0707DD124624A3700E039A8
/* MAMapKit.framework */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
wrapper.framework
;
path
=
MAMapKit.framework
;
sourceTree
=
"<group>"
;
};
E0707DD124624A3700E039A8
/* MAMapKit.framework */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
wrapper.framework
;
path
=
MAMapKit.framework
;
sourceTree
=
"<group>"
;
};
E0707DD324624A6800E039A8
/* CoreLocation.framework */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
wrapper.framework
;
name
=
CoreLocation.framework
;
path
=
System/Library/Frameworks/CoreLocation.framework
;
sourceTree
=
SDKROOT
;
};
E0707DD324624A6800E039A8
/* CoreLocation.framework */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
wrapper.framework
;
name
=
CoreLocation.framework
;
path
=
System/Library/Frameworks/CoreLocation.framework
;
sourceTree
=
SDKROOT
;
};
E0707DD524624B5200E039A8
/* AMap.bundle */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.plug-in"
;
name
=
AMap.bundle
;
path
=
MAMapKit.framework/AMap.bundle
;
sourceTree
=
"<group>"
;
};
E0707DD524624B5200E039A8
/* AMap.bundle */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.plug-in"
;
name
=
AMap.bundle
;
path
=
MAMapKit.framework/AMap.bundle
;
sourceTree
=
"<group>"
;
};
E074B69A24DD305500777003
/* TitleHeaderCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
TitleHeaderCell.swift
;
sourceTree
=
"<group>"
;
};
E074B69B24DD305500777003
/* TitleHeaderCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
TitleHeaderCell.xib
;
sourceTree
=
"<group>"
;
};
E07B1E5C24591AA50055BA3C
/* KeHuXQViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
KeHuXQViewController.swift
;
sourceTree
=
"<group>"
;
};
E07B1E5C24591AA50055BA3C
/* KeHuXQViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
KeHuXQViewController.swift
;
sourceTree
=
"<group>"
;
};
E07B1E5D24591AA50055BA3C
/* KeHuXQViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
KeHuXQViewController.xib
;
sourceTree
=
"<group>"
;
};
E07B1E5D24591AA50055BA3C
/* KeHuXQViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
KeHuXQViewController.xib
;
sourceTree
=
"<group>"
;
};
E07B1E60245921A60055BA3C
/* KeHuXQCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
KeHuXQCell.swift
;
sourceTree
=
"<group>"
;
};
E07B1E60245921A60055BA3C
/* KeHuXQCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
KeHuXQCell.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -2451,6 +2455,8 @@
...
@@ -2451,6 +2455,8 @@
E002465124A8697B00049DBC
/* TitleAndTFBtnCell.xib */
,
E002465124A8697B00049DBC
/* TitleAndTFBtnCell.xib */
,
E0706EF224B40BE800D8251C
/* TitleAndTfYuanCell.swift */
,
E0706EF224B40BE800D8251C
/* TitleAndTfYuanCell.swift */
,
E0706EF324B40BE800D8251C
/* TitleAndTfYuanCell.xib */
,
E0706EF324B40BE800D8251C
/* TitleAndTfYuanCell.xib */
,
E074B69A24DD305500777003
/* TitleHeaderCell.swift */
,
E074B69B24DD305500777003
/* TitleHeaderCell.xib */
,
);
);
path
=
Cell
;
path
=
Cell
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -3291,6 +3297,7 @@
...
@@ -3291,6 +3297,7 @@
F96E9D60246657B500B5B94A
/* HGImage.xcassets in Resources */
,
F96E9D60246657B500B5B94A
/* HGImage.xcassets in Resources */
,
E0206329246CD855007A40C4
/* TitleAndLblView.xib in Resources */
,
E0206329246CD855007A40C4
/* TitleAndLblView.xib in Resources */
,
F961D27524503CCF007FBE70
/* OrderSelectMoreView.xib in Resources */
,
F961D27524503CCF007FBE70
/* OrderSelectMoreView.xib in Resources */
,
E074B69D24DD305600777003
/* TitleHeaderCell.xib in Resources */
,
E042F74524529B8500CDFA12
/* JiTuoWuXinXiView.xib in Resources */
,
E042F74524529B8500CDFA12
/* JiTuoWuXinXiView.xib in Resources */
,
E01C26B12446989700ADCC70
/* Interface_Z.plist in Resources */
,
E01C26B12446989700ADCC70
/* Interface_Z.plist in Resources */
,
E0A409CD2464026B00CFF109
/* SecondCell.xib in Resources */
,
E0A409CD2464026B00CFF109
/* SecondCell.xib in Resources */
,
...
@@ -3530,6 +3537,7 @@
...
@@ -3530,6 +3537,7 @@
E0F3C2CB24590C86006F0D1F
/* XinZengAndBianJiKeHuViewController.swift in Sources */
,
E0F3C2CB24590C86006F0D1F
/* XinZengAndBianJiKeHuViewController.swift in Sources */
,
F956D5B4246A2D9C003FF510
/* UIImage+LMNStore.m in Sources */
,
F956D5B4246A2D9C003FF510
/* UIImage+LMNStore.m in Sources */
,
F9531F412465108800724BEE
/* JXPhotoBrowserView.swift in Sources */
,
F9531F412465108800724BEE
/* JXPhotoBrowserView.swift in Sources */
,
E074B69C24DD305600777003
/* TitleHeaderCell.swift in Sources */
,
F956D5AB246A2D9C003FF510
/* LMNNumberingLine.m in Sources */
,
F956D5AB246A2D9C003FF510
/* LMNNumberingLine.m in Sources */
,
F96E9D5B246656A700B5B94A
/* HGImageCollectionViewCell.swift in Sources */
,
F96E9D5B246656A700B5B94A
/* HGImageCollectionViewCell.swift in Sources */
,
E0EFB9C624930C0D005FB0CD
/* CGDListViewController.swift in Sources */
,
E0EFB9C624930C0D005FB0CD
/* CGDListViewController.swift in Sources */
,
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
11d0016a
No preview for this file type
GeliBusinessPlatform/View/Cell/TitleHeaderCell.swift
0 → 100644
View file @
11d0016a
//
// TitleHeaderCell.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/8/7.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
class
TitleHeaderCell
:
UITableViewCell
{
@IBOutlet
weak
var
nameLbl
:
UILabel
!
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
self
.
selectionStyle
=
.
none
// Initialization code
}
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
super
.
setSelected
(
selected
,
animated
:
animated
)
// Configure the view for the selected state
}
}
GeliBusinessPlatform/View/Cell/TitleHeaderCell.xib
0 → 100644
View file @
11d0016a
<?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"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"16087"
/>
<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"
id=
"KGk-i7-Jjw"
customClass=
"TitleHeaderCell"
customModule=
"TestClass"
customModuleProvider=
"target"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"320"
height=
"44"
/>
<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=
"320"
height=
"44"
/>
<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=
"KOf-o4-7xH"
>
<rect
key=
"frame"
x=
"15"
y=
"25.5"
width=
"65.5"
height=
"18.5"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Medium"
family=
"PingFang SC"
pointSize=
"13"
/>
<color
key=
"textColor"
red=
"0.40000000000000002"
green=
"0.40000000000000002"
blue=
"0.40000000000000002"
alpha=
"0.84705882352941175"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<constraints>
<constraint
firstItem=
"KOf-o4-7xH"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"07w-Wn-nOh"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"KOf-o4-7xH"
secondAttribute=
"bottom"
id=
"hun-fv-7d4"
/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
<connections>
<outlet
property=
"nameLbl"
destination=
"KOf-o4-7xH"
id=
"feB-p9-N1n"
/>
</connections>
<point
key=
"canvasLocation"
x=
"132"
y=
"107"
/>
</tableViewCell>
</objects>
</document>
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
View file @
11d0016a
...
@@ -90,35 +90,28 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
...
@@ -90,35 +90,28 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
extractedFunc
()
extractedFunc
()
}
}
}
}
if
idx
!=
10086
{
if
idx
!=
0
{
if
idx
!=
0
&&
adrArr
.
count
==
0
{
if
idx
==
1
&&
adrArr
.
count
==
0
{
let
dic
=
NSMutableDictionary
()
let
dic
=
NSMutableDictionary
()
dic
[
"locName"
]
=
"空"
dic
[
"locName"
]
=
"空"
adrArr
.
append
(
dic
)
adrArr
.
append
(
dic
)
adrArr
.
append
(
dict
as
NSDictionary
)
adrArr
.
append
(
dict
as
NSDictionary
)
}
else
{
}
else
{
if
adrArr
.
count
<
2
{
adrArr
.
append
(
dict
as
NSDictionary
)
if
adrArr
.
count
>
idx
{
adrArr
.
insert
(
dict
as
NSDictionary
,
at
:
idx
)
adrArr
.
remove
(
at
:
idx
+
1
)
}
else
{
}
else
{
if
adrArr
.
count
>
idx
{
adrArr
.
append
(
dict
as
NSDictionary
)
adrArr
.
insert
(
dict
as
NSDictionary
,
at
:
idx
)
adrArr
.
remove
(
at
:
idx
+
1
)
}
}
}
}
}
}
else
{
// if adrArr.count > 1 {
if
idx
==
0
&&
adrArr
.
count
>
0
{
// addBtn?.setTitle("继续添加收货地址", for: .normal)
adrArr
.
insert
(
dict
as
NSDictionary
,
at
:
0
)
// }else{
adrArr
.
remove
(
at
:
1
)
// addBtn?.setTitle("添加收货地址", for: .normal)
}
else
{
// }
adrArr
.
append
(
dict
as
NSDictionary
)
}
}
}
else
{
adrArr
.
append
(
dict
as
NSDictionary
)
}
let
view
=
hListView
.
footerView
(
forSection
:
1
)
let
view
=
hListView
.
footerView
(
forSection
:
1
)
view
?
.
layoutIfNeeded
()
view
?
.
layoutIfNeeded
()
...
@@ -127,8 +120,6 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
...
@@ -127,8 +120,6 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
hListView
.
reloadData
()
hListView
.
reloadData
()
}
}
var
loc
:
cityListDataModel
!
var
loc
:
cityListDataModel
!
func
CityListViewControllerLocSelect
(
loc
:
cityListDataModel
)
{
func
CityListViewControllerLocSelect
(
loc
:
cityListDataModel
)
{
...
@@ -731,7 +722,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
...
@@ -731,7 +722,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
view
.
addSubview
(
leftBtn
)
view
.
addSubview
(
leftBtn
)
let
rightBtn
=
UIButton
(
frame
:
CGRect
(
x
:
fullScreenWidth
*
0.5
,
y
:
0
,
width
:
fullScreenWidth
*
0.5
,
height
:
44
))
let
rightBtn
=
UIButton
(
frame
:
CGRect
(
x
:
fullScreenWidth
*
0.5
,
y
:
0
,
width
:
fullScreenWidth
*
0.5
,
height
:
44
))
rightBtn
.
titleLabel
?
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
)
rightBtn
.
titleLabel
?
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
)
rightBtn
.
setTitle
(
"添加收货地址"
,
for
:
.
normal
)
rightBtn
.
setTitle
(
"
继续
添加收货地址"
,
for
:
.
normal
)
rightBtn
.
tag
=
1
rightBtn
.
tag
=
1
rightBtn
.
addTarget
(
self
,
action
:
#selector(
huoLLAdrAction(sender:)
)
,
for
:
.
touchUpInside
)
rightBtn
.
addTarget
(
self
,
action
:
#selector(
huoLLAdrAction(sender:)
)
,
for
:
.
touchUpInside
)
rightBtn
.
setTitleColor
(
UIColor
(
named
:
"蓝色字体颜色"
),
for
:
.
normal
)
rightBtn
.
setTitleColor
(
UIColor
(
named
:
"蓝色字体颜色"
),
for
:
.
normal
)
...
@@ -741,10 +732,14 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
...
@@ -741,10 +732,14 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
addBtn
.
titleLabel
?
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
)
addBtn
.
titleLabel
?
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
)
addBtn
.
backgroundColor
=
UIColor
.
white
addBtn
.
backgroundColor
=
UIColor
.
white
addBtn
.
setTitle
(
"添加收货地址"
,
for
:
.
normal
)
addBtn
.
setTitle
(
"添加收货地址"
,
for
:
.
normal
)
if
adrArr
.
count
>
1
{
addBtn
.
setTitle
(
"继续添加收货地址"
,
for
:
.
normal
)
}
addBtn
.
tag
=
1
addBtn
.
tag
=
1
addBtn
.
addTarget
(
self
,
action
:
#selector(
huoLLAdrAction(sender:)
)
,
for
:
.
touchUpInside
)
addBtn
.
addTarget
(
self
,
action
:
#selector(
huoLLAdrAction(sender:)
)
,
for
:
.
touchUpInside
)
addBtn
.
setTitleColor
(
UIColor
(
named
:
"蓝色字体颜色"
),
for
:
.
normal
)
addBtn
.
setTitleColor
(
UIColor
(
named
:
"蓝色字体颜色"
),
for
:
.
normal
)
view
.
addSubview
(
addBtn
)
view
.
addSubview
(
addBtn
)
}
}
return
view
return
view
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment