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
57f618ab
Commit
57f618ab
authored
Mar 08, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
长期 按钮的位置处理
parent
9d82c9cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
10 deletions
+32
-10
YHOtherSelecteItemView.swift
...流程)/OtherInformation(其他信息)/V/YHOtherSelecteItemView.swift
+32
-10
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/V/YHOtherSelecteItemView.swift
View file @
57f618ab
...
...
@@ -277,18 +277,40 @@ extension YHOtherSelecteItemView {
rightIcon
.
isHidden
=
true
longTimeButton
.
snp
.
removeConstraints
()
longTimeButton
.
isHidden
=
false
longTimeButton
.
snp
.
remakeConstraints
{
make
in
make
.
right
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
43
)
}
textField
.
snp
.
removeConstraints
()
textField
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalTo
(
longTimeButton
.
snp
.
left
)
.
offset
(
-
4
)
make
.
bottom
.
top
.
left
.
equalToSuperview
()
if
longTimeButton
.
isSelected
{
longTimeButton
.
snp
.
remakeConstraints
{
make
in
make
.
centerX
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
43
)
}
textField
.
snp
.
removeConstraints
()
textField
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalToSuperview
()
make
.
bottom
.
top
.
left
.
equalToSuperview
()
}
}
else
{
longTimeButton
.
snp
.
remakeConstraints
{
make
in
make
.
right
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
43
)
}
textField
.
snp
.
removeConstraints
()
textField
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalTo
(
longTimeButton
.
snp
.
left
)
.
offset
(
-
4
)
make
.
bottom
.
top
.
left
.
equalToSuperview
()
}
}
}
else
{
rightIcon
.
snp
.
removeConstraints
()
rightIcon
.
isHidden
=
false
...
...
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