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
c16d0c7f
Commit
c16d0c7f
authored
Dec 12, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// AI
parent
6e258771
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
YHAIChatShadowView.swift
...s/Modules/AI/AI-Dialogue(AI对话)/V/YHAIChatShadowView.swift
+1
-1
YHAIPictureMessageCell.swift
...dules/AI/AI-Dialogue(AI对话)/V/YHAIPictureMessageCell.swift
+4
-1
No files found.
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/V/YHAIChatShadowView.swift
View file @
c16d0c7f
...
@@ -25,7 +25,7 @@ class YHAIChatShadowView: UIView {
...
@@ -25,7 +25,7 @@ class YHAIChatShadowView: UIView {
let
shadowPath
=
UIBezierPath
(
roundedRect
:
bounds
,
cornerRadius
:
6
)
let
shadowPath
=
UIBezierPath
(
roundedRect
:
bounds
,
cornerRadius
:
6
)
// 设置阴影属性
// 设置阴影属性
layer
.
shadowPath
=
shadowPath
.
cgPath
layer
.
shadowPath
=
shadowPath
.
cgPath
layer
.
shadowColor
=
UIColor
(
red
:
0
,
green
:
0
,
blue
:
0
,
alpha
:
0.0
6
)
.
cgColor
layer
.
shadowColor
=
UIColor
(
red
:
0
,
green
:
0
,
blue
:
0
,
alpha
:
0.0
8
)
.
cgColor
layer
.
shadowOpacity
=
1
layer
.
shadowOpacity
=
1
layer
.
shadowRadius
=
6.0
layer
.
shadowRadius
=
6.0
layer
.
shadowOffset
=
CGSize
(
width
:
0
,
height
:
4
)
layer
.
shadowOffset
=
CGSize
(
width
:
0
,
height
:
4
)
...
...
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/V/YHAIPictureMessageCell.swift
View file @
c16d0c7f
...
@@ -143,7 +143,10 @@ class YHAIPictureMessageCell: UITableViewCell {
...
@@ -143,7 +143,10 @@ class YHAIPictureMessageCell: UITableViewCell {
}
}
shadowView
.
snp
.
makeConstraints
{
make
in
shadowView
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalTo
(
whiteContentView
)
make
.
left
.
equalTo
(
whiteContentView
)
.
offset
(
-
0
)
make
.
right
.
equalTo
(
whiteContentView
)
.
offset
(
0
)
make
.
top
.
equalTo
(
whiteContentView
)
.
offset
(
-
0
)
make
.
bottom
.
equalTo
(
whiteContentView
)
.
offset
(
0
)
}
}
}
}
...
...
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