129 lines
5.6 KiB
HTML
129 lines
5.6 KiB
HTML
<!DOCTYPE html>
|
|
<html layout:decorate="~{layout/layout}" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
|
xmlns:th="http://www.thymeleaf.org">
|
|
|
|
<div layout:fragment="content" th:classappend="acco-wrap">
|
|
<main id="content" role="main" class="guide-wrap">
|
|
<section class="guide-main">
|
|
<div class="inner">
|
|
<hgroup class="tit-group">
|
|
<h3>
|
|
여러분의 기록이 <br>
|
|
<strong>더 나은</strong> 정책과 지원으로<br>
|
|
이어집니다.
|
|
</h3>
|
|
</hgroup>
|
|
<dl>
|
|
<dt>일계부는 왜 필요한가요?</dt>
|
|
<dd>
|
|
산림청에서는 우리나라 임가의 수입, 지출, 자산 등을 파악하기 위하여 전국의 1,500개 임가를 대상으로 임가경제조사를 진행하고 있습니다.
|
|
</dd>
|
|
<dd>
|
|
임가경제조사는 중요한 국가 통계 조사로, 조사 결과는 임업 발전과 임업인 지원 정책을 만드는 데 소중한 자료로 활용됩니다.
|
|
</dd>
|
|
<dd>
|
|
응답해 주신 내용은 통계법에 따라 철저히 비밀이 보호되며, 오직 통계 목적으로만 사용됩니다. 세금 부과 등 다른 목적으로는 절대 사용되지 않으니, 안심하고 솔직하게 답변해 주시기를
|
|
부탁드립니다.
|
|
</dd>
|
|
<dd>
|
|
바쁘신 와중에도 일계부를 작성해 주셔서 진심으로 감사드립니다.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="guide-list-area bg-gray bg-lround">
|
|
<div class="inner">
|
|
<ul class="btn-column-list">
|
|
<li class="view">
|
|
<a href="javascript:void(0);" onclick="goMobileGuide()">
|
|
<p class="label">모바일웹 이용안내</p>
|
|
<p class="value">일계부 등록 방법을 안내합니다</p>
|
|
</a>
|
|
</li>
|
|
<li class="view">
|
|
<a href="javascript:void(0);" onclick="goIndustryType()">
|
|
<p class="label">업종 분류표</p>
|
|
<p class="value">임업의 업종은 이렇게 구분됩니다.</p>
|
|
</a>
|
|
</li>
|
|
<li class="view">
|
|
<a href="javascript:void(0);" onclick="goForestDiff()">
|
|
<p class="label">임산물과 농산물 구분법</p>
|
|
<p class="value">임산물과 농산물의 차이를 알려드려요.</p>
|
|
</a>
|
|
</li>
|
|
<li class="view">
|
|
<a href="javascript:void(0);" onclick="goUsageType()">
|
|
<p class="label">임가경제조사 활용분야</p>
|
|
<p class="value">여러분의 기록은 이렇게 쓰입니다.</p>
|
|
</a>
|
|
</li>
|
|
<li class="view">
|
|
<a href="javascript:void(0);" onclick="goContact()">
|
|
<p class="label">유관부서 연락처</p>
|
|
<p class="value">관련 기관 연락처를 확인하세요.</p>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<!-- 모달 팝업 -->
|
|
<div th:replace="guide/modal/modal-mobile-guide:: modalFragment"></div>
|
|
<div th:replace="guide/modal/modal-industry-type:: modalFragment"></div>
|
|
<div th:replace="guide/modal/modal-forest-diff:: modalFragment"></div>
|
|
<div th:replace="guide/modal/modal-usage-type:: modalFragment"></div>
|
|
<div th:replace="guide/modal/modal-contact:: modalFragment"></div>
|
|
<!-- //모달 팝업 -->
|
|
|
|
</div>
|
|
|
|
|
|
<section layout:fragment="script">
|
|
<script th:inline="javascript">
|
|
let currentModal = null;
|
|
|
|
function goMobileGuide(){
|
|
const modal = document.querySelector(".mobileGuide");
|
|
openModal(modal, "mobileGuide");
|
|
}
|
|
function goIndustryType(){
|
|
const modal = document.querySelector(".industryType");
|
|
openModal(modal, "industryType");
|
|
}
|
|
function goForestDiff(){
|
|
const modal = document.querySelector(".forestDiff");
|
|
openModal(modal, "forestDiff");
|
|
}
|
|
function goUsageType(){
|
|
const modal = document.querySelector(".usageType");
|
|
openModal(modal, "usageType");
|
|
}
|
|
function goContact(){
|
|
const modal = document.querySelector(".contact");
|
|
openModal(modal, "contact");
|
|
}
|
|
function openModal(modal, modalId) {
|
|
if (currentModal && currentModal !== modal) {
|
|
currentModal.ui.close(); // 기존 모달 닫기
|
|
}
|
|
modal.ui.open();
|
|
modal.dataset.state = "open";
|
|
currentModal = modal;
|
|
window.history.pushState({ modal: modalId }, null, "");
|
|
}
|
|
// 뒤로 가기 이벤트 처리
|
|
window.addEventListener("popstate", function () {
|
|
if (currentModal && currentModal.dataset.state === "open") {
|
|
currentModal.ui.close();
|
|
currentModal.dataset.state = "close";
|
|
currentModal = null;
|
|
}
|
|
});
|
|
</script>
|
|
</section>
|
|
</html>
|
|
|