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
61e75c1d
Commit
61e75c1d
authored
Jul 27, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
切换货拉拉
parent
5f286e48
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
77 additions
and
7 deletions
+77
-7
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/Assets.xcassets/字体色/#E37847.colorset/Contents.json
...atform/Assets.xcassets/字体色/#E37847.colorset/Contents.json
+20
-0
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
...ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
+48
-5
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.xib
...m/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.xib
+0
-0
GeliBusinessPlatform/ViewController/工作中心/WorkCViewController.swift
...essPlatform/ViewController/工作中心/WorkCViewController.swift
+8
-1
GeliBusinessPlatform/ViewController/登录/LoginViewController.swift
...inessPlatform/ViewController/登录/LoginViewController.swift
+1
-1
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
61e75c1d
No preview for this file type
GeliBusinessPlatform/Assets.xcassets/字体色/#E37847.colorset/Contents.json
0 → 100644
View file @
61e75c1d
{
"colors"
:
[
{
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"1.000"
,
"blue"
:
"0.278"
,
"green"
:
"0.471"
,
"red"
:
"0.890"
}
},
"idiom"
:
"universal"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
View file @
61e75c1d
...
...
@@ -108,17 +108,58 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
let
vc
=
XiaDanChengGongViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
@IBOutlet
weak
var
topBtnView
:
UIView
!
@IBOutlet
weak
var
bottomView
:
UIView
!
@IBOutlet
weak
var
listView
:
UITableView
!
var
locBtn
=
UIButton
()
@IBOutlet
weak
var
hListView
:
UITableView
!
@IBAction
func
selectAction
(
_
sender
:
UIButton
)
{
if
rightBtn
==
sender
{
rightBtn
.
isSelected
=
true
leftBtn
.
isSelected
=
false
lineV
.
frame
.
origin
.
x
=
fullScreenWidth
*
0.5
hllView
.
isHidden
=
false
if
fullScreenHeight
>
736
{
hBtnViewH
.
constant
=
83
}
else
{
hBtnViewH
.
constant
=
49
}
}
else
{
rightBtn
.
isSelected
=
false
leftBtn
.
isSelected
=
true
lineV
.
frame
.
origin
.
x
=
0
hllView
.
isHidden
=
true
}
}
@IBOutlet
weak
var
lineV
:
UIView
!
@IBOutlet
weak
var
leftBtn
:
UIButton
!
@IBOutlet
weak
var
hBtnViewH
:
NSLayoutConstraint
!
@IBOutlet
weak
var
hllView
:
UIView
!
@IBOutlet
weak
var
rightBtn
:
UIButton
!
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
navbar
.
title
=
"运单列表"
self
.
view
.
addSubview
(
navbar
)
listView
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
equalTo
(
NavCGRect
.
height
)
make
.
left
.
right
.
equalTo
(
0
)
make
.
bottom
.
equalTo
(
bottomView
.
snp_top
)
}
locBtn
.
backgroundColor
=
UIColor
.
red
self
.
view
.
addSubview
(
locBtn
)
locBtn
.
snp_makeConstraints
({
(
make
)
in
make
.
right
.
equalTo
(
-
15
)
make
.
centerY
.
equalTo
(
navbar
.
snp_centerY
)
.
offset
(
10
)
make
.
height
.
equalTo
(
30
)
make
.
width
.
equalTo
(
100
)
})
SetTopFrame
(
view
:
topBtnView
,
height
:
44
)
listView
.
separatorStyle
=
.
none
listView
.
register
(
UINib
(
nibName
:
"AdressSelectCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"AdressSelect"
)
listView
.
register
(
UINib
(
nibName
:
"PersonCenterCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"PersonCenter"
)
...
...
@@ -267,6 +308,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
return
49
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
// if tableView == listView {
switch
indexPath
.
section
{
case
0
:
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"AdressSelect"
)
as!
AdressSelectCell
...
...
@@ -338,6 +380,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
cell
.
nameLbl
.
text
=
title2Arr
[
indexPath
.
row
]
return
cell
}
// }
}
}
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.xib
View file @
61e75c1d
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/工作中心/WorkCViewController.swift
View file @
61e75c1d
...
...
@@ -37,6 +37,11 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
setTabv
()
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
jpushServiceNotification(notion:)
)
,
name
:
NSNotification
.
Name
(
rawValue
:
"jpushServiceNotification2"
),
object
:
nil
)
...
...
@@ -482,7 +487,9 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
case
75
:
//收支统计
// HUD.flash(.label("敬请期待"),delay: 1.2)
// return
let
vc
=
ShouZhiTongJiViewController
()
let
vc
=
XiaYunDanViewController
()
// let vc = ShouZhiTongJiViewController()
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
return
case
76
:
//收支详情
...
...
GeliBusinessPlatform/ViewController/登录/LoginViewController.swift
View file @
61e75c1d
...
...
@@ -47,7 +47,7 @@ class LoginViewController: BaseViewController, CodeViewDelegate,GeliAlertViewDel
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
self
.
view
.
backgroundColor
=
UIColor
(
named
:
"白色背景色"
)
print
(
"f = "
,
fullScreenHeight
)
}
@IBAction
func
selectLoginAction
(
_
sender
:
UIButton
)
{
...
...
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