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
172e1c66
Commit
172e1c66
authored
Jun 12, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 默认值错误
parent
3795bad5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
YHCertificateInfoCell.swift
...(服务中心)/MyCertificates(我的证书)/V/YHCertificateInfoCell.swift
+4
-0
YHFamilyInitialInfo.swift
...我的信息流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
+7
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateInfoCell.swift
View file @
172e1c66
...
...
@@ -74,6 +74,10 @@ class YHCertificateInfoCell: UITableViewCell {
.
foregroundColor
:
UIColor
.
labelTextColor2
]
let
attrString
=
NSMutableAttributedString
(
string
:
infoStr
,
attributes
:
attributes
)
let
paragraphStyle
=
NSMutableParagraphStyle
()
paragraphStyle
.
lineSpacing
=
4.0
// 设置行间距为 8 点
attrString
.
addAttribute
(
.
paragraphStyle
,
value
:
paragraphStyle
,
range
:
NSRange
(
location
:
0
,
length
:
infoStr
.
count
))
infoLabel
.
attributedText
=
attrString
var
result
:
ASAttributedString
=
.
init
(
string
:
""
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
mainTextColor
))
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
View file @
172e1c66
...
...
@@ -555,6 +555,7 @@ class YHFamilyMemberGroupInfo: SmartCodable {
_
=
father
?
.
checkDefaultValue
()
_
=
mother
?
.
checkDefaultValue
()
_
=
spouse
?
.
checkDefaultValue
()
if
let
child
=
child
{
for
item
in
child
{
_
=
item
.
checkDefaultValue
()
...
...
@@ -659,13 +660,19 @@ class YHFamilyMember: SmartCodable, YHFormItemProtocol {
}
if
follow
!=
1
&&
follow
!=
2
{
// 默认随行
if
self
.
relationType
==
.
father
||
self
.
relationType
==
.
mother
||
self
.
relationType
==
.
brother
{
follow
=
0
}
else
{
follow
=
1
}
}
if
isLiveOverseaYear
!=
1
&&
isLiveOverseaYear
!=
2
{
// 默认在海外未居住满一年以上
isLiveOverseaYear
=
2
}
return
self
}
...
...
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