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
bf508fdc
Commit
bf508fdc
authored
Jul 23, 2020
by
刘俊宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改地址选择器的UI样式,新增货拉拉 费用明细页面UI
parent
9ee1f4ce
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
231 additions
and
20 deletions
+231
-20
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+27
-3
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/Assets.xcassets/字体色/9A9A9A.colorset/Contents.json
...latform/Assets.xcassets/字体色/9A9A9A.colorset/Contents.json
+20
-0
GeliBusinessPlatform/Assets.xcassets/字体色/多选按钮字体颜色.colorset/Contents.json
...tform/Assets.xcassets/字体色/多选按钮字体颜色.colorset/Contents.json
+12
-12
GeliBusinessPlatform/View/NavBarView/NavBarView.swift
GeliBusinessPlatform/View/NavBarView/NavBarView.swift
+2
-2
GeliBusinessPlatform/ViewController/地址管理/XinZengDiZhiViewController.swift
...form/ViewController/地址管理/XinZengDiZhiViewController.swift
+6
-3
GeliBusinessPlatform/ViewController/城市列表/CityListViewController.swift
...Platform/ViewController/城市列表/CityListViewController.swift
+0
-0
GeliBusinessPlatform/ViewController/城市列表/CityListViewController.xib
...ssPlatform/ViewController/城市列表/CityListViewController.xib
+0
-0
GeliBusinessPlatform/ViewController/城市列表/UITableViewIndexView.swift
...ssPlatform/ViewController/城市列表/UITableViewIndexView.swift
+0
-0
GeliBusinessPlatform/ViewController/货拉拉/费用明细/LogisticsCostDetailViewController.swift
...ntroller/货拉拉/费用明细/LogisticsCostDetailViewController.swift
+59
-0
GeliBusinessPlatform/ViewController/货拉拉/费用明细/LogisticsCostDetailViewController.xib
...Controller/货拉拉/费用明细/LogisticsCostDetailViewController.xib
+105
-0
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
bf508fdc
...
@@ -552,6 +552,8 @@
...
@@ -552,6 +552,8 @@
F9956B2524640D34001A617D
/* GoodsClassModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F9956B2424640D34001A617D
/* GoodsClassModel.swift */
;
};
F9956B2524640D34001A617D
/* GoodsClassModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F9956B2424640D34001A617D
/* GoodsClassModel.swift */
;
};
F9A0E1DD246D198B00D7F26F
/* CusListAllModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F9A0E1DC246D198B00D7F26F
/* CusListAllModel.swift */
;
};
F9A0E1DD246D198B00D7F26F
/* CusListAllModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F9A0E1DC246D198B00D7F26F
/* CusListAllModel.swift */
;
};
F9A0E1DF246D1B1E00D7F26F
/* GetGoodsInfoModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F9A0E1DE246D1B1E00D7F26F
/* GetGoodsInfoModel.swift */
;
};
F9A0E1DF246D1B1E00D7F26F
/* GetGoodsInfoModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F9A0E1DE246D1B1E00D7F26F
/* GetGoodsInfoModel.swift */
;
};
F9A4AB6E24C927E900094BD1
/* LogisticsCostDetailViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F9A4AB6C24C927E900094BD1
/* LogisticsCostDetailViewController.swift */
;
};
F9A4AB6F24C927E900094BD1
/* LogisticsCostDetailViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F9A4AB6D24C927E900094BD1
/* LogisticsCostDetailViewController.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 */
;
};
F9DDBE922457BFEC00A32CB2
/* HUDEXT.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F9DDBE912457BFEC00A32CB2
/* HUDEXT.swift */
;
};
F9DDBE922457BFEC00A32CB2
/* HUDEXT.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F9DDBE912457BFEC00A32CB2
/* HUDEXT.swift */
;
};
...
@@ -1190,6 +1192,8 @@
...
@@ -1190,6 +1192,8 @@
F9956B2424640D34001A617D
/* GoodsClassModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
GoodsClassModel.swift
;
sourceTree
=
"<group>"
;
};
F9956B2424640D34001A617D
/* GoodsClassModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
GoodsClassModel.swift
;
sourceTree
=
"<group>"
;
};
F9A0E1DC246D198B00D7F26F
/* CusListAllModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CusListAllModel.swift
;
sourceTree
=
"<group>"
;
};
F9A0E1DC246D198B00D7F26F
/* CusListAllModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
CusListAllModel.swift
;
sourceTree
=
"<group>"
;
};
F9A0E1DE246D1B1E00D7F26F
/* GetGoodsInfoModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
GetGoodsInfoModel.swift
;
sourceTree
=
"<group>"
;
};
F9A0E1DE246D1B1E00D7F26F
/* GetGoodsInfoModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
GetGoodsInfoModel.swift
;
sourceTree
=
"<group>"
;
};
F9A4AB6C24C927E900094BD1
/* LogisticsCostDetailViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
LogisticsCostDetailViewController.swift
;
sourceTree
=
"<group>"
;
};
F9A4AB6D24C927E900094BD1
/* LogisticsCostDetailViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
LogisticsCostDetailViewController.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>"
;
};
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>"
;
};
...
@@ -1841,7 +1845,8 @@
...
@@ -1841,7 +1845,8 @@
E09B03AD2445B0BA00211A51
/* ViewController */
=
{
E09B03AD2445B0BA00211A51
/* ViewController */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
F90F881B24C822750050EF02
/* 城市列表(货拉拉) */
,
F9A4AB6A24C9220C00094BD1
/* 货拉拉 */
,
F90F881B24C822750050EF02
/* 城市列表 */
,
F9956B1F24640865001A617D
/* 商品分类 */
,
F9956B1F24640865001A617D
/* 商品分类 */
,
E0A409C5246400BA00CFF109
/* 分类Cell */
,
E0A409C5246400BA00CFF109
/* 分类Cell */
,
E0A409C02463F2F400CFF109
/* 收支统计 */
,
E0A409C02463F2F400CFF109
/* 收支统计 */
,
...
@@ -2358,14 +2363,14 @@
...
@@ -2358,14 +2363,14 @@
path
=
Cell
;
path
=
Cell
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
F90F881B24C822750050EF02
/* 城市列表
(货拉拉)
*/
=
{
F90F881B24C822750050EF02
/* 城市列表 */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
F90F881C24C8233D0050EF02
/* CityListViewController.swift */
,
F90F881C24C8233D0050EF02
/* CityListViewController.swift */
,
F90F881D24C8233D0050EF02
/* CityListViewController.xib */
,
F90F881D24C8233D0050EF02
/* CityListViewController.xib */
,
F90F882224C841280050EF02
/* UITableViewIndexView.swift */
,
F90F882224C841280050EF02
/* UITableViewIndexView.swift */
,
);
);
path
=
"城市列表
(货拉拉)
"
;
path
=
"城市列表"
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
F924B38E24971BB600A913CD
/* CustomerModel */
=
{
F924B38E24971BB600A913CD
/* CustomerModel */
=
{
...
@@ -2853,6 +2858,23 @@
...
@@ -2853,6 +2858,23 @@
path
=
"商品分类"
;
path
=
"商品分类"
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
F9A4AB6A24C9220C00094BD1
/* 货拉拉 */
=
{
isa
=
PBXGroup
;
children
=
(
F9A4AB6B24C9278200094BD1
/* 费用明细 */
,
);
path
=
"货拉拉"
;
sourceTree
=
"<group>"
;
};
F9A4AB6B24C9278200094BD1
/* 费用明细 */
=
{
isa
=
PBXGroup
;
children
=
(
F9A4AB6C24C927E900094BD1
/* LogisticsCostDetailViewController.swift */
,
F9A4AB6D24C927E900094BD1
/* LogisticsCostDetailViewController.xib */
,
);
path
=
"费用明细"
;
sourceTree
=
"<group>"
;
};
F9DDBE932457D3CB00A32CB2
/* Web */
=
{
F9DDBE932457D3CB00A32CB2
/* Web */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
...
@@ -3000,6 +3022,7 @@
...
@@ -3000,6 +3022,7 @@
E09B03B72445B85A00211A51
/* LoginViewController.xib in Resources */
,
E09B03B72445B85A00211A51
/* LoginViewController.xib in Resources */
,
F96E9D61246657B500B5B94A
/* HGImage.storyboard in Resources */
,
F96E9D61246657B500B5B94A
/* HGImage.storyboard in Resources */
,
E09F4C9E2452BEBB00BE033D
/* JiPaiFangShiViewController.xib in Resources */
,
E09F4C9E2452BEBB00BE033D
/* JiPaiFangShiViewController.xib in Resources */
,
F9A4AB6F24C927E900094BD1
/* LogisticsCostDetailViewController.xib in Resources */
,
E0B5307F247266F400FFCC15
/* DKXDAdrCell.xib in Resources */
,
E0B5307F247266F400FFCC15
/* DKXDAdrCell.xib in Resources */
,
E0A409D12464041200CFF109
/* ThirdCell.xib in Resources */
,
E0A409D12464041200CFF109
/* ThirdCell.xib in Resources */
,
E09B03C12445B96500211A51
/* FgPassViewController.xib in Resources */
,
E09B03C12445B96500211A51
/* FgPassViewController.xib in Resources */
,
...
@@ -3251,6 +3274,7 @@
...
@@ -3251,6 +3274,7 @@
E02FD9FA24557E8600E10E27
/* XinZengDiZhiViewController.swift in Sources */
,
E02FD9FA24557E8600E10E27
/* XinZengDiZhiViewController.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 */
,
E0BE8A7F245A740600E80134
/* ChengGongCell.swift in Sources */
,
E0BE8A7F245A740600E80134
/* ChengGongCell.swift in Sources */
,
E02DDD90244FE54C00ABB707
/* NewCreateHeader.swift in Sources */
,
E02DDD90244FE54C00ABB707
/* NewCreateHeader.swift in Sources */
,
E0228BB0246FDA9A005812FA
/* TitleAndLblCell.swift in Sources */
,
E0228BB0246FDA9A005812FA
/* TitleAndLblCell.swift in Sources */
,
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
View file @
bf508fdc
No preview for this file type
GeliBusinessPlatform/Assets.xcassets/字体色/9A9A9A.colorset/Contents.json
0 → 100644
View file @
bf508fdc
{
"colors"
:
[
{
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"1.000"
,
"blue"
:
"0x9A"
,
"green"
:
"0x9A"
,
"red"
:
"0x9A"
}
},
"idiom"
:
"universal"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
GeliBusinessPlatform/Assets.xcassets/字体色/多选按钮字体颜色.colorset/Contents.json
View file @
bf508fdc
{
{
"properties"
:
{
"localizable"
:
true
},
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
},
"colors"
:
[
"colors"
:
[
{
{
"idiom"
:
"universal"
,
"color"
:
{
"color"
:
{
"color-space"
:
"srgb"
,
"color-space"
:
"srgb"
,
"components"
:
{
"components"
:
{
"red"
:
"0.412"
,
"alpha"
:
"1.000"
,
"alpha"
:
"1.000"
,
"blue"
:
"0.412"
,
"blue"
:
"0x69"
,
"green"
:
"0.412"
"green"
:
"0x69"
,
"red"
:
"0x69"
}
}
},
"idiom"
:
"universal"
}
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
},
"properties"
:
{
"localizable"
:
true
}
}
]
}
}
GeliBusinessPlatform/View/NavBarView/NavBarView.swift
View file @
bf508fdc
...
@@ -34,12 +34,12 @@ class NavBarView: BaseView {
...
@@ -34,12 +34,12 @@ class NavBarView: BaseView {
var
rightTitle
:
String
?{
var
rightTitle
:
String
?{
didSet
{
didSet
{
rightBtn
.
setTitle
(
rightTitle
,
for
:
.
normal
)
rightBtn
.
setTitle
(
rightTitle
,
for
:
.
normal
)
rightBtn
.
titleLabel
?
.
font
=
setFont
(
1
5
)
rightBtn
.
titleLabel
?
.
font
=
setFont
(
1
4
)
rightBtn
.
sizeToFit
()
rightBtn
.
sizeToFit
()
rightBtn
.
setTitleColor
(
UIColor
(
named
:
"按钮渐变色下,字体颜色"
),
for
:
.
normal
)
rightBtn
.
setTitleColor
(
UIColor
(
named
:
"按钮渐变色下,字体颜色"
),
for
:
.
normal
)
rightBtn
.
snp
.
makeConstraints
{
(
make
)
in
rightBtn
.
snp
.
makeConstraints
{
(
make
)
in
make
.
right
.
equalTo
(
-
12
)
make
.
right
.
equalTo
(
-
12
)
make
.
bottom
.
equalTo
(
-
14
)
make
.
bottom
.
equalTo
(
-
7
)
}
}
}
}
}
}
...
...
GeliBusinessPlatform/ViewController/地址管理/XinZengDiZhiViewController.swift
View file @
bf508fdc
...
@@ -290,7 +290,7 @@ class XinZengDiZhiViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -290,7 +290,7 @@ class XinZengDiZhiViewController: BaseViewController,UITableViewDelegate,UITable
self
.
view
.
addSubview
(
btmView
!
)
self
.
view
.
addSubview
(
btmView
!
)
btmView
!.
snp
.
makeConstraints
{
(
make
)
in
btmView
!.
snp
.
makeConstraints
{
(
make
)
in
make
.
left
.
bottom
.
right
.
equalTo
(
0
)
make
.
left
.
bottom
.
right
.
equalTo
(
0
)
make
.
height
.
equalTo
(
2
3
0
)
make
.
height
.
equalTo
(
2
4
0
)
}
}
showAreaSelect
(
view
:
btmView
!
)
showAreaSelect
(
view
:
btmView
!
)
...
@@ -302,7 +302,7 @@ class XinZengDiZhiViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -302,7 +302,7 @@ class XinZengDiZhiViewController: BaseViewController,UITableViewDelegate,UITable
btmView
?
.
addSubview
(
rightBtn
)
btmView
?
.
addSubview
(
rightBtn
)
rightBtn
.
snp
.
makeConstraints
{
(
make
)
in
rightBtn
.
snp
.
makeConstraints
{
(
make
)
in
make
.
right
.
equalTo
(
-
15
)
make
.
right
.
equalTo
(
-
15
)
make
.
top
.
equalTo
(
0
)
make
.
top
.
equalTo
(
1
0
)
make
.
height
.
equalTo
(
30
)
make
.
height
.
equalTo
(
30
)
make
.
width
.
equalTo
(
50
)
make
.
width
.
equalTo
(
50
)
}
}
...
@@ -315,7 +315,7 @@ class XinZengDiZhiViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -315,7 +315,7 @@ class XinZengDiZhiViewController: BaseViewController,UITableViewDelegate,UITable
btmView
?
.
addSubview
(
leftBtn
)
btmView
?
.
addSubview
(
leftBtn
)
leftBtn
.
snp
.
makeConstraints
{
(
make
)
in
leftBtn
.
snp
.
makeConstraints
{
(
make
)
in
make
.
left
.
equalTo
(
15
)
make
.
left
.
equalTo
(
15
)
make
.
top
.
equalTo
(
0
)
make
.
top
.
equalTo
(
1
0
)
make
.
height
.
equalTo
(
30
)
make
.
height
.
equalTo
(
30
)
make
.
width
.
equalTo
(
50
)
make
.
width
.
equalTo
(
50
)
}
}
...
@@ -517,6 +517,9 @@ class XinZengDiZhiViewController: BaseViewController,UITableViewDelegate,UITable
...
@@ -517,6 +517,9 @@ class XinZengDiZhiViewController: BaseViewController,UITableViewDelegate,UITable
break
;
break
;
}
}
}
}
func
pickerView
(
_
pickerView
:
UIPickerView
,
rowHeightForComponent
component
:
Int
)
->
CGFloat
{
return
50
}
//自定义UIPickerView
//自定义UIPickerView
func
pickerView
(
_
pickerView
:
UIPickerView
,
viewForRow
row
:
Int
,
forComponent
component
:
Int
,
reusing
view
:
UIView
?)
->
UIView
{
func
pickerView
(
_
pickerView
:
UIPickerView
,
viewForRow
row
:
Int
,
forComponent
component
:
Int
,
reusing
view
:
UIView
?)
->
UIView
{
let
genderLbl
=
UILabel
()
let
genderLbl
=
UILabel
()
...
...
GeliBusinessPlatform/ViewController/城市列表
(货拉拉)
/CityListViewController.swift
→
GeliBusinessPlatform/ViewController/城市列表/CityListViewController.swift
View file @
bf508fdc
File moved
GeliBusinessPlatform/ViewController/城市列表
(货拉拉)
/CityListViewController.xib
→
GeliBusinessPlatform/ViewController/城市列表/CityListViewController.xib
View file @
bf508fdc
File moved
GeliBusinessPlatform/ViewController/城市列表
(货拉拉)
/UITableViewIndexView.swift
→
GeliBusinessPlatform/ViewController/城市列表/UITableViewIndexView.swift
View file @
bf508fdc
File moved
GeliBusinessPlatform/ViewController/货拉拉/费用明细/LogisticsCostDetailViewController.swift
0 → 100644
View file @
bf508fdc
//
// LogisticsCostDetailViewController.swift
// GeliBusinessPlatform
//
// Created by 刘俊宏 on 2020/7/23.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
class
LogisticsCostDetailViewController
:
BaseViewController
{
@IBOutlet
weak
var
lineView
:
UIView
!
@IBOutlet
weak
var
contentV
:
UIView
!
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
navbar
.
title
=
"费用明细"
self
.
view
.
addSubview
(
navbar
)
navbar
.
rightTitle
=
"收费标准"
navbar
.
rightBtnColor
=
UIColor
.
init
(
named
:
"灰色字体颜色"
)
SetTopFrameView
(
view
:
contentV
,
btmView
:
self
.
view
)
setCostDetailView
()
}
func
rightBtnClick
()
{
print
(
"收费标准"
)
}
//临时UI,待数据,可能有多个,多到要滚动(暂时先考虑够显示)
func
setCostDetailView
()
{
let
leftLbl
=
UILabel
()
leftLbl
.
textAlignment
=
.
left
leftLbl
.
textColor
=
UIColor
.
init
(
named
:
"灰色字体颜色"
)
leftLbl
.
font
=
UIFont
.
init
(
name
:
"PingFang SC"
,
size
:
13
)
contentV
.
addSubview
(
leftLbl
)
let
rightLbl
=
UILabel
()
rightLbl
.
textAlignment
=
.
right
rightLbl
.
textColor
=
UIColor
.
init
(
named
:
"灰色字体颜色"
)
rightLbl
.
font
=
UIFont
.
init
(
name
:
"PingFang SC"
,
size
:
13
)
contentV
.
addSubview
(
rightLbl
)
leftLbl
.
snp
.
makeConstraints
{
(
make
)
in
make
.
left
.
equalTo
(
45
)
make
.
top
.
equalTo
(
lineView
.
snp_bottom
)
.
offset
(
30
)
}
rightLbl
.
snp
.
makeConstraints
{
(
make
)
in
make
.
right
.
equalTo
(
-
45
)
make
.
top
.
equalTo
(
lineView
.
snp_bottom
)
.
offset
(
30
)
}
leftLbl
.
text
=
"起步价(小面包车)"
rightLbl
.
text
=
"¥4548.8"
}
}
GeliBusinessPlatform/ViewController/货拉拉/费用明细/LogisticsCostDetailViewController.xib
0 → 100644
View file @
bf508fdc
<?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"
customClass=
"LogisticsCostDetailViewController"
customModule=
"TestClass"
customModuleProvider=
"target"
>
<connections>
<outlet
property=
"contentV"
destination=
"e3L-UF-DVw"
id=
"1NT-my-Rg0"
/>
<outlet
property=
"lineView"
destination=
"cYG-RP-3Ac"
id=
"rkw-i7-b7g"
/>
<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>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"e3L-UF-DVw"
>
<rect
key=
"frame"
x=
"0.0"
y=
"44"
width=
"414"
height=
"852"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"5262.2"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"4zD-0t-aeW"
>
<rect
key=
"frame"
x=
"108.5"
y=
"52"
width=
"98.5"
height=
"42"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Medium"
family=
"PingFang SC"
pointSize=
"30"
/>
<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=
"wQA-CT-1Xv"
>
<rect
key=
"frame"
x=
"90.5"
y=
"66"
width=
"15"
height=
"21"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
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=
"(总里程328.5公里)"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"mah-gJ-VGh"
>
<rect
key=
"frame"
x=
"210"
y=
"66"
width=
"184"
height=
"21"
/>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"15"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
numberOfLines=
"0"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"bOL-0I-qxf"
>
<rect
key=
"frame"
x=
"65"
y=
"122"
width=
"284"
height=
"31"
/>
<string
key=
"text"
>
若产生高速费、停车费和搬运费,请用户额外支付
若涉及逾时等候费,请与司机按收费标准结算
</string>
<fontDescription
key=
"fontDescription"
name=
"PingFangSC-Regular"
family=
"PingFang SC"
pointSize=
"11"
/>
<color
key=
"textColor"
name=
"9A9A9A"
/>
<nil
key=
"highlightedColor"
/>
</label>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"cYG-RP-3Ac"
>
<rect
key=
"frame"
x=
"30"
y=
"173"
width=
"354"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"vzv-gx-keF"
/>
</constraints>
</view>
</subviews>
<color
key=
"backgroundColor"
name=
"白色背景色"
/>
<constraints>
<constraint
firstItem=
"4zD-0t-aeW"
firstAttribute=
"top"
secondItem=
"e3L-UF-DVw"
secondAttribute=
"top"
constant=
"52"
id=
"6MN-pK-UwU"
/>
<constraint
firstItem=
"wQA-CT-1Xv"
firstAttribute=
"bottom"
secondItem=
"4zD-0t-aeW"
secondAttribute=
"bottom"
constant=
"-7"
id=
"Ady-MI-q3J"
/>
<constraint
firstItem=
"mah-gJ-VGh"
firstAttribute=
"bottom"
secondItem=
"4zD-0t-aeW"
secondAttribute=
"bottom"
constant=
"-7"
id=
"E1h-Pz-ifQ"
/>
<constraint
firstItem=
"bOL-0I-qxf"
firstAttribute=
"leading"
secondItem=
"e3L-UF-DVw"
secondAttribute=
"leading"
constant=
"65"
id=
"GRV-Xk-YoH"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"mah-gJ-VGh"
secondAttribute=
"trailing"
constant=
"20"
id=
"JBJ-zc-fWb"
/>
<constraint
firstItem=
"cYG-RP-3Ac"
firstAttribute=
"leading"
secondItem=
"e3L-UF-DVw"
secondAttribute=
"leading"
constant=
"30"
id=
"Qve-15-osF"
/>
<constraint
firstItem=
"bOL-0I-qxf"
firstAttribute=
"top"
secondItem=
"4zD-0t-aeW"
secondAttribute=
"bottom"
constant=
"28"
id=
"aI1-aE-c1i"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"cYG-RP-3Ac"
secondAttribute=
"trailing"
constant=
"30"
id=
"cLO-8M-wtQ"
/>
<constraint
firstItem=
"4zD-0t-aeW"
firstAttribute=
"leading"
secondItem=
"wQA-CT-1Xv"
secondAttribute=
"trailing"
constant=
"3"
id=
"dRk-gd-zIG"
/>
<constraint
firstItem=
"cYG-RP-3Ac"
firstAttribute=
"top"
secondItem=
"bOL-0I-qxf"
secondAttribute=
"bottom"
constant=
"20"
id=
"dwb-ML-E5W"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"bOL-0I-qxf"
secondAttribute=
"trailing"
constant=
"65"
id=
"hDK-2u-yEJ"
/>
<constraint
firstItem=
"4zD-0t-aeW"
firstAttribute=
"leading"
relation=
"greaterThanOrEqual"
secondItem=
"e3L-UF-DVw"
secondAttribute=
"leading"
constant=
"20"
id=
"pHD-2m-ztl"
/>
<constraint
firstItem=
"4zD-0t-aeW"
firstAttribute=
"trailing"
secondItem=
"e3L-UF-DVw"
secondAttribute=
"centerX"
id=
"uYP-N9-Zfl"
/>
<constraint
firstItem=
"mah-gJ-VGh"
firstAttribute=
"leading"
secondItem=
"e3L-UF-DVw"
secondAttribute=
"centerX"
constant=
"3"
id=
"yjn-gl-Ta8"
/>
</constraints>
</view>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<constraints>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"e3L-UF-DVw"
secondAttribute=
"trailing"
id=
"21e-7L-N3g"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"e3L-UF-DVw"
secondAttribute=
"bottom"
id=
"3Qk-Li-t3K"
/>
<constraint
firstItem=
"e3L-UF-DVw"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"csW-bm-ZAl"
/>
<constraint
firstItem=
"e3L-UF-DVw"
firstAttribute=
"top"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"top"
id=
"rhj-Fs-YQn"
/>
</constraints>
<viewLayoutGuide
key=
"safeArea"
id=
"fnl-2z-Ty3"
/>
<point
key=
"canvasLocation"
x=
"-62"
y=
"110"
/>
</view>
</objects>
<resources>
<namedColor
name=
"9A9A9A"
>
<color
red=
"0.60392156862745094"
green=
"0.60392156862745094"
blue=
"0.60392156862745094"
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=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</resources>
</document>
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