Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
7ec78709
Commit
7ec78709
authored
May 14, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时间选择器优化
parent
b965c96a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
YHDatePickView.swift
...)/MainApplicantInformation(主申请人信息)/V/YHDatePickView.swift
+3
-9
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/V/YHDatePickView.swift
View file @
7ec78709
...
@@ -336,19 +336,13 @@ extension YHDatePickView: UIPickerViewDelegate,UIPickerViewDataSource {
...
@@ -336,19 +336,13 @@ extension YHDatePickView: UIPickerViewDelegate,UIPickerViewDataSource {
}
}
func
pickerView
(
_
pickerView
:
UIPickerView
,
didSelectRow
row
:
Int
,
inComponent
component
:
Int
)
{
func
pickerView
(
_
pickerView
:
UIPickerView
,
didSelectRow
row
:
Int
,
inComponent
component
:
Int
)
{
if
component
==
1
,
self
.
type
==
.
yyyymmdd
{
if
(
component
==
0
||
component
==
1
)
,
self
.
type
==
.
yyyymmdd
{
pickerView
.
reloadComponent
(
1
)
pickerView
.
reloadComponent
(
1
)
pickerView
.
reloadComponent
(
2
)
}
}
if
component
==
0
,
lastIsTaday
,
self
.
type
!=
.
yyyy
{
if
self
.
type
==
.
yyyymm
{
pickerView
.
reloadComponent
(
1
)
pickerView
.
reloadComponent
(
1
)
if
self
.
type
==
.
yyyymmdd
{
pickerView
.
reloadComponent
(
2
)
}
}
if
component
==
1
,
lastIsTaday
,
self
.
type
==
.
yyyymmdd
{
pickerView
.
reloadComponent
(
2
)
}
}
}
}
}
}
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