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
fd4ef4b1
authored
May 27, 2024
by
cherishsince
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【优化】调整 image card 尺寸
parent
959ee908
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
11 deletions
+16
-11
src/views/ai/image/ImageDetailDrawer.vue
+15
-10
src/views/ai/image/ImageTaskCard.vue
+1
-1
No files found.
src/views/ai/image/ImageDetailDrawer.vue
View file @
fd4ef4b1
...
...
@@ -3,20 +3,20 @@
v-model=
"showDrawer"
title=
"图片详细"
@
close=
"handlerDrawerClose"
custom-class=
"drawer-class"
>
<!-- 图片 -->
<div
class=
"item"
>
<div
class=
"header"
>
<div>
图片
</div>
<div>
<el-button
class=
"btn"
text
:icon=
"Download"
/>
<el-button
class=
"btn"
text
:icon=
"Delete"
/>
<el-button
class=
"btn"
text
:icon=
"More"
@
click=
"handlerTaskDetail"
/>
</div>
</div>
<div
class=
"body"
>
<ImageTaskCard
:image-detail=
"imageDetail"
/>
</div>
</div>
<!-- 提示词 -->
<div
class=
"item"
>
<div
class=
"tip"
>
提示词
</div>
<div
class=
"body"
>
...
...
@@ -81,24 +81,29 @@ onMounted(async () => {
.item
{
margin-bottom
:
20px
;
width
:
100%
;
overflow
:
hidden
;
word-wrap
:
break-word
;
.header
{
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
font-size
:
16px
;
}
.tip
{
font-weight
:
bold
;
font-size
:
16px
;
}
.body
{
margin-top
:
10px
;
color
:
#616161
;
}
}
.taskImage
{
border-radius
:
10px
;
}
.taskImage
{
border-radius
:
10px
;
}
}
}
</
style
>
src/views/ai/image/ImageTaskCard.vue
View file @
fd4ef4b1
...
...
@@ -43,7 +43,7 @@ const emits = defineEmits(['onBtnClick'])
<
style
scoped
lang=
"scss"
>
.image-card
{
width
:
3
6
0px
;
width
:
3
2
0px
;
border-radius
:
10px
;
.image-operation
{
...
...
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