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
ac84355a
Commit
ac84355a
authored
Dec 09, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// AI
parent
2f573fa6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
YHAICardItemView.swift
...ses/Modules/AI/AI-Dialogue(AI对话)/V/YHAICardItemView.swift
+2
-0
YHAIProductCell.swift
...sses/Modules/AI/AI-Dialogue(AI对话)/V/YHAIProductCell.swift
+5
-1
No files found.
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/V/YHAICardItemView.swift
View file @
ac84355a
...
@@ -59,6 +59,8 @@ class YHAICardItemView: UIView {
...
@@ -59,6 +59,8 @@ class YHAICardItemView: UIView {
lazy
var
cardImgView
:
UIImageView
=
{
lazy
var
cardImgView
:
UIImageView
=
{
let
v
=
UIImageView
(
image
:
UIImage
(
named
:
"global_default_image"
))
let
v
=
UIImageView
(
image
:
UIImage
(
named
:
"global_default_image"
))
v
.
layer
.
cornerRadius
=
6.0
v
.
clipsToBounds
=
true
return
v
return
v
}()
}()
...
...
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/V/YHAIProductCell.swift
View file @
ac84355a
...
@@ -17,7 +17,11 @@ class YHAIProductCell: UICollectionViewCell {
...
@@ -17,7 +17,11 @@ class YHAIProductCell: UICollectionViewCell {
titleLabel
.
text
=
model
.
title
titleLabel
.
text
=
model
.
title
subtitleLabel
.
text
=
model
.
description
subtitleLabel
.
text
=
model
.
description
if
!
model
.
btnText
.
isEmpty
{
if
!
model
.
btnText
.
isEmpty
{
blackTitleLabel
.
text
=
model
.
btnText
var
text
=
model
.
btnText
if
text
.
count
>
5
{
text
=
String
(
text
.
prefix
(
5
))
}
blackTitleLabel
.
text
=
text
}
else
{
}
else
{
blackTitleLabel
.
text
=
"去了解"
blackTitleLabel
.
text
=
"去了解"
}
}
...
...
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