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
b7b2cf77
Commit
b7b2cf77
authored
Dec 05, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
//A I
parent
323f4644
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
5 additions
and
29 deletions
+5
-29
YHAIProductCell.swift
...sses/Modules/AI/AI-Dialogue(AI对话)/V/YHAIProductCell.swift
+3
-7
Contents.json
...sets/AI-Chat/ai_product_bg_default.imageset/Contents.json
+2
-1
了解银河.png
....xcassets/AI-Chat/ai_product_bg_default.imageset/了解银河.png
+0
-0
了解银河@3x.png
...assets/AI-Chat/ai_product_bg_default.imageset/了解银河@3x.png
+0
-0
背景图样例1.png
...sets.xcassets/AI-Chat/ai_product_left.imageset/背景图样例1.png
+0
-0
Contents.json
....xcassets/AI-Chat/ai_product_right.imageset/Contents.json
+0
-21
背景图样例2.png
...ets.xcassets/AI-Chat/ai_product_right.imageset/背景图样例2.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/V/YHAIProductCell.swift
View file @
b7b2cf77
...
@@ -15,22 +15,18 @@ class YHAIProductCell: UICollectionViewCell {
...
@@ -15,22 +15,18 @@ class YHAIProductCell: UICollectionViewCell {
var
model
=
YHEntranceconfigModel
()
{
var
model
=
YHEntranceconfigModel
()
{
didSet
{
didSet
{
titleLabel
.
text
=
model
.
title
titleLabel
.
text
=
model
.
title
if
!
model
.
btnText
.
isEmpty
{
subtitleLabel
.
text
=
model
.
description
subtitleLabel
.
text
=
model
.
description
}
else
{
subtitleLabel
.
text
=
"详细了解银河产品"
}
if
!
model
.
btnText
.
isEmpty
{
if
!
model
.
btnText
.
isEmpty
{
blackButton
.
setTitle
(
model
.
btnText
,
for
:
.
normal
)
blackButton
.
setTitle
(
model
.
btnText
,
for
:
.
normal
)
}
else
{
}
else
{
blackButton
.
setTitle
(
"去了解"
,
for
:
.
normal
)
blackButton
.
setTitle
(
"去了解"
,
for
:
.
normal
)
}
}
bgImgView
.
sd_setImage
(
with
:
URL
(
string
:
model
.
cover
))
bgImgView
.
sd_setImage
(
with
:
URL
(
string
:
model
.
cover
)
,
placeholderImage
:
UIImage
(
named
:
"ai_product_bg_default"
)
)
}
}
}
}
lazy
var
bgImgView
:
UIImageView
=
{
lazy
var
bgImgView
:
UIImageView
=
{
let
v
=
UIImageView
(
image
:
UIImage
(
named
:
""
))
let
v
=
UIImageView
(
image
:
UIImage
(
named
:
"
ai_product_bg_default
"
))
return
v
return
v
}()
}()
...
...
galaxy/galaxy/Res/Assets.xcassets/AI-Chat/ai_product_
lef
t.imageset/Contents.json
→
galaxy/galaxy/Res/Assets.xcassets/AI-Chat/ai_product_
bg_defaul
t.imageset/Contents.json
View file @
b7b2cf77
...
@@ -5,11 +5,12 @@
...
@@ -5,11 +5,12 @@
"scale"
:
"1x"
"scale"
:
"1x"
},
},
{
{
"filename"
:
"了解银河.png"
,
"idiom"
:
"universal"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
"scale"
:
"2x"
},
},
{
{
"filename"
:
"
背景图样例1
.png"
,
"filename"
:
"
了解银河@3x
.png"
,
"idiom"
:
"universal"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
"scale"
:
"3x"
}
}
...
...
galaxy/galaxy/Res/Assets.xcassets/AI-Chat/ai_product_bg_default.imageset/了解银河.png
0 → 100644
View file @
b7b2cf77
121 KB
galaxy/galaxy/Res/Assets.xcassets/AI-Chat/ai_product_bg_default.imageset/了解银河@3x.png
0 → 100644
View file @
b7b2cf77
250 KB
galaxy/galaxy/Res/Assets.xcassets/AI-Chat/ai_product_left.imageset/背景图样例1.png
deleted
100644 → 0
View file @
323f4644
200 KB
galaxy/galaxy/Res/Assets.xcassets/AI-Chat/ai_product_right.imageset/Contents.json
deleted
100644 → 0
View file @
323f4644
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"背景图样例2.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/AI-Chat/ai_product_right.imageset/背景图样例2.png
deleted
100644 → 0
View file @
323f4644
182 KB
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