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
db1668dd
Commit
db1668dd
authored
May 10, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理 一处bug
parent
38582e2c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
YHOtherSelecteItemView.swift
...流程)/OtherInformation(其他信息)/V/YHOtherSelecteItemView.swift
+12
-12
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/OtherInformation(其他信息)/V/YHOtherSelecteItemView.swift
View file @
db1668dd
...
@@ -239,7 +239,16 @@ extension YHOtherSelecteItemView {
...
@@ -239,7 +239,16 @@ extension YHOtherSelecteItemView {
if
textField
.
isEmpty
==
true
{
if
textField
.
isEmpty
==
true
{
if
longTimeButton
.
isSelected
{
noTextTipsLable
.
isHidden
=
true
bottomLine
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
kMargin
)
make
.
bottom
.
left
.
right
.
equalToSuperview
()
make
.
height
.
equalTo
(
0.5
)
}
}
else
{
noTextTipsLable
.
isHidden
=
false
noTextTipsLable
.
isHidden
=
false
noTextTipsLable
.
snp
.
remakeConstraints
{
make
in
noTextTipsLable
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
6
)
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
6
)
make
.
height
.
equalTo
(
20
)
make
.
height
.
equalTo
(
20
)
...
@@ -253,7 +262,7 @@ extension YHOtherSelecteItemView {
...
@@ -253,7 +262,7 @@ extension YHOtherSelecteItemView {
make
.
height
.
equalTo
(
0.5
)
make
.
height
.
equalTo
(
0.5
)
make
.
bottom
.
equalToSuperview
()
make
.
bottom
.
equalToSuperview
()
}
}
}
}
}
else
{
else
{
noTextTipsLable
.
isHidden
=
true
noTextTipsLable
.
isHidden
=
true
...
@@ -263,9 +272,6 @@ extension YHOtherSelecteItemView {
...
@@ -263,9 +272,6 @@ extension YHOtherSelecteItemView {
make
.
height
.
equalTo
(
0.5
)
make
.
height
.
equalTo
(
0.5
)
}
}
}
}
}
else
{
}
else
{
noTextTipsLable
.
isHidden
=
true
noTextTipsLable
.
isHidden
=
true
titleLabel
.
snp
.
remakeConstraints
{
make
in
titleLabel
.
snp
.
remakeConstraints
{
make
in
...
@@ -298,11 +304,9 @@ extension YHOtherSelecteItemView {
...
@@ -298,11 +304,9 @@ extension YHOtherSelecteItemView {
if
longTimeButton
.
isSelected
{
if
longTimeButton
.
isSelected
{
longTimeButton
.
snp
.
remakeConstraints
{
make
in
longTimeButton
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalTo
(
titleLabel
.
snp
.
right
)
.
offset
(
40
)
make
.
left
.
equalTo
(
titleLabel
.
snp
.
right
)
.
offset
(
40
)
make
.
centerY
.
equalTo
Superview
(
)
make
.
centerY
.
equalTo
(
titleLabel
)
make
.
height
.
equalTo
(
32
)
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
43
)
make
.
width
.
equalTo
(
43
)
}
}
...
@@ -312,12 +316,10 @@ extension YHOtherSelecteItemView {
...
@@ -312,12 +316,10 @@ extension YHOtherSelecteItemView {
make
.
right
.
equalToSuperview
()
make
.
right
.
equalToSuperview
()
make
.
bottom
.
top
.
left
.
equalToSuperview
()
make
.
bottom
.
top
.
left
.
equalToSuperview
()
}
}
}
else
{
}
else
{
longTimeButton
.
snp
.
remakeConstraints
{
make
in
longTimeButton
.
snp
.
remakeConstraints
{
make
in
make
.
right
.
equalToSuperview
()
make
.
right
.
equalToSuperview
()
make
.
centerY
.
equalTo
Superview
(
)
make
.
centerY
.
equalTo
(
titleLabel
)
make
.
height
.
equalTo
(
32
)
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
43
)
make
.
width
.
equalTo
(
43
)
}
}
...
@@ -327,9 +329,7 @@ extension YHOtherSelecteItemView {
...
@@ -327,9 +329,7 @@ extension YHOtherSelecteItemView {
make
.
right
.
equalTo
(
longTimeButton
.
snp
.
left
)
.
offset
(
-
4
)
make
.
right
.
equalTo
(
longTimeButton
.
snp
.
left
)
.
offset
(
-
4
)
make
.
bottom
.
top
.
left
.
equalToSuperview
()
make
.
bottom
.
top
.
left
.
equalToSuperview
()
}
}
}
}
}
else
{
}
else
{
rightIcon
.
snp
.
removeConstraints
()
rightIcon
.
snp
.
removeConstraints
()
rightIcon
.
isHidden
=
false
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