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
2e210e6a
Commit
2e210e6a
authored
Mar 05, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 家庭成员
parent
89d2a364
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
YHFormItemDoubleChoiceCell.swift
.../FamilyMember(家庭成员信息表)/V/YHFormItemDoubleChoiceCell.swift
+0
-12
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemDoubleChoiceCell.swift
View file @
2e210e6a
...
@@ -204,18 +204,6 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
...
@@ -204,18 +204,6 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
func
setTips
(
_
tips
:
String
?,
isShow
:
Bool
)
{
func
setTips
(
_
tips
:
String
?,
isShow
:
Bool
)
{
tipsLabel
.
text
=
tips
tipsLabel
.
text
=
tips
tipsLabel
.
isHidden
=
!
isShow
tipsLabel
.
isHidden
=
!
isShow
var
tipsHeight
=
0.0
if
let
tips
=
tips
,
tips
.
count
>
0
{
var
bounds
=
CGRect
()
let
maxWidth
=
KScreenWidth
-
16*
2
-
horizonalGap
*
2
bounds
=
NSString
(
string
:
tips
)
.
boundingRect
(
with
:
CGSize
(
width
:
maxWidth
,
height
:
.
greatestFiniteMagnitude
),
options
:
[
.
usesLineFragmentOrigin
],
attributes
:
[
.
font
:
titleFont
],
context
:
nil
)
tipsHeight
=
Double
(
ceill
(
Float80
(
bounds
.
size
.
height
)))
}
tipsLabel
.
snp
.
updateConstraints
{
make
in
make
.
height
.
equalTo
(
tipsHeight
)
}
self
.
setNeedsLayout
()
self
.
layoutIfNeeded
()
}
}
// 更新答案按钮选中状态
// 更新答案按钮选中状态
...
...
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