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
c0405de8
Commit
c0405de8
authored
Jul 27, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并货拉拉切换
parent
6a473096
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
27 deletions
+30
-27
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
...ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
+20
-13
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.xib
...m/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.xib
+8
-12
GeliBusinessPlatform/ViewController/工作中心/WorkCViewController.swift
...essPlatform/ViewController/工作中心/WorkCViewController.swift
+2
-2
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
c0405de8
No preview for this file type
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
View file @
c0405de8
...
@@ -142,12 +142,10 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
...
@@ -142,12 +142,10 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
@IBOutlet
weak
var
topBtnView
:
UIView
!
@IBOutlet
weak
var
topBtnView
:
UIView
!
@IBOutlet
weak
var
bottomView
:
UIView
!
@IBOutlet
weak
var
bottomView
:
UIView
!
@IBOutlet
weak
var
listView
:
UITableView
!
@IBOutlet
weak
var
listView
:
UITableView
!
var
locBtn
=
UIButton
()
var
locBtn
=
UIButton
()
@IBOutlet
weak
var
hListView
:
UITableView
!
@IBOutlet
weak
var
hListView
:
UITableView
!
@IBAction
func
selectAction
(
_
sender
:
UIButton
)
{
@IBAction
func
selectAction
(
_
sender
:
UIButton
)
{
if
rightBtn
==
sender
{
if
rightBtn
==
sender
{
rightBtn
.
isSelected
=
true
rightBtn
.
isSelected
=
true
...
@@ -169,28 +167,34 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
...
@@ -169,28 +167,34 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
}
}
@IBOutlet
weak
var
lineV
:
UIView
!
@IBOutlet
weak
var
lineV
:
UIView
!
@IBOutlet
weak
var
leftBtn
:
UIButton
!
@IBOutlet
weak
var
leftBtn
:
UIButton
!
@IBOutlet
weak
var
hBtnViewH
:
NSLayoutConstraint
!
@IBOutlet
weak
var
hBtnViewH
:
NSLayoutConstraint
!
@IBOutlet
weak
var
hllView
:
UIView
!
@IBOutlet
weak
var
hllView
:
UIView
!
@IBOutlet
weak
var
rightBtn
:
UIButton
!
@IBOutlet
weak
var
rightBtn
:
UIButton
!
@objc
func
locSelect
(){
print
(
"locSelect"
)
}
override
func
viewDidLoad
()
{
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
super
.
viewDidLoad
()
navbar
.
title
=
"运单列表"
navbar
.
title
=
"运单列表"
self
.
view
.
addSubview
(
navbar
)
self
.
view
.
addSubview
(
navbar
)
listView
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
equalTo
(
NavCGRect
.
height
)
locBtn
.
setImage
(
UIImage
(
named
:
"dzdingwei"
),
for
:
.
normal
)
make
.
left
.
right
.
equalTo
(
0
)
locBtn
.
setTitle
(
" "
+
"广州"
,
for
:
.
normal
)
make
.
bottom
.
equalTo
(
bottomView
.
snp_top
)
locBtn
.
setTitleColor
(
UIColor
(
named
:
"蓝色字体颜色"
),
for
:
.
normal
)
}
locBtn
.
titleLabel
?
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
)
locBtn
.
backgroundColor
=
UIColor
.
red
locBtn
.
sizeToFit
()
locBtn
.
addTarget
(
self
,
action
:
#selector(
locSelect
)
,
for
:
.
touchUpInside
)
self
.
view
.
addSubview
(
locBtn
)
self
.
view
.
addSubview
(
locBtn
)
locBtn
.
snp_makeConstraints
({
(
make
)
in
locBtn
.
snp_makeConstraints
({
(
make
)
in
make
.
right
.
equalTo
(
-
15
)
make
.
right
.
equalTo
(
-
15
)
make
.
centerY
.
equalTo
(
navbar
.
snp_centerY
)
.
offset
(
10
)
make
.
centerY
.
equalTo
(
navbar
.
snp_centerY
)
.
offset
(
10
)
make
.
height
.
equalTo
(
30
)
make
.
height
.
equalTo
(
30
)
make
.
width
.
equalTo
(
100
)
make
.
width
.
equalTo
(
locBtn
.
bounds
.
size
.
width
)
})
})
SetTopFrame
(
view
:
topBtnView
,
height
:
44
)
SetTopFrame
(
view
:
topBtnView
,
height
:
44
)
...
@@ -200,7 +204,10 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
...
@@ -200,7 +204,10 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
listView
.
register
(
UINib
(
nibName
:
"PersonCenterCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"PersonCenter"
)
listView
.
register
(
UINib
(
nibName
:
"PersonCenterCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"PersonCenter"
)
listView
.
register
(
UINib
(
nibName
:
"TitleAndTFBtnCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"TitleAndTFBtnCell"
)
listView
.
register
(
UINib
(
nibName
:
"TitleAndTFBtnCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"TitleAndTFBtnCell"
)
listView
.
register
(
UINib
(
nibName
:
"WenDuCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"WenDu"
)
listView
.
register
(
UINib
(
nibName
:
"WenDuCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"WenDu"
)
// Do any additional setup after loading the view.
//MARK: - 货拉拉
hListView
.
separatorStyle
=
.
none
}
}
...
...
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.xib
View file @
c0405de8
...
@@ -61,25 +61,13 @@
...
@@ -61,25 +61,13 @@
<subviews>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"00z-eF-Akb"
customClass=
"LGButton"
customModule=
"LGButton"
>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"00z-eF-Akb"
customClass=
"LGButton"
customModule=
"LGButton"
>
<rect
key=
"frame"
x=
"304"
y=
"0.0"
width=
"110"
height=
"49"
/>
<rect
key=
"frame"
x=
"304"
y=
"0.0"
width=
"110"
height=
"49"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"下运单"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"wU5-88-RNl"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"110"
height=
"49"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Medium"
family=
"PingFang SC"
pointSize=
"17"
/>
<color
key=
"textColor"
name=
"白色背景色"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<constraints>
<constraints>
<constraint
firstAttribute=
"bottom"
secondItem=
"wU5-88-RNl"
secondAttribute=
"bottom"
id=
"6ms-kj-Etu"
/>
<constraint
firstItem=
"wU5-88-RNl"
firstAttribute=
"leading"
secondItem=
"00z-eF-Akb"
secondAttribute=
"leading"
id=
"VwB-sE-o6w"
/>
<constraint
firstAttribute=
"width"
constant=
"110"
id=
"nhu-c8-Mft"
>
<constraint
firstAttribute=
"width"
constant=
"110"
id=
"nhu-c8-Mft"
>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"boolean"
keyPath=
"isAdaptateScreen"
value=
"YES"
/>
<userDefinedRuntimeAttribute
type=
"boolean"
keyPath=
"isAdaptateScreen"
value=
"YES"
/>
</userDefinedRuntimeAttributes>
</userDefinedRuntimeAttributes>
</constraint>
</constraint>
<constraint
firstAttribute=
"trailing"
secondItem=
"wU5-88-RNl"
secondAttribute=
"trailing"
id=
"vnG-vV-raa"
/>
<constraint
firstItem=
"wU5-88-RNl"
firstAttribute=
"top"
secondItem=
"00z-eF-Akb"
secondAttribute=
"top"
id=
"yRb-MU-1Fp"
/>
</constraints>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"gradientStartColor"
>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"gradientStartColor"
>
...
@@ -97,6 +85,12 @@
...
@@ -97,6 +85,12 @@
<action
selector=
"orderAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"J3x-Db-ytY"
/>
<action
selector=
"orderAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"J3x-Db-ytY"
/>
</connections>
</connections>
</view>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"下运单"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"wU5-88-RNl"
>
<rect
key=
"frame"
x=
"333.66666666666669"
y=
"12.666666666666629"
width=
"51"
height=
"24"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Medium"
family=
"PingFang SC"
pointSize=
"17"
/>
<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=
"b7y-XE-wYd"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"预估:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"b7y-XE-wYd"
>
<rect
key=
"frame"
x=
"30"
y=
"10"
width=
"28"
height=
"15"
/>
<rect
key=
"frame"
x=
"30"
y=
"10"
width=
"28"
height=
"15"
/>
<constraints>
<constraints>
...
@@ -158,7 +152,9 @@
...
@@ -158,7 +152,9 @@
<constraint
firstItem=
"Dlt-Q6-zeB"
firstAttribute=
"leading"
secondItem=
"zlN-AZ-k0b"
secondAttribute=
"trailing"
constant=
"10"
id=
"HRH-Zj-eYd"
/>
<constraint
firstItem=
"Dlt-Q6-zeB"
firstAttribute=
"leading"
secondItem=
"zlN-AZ-k0b"
secondAttribute=
"trailing"
constant=
"10"
id=
"HRH-Zj-eYd"
/>
<constraint
firstItem=
"zlN-AZ-k0b"
firstAttribute=
"centerY"
secondItem=
"b7y-XE-wYd"
secondAttribute=
"centerY"
id=
"JH5-7l-9Y2"
/>
<constraint
firstItem=
"zlN-AZ-k0b"
firstAttribute=
"centerY"
secondItem=
"b7y-XE-wYd"
secondAttribute=
"centerY"
id=
"JH5-7l-9Y2"
/>
<constraint
firstItem=
"b7y-XE-wYd"
firstAttribute=
"top"
secondItem=
"BXb-QP-ceT"
secondAttribute=
"top"
constant=
"10"
id=
"KrG-Hd-v9x"
/>
<constraint
firstItem=
"b7y-XE-wYd"
firstAttribute=
"top"
secondItem=
"BXb-QP-ceT"
secondAttribute=
"top"
constant=
"10"
id=
"KrG-Hd-v9x"
/>
<constraint
firstItem=
"wU5-88-RNl"
firstAttribute=
"centerX"
secondItem=
"00z-eF-Akb"
secondAttribute=
"centerX"
id=
"MKf-Ad-GQL"
/>
<constraint
firstAttribute=
"height"
constant=
"49"
id=
"Pmn-SY-6cw"
/>
<constraint
firstAttribute=
"height"
constant=
"49"
id=
"Pmn-SY-6cw"
/>
<constraint
firstItem=
"wU5-88-RNl"
firstAttribute=
"centerY"
secondItem=
"BXb-QP-ceT"
secondAttribute=
"centerY"
id=
"ZN7-xN-aGx"
/>
<constraint
firstItem=
"Jke-gH-KJE"
firstAttribute=
"leading"
secondItem=
"Dlt-Q6-zeB"
secondAttribute=
"trailing"
constant=
"5"
id=
"co5-WL-8Y2"
/>
<constraint
firstItem=
"Jke-gH-KJE"
firstAttribute=
"leading"
secondItem=
"Dlt-Q6-zeB"
secondAttribute=
"trailing"
constant=
"5"
id=
"co5-WL-8Y2"
/>
<constraint
firstItem=
"i3n-wg-dGW"
firstAttribute=
"leading"
secondItem=
"BXb-QP-ceT"
secondAttribute=
"leading"
constant=
"30"
id=
"hCf-5p-jFN"
/>
<constraint
firstItem=
"i3n-wg-dGW"
firstAttribute=
"leading"
secondItem=
"BXb-QP-ceT"
secondAttribute=
"leading"
constant=
"30"
id=
"hCf-5p-jFN"
/>
<constraint
firstItem=
"i3n-wg-dGW"
firstAttribute=
"top"
secondItem=
"b7y-XE-wYd"
secondAttribute=
"bottom"
constant=
"3"
id=
"hPQ-Dm-etp"
/>
<constraint
firstItem=
"i3n-wg-dGW"
firstAttribute=
"top"
secondItem=
"b7y-XE-wYd"
secondAttribute=
"bottom"
constant=
"3"
id=
"hPQ-Dm-etp"
/>
...
...
GeliBusinessPlatform/ViewController/工作中心/WorkCViewController.swift
View file @
c0405de8
...
@@ -488,8 +488,8 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
...
@@ -488,8 +488,8 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
// HUD.flash(.label("敬请期待"),delay: 1.2)
// HUD.flash(.label("敬请期待"),delay: 1.2)
// return
// return
//
let vc = XiaYunDanViewController()
let
vc
=
XiaYunDanViewController
()
let
vc
=
ShouZhiTongJiViewControll
er
()
// let vc = ShouZhiTongJiViewControll
er()
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
return
return
case
76
:
//收支详情
case
76
:
//收支详情
...
...
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