Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7de0b075
authored
May 18, 2024
by
cherishsince
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【优化】处理btn全局样式问题
parent
de754a6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
src/views/ai/chat/Conversation.vue
+7
-9
No files found.
src/views/ai/chat/Conversation.vue
View file @
7de0b075
...
@@ -42,16 +42,16 @@
...
@@ -42,16 +42,16 @@
</div>
</div>
<!-- TODO @fan:缺一个【置顶】按钮,效果改成 hover 上去展示 -->
<!-- TODO @fan:缺一个【置顶】按钮,效果改成 hover 上去展示 -->
<div
class=
"button-wrapper"
>
<div
class=
"button-wrapper"
>
<el-button
link
@
click=
"handlerTop(conversation)"
>
<el-button
class=
"btn"
link
@
click=
"handlerTop(conversation)"
>
<el-icon
title=
"置顶"
v-if=
"!conversation.pinned"
><Top
/></el-icon>
<el-icon
title=
"置顶"
v-if=
"!conversation.pinned"
><Top
/></el-icon>
<el-icon
title=
"置顶"
v-if=
"conversation.pinned"
><Bottom
/></el-icon>
<el-icon
title=
"置顶"
v-if=
"conversation.pinned"
><Bottom
/></el-icon>
</el-button>
</el-button>
<el-button
link
@
click=
"updateConversationTitle(conversation)"
>
<el-button
class=
"btn"
link
@
click=
"updateConversationTitle(conversation)"
>
<el-icon
title=
"编辑"
>
<el-icon
title=
"编辑"
>
<Icon
icon=
"ep:edit"
/>
<Icon
icon=
"ep:edit"
/>
</el-icon>
</el-icon>
</el-button>
</el-button>
<el-button
link
@
click=
"deleteChatConversation(conversation)"
>
<el-button
class=
"btn"
link
@
click=
"deleteChatConversation(conversation)"
>
<el-icon
title=
"删除会话"
>
<el-icon
title=
"删除会话"
>
<Icon
icon=
"ep:delete"
/>
<Icon
icon=
"ep:delete"
/>
</el-icon>
</el-icon>
...
@@ -332,12 +332,6 @@ onMounted(async () => {
...
@@ -332,12 +332,6 @@ onMounted(async () => {
</
script
>
</
script
>
<
style
>
.el-button--default
{
margin
:
0
!important
;
}
</
style
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.conversation-container
{
.conversation-container
{
...
@@ -410,6 +404,10 @@ onMounted(async () => {
...
@@ -410,6 +404,10 @@ onMounted(async () => {
justify-items
:
center
;
justify-items
:
center
;
color
:
#606266
;
color
:
#606266
;
.btn
{
margin
:
0
;
}
.el-icon
{
.el-icon
{
//
margin-right
:
5px
;
//
margin-right
:
5px
;
}
}
...
...
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