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
dc23a154
Commit
dc23a154
authored
Apr 02, 2024
by
David黄金龙
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
db892321
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
3 deletions
+19
-3
YHHKPlanDoctumentVC.swift
...rvice(服务中心)/MyDocuments(我的文书)/C/YHHKPlanDoctumentVC.swift
+4
-0
YHSchemeHeadScoreItemView.swift
...服务中心)/MyScheme(我的方案)/View/YHSchemeHeadScoreItemView.swift
+2
-2
YHSchemeTableViewCell.swift
...ice(服务中心)/MyScheme(我的方案)/View/YHSchemeTableViewCell.swift
+13
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyDocuments(我的文书)/C/YHHKPlanDoctumentVC.swift
View file @
dc23a154
...
...
@@ -97,12 +97,15 @@ extension YHHKPlanDoctumentVC {
}
func
getData
()
{
YHHUD
.
show
(
.
progress
(
message
:
""
))
viewModel
.
requestDocumentsDetail
(
"
\(
supplement_id
)
"
,
callBackBlock
:
{[
weak
self
]
success
,
error
in
YHHUD
.
hide
()
guard
let
self
=
self
else
{
return
}
for
item
in
viewModel
.
arrHKPlanData
{
item
.
canEditFlag
=
self
.
canEditFlag
}
self
.
tableView
.
isHidden
=
false
self
.
tableView
.
reloadData
()
})
}
...
...
@@ -167,6 +170,7 @@ extension YHHKPlanDoctumentVC {
tableView
.
dataSource
=
self
tableView
.
register
(
cellWithClass
:
YHHKPlanCell
.
self
)
tableView
.
register
(
cellWithClass
:
YHHKPlanTipsCell
.
self
)
tableView
.
isHidden
=
true
return
tableView
}()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyScheme(我的方案)/View/YHSchemeHeadScoreItemView.swift
View file @
dc23a154
...
...
@@ -52,12 +52,12 @@ class YHSchemeHeadScoreItemView: UIView {
let
a
:
ASAttributedString
=
.
init
(
"学历"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
light
),
.
font
(
UIFont
.
PFSC_
B
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
warnColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
light
),
.
font
(
UIFont
.
PFSC_
M
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
warnColor
))
let
b
:
ASAttributedString
=
.
init
(
"分,名校加分"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
addtionStr
),
.
font
(
UIFont
.
PFSC_
B
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
warnColor
))
let
bb
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
addtionStr
),
.
font
(
UIFont
.
PFSC_
M
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
warnColor
))
let
bbb
:
ASAttributedString
=
.
init
(
"分"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyScheme(我的方案)/View/YHSchemeTableViewCell.swift
View file @
dc23a154
...
...
@@ -130,6 +130,9 @@ class YHSchemeTableViewCell: UITableViewCell {
label
.
numberOfLines
=
0
return
label
}()
centerView
.
addSubview
(
mainMessageLabel
)
mainMessageLabel
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
69
)
...
...
@@ -163,7 +166,16 @@ class YHSchemeTableViewCell: UITableViewCell {
titleButton
.
iconInRight
(
with
:
2
)
let
newString
:
NSAttributedString
=
model
.
mainMessage
.
highlighted
(
keyWords
:
model
.
lightMessage
,
highlightColor
:
UIColor
(
hex
:
0xd48638
))
mainMessageLabel
.
attributedText
=
newString
subMessageLabel
.
text
=
model
.
subMessage
let
paragraphStyle
=
NSMutableParagraphStyle
()
paragraphStyle
.
lineSpacing
=
10
// 设置行间距
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
paragraphStyle
:
paragraphStyle
,
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
14
)
]
let
attributedString
=
NSAttributedString
(
string
:
model
.
subMessage
,
attributes
:
attributes
)
subMessageLabel
.
attributedText
=
attributedString
}
@objc
func
goNext
()
{
...
...
pete谢兆麟
@pete
mentioned in commit
cbbdd67e
·
Apr 02, 2024
mentioned in commit
cbbdd67e
mentioned in commit cbbdd67ec2b88e4d86a1c43dd32c57635225af67
Toggle commit list
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