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
f50220df
Commit
f50220df
authored
Mar 20, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品走查修改
parent
63c26152
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
2 deletions
+19
-2
YHItemView.swift
...信息流程)/MainApplicantInformation(主申请人信息)/V/YHItemView.swift
+9
-0
YHWorkIntroductionViewController.swift
...Experience(工作经验)/C/YHWorkIntroductionViewController.swift
+1
-1
YHWorkExperienceItemView.swift
...流程)/WorkExperience(工作经验)/V/YHWorkExperienceItemView.swift
+9
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/V/YHItemView.swift
View file @
f50220df
...
@@ -24,6 +24,7 @@ class YHItemView: UIView {
...
@@ -24,6 +24,7 @@ class YHItemView: UIView {
updateAllViews
()
updateAllViews
()
}
}
}
}
override
init
(
frame
:
CGRect
)
{
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
super
.
init
(
frame
:
frame
)
backgroundColor
=
.
white
backgroundColor
=
.
white
...
@@ -52,6 +53,9 @@ class YHItemView: UIView {
...
@@ -52,6 +53,9 @@ class YHItemView: UIView {
textField
.
textColor
=
UIColor
.
mainTextColor
textField
.
textColor
=
UIColor
.
mainTextColor
textField
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
textField
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
textField
.
addTarget
(
self
,
action
:
#selector(
textFieldDidChanged
)
,
for
:
.
editingChanged
)
textField
.
addTarget
(
self
,
action
:
#selector(
textFieldDidChanged
)
,
for
:
.
editingChanged
)
textField
.
adjustsFontSizeToFitWidth
=
true
//最小字体
textField
.
minimumFontSize
=
12
return
textField
return
textField
}()
}()
addSubview
(
messageTextField
)
addSubview
(
messageTextField
)
...
@@ -244,6 +248,11 @@ class YHItemView: UIView {
...
@@ -244,6 +248,11 @@ class YHItemView: UIView {
}
}
nextStepImageView
.
isHidden
=
false
nextStepImageView
.
isHidden
=
false
centerButton
.
isHidden
=
false
centerButton
.
isHidden
=
false
messageTextField
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
bottom
.
equalToSuperview
()
make
.
right
.
equalTo
(
-
20
)
make
.
left
.
equalTo
(
112
)
}
}
}
if
(
dataSource
.
leftButtonString
!=
nil
)
{
if
(
dataSource
.
leftButtonString
!=
nil
)
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/C/YHWorkIntroductionViewController.swift
View file @
f50220df
...
@@ -348,7 +348,7 @@ extension YHWorkIntroductionViewController: UITextFieldDelegate {
...
@@ -348,7 +348,7 @@ extension YHWorkIntroductionViewController: UITextFieldDelegate {
func
textField
(
_
textField
:
UITextField
,
shouldChangeCharactersIn
range
:
NSRange
,
replacementString
string
:
String
)
->
Bool
{
func
textField
(
_
textField
:
UITextField
,
shouldChangeCharactersIn
range
:
NSRange
,
replacementString
string
:
String
)
->
Bool
{
let
newText
=
(
textField
.
text
!
as
NSString
)
.
replacingCharacters
(
in
:
range
,
with
:
string
)
let
newText
=
(
textField
.
text
!
as
NSString
)
.
replacingCharacters
(
in
:
range
,
with
:
string
)
if
newText
.
count
>
1
00
{
if
newText
.
count
>
1
5
{
return
false
return
false
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/V/YHWorkExperienceItemView.swift
View file @
f50220df
...
@@ -54,6 +54,9 @@ class YHWorkExperienceItemView: UIView {
...
@@ -54,6 +54,9 @@ class YHWorkExperienceItemView: UIView {
textField
.
delegate
=
self
textField
.
delegate
=
self
textField
.
textColor
=
UIColor
.
mainTextColor
textField
.
textColor
=
UIColor
.
mainTextColor
textField
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
textField
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
textField
.
adjustsFontSizeToFitWidth
=
true
//最小字体
textField
.
minimumFontSize
=
12
return
textField
return
textField
}()
}()
addSubview
(
messageTextField
)
addSubview
(
messageTextField
)
...
@@ -246,6 +249,11 @@ class YHWorkExperienceItemView: UIView {
...
@@ -246,6 +249,11 @@ class YHWorkExperienceItemView: UIView {
}
}
nextStepImageView
.
isHidden
=
false
nextStepImageView
.
isHidden
=
false
centerButton
.
isHidden
=
false
centerButton
.
isHidden
=
false
messageTextField
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
bottom
.
equalToSuperview
()
make
.
right
.
equalTo
(
-
20
)
make
.
left
.
equalTo
(
112
)
}
}
}
if
(
dataSource
.
leftButtonString
!=
nil
)
{
if
(
dataSource
.
leftButtonString
!=
nil
)
{
...
@@ -376,7 +384,7 @@ class YHWorkExperienceItemView: UIView {
...
@@ -376,7 +384,7 @@ class YHWorkExperienceItemView: UIView {
let
addressPicker
=
YHAddressViewController
()
let
addressPicker
=
YHAddressViewController
()
addressPicker
.
backLocationStringController
=
{
(
address
,
province
,
city
,
area
)
in
addressPicker
.
backLocationStringController
=
{
(
address
,
province
,
city
,
area
)
in
self
.
dataSource
?
.
message
=
address
self
.
dataSource
?
.
message
=
address
self
.
dataSource
?
.
value
=
[
province
,
city
,
area
]
self
.
dataSource
?
.
value
=
[
province
,
city
]
self
.
updateAllViews
()
self
.
updateAllViews
()
if
let
block
=
self
.
block
{
if
let
block
=
self
.
block
{
block
(
self
.
dataSource
??
YHWorkExperienceModel
())
block
(
self
.
dataSource
??
YHWorkExperienceModel
())
...
...
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