From 72e86b51b36ab0fe9e2c17f8738d266223729934 Mon Sep 17 00:00:00 2001 From: "Lim\\jun" Date: Wed, 12 Jun 2024 09:39:05 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8D=BC=EB=B8=94=20=EC=97=85=EB=8E=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../public/assets/images/left.png | Bin 0 -> 195 bytes .../public/assets/images/right.png | Bin 0 -> 190 bytes .../src/components/EgovHeader.jsx | 6 +++++- .../src/constants/url.js | 1 + .../src/css/page.css | 3 ++- .../src/pages/standardCode/StandardCodeSearch.jsx | 14 ++++++++++++++ .../src/routes/index.jsx | 3 ++- 7 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 egovframe-template-simple-react-contribution/public/assets/images/left.png create mode 100644 egovframe-template-simple-react-contribution/public/assets/images/right.png create mode 100644 egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeSearch.jsx diff --git a/egovframe-template-simple-react-contribution/public/assets/images/left.png b/egovframe-template-simple-react-contribution/public/assets/images/left.png new file mode 100644 index 0000000000000000000000000000000000000000..d39bd5dc0112e09e7f28042b44f3763fc5bf85a4 GIT binary patch literal 195 zcmeAS@N?(olHy`uVBq!ia0vp^>>xG=8<0#rS+W&KaTa()7Bet#3xP1>rMq>1fP$r- zE{-7*Q)?$2j$4^iAS*##s{fk% pJonZl=~w?^yyN5ZUhqG&WLSGBNSFIqRxr>344$rjF6*2UngB_pN5lXC literal 0 HcmV?d00001 diff --git a/egovframe-template-simple-react-contribution/public/assets/images/right.png b/egovframe-template-simple-react-contribution/public/assets/images/right.png new file mode 100644 index 0000000000000000000000000000000000000000..203d6991c90b7244a5b795860308a387792e0525 GIT binary patch literal 190 zcmeAS@N?(olHy`uVBq!ia0vp^93VCa8<3oGNZ$fTaTa()7Bet#3xP1>rMq>1fPw{{ zE{-7*Q)@5m7GyFMV7X}5YADPjz?sr^qD4S~<7bM2gv|a`wrf|`wUtd*IkSxMM&H|g zoDJLsI)Ory6jpk7E%{gH{fRaD1%F7!%558JS<4PA6#cm6m~}z6tIhgC`(qVbBLCQi kNH$(q&t2XnZ!lZEbZ64?umzSiK)V?{UHx3vIVCg!0QKfTGXMYp literal 0 HcmV?d00001 diff --git a/egovframe-template-simple-react-contribution/src/components/EgovHeader.jsx b/egovframe-template-simple-react-contribution/src/components/EgovHeader.jsx index b1d2d43..f0c0c17 100644 --- a/egovframe-template-simple-react-contribution/src/components/EgovHeader.jsx +++ b/egovframe-template-simple-react-contribution/src/components/EgovHeader.jsx @@ -72,6 +72,10 @@ function EgovHeader({ loginUser, onChangeLogin }) { navigate(URL.JOIN); } + const SearchHandler = () => { + navigate(URL.STANDARD_CODE_SEARCH); + } + function allMenuControl(){ setMenuDiv(!menuDiv); } @@ -115,7 +119,7 @@ function EgovHeader({ loginUser, onChangeLogin }) {
- +
diff --git a/egovframe-template-simple-react-contribution/src/constants/url.js b/egovframe-template-simple-react-contribution/src/constants/url.js index 543e22f..d7d65e1 100644 --- a/egovframe-template-simple-react-contribution/src/constants/url.js +++ b/egovframe-template-simple-react-contribution/src/constants/url.js @@ -60,6 +60,7 @@ const URL = { STANDARD_CODE_DETAIL : "/standardCode/detail", //건설기준코드/리스트 STANDARD_CODE_VIEWER : "/standardCode/viewer", //건설기준코드/뷰어 STANDARD_CODE_VIEWER_LINK : "/standardCode/viewer/:linkedDocCode", //건설기준코드/뷰어/새 창 링크 + STANDARD_CODE_SEARCH : "/standardCode/search", // 통합검색 //INFORM // INFORM : "/inform", // 알림마당 diff --git a/egovframe-template-simple-react-contribution/src/css/page.css b/egovframe-template-simple-react-contribution/src/css/page.css index 5da9b40..770ab67 100644 --- a/egovframe-template-simple-react-contribution/src/css/page.css +++ b/egovframe-template-simple-react-contribution/src/css/page.css @@ -101,7 +101,8 @@ /*.P_MAIN .colbox .left_col img {max-width: 100%; border-radius: 38px; box-shadow: 8px 8px 13px #ccc;}*/ /*.P_MAIN .colbox .right_col {width: 620px; padding-top: 25px;}*/ - /*.P_MAIN .mini_board {position: relative;}*/ + /*.P_MAIN .mini_board {position: relative;}*/t + /*.P_MAIN .mini_board .tab::after {content: ""; display: block; clear: both;}*/ /*.P_MAIN .mini_board .tab li {float: left;}*/ /*.P_MAIN .mini_board .tab li + li {margin-left: 40px;}*/ diff --git a/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeSearch.jsx b/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeSearch.jsx new file mode 100644 index 0000000..d814b15 --- /dev/null +++ b/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeSearch.jsx @@ -0,0 +1,14 @@ +import React, { useState } from 'react'; +import {Link, useLocation, useNavigate} from 'react-router-dom'; +import * as EgovNet from 'api/egovFetch'; + +function StandardCodeSeearch(){ + + + + return ( +
통합검색 페이지
+ ); +} + +export default StandardCodeSeearch; \ No newline at end of file diff --git a/egovframe-template-simple-react-contribution/src/routes/index.jsx b/egovframe-template-simple-react-contribution/src/routes/index.jsx index e4c6bdc..2454b6c 100644 --- a/egovframe-template-simple-react-contribution/src/routes/index.jsx +++ b/egovframe-template-simple-react-contribution/src/routes/index.jsx @@ -59,7 +59,7 @@ import StandardCodeInfo from "../pages/standardCode/info/StandardCodeInfo"; import StandardCodeTerm from "pages/standardCode/StandardCodeTerm"; import StandardCodeEng from "pages/standardCode/StandardCodeEng"; import StandardCodeOld from "pages/standardCode/StandardCodeOld"; - +import StandardCodeSearch from "pages/standardCode/StandardCodeSearch"; //INFORM // import EgovDailyList from 'pages/inform/daily/EgovDailyList'; @@ -303,6 +303,7 @@ const SecondRoutes = () => { } /> } /> } /> + } /> {/*기준코드리스트*/}