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
9f755e91
Commit
9f755e91
authored
Mar 25, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
居中 ...
parent
73ff3b62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
YHSchemeHeadTotalScoreView.swift
...务中心)/MyScheme(我的方案)/View/YHSchemeHeadTotalScoreView.swift
+1
-1
YHSchemeTableHeadView.swift
...ice(服务中心)/MyScheme(我的方案)/View/YHSchemeTableHeadView.swift
+6
-4
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyScheme(我的方案)/View/YHSchemeHeadTotalScoreView.swift
View file @
9f755e91
...
@@ -57,7 +57,7 @@ class YHSchemeHeadTotalScoreView: UIView {
...
@@ -57,7 +57,7 @@ class YHSchemeHeadTotalScoreView: UIView {
label
.
font
=
UIFont
(
name
:
"AlibabaPuHuiTi-Bold"
,
size
:
24
)
label
.
font
=
UIFont
(
name
:
"AlibabaPuHuiTi-Bold"
,
size
:
24
)
label
.
textColor
=
UIColor
(
hex
:
0xd48638
)
label
.
textColor
=
UIColor
(
hex
:
0xd48638
)
label
.
textAlignment
=
.
right
label
.
textAlignment
=
.
right
label
.
text
=
"
140
"
label
.
text
=
"
-
"
return
label
return
label
}()
}()
addSubview
(
scoreLabel
)
addSubview
(
scoreLabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyScheme(我的方案)/View/YHSchemeTableHeadView.swift
View file @
9f755e91
...
@@ -92,14 +92,15 @@ class YHSchemeTableHeadView: UIView {
...
@@ -92,14 +92,15 @@ class YHSchemeTableHeadView: UIView {
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
24
)
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
24
)
label
.
textColor
=
UIColor
(
hex
:
0xffffff
)
label
.
textColor
=
UIColor
(
hex
:
0xffffff
)
label
.
textAlignment
=
.
center
label
.
textAlignment
=
.
center
label
.
text
=
"尊敬的侯林先生"
label
.
lineBreakMode
=
.
byTruncatingMiddle
label
.
text
=
"尊敬的--"
return
label
return
label
}()
}()
addSubview
(
nameLabel
)
addSubview
(
nameLabel
)
nameLabel
.
snp
.
makeConstraints
{
make
in
nameLabel
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalTo
(
-
3
5
)
make
.
right
.
equalTo
(
-
7
5
)
make
.
height
.
equalTo
(
33.5
)
make
.
height
.
equalTo
(
33.5
)
make
.
left
.
equalTo
(
3
5
)
make
.
left
.
equalTo
(
7
5
)
make
.
top
.
equalTo
(
26
)
make
.
top
.
equalTo
(
26
)
}
}
...
@@ -214,7 +215,8 @@ class YHSchemeTableHeadView: UIView {
...
@@ -214,7 +215,8 @@ class YHSchemeTableHeadView: UIView {
func
updateAllViews
()
{
func
updateAllViews
()
{
guard
let
model
=
dataSource
else
{
return
}
guard
let
model
=
dataSource
else
{
return
}
nameLabel
.
text
=
"尊敬的"
+
model
.
name
// nameLabel.text = "尊敬的" + model.name
nameLabel
.
text
=
"尊敬的"
+
"黄金龙先生黄金龙先生黄金龙先生"
scoreTotalView
.
setScore
(
model
.
totalScore
)
scoreTotalView
.
setScore
(
model
.
totalScore
)
scoreItemView
.
removeSubviews
()
scoreItemView
.
removeSubviews
()
for
i
in
0
..<
model
.
scoreArray
.
count
{
for
i
in
0
..<
model
.
scoreArray
.
count
{
...
...
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