diff --git a/egovframe-template-simple-react-contribution/src/css/Custom/customMain.css b/egovframe-template-simple-react-contribution/src/css/Custom/customMain.css index 790c401..214e7ba 100644 --- a/egovframe-template-simple-react-contribution/src/css/Custom/customMain.css +++ b/egovframe-template-simple-react-contribution/src/css/Custom/customMain.css @@ -10,4 +10,62 @@ } .mainbnt:hover{ background-color: #212121; -} \ No newline at end of file +} + +.code_list .head >span:nth-child(1),.code_list .result .List_Codes >div:nth-child(1){ + text-align: left; + width: 12%; +} +.code_list .head >span:nth-child(2),.code_list .result .List_Codes >div:nth-child(2){ + text-align: left; + width: 13%; +} +.code_list .head >span:nth-child(3),.code_list .result .List_Codes >div:nth-child(3){ + text-align: left; + width: 10%; +} +.code_list .head >span:nth-child(4),.code_list .result .List_Codes >div:nth-child(4) { + width: 36%; + text-align: left; +} +.code_list .head >span:nth-child(5),.code_list .result .List_Codes >div:nth-child(5){ + width: 7%; +} +.code_list .head >span:nth-child(6),.code_list .result .List_Codes >div:nth-child(6){ + width: 7%; +} +.code_list .head > span:nth-child(7),.code_list .result .List_Codes >div:nth-child(7){ + width: 7%; +} +.code_list .head >span:nth-child(8),.code_list .result .List_Codes >div:nth-child(8){ + width: 8%; +} +.code_list .result .List_Codes >div:nth-child(1), +.code_list .result .List_Codes >div:nth-child(2), +.code_list .result .List_Codes >div:nth-child(3), +.code_list .result .List_Codes >div:nth-child(4), +.code_list .result .List_Codes >div:nth-child(5), +.code_list .result .List_Codes >div:nth-child(6), +.code_list .result .List_Codes >div:nth-child(7), +.code_list .result .List_Codes >div:nth-child(8){ + font-size: 14px; +} +.codelistcontent{ + padding: 0 0; + width: 80%; +} +.StandardCodeList{ + max-width: 100%; +} +.listtablediv{ + padding: 0 !important; +} + + + + + + + + + diff --git a/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx b/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx index b69755b..a979507 100644 --- a/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx @@ -5,11 +5,11 @@ import * as EgovNet from 'api/egovFetch'; import URL from 'constants/url'; import { NOTICE_BBS_ID } from 'config'; - import EgovPaging from 'components/EgovPaging'; import { itemIdxByPage } from 'utils/calc'; import {StandardCodeListModal, StandardCodeListModalTable} from './StandardCodeListModal' +import {AiFillFileMarkdown, AiFillStar} from "react-icons/ai"; function StandardCodeList(props) { const {listCode} = useParams(); @@ -117,21 +117,14 @@ function StandardCodeList(props) { -
{item.mainCategory}
-
{item.middleCategory}
-
{item.kcscCd}
- {(item.replyLc * 1 ? true : false) && -
- {item.groupNm} -
} - {(item.replyLc * 1 ? false : true) && -
- {item.groupNm} -
} -
-
{item.contentcount>0?{item.kcscCd}:null}
-
{item.docFileGrpId}
-
+
{item.mainCategory}
+
{item.middleCategory}
+
{item.kcscCd}
+
{item.groupNm}
+
+
{item.contentcount>0?내용보기:null}
+
+
); @@ -154,7 +147,7 @@ function StandardCodeList(props) { console.groupEnd("StandardCodeList"); return (
-
+
{/* */}
    @@ -170,7 +163,7 @@ function StandardCodeList(props) { {/* */} -
    +
    {/* */}
    @@ -216,7 +209,7 @@ function StandardCodeList(props) { {/* */} {/* */} -
    +
    대분류 중분류