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
96409dbc
Commit
96409dbc
authored
Dec 10, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// AI
parent
df15f933
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
YHProductItemView.swift
...es/Modules/AI/AI-Dialogue(AI对话)/V/YHProductItemView.swift
+6
-1
No files found.
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/V/YHProductItemView.swift
View file @
96409dbc
...
@@ -19,7 +19,12 @@ class YHProductItemView: UIView {
...
@@ -19,7 +19,12 @@ class YHProductItemView: UIView {
let
bb
:
ASAttributedString
=
.
init
(
"
\(
productModel
.
discountPrice
)
"
,
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
20
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"
\(
productModel
.
discountPrice
)
"
,
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
20
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
let
cc
:
ASAttributedString
=
.
init
(
" "
,
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
14
)
!
),
.
foreground
(
UIColor
.
init
(
hex
:
0xB9C1CC
)))
let
cc
:
ASAttributedString
=
.
init
(
" "
,
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
14
)
!
),
.
foreground
(
UIColor
.
init
(
hex
:
0xB9C1CC
)))
let
dd
:
ASAttributedString
=
.
init
(
"¥
\(
productModel
.
originalPrice
)
"
,
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
14
)
!
),
.
foreground
(
UIColor
.
init
(
hex
:
0xB9C1CC
)),
.
strikethrough
(
.
single
))
let
dd
:
ASAttributedString
=
.
init
(
"¥
\(
productModel
.
originalPrice
)
"
,
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
14
)
!
),
.
foreground
(
UIColor
.
init
(
hex
:
0xB9C1CC
)),
.
strikethrough
(
.
single
))
priceLabel
.
attributed
.
text
=
aa
+
bb
+
cc
+
dd
if
productModel
.
discountPrice
==
productModel
.
originalPrice
{
priceLabel
.
attributed
.
text
=
aa
+
bb
+
cc
}
else
{
priceLabel
.
attributed
.
text
=
aa
+
bb
+
cc
+
dd
}
tagContentView
.
removeSubviews
()
tagContentView
.
removeSubviews
()
var
lastTagView
:
YHProductTagView
?
=
nil
var
lastTagView
:
YHProductTagView
?
=
nil
...
...
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