Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
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
poc
poc-fe
Commits
8897a3b1
Commit
8897a3b1
authored
May 06, 2025
by
nick zheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'beta' into 'master'
fix(应用): 网址不明显 See merge request
!219
parents
44c21984
2a6a7b35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
message-item.vue
...ts/agent-config/agent-preview/components/message-item.vue
+9
-1
message-item.vue
src/views/share/components/message-item.vue
+9
-1
No files found.
src/views/personal-space/personal-app-setting/components/agent-config/agent-preview/components/message-item.vue
View file @
8897a3b1
...
@@ -156,7 +156,7 @@ const handleContentCopy = throttle(
...
@@ -156,7 +156,7 @@ const handleContentCopy = throttle(
<
div
class
=
"flex min-w-[80px] max-w-full flex-col items-start overflow-x-auto"
>
<
div
class
=
"flex min-w-[80px] max-w-full flex-col items-start overflow-x-auto"
>
<
div
<
div
class
=
"w-full flex-wrap rounded-xl border border-[#e8e9eb] px-4 py-[11px]"
class
=
"w-full flex-wrap rounded-xl border border-[#e8e9eb] px-4 py-[11px]"
:
class
=
"role === 'user' ? 'bg-[#4b87ff] text-white' : 'bg-white text-[#333]'"
:
class
=
"role === 'user' ? '
user-content-container
bg-[#4b87ff] text-white' : 'bg-white text-[#333]'"
>
>
<
img
<
img
v
-
show
=
"role === 'user' && messageItem.imageUrl"
v
-
show
=
"role === 'user' && messageItem.imageUrl"
...
@@ -276,3 +276,11 @@ const handleContentCopy = throttle(
...
@@ -276,3 +276,11 @@ const handleContentCopy = throttle(
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/template
>
<
/template
>
<
style
lang
=
"scss"
scoped
>
:
deep
(.
user
-
content
-
container
)
{
a
{
color
:
#
fff
!
important
;
}
}
<
/style
>
src/views/share/components/message-item.vue
View file @
8897a3b1
...
@@ -174,7 +174,7 @@ const handleContentCopy = throttle(
...
@@ -174,7 +174,7 @@ const handleContentCopy = throttle(
<
div
class
=
"flex min-w-[80px] flex-col"
:
class
=
"[isMobile ? 'max-w-[calc(100%-20px)]' : 'max-w-full']"
>
<
div
class
=
"flex min-w-[80px] flex-col"
:
class
=
"[isMobile ? 'max-w-[calc(100%-20px)]' : 'max-w-full']"
>
<
div
<
div
class
=
"w-full flex-wrap rounded-xl border border-[#e8e9eb] px-4 py-[11px]"
class
=
"w-full flex-wrap rounded-xl border border-[#e8e9eb] px-4 py-[11px]"
:
class
=
"[role === 'user' ? 'bg-theme-color text-white' : 'bg-white text-[#333]']"
:
class
=
"[role === 'user' ? '
user-content-container
bg-theme-color text-white' : 'bg-white text-[#333]']"
>
>
<
img
<
img
v
-
show
=
"role === 'user' && messageItem.imageUrl"
v
-
show
=
"role === 'user' && messageItem.imageUrl"
...
@@ -306,3 +306,11 @@ const handleContentCopy = throttle(
...
@@ -306,3 +306,11 @@ const handleContentCopy = throttle(
<
EditorDrawer
v
-
model
:
is
-
show
-
editor
-
drawer
=
"isShowEditorDrawer"
v
-
model
:
content
-
edit
=
"editorDrawerContent"
/>
<
EditorDrawer
v
-
model
:
is
-
show
-
editor
-
drawer
=
"isShowEditorDrawer"
v
-
model
:
content
-
edit
=
"editorDrawerContent"
/>
<
/template
>
<
/template
>
<
style
lang
=
"scss"
scoped
>
:
deep
(.
user
-
content
-
container
)
{
a
{
color
:
#
fff
!
important
;
}
}
<
/style
>
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