|
@@ -128,7 +128,7 @@
|
|
|
@click.stop="previewImage(index)"
|
|
|
title="查看"
|
|
|
>
|
|
|
- <el-icon :size="20"><View /></el-icon>
|
|
|
+ <el-icon :size="20"><ZoomIn /></el-icon>
|
|
|
</el-button>
|
|
|
<!-- 编辑按钮:old 类型不显示,其他类型显示 -->
|
|
|
<el-button
|
|
@@ -139,7 +139,7 @@
|
|
|
v-if="file.type !== 'old'"
|
|
|
title="编辑"
|
|
|
>
|
|
|
- <el-icon :size="20"><Edit /></el-icon>
|
|
|
+ <el-icon :size="20"><EditPen /></el-icon>
|
|
|
</el-button>
|
|
|
<!-- 对于 old 类型,保留原来的编辑逻辑 -->
|
|
|
<!-- <el-button
|
|
@@ -168,7 +168,7 @@
|
|
|
<!-- 卡片底部:文件名 -->
|
|
|
<div class="card-footer">
|
|
|
<div class="file-title">
|
|
|
- <span v-if="!inputCaseTitles.includes(file)" class="title-text">
|
|
|
+ <span v-if="!inputCaseTitles.includes(file)" :title="file.type === 'old' ? file.filesTitle : file.title" class="title-text">
|
|
|
{{ file.type === 'old' ? file.filesTitle : file.title }}
|
|
|
<el-icon class="edit-title" @click="inputCaseTitles.push(file)">
|
|
|
<EditPen />
|
|
@@ -720,6 +720,7 @@ onUnmounted(() => {
|
|
|
display: flex;
|
|
|
gap: 12px;
|
|
|
.card-overlay-btn{
|
|
|
+ width: 20px;
|
|
|
background: transparent;
|
|
|
border: none;
|
|
|
color: #F2F2F2;
|
|
@@ -733,17 +734,29 @@ onUnmounted(() => {
|
|
|
}
|
|
|
|
|
|
.file-title {
|
|
|
+ position: relative;
|
|
|
+ width: 100%;
|
|
|
+ text-align: left;
|
|
|
.title-text {
|
|
|
+ display: inline-block;
|
|
|
+ width: 90%;
|
|
|
font-size: 14px;
|
|
|
font-weight: 500;
|
|
|
color: #303133;
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
+ text-align: left;
|
|
|
+ // display: flex;
|
|
|
+ // justify-content: space-between;
|
|
|
+ // align-items: center;
|
|
|
word-break: break-all;
|
|
|
+ overflow: hidden;
|
|
|
+ white-space: nowrap;
|
|
|
+ text-overflow: ellipsis;
|
|
|
line-height: 1.4;
|
|
|
}
|
|
|
-
|
|
|
+ .edit-title{
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ }
|
|
|
.edit-input {
|
|
|
:deep(.el-input__wrapper) {
|
|
|
height: 30px;
|