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
090ca5eb
Commit
090ca5eb
authored
Nov 06, 2020
by
刘俊宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分销订单管理cell待完善
parent
0c3b6adc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
3 deletions
+24
-3
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/分销订单管理/RetailManageViewController.swift
...rm/ViewController/分销订单管理/RetailManageViewController.swift
+18
-1
GeliBusinessPlatform/ViewController/分销订单管理/RetailManageViewController.xib
...form/ViewController/分销订单管理/RetailManageViewController.xib
+6
-2
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
View file @
090ca5eb
No preview for this file type
GeliBusinessPlatform/ViewController/分销订单管理/RetailManageViewController.swift
View file @
090ca5eb
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
import
UIKit
import
UIKit
class
RetailManageViewController
:
BaseViewController
,
UISearchBarDelegate
,
SearchBarViewDelegate
,
HeaderSelectViewDelegate
,
SelectContentViewDelegate
,
TimeShowDownViewDeleagte
{
class
RetailManageViewController
:
BaseViewController
,
UISearchBarDelegate
,
SearchBarViewDelegate
,
HeaderSelectViewDelegate
,
SelectContentViewDelegate
,
TimeShowDownViewDeleagte
,
UITableViewDelegate
,
UITableViewDataSource
{
@IBOutlet
weak
var
listView
:
UITableView
!
@IBOutlet
weak
var
listView
:
UITableView
!
...
@@ -24,6 +24,10 @@ class RetailManageViewController: BaseViewController,UISearchBarDelegate,SearchB
...
@@ -24,6 +24,10 @@ class RetailManageViewController: BaseViewController,UISearchBarDelegate,SearchB
//searchbar
//searchbar
initSearchBar
()
initSearchBar
()
initHeaderSelectView
()
initHeaderSelectView
()
listView
.
register
(
UINib
(
nibName
:
"TitleContentCell"
,
bundle
:
nil
),
forCellReuseIdentifier
:
"TitleContentCell"
)
listView
.
separatorStyle
=
.
none
listView
.
delegate
=
self
listView
.
dataSource
=
self
}
}
//MARK:--initSearchBar
//MARK:--initSearchBar
...
@@ -192,5 +196,18 @@ class RetailManageViewController: BaseViewController,UISearchBarDelegate,SearchB
...
@@ -192,5 +196,18 @@ class RetailManageViewController: BaseViewController,UISearchBarDelegate,SearchB
@objc
func
loadData
(){
@objc
func
loadData
(){
}
}
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
return
3
}
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
2
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleContentCell"
)
as!
TitleContentCell
return
cell
}
}
}
GeliBusinessPlatform/ViewController/分销订单管理/RetailManageViewController.xib
View file @
090ca5eb
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17126"
/>
<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=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.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"
/>
...
@@ -36,9 +37,9 @@
...
@@ -36,9 +37,9 @@
<constraint
firstAttribute=
"height"
constant=
"45"
id=
"6Ma-LE-6Vg"
/>
<constraint
firstAttribute=
"height"
constant=
"45"
id=
"6Ma-LE-6Vg"
/>
</constraints>
</constraints>
</view>
</view>
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
style=
"plain"
separatorStyle=
"default"
rowHeight=
"-1"
estimatedRowHeight=
"-1"
sectionHeaderHeight=
"28"
sectionFooterHeight=
"28"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"rD1-9Z-Grg"
>
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
s
howsHorizontalScrollIndicator=
"NO"
showsVerticalScrollIndicator=
"NO"
s
tyle=
"plain"
separatorStyle=
"default"
rowHeight=
"-1"
estimatedRowHeight=
"-1"
sectionHeaderHeight=
"28"
sectionFooterHeight=
"28"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"rD1-9Z-Grg"
>
<rect
key=
"frame"
x=
"0.0"
y=
"134"
width=
"414"
height=
"762"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"134"
width=
"414"
height=
"762"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor
"
/>
<color
key=
"backgroundColor"
name=
"app底色
"
/>
</tableView>
</tableView>
</subviews>
</subviews>
<viewLayoutGuide
key=
"safeArea"
id=
"fnl-2z-Ty3"
/>
<viewLayoutGuide
key=
"safeArea"
id=
"fnl-2z-Ty3"
/>
...
@@ -59,6 +60,9 @@
...
@@ -59,6 +60,9 @@
</view>
</view>
</objects>
</objects>
<resources>
<resources>
<namedColor
name=
"app底色"
>
<color
red=
"0.94509803921568625"
green=
"0.94509803921568625"
blue=
"0.94509803921568625"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<systemColor
name=
"systemBackgroundColor"
>
<systemColor
name=
"systemBackgroundColor"
>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
</systemColor>
</systemColor>
...
...
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