화면 수정
This commit is contained in:
@@ -57,6 +57,7 @@ if (!empty($data['confirm_doc_img_url']) && $data['confirm_doc_img_url_save_yn']
|
||||
?>
|
||||
<?= $this->extend('layouts/main') ?>
|
||||
<?= $this->section('content') ?>
|
||||
<link rel="stylesheet" href="/common/css/custom.css">
|
||||
<style>
|
||||
table th {
|
||||
vertical-align: middle;
|
||||
@@ -76,29 +77,64 @@ if (!empty($data['confirm_doc_img_url']) && $data['confirm_doc_img_url_save_yn']
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.blockUI {
|
||||
z-index: 1500 !important;
|
||||
}
|
||||
|
||||
.ellipsis {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 180px;
|
||||
}
|
||||
|
||||
/* GLightbox z-index 설정 */
|
||||
.glightbox-container {
|
||||
z-index: 9999 !important;
|
||||
}
|
||||
|
||||
.table-scroll {
|
||||
max-height: 300px;
|
||||
overflow-y: scroll;
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
.swal2-cancel {
|
||||
background-color: #ff0000 !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.num {
|
||||
font-family: Tahoma;
|
||||
color: #b68556;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.table th,
|
||||
.table td {
|
||||
vertical-align: top;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.form-check-label {
|
||||
margin-left: -2px;
|
||||
/* 기본은 약 0.5rem 이상 */
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="app-page-title">
|
||||
<div class="page-title-wrapper">
|
||||
<div class="page-title-heading">
|
||||
<div>등기부등본 확인매물 상세 내용</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="main-card mb-3 card">
|
||||
<div class="col-md-12 col-xl-12">
|
||||
<div class="col-lg-12">
|
||||
<div class="main-card mb-2 card">
|
||||
<div class="card-header bg-white border-bottom shadow-sm">
|
||||
<div class="d-flex flex-wrap align-items-center w-100 justify-content-between card-header-tab">
|
||||
<h4 class="mb-0 fw-bold text-dark">등기부등본 확인매물 상세 내용</h4>
|
||||
<div class="d-flex align-items-center flex-nowrap gap-4 ms-auto" style="white-space:nowrap;">
|
||||
<span class="text-muted me-2">매물번호:</span>
|
||||
<span class="fw-bold text-primary fs-6 me-4"><?= $data['atcl_no'] ?></span>
|
||||
<span class="text-muted me-2">CP ID:</span>
|
||||
<span class="fw-bold text-primary fs-6 me-4"><?= $data['cpid'] ?></span>
|
||||
<span class="text-muted me-2">현재 상태:</span>
|
||||
<span class="fw-bold text-primary fs-6"><?= $data['pre_stat'] ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form id="rcptFrm" name="rcptFrm" onsubmit="return false">
|
||||
<input type="hidden" name="reg_chk_val" value="<?= $data['rgbk_confirm'] ?>" />
|
||||
@@ -133,7 +169,7 @@ if (!empty($data['confirm_doc_img_url']) && $data['confirm_doc_img_url_save_yn']
|
||||
} else {
|
||||
foreach ($arrRegist as $row) {
|
||||
$img_path = $row['file_path'] . $row['file_name'];
|
||||
echo '<a href="' . $img_path . '" class="default_val" target="_blank" rel="lightbox[gallery1]">' .
|
||||
echo '<a href="' . $img_path . '" class="glightbox" data-gallery="gallery1" data-title="등기부등본">' .
|
||||
'<img id="photo-display2" src="' . $img_path . '" alt="Image" style="width:100%;max-width:945px;min-width:100%;border:0;" />' .
|
||||
'</a>';
|
||||
}
|
||||
@@ -150,7 +186,7 @@ if (!empty($data['confirm_doc_img_url']) && $data['confirm_doc_img_url_save_yn']
|
||||
echo '<img id="photo-display2" src="/img/photo.gif" alt="Image" style="width:100%;max-width:945px;min-width:100%;border:0;" />';
|
||||
} else {
|
||||
foreach ($arr_cert_register as $img_path) {
|
||||
echo '<a href="' . $img_path . '" class="default_val" target="_blank" rel="lightbox[gallery1]">' .
|
||||
echo '<a href="' . $img_path . '" class="glightbox" data-gallery="gallery1" data-title="등기부등본">' .
|
||||
'<img id="photo-display2" src="' . $img_path . '" alt="Image" style="width:100%;max-width:945px;min-width:100%;border:0;" />' .
|
||||
'</a>';
|
||||
}
|
||||
@@ -184,7 +220,7 @@ if (!empty($data['confirm_doc_img_url']) && $data['confirm_doc_img_url_save_yn']
|
||||
<br>
|
||||
<a href="<?= $regi_pdf_path ?>" class="default_val" target="_blank">등기부등본
|
||||
보기</a>
|
||||
<a href="<?= $reco_pdf_path ?>" class="default_val" target="_blank" rel="lightbox"
|
||||
<a href="<?= $reco_pdf_path ?>" class="glightbox" data-gallery="hongbo" data-title="홍보확인서"
|
||||
id="hongbo" onclick="chk_hongbo(event); return false;">홍보확인서 보기</a>
|
||||
<?php
|
||||
}
|
||||
@@ -204,7 +240,7 @@ if (!empty($data['confirm_doc_img_url']) && $data['confirm_doc_img_url_save_yn']
|
||||
<div class="card-body p-2">
|
||||
<table class="table table-sm table-bordered mb-2 tbl_basic2 align-middle">
|
||||
<colgroup>
|
||||
<col style="width: 110px;">
|
||||
<col style="width: 120px;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
@@ -271,7 +307,7 @@ if (!empty($data['confirm_doc_img_url']) && $data['confirm_doc_img_url_save_yn']
|
||||
<img id="reference" src="/img/zip.png"
|
||||
alt="Image" /></a>
|
||||
<?php } else { ?>
|
||||
<a href="<?= $filePath ?>" rel="lightbox[gallery2]">
|
||||
<a href="<?= $filePath ?>" class="glightbox" data-gallery="gallery2" data-title="참고파일">
|
||||
<img id="reference" src="<?= $filePath ?>" alt="Image"
|
||||
style="padding-right: 10px; height: 150px;" /></a>
|
||||
<?php } ?>
|
||||
@@ -294,8 +330,7 @@ if (!empty($data['confirm_doc_img_url']) && $data['confirm_doc_img_url_save_yn']
|
||||
<?php } ?>
|
||||
<?php } else { ?>
|
||||
<?php foreach ($arr_reference as $row) { ?>
|
||||
<a onclick="fn_preview('<?= esc($row) ?>')"
|
||||
rel="lightbox[gallery2]">
|
||||
<a href="<?= esc($row) ?>" class="glightbox" data-gallery="gallery2" data-title="참고파일">
|
||||
<img id="reference" src="<?= $row ?>" alt="Image"
|
||||
style="padding-right: 10px; height: 150px;" /></a>
|
||||
<?php } ?>
|
||||
@@ -1065,23 +1100,27 @@ if (!empty($data['confirm_doc_img_url']) && $data['confirm_doc_img_url_save_yn']
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal" id="previewModal" tabindex="-1">
|
||||
<div class="modal-dialog modal-xl">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">미리보기</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<div class="modal-body p-0">
|
||||
<img id="imgPreview" src="" alt="미리보기" width="100%" height="auto">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?= $this->endSection() ?>
|
||||
|
||||
<?= $this->section('page_styles') ?>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/glightbox/dist/css/glightbox.min.css">
|
||||
<?= $this->endSection() ?>
|
||||
|
||||
<?= $this->section('page_scripts') ?>
|
||||
<script src="https://cdn.jsdelivr.net/npm/glightbox/dist/js/glightbox.min.js"></script>
|
||||
<script src="https://unpkg.com/dropzone@6.0.0-beta.1/dist/dropzone-min.js"></script>
|
||||
<link href="https://unpkg.com/dropzone@6.0.0-beta.1/dist/dropzone.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
// GLightbox 초기화
|
||||
const lightbox = GLightbox({
|
||||
touchNavigation: true,
|
||||
loop: false,
|
||||
autoplayVideos: true,
|
||||
zoomable: true,
|
||||
draggable: true
|
||||
});
|
||||
|
||||
const reg_status = '<?= $data['reg_status'] ?>';
|
||||
const filePdf = '<?= $file_pdf ?? '' ?>';
|
||||
|
||||
@@ -1792,20 +1831,6 @@ if (!empty($data['confirm_doc_img_url']) && $data['confirm_doc_img_url_save_yn']
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
// 이미지 프리뷰
|
||||
function fn_preview(src) {
|
||||
const $img = $('#imgPreview');
|
||||
|
||||
// 이미지 표시
|
||||
$img.attr('src', src).show();
|
||||
|
||||
$('#previewTitle').text('이미지 미리보기');
|
||||
|
||||
const modal = new bootstrap.Modal(document.getElementById('previewModal'));
|
||||
modal.show();
|
||||
}
|
||||
</script>
|
||||
|
||||
<?= $this->endSection() ?>
|
||||
Reference in New Issue
Block a user