无人机管理后台前端(已迁走)
rain
2025-04-22 11315f8984719ccda9e4a11ef5a31775beef8c4c
更改详情按钮居中,详情图片拉满不裁剪
1 files modified
8 ■■■■ changed files
src/views/tickets/ticket.vue 8 ●●●● patch | view | raw | blame | history
src/views/tickets/ticket.vue
@@ -291,7 +291,7 @@
                <div class="media-title">事件图片</div>
                <div class="media-content">
                  <el-image v-if="currentDetail.mediaUrl" :src="getThumbUrl(currentDetail.mediaUrl)"
                    :preview-src-list="[currentDetail.mediaUrl]" fit="cover"
                    :preview-src-list="[currentDetail.mediaUrl]" fit="fill"
                    style="width: 100%; height: 300px; cursor: pointer;">
                    <template #placeholder>
                      <div class="image-placeholder">
@@ -317,7 +317,7 @@
                  <div class="media-title">工单处理图片</div>
                  <div class="media-content">
                    <el-image v-if="currentDetail.updatePhotoUrl" :src="getThumbUrl(currentDetail.updatePhotoUrl)"
                      :preview-src-list="[currentDetail.updatePhotoUrl]" fit="cover"
                      :preview-src-list="[currentDetail.updatePhotoUrl]" fit="fill"
                      style="width: 100%; height: 300px; cursor: pointer;">
                      <template #placeholder>
                        <div class="image-placeholder">
@@ -415,7 +415,7 @@
          </div>
          <div class="review-image-container">
            <el-image v-if="currentReviewImage" :src="getThumbUrl(currentReviewImage)" fit="cover"
            <el-image v-if="currentReviewImage" :src="getThumbUrl(currentReviewImage)" fit="fill"
              :preview-src-list="getImageList()" :initial-index="currentImageIndex - 1" class="preview-image"
              style="cursor: pointer;">
              <template #error>
@@ -2294,7 +2294,7 @@
}
.dialog-footer {
  text-align: right;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid #ebeef5;