【优化】调整 image card 尺寸

This commit is contained in:
cherishsince 2024-05-27 10:47:43 +08:00
parent 959ee90810
commit fd4ef4b172
2 changed files with 16 additions and 11 deletions

View File

@ -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;
}
}
}
</style>

View File

@ -43,7 +43,7 @@ const emits = defineEmits(['onBtnClick'])
<style scoped lang="scss">
.image-card {
width: 360px;
width: 320px;
border-radius: 10px;
.image-operation {