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
a9190c23
Commit
a9190c23
authored
Aug 17, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 家庭
parent
4b73c763
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
5 deletions
+26
-5
YHFamilyInfoUpdateViewController.swift
...oConfirm(家庭信息确认)/C/YHFamilyInfoUpdateViewController.swift
+0
-0
YHApproverInfoVerifyCell.swift
...amilyInfoConfirm(家庭信息确认)/V/YHApproverInfoVerifyCell.swift
+2
-1
YHInfoItemView.swift
...ate(办证段)/FamilyInfoConfirm(家庭信息确认)/V/YHInfoItemView.swift
+23
-3
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/FamilyInfoConfirm(家庭信息确认)/C/YHFamilyInfoUpdateViewController.swift
View file @
a9190c23
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/FamilyInfoConfirm(家庭信息确认)/V/YHApproverInfoVerifyCell.swift
View file @
a9190c23
...
...
@@ -118,7 +118,8 @@ extension YHApproverInfoVerifyCell: UITableViewDelegate, UITableViewDataSource {
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
items
.
count
{
let
vc
=
YHFamilyInfoUpdateViewController
()
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/FamilyInfoConfirm(家庭信息确认)/V/YHInfoItemView.swift
View file @
a9190c23
...
...
@@ -41,6 +41,7 @@ class YHInfoItemView: UIView {
tf
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
tf
.
textColor
=
UIColor
.
mainTextColor
tf
.
isHidden
=
true
tf
.
delegate
=
self
return
tf
}()
...
...
@@ -110,13 +111,13 @@ class YHInfoItemView: UIView {
detailLabel
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
16
)
make
.
left
.
equalTo
(
titleLabel
.
snp
.
right
)
make
.
right
.
equalTo
(
-
18.0
-
rightBtnWidth
-
18.0
)
make
.
right
.
equalTo
(
-
18.0
-
rightBtnWidth
)
}
textField
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
0
)
make
.
left
.
equalTo
(
detailLabel
)
make
.
right
.
equalTo
(
-
18.0
-
rightBtnWidth
-
18.0
)
make
.
right
.
equalTo
(
-
18.0
-
rightBtnWidth
)
make
.
height
.
equalTo
(
52
)
}
...
...
@@ -186,7 +187,7 @@ class YHInfoItemView: UIView {
detailLabel
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
16
)
make
.
left
.
equalTo
(
titleLabel
.
snp
.
right
)
make
.
right
.
equalTo
(
item
.
isEditMode
?
-
18.0
-
rightBtnWidth
-
18.0
:
0
)
make
.
right
.
equalTo
(
item
.
isEditMode
?
-
18.0
-
rightBtnWidth
:
0
)
if
isTextEdit
{
make
.
height
.
equalTo
(
20
)
}
...
...
@@ -202,3 +203,22 @@ class YHInfoItemView: UIView {
}
}
}
extension
YHInfoItemView
:
UITextFieldDelegate
{
func
textField
(
_
textField
:
UITextField
,
shouldChangeCharactersIn
range
:
NSRange
,
replacementString
string
:
String
)
->
Bool
{
if
string
.
isEmpty
==
true
{
// 点击删除
return
true
}
let
newText
=
(
textField
.
text
!
as
NSString
)
.
replacingCharacters
(
in
:
range
,
with
:
string
)
// if newText.count > Self.maxWordsCount {
// YHHUD.flash(message: "限制最多\(Self.maxWordsCount)个字符")
// return false
// }
self
.
item
.
detail
=
newText
return
true
}
}
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
a9190c23
...
...
@@ -338,7 +338,7 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
}
if
true
{
let
vc
=
YHFamilyInfo
Update
ViewController
()
let
vc
=
YHFamilyInfo
Confirm
ViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
)
return
}
...
...
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