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
2171ebd4
Commit
2171ebd4
authored
Mar 15, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理 提交成功的字体
parent
1d3d2912
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
YHScorePersonInfoCell.swift
...Service(服务中心)/MyScore(我的评分)/V/YHScorePersonInfoCell.swift
+5
-5
YHSubmintAllInfoSuccessTipView.swift
...igentService(服务中心)/V/YHSubmintAllInfoSuccessTipView.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyScore(我的评分)/V/YHScorePersonInfoCell.swift
View file @
2171ebd4
...
@@ -53,8 +53,8 @@ class YHScorePersonInfoCell: UITableViewCell {
...
@@ -53,8 +53,8 @@ class YHScorePersonInfoCell: UITableViewCell {
//综合得分
//综合得分
private
lazy
var
scoreLable
:
UILabel
=
{
private
lazy
var
scoreLable
:
UILabel
=
{
let
lable0
=
UILabel
(
text
:
"92 分"
)
let
lable0
=
UILabel
(
text
:
"92 分"
)
lable0
.
textColor
=
UIColor
(
hex
:
0x
3C86F8
)
lable0
.
textColor
=
UIColor
(
hex
:
0x
FFEEB0
)
lable0
.
font
=
UIFont
.
PFSC_B
(
ofS
ize
:
68
)
lable0
.
font
=
UIFont
(
name
:
"DINAlternate-Bold"
,
s
ize
:
68
)
lable0
.
textAlignment
=
.
right
lable0
.
textAlignment
=
.
right
return
lable0
return
lable0
}()
}()
...
@@ -186,8 +186,8 @@ extension YHScorePersonInfoCell {
...
@@ -186,8 +186,8 @@ extension YHScorePersonInfoCell {
make
.
height
.
equalTo
(
79
)
make
.
height
.
equalTo
(
79
)
}
}
let
a
:
ASAttributedString
=
.
init
(
"-"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
43
)),
.
foreground
(
UIColor
(
hex
:
0x3C86F8
)))
let
a
:
ASAttributedString
=
.
init
(
"-"
,
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
68
)
??
UIFont
.
PFSC_B
(
ofSize
:
43
)),
.
foreground
(
UIColor
(
hex
:
0xFFEEB0
)))
let
b
:
ASAttributedString
=
.
init
(
"分"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
12
)),
.
foreground
(
UIColor
(
hex
:
0x3C86F8
)))
let
b
:
ASAttributedString
=
.
init
(
"分"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
12
)),
.
foreground
(
UIColor
(
hex
:
0xFFEEB0
)))
scoreLable
.
attributed
.
text
=
a
+
b
scoreLable
.
attributed
.
text
=
a
+
b
}
}
...
@@ -203,7 +203,7 @@ extension YHScorePersonInfoCell {
...
@@ -203,7 +203,7 @@ extension YHScorePersonInfoCell {
phoneLable
.
text
=
model
.
userinfo
?
.
mobile
??
"-"
phoneLable
.
text
=
model
.
userinfo
?
.
mobile
??
"-"
let
score
:
String
=
String
(
model
.
total_score
?
.
sum_score
??
0
)
let
score
:
String
=
String
(
model
.
total_score
?
.
sum_score
??
0
)
let
a
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
score
),
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
43
)),
.
foreground
(
UIColor
(
hex
:
0xFFEEB0
)))
let
a
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
score
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
68
)
??
UIFont
.
PFSC_B
(
ofSize
:
43
)),
.
foreground
(
UIColor
(
hex
:
0xFFEEB0
)))
let
b
:
ASAttributedString
=
.
init
(
"分"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
.
white
))
let
b
:
ASAttributedString
=
.
init
(
"分"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
.
white
))
scoreLable
.
attributed
.
text
=
a
+
b
scoreLable
.
attributed
.
text
=
a
+
b
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHSubmintAllInfoSuccessTipView.swift
View file @
2171ebd4
...
@@ -23,7 +23,7 @@ class YHSubmintAllInfoSuccessTipView: UIView {
...
@@ -23,7 +23,7 @@ class YHSubmintAllInfoSuccessTipView: UIView {
guard
let
model
=
model
else
{
guard
let
model
=
model
else
{
return
return
}
}
let
a
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
model
.
sum_score
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
43
)),
.
foreground
(
UIColor
.
warnColor
))
let
a
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
model
.
sum_score
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
43
)
??
UIFont
.
PFSC_M
(
ofSize
:
43
)),
.
foreground
(
UIColor
.
warnColor
))
let
b
:
ASAttributedString
=
.
init
(
"分"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
12
)),
.
foreground
(
UIColor
.
labelTextColor2
))
let
b
:
ASAttributedString
=
.
init
(
"分"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
12
)),
.
foreground
(
UIColor
.
labelTextColor2
))
messageLabel
.
attributed
.
text
=
a
+
b
messageLabel
.
attributed
.
text
=
a
+
b
}
}
...
...
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