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
0d4affa0
Commit
0d4affa0
authored
Oct 14, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 指引UI
parent
1b19627a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
YHResignAppointGuideLineView.swift
...ignHKAppoint(在港递交预约)/V/YHResignAppointGuideLineView.swift
+7
-8
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/V/YHResignAppointGuideLineView.swift
View file @
0d4affa0
...
@@ -69,6 +69,7 @@ class YHResignAppointGuideLineView: UIView {
...
@@ -69,6 +69,7 @@ class YHResignAppointGuideLineView: UIView {
lazy
var
bkgImageV
:
UIImageView
=
{
lazy
var
bkgImageV
:
UIImageView
=
{
let
imageV
=
UIImageView
()
let
imageV
=
UIImageView
()
imageV
.
image
=
UIImage
(
named
:
"resign_appoint_guide_text_img"
)
imageV
.
image
=
UIImage
(
named
:
"resign_appoint_guide_text_img"
)
imageV
.
contentMode
=
.
scaleAspectFit
imageV
.
clipsToBounds
=
true
imageV
.
clipsToBounds
=
true
return
imageV
return
imageV
}()
}()
...
@@ -197,8 +198,7 @@ private extension YHResignAppointGuideLineView {
...
@@ -197,8 +198,7 @@ private extension YHResignAppointGuideLineView {
whiteContentView
.
addSubview
(
bkgImageV2
)
whiteContentView
.
addSubview
(
bkgImageV2
)
bkgImageV2
.
snp
.
makeConstraints
{
make
in
bkgImageV2
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
-
20
)
make
.
top
.
left
.
right
.
equalToSuperview
()
make
.
left
.
right
.
equalToSuperview
()
make
.
height
.
equalTo
(
KScreenWidth
*
(
151.0
/
375.0
))
make
.
height
.
equalTo
(
KScreenWidth
*
(
151.0
/
375.0
))
}
}
...
@@ -216,20 +216,19 @@ private extension YHResignAppointGuideLineView {
...
@@ -216,20 +216,19 @@ private extension YHResignAppointGuideLineView {
make
.
height
.
equalTo
(
whiteHeight
-
98
-
20
)
make
.
height
.
equalTo
(
whiteHeight
-
98
-
20
)
}
}
if
let
_
=
UIImage
(
named
:
"resign_appoint_guide_text_img"
)
{
if
let
_
=
UIImage
(
named
:
"resign_appoint_guide_text_img"
)
{
let
radio
=
1549.0
/
375.0
let
radio
=
1549.0
/
375.0
myScrollView
.
addSubview
(
bkgImageV
)
myScrollView
.
addSubview
(
bkgImageV
)
bkgImageV
.
snp
.
makeConstraints
{
make
in
bkgImageV
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
make
.
top
.
equalToSuperview
()
make
.
left
.
equalTo
(
2
0
)
make
.
left
.
equalTo
(
0
)
make
.
right
.
equalTo
(
-
2
0
)
make
.
right
.
equalTo
(
0
)
make
.
width
.
equalTo
(
KScreenWidth
-
40
)
make
.
width
.
equalTo
(
KScreenWidth
)
make
.
height
.
equalTo
(
ceil
((
KScreenWidth
-
40
)
*
radio
)
)
make
.
height
.
equalTo
(
(
KScreenWidth
)
*
radio
)
make
.
bottom
.
equalTo
(
0
)
make
.
bottom
.
equalTo
(
0
)
}
}
myScrollView
.
contentSize
=
CGSize
(
width
:
KScreenWidth
,
height
:
ceil
((
KScreenWidth
-
40.0
)
*
radio
)
)
myScrollView
.
contentSize
=
CGSize
(
width
:
KScreenWidth
,
height
:
KScreenWidth
*
radio
)
}
}
}
}
...
...
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