이태화

production

1 1
2 2
3 +# Khu Notice
4 +장학센터, 소프트웨어 융합학과, 경희대 홈페이지 등 여기저기 흩어져있는 공지사항을 한 곳에서 모아 볼 수 있는 사이트입니다.<br>
5 +
6 +# 사용방법
7 +
8 +## frontend build
9 +우선 프론트엔드를 빌드해야 합니다.<br>
10 +```
11 +starting point = /frontend-builder
12 +start with "npm install" and "npm run build"
13 +```
14 +빌드된 프론트엔드는 /backend/public 디렉토리에 저장됩니다.<br>
15 +
3 ## to start server 16 ## to start server
17 +
18 +이제 서버를 실행시켜야 합니다.
19 +```
4 starting point = /backend 20 starting point = /backend
5 -start with "npm run start" 21 +start with "npm install" and "npm run start"
22 +```
6 23
7 -## to build frontend
8 -starting point = /frontend-builder
9 -start with "npm run build"
10 24
11 ## 공지사항을 모아서 보여주는 사이트입니다. 25 ## 공지사항을 모아서 보여주는 사이트입니다.
12 26
......
1 -<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>frontend-builder</title><link href=/static/css/app.380b12be52766c1b4a982fc8a78e3375.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.7c229c2b77c6a7c173c8.js></script><script type=text/javascript src=/static/js/app.c2cb2a05d0b40d51f71a.js></script></body></html>
...\ No newline at end of file ...\ No newline at end of file
1 +<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>frontend-builder</title><link href=/static/css/app.616f8224943a3661eefb80579f14c948.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.7c229c2b77c6a7c173c8.js></script><script type=text/javascript src=/static/js/app.092f42ed84d8527adfff.js></script></body></html>
...\ No newline at end of file ...\ No newline at end of file
......
1 -@font-face{font-family:JejuGothic;src:url(/static/fonts/JejuGothic.67e5ae8.ttf)}body{font-family:sans-serif;margin:0;background:#f2f3f5}a{text-decoration:none;color:inherit}li{list-style:none}button,input{border:none}ul{padding:0}.body{margin-top:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}header{height:150px;background-color:grey}.login-menu{position:absolute;right:150px;top:200px;width:400px;height:500px;background-color:#fff;border-radius:4px;-webkit-box-shadow:0 15px 30px 0 rgba(0,0,0,.08);box-shadow:0 15px 30px 0 rgba(0,0,0,.08)}.login-menu .input-box{height:400px;margin:50px 25px;width:350px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.login-input-list input{width:300px;padding-left:40px}.login-input-list button,.login-input-list input{font-size:20px;height:50px;border-radius:5px;margin-top:20px;-webkit-box-shadow:0 10px 10px 0 rgba(0,0,0,.08);box-shadow:0 10px 10px 0 rgba(0,0,0,.08)}.login-input-list button{width:345px}.login-input-list button:hover{cursor:pointer}.imfoList{width:800px;background:grey}ul{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:0 auto 10px}li{margin-bottom:2px}.item{background:#fff;height:32px;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;padding:6px 15px 18px;width:700px;border-radius:5px}.title{font-size:15px}a{color:#34495e}a:visited{color:grey}.noticeInfo{position:absolute;bottom:12px;font-size:12px}.date{color:grey}.site{color:#fff;font-size:10px;padding:2px 10px}.khu{background-color:#c0392b}.sw{background-color:#3498db}.janghak{background-color:#632300}setting{margin-bottom:10px}.site{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.unSelected{color:#000}
2 -/*# sourceMappingURL=app.380b12be52766c1b4a982fc8a78e3375.css.map */
...\ No newline at end of file ...\ No newline at end of file
1 -{"version":3,"sources":["app.380b12be52766c1b4a982fc8a78e3375.css"],"names":[],"mappings":"AACA,WACE,sBAAyB,CACzB,6CACF,CACA,KACI,sBAAuB,CACvB,QAAS,CACT,kBACJ,CACA,EACI,oBAAqB,CACrB,aACJ,CACA,GACI,eACJ,CAIA,aACI,WACJ,CACA,GACI,SACJ,CACA,MACE,eAAe,CACf,mBAAoB,CACpB,mBAAoB,CACpB,YAAa,CACb,2BAA4B,CAC5B,4BAA6B,CACzB,yBAA0B,CACtB,qBAAsB,CAC9B,wBAAyB,CACrB,qBAAsB,CAClB,kBACV,CAEA,OACE,YAAa,CACb,qBACF,CAEA,YACE,iBAAkB,CAClB,WAAY,CACZ,SAAU,CACV,WAAY,CACZ,YAAa,CACb,qBAAuB,CACvB,iBAAkB,CAClB,gDAAqD,CAC7C,wCACV,CACA,uBACE,YAAa,CACb,gBAA2B,CAC3B,WAAY,CACZ,mBAAoB,CACpB,mBAAoB,CACpB,YAAa,CACb,uBAAwB,CACpB,oBAAqB,CACjB,sBACV,CACA,wBAEE,WAAY,CAGZ,iBAIF,CACA,iDATE,cAAe,CAEf,WAAY,CACZ,iBAAkB,CAElB,eAAgB,CAChB,gDAAqD,CAC7C,wCAUV,CARA,yBAEE,WAMF,CACA,+BACE,cACF,CAEA,UACE,WAAY,CACZ,eACF,CACA,GACE,mBAAoB,CACpB,mBAAoB,CACpB,YAAa,CACb,2BAA4B,CAC5B,4BAA6B,CACzB,yBAA0B,CACtB,qBAAsB,CAC9B,kBACF,CACA,GACE,iBACF,CACA,MACE,eAAiB,CACjB,WAAY,CACZ,mBAAoB,CACpB,mBAAoB,CACpB,YAAa,CACb,iBAAkB,CAClB,qBAAsB,CACtB,WAAY,CACZ,iBACF,CACA,OACE,cACF,CACA,EACE,aACF,CACA,UACE,UACF,CACA,YACE,iBAAkB,CAClB,WAAW,CACX,cACF,CACA,MACE,UACF,CACA,MACE,UAAY,CACZ,cAAc,CACd,gBACF,CACA,KACE,wBACF,CACA,IACE,wBACF,CACA,SACE,wBACF,CAEA,QACE,kBACF,CACA,MACE,cAAe,CACf,wBAAyB,CACtB,qBAAsB,CACrB,oBAAqB,CACjB,gBACV,CACA,YACE,UACF","file":"app.380b12be52766c1b4a982fc8a78e3375.css","sourcesContent":["\n@font-face{\n font-family: 'JejuGothic';\n src: url(/static/fonts/JejuGothic.67e5ae8.ttf);\n}\nbody{\n font-family: sans-serif;\n margin: 0;\n background: #f2f3f5;\n}\na{\n text-decoration: none;\n color: inherit;\n}\nli{\n list-style: none;\n}\ninput{\n border: none;\n}\nbutton{\n border:none;\n}\nul{\n padding:0;\n}\n.body{\n margin-top:10px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\nheader{\n height: 150px;\n background-color: grey;\n}\n\n.login-menu {\n position: absolute;\n right: 150px;\n top: 200px;\n width: 400px;\n height: 500px;\n background-color: white;\n border-radius: 4px;\n -webkit-box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.08);\n box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.08);\n}\n.login-menu .input-box {\n height: 400px;\n margin: 50px 25px 50px 25px;\n width: 350px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.login-input-list input {\n font-size: 20px;\n width: 300px;\n height: 50px;\n border-radius: 5px;\n padding-left: 40px;\n margin-top: 20px;\n -webkit-box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.08);\n box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.08);\n}\n.login-input-list button {\n font-size: 20px;\n width: 345px;\n height: 50px;\n border-radius: 5px;\n margin-top: 20px;\n -webkit-box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.08);\n box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.08);\n}\n.login-input-list button:hover {\n cursor: pointer;\n}\n\n.imfoList{\n width: 800px;\n background: grey;\n}\nul{\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n margin: 0 auto 10px auto;\n}\nli{\n margin-bottom:2px;\n}\n.item{\n background: white;\n height: 32px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n position: relative;\n padding: 6px 15px 18px;\n width: 700px;\n border-radius:5px;\n}\n.title{\n font-size:15px;\n}\na{\n color: #34495e;\n}\na:visited{\n color: grey;\n}\n.noticeInfo{\n position: absolute;\n bottom:12px;\n font-size:12px;\n}\n.date{\n color: grey;\n}\n.site{\n color: white;\n font-size:10px;\n padding: 2px 10px;\n}\n.khu{\n background-color: #C0392B;\n}\n.sw{\n background-color: #3498DB;\n}\n.janghak{\n background-color: #632300;\n}\n\nsetting{\r\n margin-bottom:10px;\n}\n.site{\r\n cursor: pointer;\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\n}\n.unSelected{\r\n color:black;\n}\r\n"]}
...\ No newline at end of file ...\ No newline at end of file
1 +@font-face{font-family:JejuGothic;src:url(/static/fonts/JejuGothic.67e5ae8.ttf)}@font-face{font-family:BIGJOHN;src:url(/static/fonts/BIGJOHN.aa3a008.otf)}body{font-family:sans-serif;margin:0;background:#f2f3f5}a{text-decoration:none;color:inherit}li{list-style:none}button,input{border:none}ul{padding:0}.body{margin-top:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}header{height:443px;background:linear-gradient(131deg,#f7b742,#fc4a42)}.headerBox{width:1010px;height:inherit;margin:0 auto;position:relative}.logo{position:absolute;right:50px}.logo_content{font-size:60px;top:100px}.logo_content,.logo_content_medium{color:#fff;font-family:BIGJOHN;display:block;position:absolute}.logo_content_medium{font-size:40px;top:170px}.logo_content_little{font-family:BIGJOHN;font-size:15px;top:240px;width:400px}.logo_content_little,.visit{color:#fff;display:block;position:absolute}.visit{font-family:consolas;font-size:30px;top:300px;padding:5px 20px;border:2px solid #fff;cursor:pointer}.search{position:absolute;right:0;top:3px;height:25px}.search_blank{outline:none;height:20px;border:2px solid #fff;background-color:transparent;border-radius:1px;color:#fff;width:250px}.login-menu{position:absolute;right:150px;top:200px;width:400px;height:500px;background-color:#fff;border-radius:4px;-webkit-box-shadow:0 15px 30px 0 rgba(0,0,0,.08);box-shadow:0 15px 30px 0 rgba(0,0,0,.08)}.login-menu .input-box{height:400px;margin:50px 25px;width:350px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.login-input-list input{width:300px;padding-left:40px}.login-input-list button,.login-input-list input{font-size:20px;height:50px;border-radius:5px;margin-top:20px;-webkit-box-shadow:0 10px 10px 0 rgba(0,0,0,.08);box-shadow:0 10px 10px 0 rgba(0,0,0,.08)}.login-input-list button{width:345px}.login-input-list button:hover{cursor:pointer}.noticeList{width:1010px;background:#f9f9f9}ul{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0 auto 10px}li{margin-bottom:2px}.item{background:#fff;height:32px;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;padding:6px 15px 18px;width:960px;border-radius:5px}.title{font-size:15px}a{color:#34495e}a:visited{color:grey}.noticeInfo{position:absolute;bottom:12px;font-size:12px}.date{color:grey}.site{color:#fff;font-size:10px;padding:2px 10px}.khu{background-color:#c0392b}.sw{background-color:#3498db}.janghak{background-color:#632300}setting{margin-bottom:10px}.site{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.unSelected{color:#000}
2 +/*# sourceMappingURL=app.616f8224943a3661eefb80579f14c948.css.map */
...\ No newline at end of file ...\ No newline at end of file
1 +{"version":3,"sources":["app.616f8224943a3661eefb80579f14c948.css"],"names":[],"mappings":"AACA,WACE,sBAAyB,CACzB,6CACF,CACA,WACE,mBAAsB,CACtB,0CACF,CACA,KACI,sBAAuB,CACvB,QAAS,CACT,kBACJ,CACA,EACI,oBAAqB,CACrB,aACJ,CACA,GACI,eACJ,CAIA,aACI,WACJ,CACA,GACI,SACJ,CACA,MACE,eAAe,CACf,mBAAoB,CACpB,mBAAoB,CACpB,YAAa,CACb,2BAA4B,CAC5B,4BAA6B,CACzB,yBAA0B,CACtB,qBAAsB,CAC9B,wBAAyB,CACrB,qBAAsB,CAClB,kBACV,CAEA,OACE,YAAa,CACb,kDACF,CACA,WACE,YAAY,CACZ,cAAe,CACf,aAAqB,CACrB,iBACF,CACA,MACE,iBAAkB,CAClB,UACF,CACA,cAGE,cAAe,CAGf,SACF,CACA,mCAPE,UAAY,CACZ,mBAAsB,CAEtB,aAAc,CACd,iBAUF,CAPA,qBAGE,cAAe,CAGf,SACF,CACA,qBAEE,mBAAsB,CACtB,cAAe,CAGf,SAAS,CACT,WACF,CACA,4BARE,UAAY,CAGZ,aAAc,CACd,iBAcF,CAVA,OAEE,oBAAuB,CACvB,cAAe,CAGf,SAAS,CACT,gBAA0B,CAC1B,qBAAuB,CACvB,cACF,CACA,QACE,iBAAkB,CAClB,OAAS,CACT,OAAQ,CACR,WACF,CACA,cACE,YAAa,CACb,WAAY,CACZ,qBAAuB,CACvB,4BAA6B,CAC7B,iBAAkB,CAClB,UAAW,CACX,WACF,CAEA,YACE,iBAAkB,CAClB,WAAY,CACZ,SAAU,CACV,WAAY,CACZ,YAAa,CACb,qBAAuB,CACvB,iBAAkB,CAClB,gDAAqD,CAC7C,wCACV,CACA,uBACE,YAAa,CACb,gBAA2B,CAC3B,WAAY,CACZ,mBAAoB,CACpB,mBAAoB,CACpB,YAAa,CACb,uBAAwB,CACpB,oBAAqB,CACjB,sBACV,CACA,wBAEE,WAAY,CAGZ,iBAIF,CACA,iDATE,cAAe,CAEf,WAAY,CACZ,iBAAkB,CAElB,eAAgB,CAChB,gDAAqD,CAC7C,wCAUV,CARA,yBAEE,WAMF,CACA,+BACE,cACF,CAEA,YACE,YAAa,CACb,kBACF,CACA,GACE,mBAAoB,CACpB,mBAAoB,CACpB,YAAa,CACb,2BAA4B,CAC5B,4BAA6B,CACzB,yBAA0B,CACtB,qBAAsB,CAC9B,wBAAyB,CACrB,qBAAsB,CAClB,kBAAmB,CAC3B,kBACF,CACA,GACE,iBACF,CACA,MACE,eAAiB,CACjB,WAAY,CACZ,mBAAoB,CACpB,mBAAoB,CACpB,YAAa,CACb,iBAAkB,CAClB,qBAAsB,CACtB,WAAY,CACZ,iBACF,CACA,OACE,cACF,CACA,EACE,aACF,CACA,UACE,UACF,CACA,YACE,iBAAkB,CAClB,WAAW,CACX,cACF,CACA,MACE,UACF,CACA,MACE,UAAY,CACZ,cAAc,CACd,gBACF,CACA,KACE,wBACF,CACA,IACE,wBACF,CACA,SACE,wBACF,CAEA,QACE,kBACF,CACA,MACE,cAAe,CACf,wBAAyB,CACtB,qBAAsB,CACrB,oBAAqB,CACjB,gBACV,CACA,YACE,UACF","file":"app.616f8224943a3661eefb80579f14c948.css","sourcesContent":["\n@font-face{\n font-family: 'JejuGothic';\n src: url(/static/fonts/JejuGothic.67e5ae8.ttf);\n}\n@font-face{\n font-family: 'BIGJOHN';\n src: url(/static/fonts/BIGJOHN.aa3a008.otf);\n}\nbody{\n font-family: sans-serif;\n margin: 0;\n background: #f2f3f5;\n}\na{\n text-decoration: none;\n color: inherit;\n}\nli{\n list-style: none;\n}\ninput{\n border: none;\n}\nbutton{\n border:none;\n}\nul{\n padding:0;\n}\n.body{\n margin-top:10px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\nheader{\n height: 443px;\n background:linear-gradient(131deg,rgb(247,183,66),rgb(252,74,66));\n}\n.headerBox{\n width:1010px;\n height: inherit;\n margin: 0 auto 0 auto;\n position: relative;\n}\n.logo{\n position: absolute;\n right: 50px;\n}\n.logo_content{\n color: white;\n font-family: 'BIGJOHN';\n font-size: 60px;\n display: block;\n position: absolute;\n top:100px;\n}\n.logo_content_medium{\n color: white;\n font-family: 'BIGJOHN';\n font-size: 40px;\n display: block;\n position: absolute;\n top:170px;\n}\n.logo_content_little{\n color: white;\n font-family: 'BIGJOHN';\n font-size: 15px;\n display: block;\n position: absolute;\n top:240px;\n width: 400px;\n}\n.visit{\n color: white;\n font-family: 'consolas';\n font-size: 30px;\n display: block;\n position: absolute;\n top:300px;\n padding: 5px 20px 5px 20px;\n border: 2px solid white;\n cursor: pointer;\n}\n.search{\n position: absolute;\n right:0px;\n top: 3px;\n height: 25px;\n}\n.search_blank{\n outline: none;\n height: 20px;\n border: 2px solid white;\n background-color: transparent;\n border-radius: 1px;\n color:white;\n width:250px;\n}\n\n.login-menu {\n position: absolute;\n right: 150px;\n top: 200px;\n width: 400px;\n height: 500px;\n background-color: white;\n border-radius: 4px;\n -webkit-box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.08);\n box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.08);\n}\n.login-menu .input-box {\n height: 400px;\n margin: 50px 25px 50px 25px;\n width: 350px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.login-input-list input {\n font-size: 20px;\n width: 300px;\n height: 50px;\n border-radius: 5px;\n padding-left: 40px;\n margin-top: 20px;\n -webkit-box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.08);\n box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.08);\n}\n.login-input-list button {\n font-size: 20px;\n width: 345px;\n height: 50px;\n border-radius: 5px;\n margin-top: 20px;\n -webkit-box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.08);\n box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.08);\n}\n.login-input-list button:hover {\n cursor: pointer;\n}\n\n.noticeList{\n width: 1010px;\n background: rgb(249,249,249);\n}\nul{\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n margin: 0 auto 10px auto;\n}\nli{\n margin-bottom:2px;\n}\n.item{\n background: white;\n height: 32px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n position: relative;\n padding: 6px 15px 18px;\n width: 960px;\n border-radius:5px;\n}\n.title{\n font-size:15px;\n}\na{\n color: #34495e;\n}\na:visited{\n color: grey;\n}\n.noticeInfo{\n position: absolute;\n bottom:12px;\n font-size:12px;\n}\n.date{\n color: grey;\n}\n.site{\n color: white;\n font-size:10px;\n padding: 2px 10px;\n}\n.khu{\n background-color: #C0392B;\n}\n.sw{\n background-color: #3498DB;\n}\n.janghak{\n background-color: #632300;\n}\n\nsetting{\r\n margin-bottom:10px;\n}\n.site{\r\n cursor: pointer;\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\n}\n.unSelected{\r\n color:black;\n}\r\n"]}
...\ No newline at end of file ...\ No newline at end of file
1 +webpackJsonp([1],{"5Fms":function(t,e){},AKAA:function(t,e){},NHnr:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=s("7+uW"),i={render:function(){this.$createElement;this._self._c;return this._m(0)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("header",[n("div",{staticClass:"headerBox"},[n("div",{staticClass:"logo_content"},[t._v(" KHU NOTICE")]),t._v(" "),n("div",{staticClass:"logo_content_medium"},[t._v(" FOR LAZE")]),t._v(" "),n("div",{staticClass:"logo_content_little"},[t._v(" started by 2020-2 open source project visit khu-hub registory")]),t._v(" "),n("a",{attrs:{href:"http://khuhub.khu.ac.kr/2019100538/khu-notice-project"}},[n("div",{staticClass:"visit"},[t._v(" Visit")])]),t._v(" "),n("img",{staticClass:"logo",attrs:{src:s("hxEs")}}),t._v(" "),n("div",{staticClass:"search"},[n("input",{staticClass:"search_blank"})])])])}]};var a=s("VU/8")({name:"header",data:function(){return{}}},i,!1,function(t){s("NcoU")},null,null).exports,o=s("mtWM"),c=s.n(o),r={data:function(){return{username:"",password:""}},methods:{login:function(){c.a.post("/api/login",{username:this.username,password:this.password}).then(function(t){"isExist"===t.data&&alert("isExist"),"success"===t.data&&(window.location.href="/")})}}},l={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"login-menu"},[s("div",{staticClass:"input-box"},[s("form",{on:{submit:function(e){return e.preventDefault(),t.login(e)}}},[s("ul",{staticClass:"login-input-list"},[s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.username,expression:"username"}],attrs:{type:"text",placeholder:"USERNAME"},domProps:{value:t.username},on:{input:function(e){e.target.composing||(t.username=e.target.value)}}})]),t._v(" "),s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],attrs:{type:"password",placeholder:"PASSWORD"},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}})]),t._v(" "),t._m(0)])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("li",[e("button",{attrs:{type:"submit"}},[this._v("login")])])}]};var u=s("VU/8")(r,l,!1,function(t){s("AKAA")},null,null).exports,d={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("setting",t._l(t.setting,function(e){return s("span",{key:e.name,staticClass:"site",class:[e.seen?e.code:"unSelected"],on:{click:function(s){return t.toggle(e.code)}}},[t._v("\r\n "+t._s(e.name)+"\r\n ")])}),0)},staticRenderFns:[]};var f={el:".noticeList",components:{setting:s("VU/8")({el:"setting",data:function(){return{setting:[{name:"SW융합",seen:!0,code:"sw",official:"소프트웨어 융합대학 공지사항"},{name:"경희대",seen:!0,code:"khu",official:"경희대학교 공지사항"},{name:"장학센터",seen:!0,code:"janghak",official:"경희대학교 장학센터"}]}},methods:{toggle:function(t){this.setting.some(function(e){e.code===t&&(e.seen=!e.seen)}),this.$emit("settingchanged",this.setting)}}},d,!1,function(t){s("b8jG")},null,null).exports},data:function(){return{noticeList:[],sql:'select title,link,date_format(date,"%Y-%m-%d") as date,site from noticeList order by date desc',basic:'select title,link,date_format(date,"%Y-%m-%d") as date,site from noticeList'}},created:function(){this.fetchNoticeList()},methods:{fetchNoticeList:function(){var t=this;c.a.post("/api/fetchNoticeList",{sql:this.sql}).then(function(e){t.noticeList=e.data})},reload:function(t){var e=this.basic;e+=" where 0",t.forEach(function(t){!0===t.seen&&(e+=" or site = '"+t.official+"'")}),this.sql=e+" order by date desc",this.fetchNoticeList()}}},v={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"noticeList"},[s("setting",{on:{settingchanged:t.reload}}),t._v(" "),s("ul",[t._m(0),t._v(" "),t._l(t.noticeList,function(e){return s("li",{key:e,staticClass:"item"},[s("a",{attrs:{href:e.link,target:"_blank"}},[s("div",{staticClass:"title"},[t._v(t._s(e.title))])]),t._v(" "),s("div",{staticClass:"noticeInfo"},["경희대학교 공지사항"==e.site?s("span",{staticClass:"site khu"},[t._v("경희대")]):"소프트웨어 융합대학 공지사항"==e.site?s("span",{staticClass:"site sw"},[t._v("SW융합")]):"경희대학교 장학센터"==e.site?s("span",{staticClass:"site janghak"},[t._v("장학센터")]):t._e(),t._v(" "),s("span",{staticClass:"date"},[t._v(t._s(e.date))])])])})],2)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("li",{staticClass:"item"},[e("a",[e("div",{staticClass:"title"},[this._v("아무 제목이나 써보았습니다.")])]),this._v(" "),e("div",{staticClass:"noticeInfo"},[e("span",{staticClass:"site sw"},[this._v("SW융합")]),this._v(" "),e("span",{staticClass:"date"},[this._v("2020-20-03")])])])}]};var p={name:"App",components:{siteHeader:a,loginMenu:u,noticeList:s("VU/8")(f,v,!1,function(t){s("WXgq")},null,null).exports}},h={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("siteHeader"),this._v(" "),e("div",{staticClass:"body"},[e("setting"),this._v(" "),e("noticeList")],1)],1)},staticRenderFns:[]};var m=s("VU/8")(p,h,!1,function(t){s("5Fms")},null,null).exports,_=s("/ocq");n.a.use(_.a);var g=new _.a({routes:[{path:"/",name:"App",component:m}],mode:"history"});n.a.config.productionTip=!1,new n.a({el:"#app",router:g,axios:c.a,components:{App:m},template:"<App/>"})},NcoU:function(t,e){},WXgq:function(t,e){},b8jG:function(t,e){},hxEs:function(t,e,s){t.exports=s.p+"static/img/khlogo.f48860a.png"}},["NHnr"]);
2 +//# sourceMappingURL=app.092f42ed84d8527adfff.js.map
...\ No newline at end of file ...\ No newline at end of file
1 +{"version":3,"sources":["webpack:///./src/components/header.vue?1f46","webpack:///./src/components/header.vue","webpack:///src/components/header.vue","webpack:///src/components/loginMenu.vue","webpack:///./src/components/loginMenu.vue?dba0","webpack:///./src/components/loginMenu.vue","webpack:///./src/components/setting.vue?ed24","webpack:///./src/components/setting.vue","webpack:///src/components/noticeList.vue","webpack:///src/components/setting.vue","webpack:///./src/components/noticeList.vue?5bb4","webpack:///./src/components/noticeList.vue","webpack:///src/App.vue","webpack:///./src/App.vue?0179","webpack:///./src/App.vue","webpack:///./src/router/index.js","webpack:///./src/main.js","webpack:///./src/assets/khlogo.png"],"names":["components_header","render","this","$createElement","_self","_c","_m","staticRenderFns","_vm","_h","staticClass","_v","attrs","href","src","__webpack_require__","src_components_header","normalizeComponent","name","data","ssrContext","loginMenu","username","password","methods","login","axios_default","a","post","then","message","alert","window","location","components_loginMenu","on","submit","$event","preventDefault","directives","rawName","value","expression","type","placeholder","domProps","input","target","composing","src_components_loginMenu","loginMenu_normalizeComponent","components_setting","_l","item","key","class","seen","code","click","toggle","_s","noticeList","el","components","setting","setting_normalizeComponent","official","siteClass","some","$emit","sql","basic","created","fetchNoticeList","_this","reload","forEach","components_noticeList","settingchanged","notice","link","title","site","_e","date","App","siteHeader","noticeList_normalizeComponent","selectortype_template_index_0_src_App","id","src_App","App_normalizeComponent","Vue","use","Router","router","routes","path","component","mode","config","productionTip","axios","template","module","exports","p"],"mappings":"iKAGeA,GADEC,OAFjB,WAA0BC,KAAaC,eAAbD,KAAuCE,MAAAC,GAAwB,OAA/DH,KAA+DI,GAAA,IAExEC,iBADjB,WAAoC,IAAAC,EAAAN,KAAaO,EAAAD,EAAAL,eAA0BE,EAAAG,EAAAJ,MAAAC,IAAAI,EAAwB,OAAAJ,EAAA,UAAAA,EAAA,OAA8BK,YAAA,cAAwBL,EAAA,OAAYK,YAAA,iBAA2BF,EAAAG,GAAA,iBAAAH,EAAAG,GAAA,KAAAN,EAAA,OAAgDK,YAAA,wBAAkCF,EAAAG,GAAA,eAAAH,EAAAG,GAAA,KAAAN,EAAA,OAA8CK,YAAA,wBAAkCF,EAAAG,GAAA,oEAAAH,EAAAG,GAAA,KAAAN,EAAA,KAAiGO,OAAOC,KAAA,2DAAgER,EAAA,OAAYK,YAAA,UAAoBF,EAAAG,GAAA,cAAAH,EAAAG,GAAA,KAAAN,EAAA,OAA6CK,YAAA,OAAAE,OAA0BE,IAAMC,EAAQ,WAAyBP,EAAAG,GAAA,KAAAN,EAAA,OAAwBK,YAAA,WAAqBL,EAAA,SAAcK,YAAA,0BCEntB,IAuBeM,EAvBUD,EAAQ,OAcjCE,ECAAC,KAAA,SACAC,KAFA,WAGA,WDAEnB,GATF,EAVA,SAAAoB,GACEL,EAAQ,SAaV,KAEA,MAUgC,6BEHhCM,GACAF,KADA,WAEA,OACAG,SAAA,GACAC,SAAA,KAGAC,SACAC,MADA,WAEMC,EAAAC,EACNC,KAAA,cACAN,SAAApB,KAAAoB,SACAC,SAAArB,KAAAqB,WAEAM,KAAA,SAAAC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,KAA4PS,GAAA,UAA5PT,KAA4PS,GAAA,KAAAN,EAAA,QAA0CK,YAAA,SAAtSR,KAAyTS,GAAA,uBCE7V,ICYA0E,GACAnE,KAAA,MACA6C,YACAuB,WAAAtE,EACAK,UAAA4B,EACAY,WDjByB9C,EAAQ,OAcjBwE,CACd1B,EACAgB,GAT6B,EAV/B,SAAoBzD,GAClBL,EAAQ,SAaS,KAEU,MAUG,UEvBjByE,GADEvF,OAFP,WAAgB,IAAaQ,EAAbP,KAAaC,eAA0BE,EAAvCH,KAAuCE,MAAAC,IAAAI,EAAwB,OAAAJ,EAAA,OAAiBO,OAAO6E,GAAA,SAAYpF,EAAA,cAAnGH,KAAmGS,GAAA,KAAAN,EAAA,OAAyCK,YAAA,SAAmBL,EAAA,WAA/JH,KAA+JS,GAAA,KAAAN,EAAA,uBAEzJE,oBCChC,IAuBemF,EAvBU3E,EAAQ,OAcjB4E,CACdN,EACAG,GAT6B,EAV/B,SAAoBpE,GAClBL,EAAQ,SAaS,KAEU,MAUG,oBCtBhC6E,IAAIC,IAAIC,KAEO,IAAAC,EAAA,IAAID,KACjBE,SAEIC,KAAM,IACN/E,KAAM,MACNgF,UAAWb,IAGfc,KAAM,YCPRP,IAAIQ,OAAOC,eAAgB,EAG3B,IAAIT,KACF9B,GAAI,OACJiC,SACAO,UACAvC,YAAcsB,OACdkB,SAAU,gGCfZC,EAAAC,QAAiB1F,EAAA2F,EAAuB","file":"static/js/app.092f42ed84d8527adfff.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',[_c('div',{staticClass:\"headerBox\"},[_c('div',{staticClass:\"logo_content\"},[_vm._v(\" KHU NOTICE\")]),_vm._v(\" \"),_c('div',{staticClass:\"logo_content_medium\"},[_vm._v(\" FOR LAZE\")]),_vm._v(\" \"),_c('div',{staticClass:\"logo_content_little\"},[_vm._v(\" started by 2020-2 open source project visit khu-hub registory\")]),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"http://khuhub.khu.ac.kr/2019100538/khu-notice-project\"}},[_c('div',{staticClass:\"visit\"},[_vm._v(\" Visit\")])]),_vm._v(\" \"),_c('img',{staticClass:\"logo\",attrs:{\"src\":require(\"../assets/khlogo.png\")}}),_vm._v(\" \"),_c('div',{staticClass:\"search\"},[_c('input',{staticClass:\"search_blank\"})])])])}]\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-66239745\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/header.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-66239745\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./header.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./header.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./header.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-66239745\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./header.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/header.vue\n// module id = null\n// module chunks = ","<template>\n <header>\n <div class = \"headerBox\">\n <div class = \"logo_content\"> KHU NOTICE</div>\n <div class = \"logo_content_medium\"> FOR LAZE</div>\n <div class = \"logo_content_little\"> started by 2020-2 open source project visit khu-hub registory</div>\n <a href = \"http://khuhub.khu.ac.kr/2019100538/khu-notice-project\"><div class = \"visit\"> Visit</div></a>\n <img class = \"logo\" src = \"../assets/khlogo.png\">\n <div class = \"search\">\n <input class = \"search_blank\">\n </div>\n </div>\n </header>\n</template>\n\n<script>\nexport default {\n name: 'header',\n data () {\n return {\n }\n }\n}\n</script>\n\n<style>\n header{\n height: 443px;\n background:linear-gradient(131deg,rgb(247,183,66),rgb(252,74,66));\n }\n .headerBox{\n width:1010px;\n height: inherit;\n margin: 0 auto 0 auto;\n position: relative;\n }\n .logo{\n position: absolute;\n right: 50px;\n }\n .logo_content{\n color: white;\n font-family: 'BIGJOHN';\n font-size: 60px;\n display: block;\n position: absolute;\n top:100px;\n }\n .logo_content_medium{\n color: white;\n font-family: 'BIGJOHN';\n font-size: 40px;\n display: block;\n position: absolute;\n top:170px;\n }\n .logo_content_little{\n color: white;\n font-family: 'BIGJOHN';\n font-size: 15px;\n display: block;\n position: absolute;\n top:240px;\n width: 400px;\n }\n .visit{\n color: white;\n font-family: 'consolas';\n font-size: 30px;\n display: block;\n position: absolute;\n top:300px;\n padding: 5px 20px 5px 20px;\n border: 2px solid white;\n cursor: pointer;\n }\n .search{\n position: absolute;\n right:0px;\n top: 3px;\n height: 25px;\n }\n .search_blank{\n outline: none;\n height: 20px;\n border: 2px solid white;\n background-color: transparent;\n border-radius: 1px;\n color:white;\n width:250px;\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/header.vue","<template>\n <div class=\"login-menu\">\n <div class=\"input-box\">\n <form v-on:submit.prevent=\"login\">\n <ul class=\"login-input-list\">\n <li>\n <input type=\"text\" v-model=\"username\" placeholder=\"USERNAME\" />\n </li>\n <li>\n <input type=\"password\" v-model=\"password\" placeholder=\"PASSWORD\" />\n </li>\n <li>\n <button type=\"submit\">login</button>\n </li>\n </ul>\n </form>\n </div>\n </div>\n</template>\n\n<script>\nimport axios from 'axios'\n\nexport default {\n data () {\n return {\n username: '',\n password: ''\n }\n },\n methods: {\n login () {\n axios\n .post('/api/login', {\n username: this.username,\n password: this.password\n })\n .then(function (message) {\n if (message.data === 'isExist') {\n alert('isExist')\n }\n if (message.data === 'success') {\n window.location.href = '/'\n }\n })\n }\n }\n}\n</script>\n\n<style>\n.login-menu {\n position: absolute;\n right: 150px;\n top: 200px;\n width: 400px;\n height: 500px;\n background-color: white;\n border-radius: 4px;\n box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.08);\n}\n.login-menu .input-box {\n height: 400px;\n margin: 50px 25px 50px 25px;\n width: 350px;\n display: flex;\n justify-content: center;\n}\n.login-input-list input {\n font-size: 20px;\n width: 300px;\n height: 50px;\n border-radius: 5px;\n padding-left: 40px;\n margin-top: 20px;\n box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.08);\n}\n.login-input-list button {\n font-size: 20px;\n width: 345px;\n height: 50px;\n border-radius: 5px;\n margin-top: 20px;\n box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.08);\n}\n.login-input-list button:hover {\n cursor: pointer;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/loginMenu.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"login-menu\"},[_c('div',{staticClass:\"input-box\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.login($event)}}},[_c('ul',{staticClass:\"login-input-list\"},[_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.username),expression:\"username\"}],attrs:{\"type\":\"text\",\"placeholder\":\"USERNAME\"},domProps:{\"value\":(_vm.username)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.username=$event.target.value}}})]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],attrs:{\"type\":\"password\",\"placeholder\":\"PASSWORD\"},domProps:{\"value\":(_vm.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.password=$event.target.value}}})]),_vm._v(\" \"),_vm._m(0)])])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',[_c('button',{attrs:{\"type\":\"submit\"}},[_vm._v(\"login\")])])}]\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-710ecc9a\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/loginMenu.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-710ecc9a\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./loginMenu.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./loginMenu.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./loginMenu.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-710ecc9a\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./loginMenu.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/loginMenu.vue\n// module id = null\n// module chunks = ","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('setting',_vm._l((_vm.setting),function(item){return _c('span',{key:item.name,staticClass:\"site\",class:[item.seen ? item.code: 'unSelected'],on:{\"click\":function($event){return _vm.toggle(item.code)}}},[_vm._v(\"\\r\\n \"+_vm._s(item.name)+\"\\r\\n \")])}),0)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-fd012262\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/setting.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-fd012262\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./setting.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./setting.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./setting.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-fd012262\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./setting.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/setting.vue\n// module id = null\n// module chunks = ","<template>\r\n <div class = \"noticeList\">\r\n <setting v-on:settingchanged=\"reload\"></setting>\r\n <ul>\r\n <li class = \"item\">\r\n <a><div class = \"title\">아무 제목이나 써보았습니다.</div></a>\r\n <div class = \"noticeInfo\">\r\n <span class = \"site sw\" >SW융합</span>\r\n <span class = \"date\">2020-20-03</span>\r\n </div>\r\n </li>\r\n <li class = \"item\" v-for=\"notice in noticeList\" :key=\"notice\">\r\n <a v-bind:href=\"notice.link\" target=\"_blank\"><div class = \"title\">{{notice.title}}</div></a>\r\n <div class = \"noticeInfo\">\r\n <span class = \"site khu\" v-if=\"notice.site == '경희대학교 공지사항'\">경희대</span>\r\n <span class = \"site sw\" v-else-if=\"notice.site == '소프트웨어 융합대학 공지사항'\">SW융합</span>\r\n <span class = \"site janghak\" v-else-if=\"notice.site == '경희대학교 장학센터'\">장학센터</span>\r\n <span class = \"date\">{{notice.date}}</span>\r\n </div>\r\n </li>\r\n </ul>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport axios from 'axios'\r\nimport setting from './setting'\r\n\r\nexport default {\r\n el: '.noticeList',\r\n components: {\r\n 'setting': setting\r\n },\r\n data () {\r\n return {\r\n noticeList: [],\r\n sql: 'select title,link,date_format(date,\"%Y-%m-%d\") as date,site from noticeList order by date desc',\r\n basic: 'select title,link,date_format(date,\"%Y-%m-%d\") as date,site from noticeList'\r\n }\r\n },\r\n created () {\r\n this.fetchNoticeList()\r\n },\r\n methods: {\r\n fetchNoticeList () {\r\n axios\r\n .post('/api/fetchNoticeList', {\r\n sql: this.sql\r\n })\r\n .then((noticeList) => {\r\n this.noticeList = noticeList.data\r\n })\r\n },\r\n reload (setting) {\r\n var sql = this.basic\r\n sql += ' where 0'\r\n setting.forEach(function (item) {\r\n if (item.seen === true) {\r\n sql += ' or site = ' + '\\'' + item.official + '\\''\r\n }\r\n })\r\n this.sql = sql + ' order by date desc'\r\n this.fetchNoticeList()\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\n .noticeList{\r\n width: 1010px;\r\n background: rgb(249,249,249);\r\n }\r\n ul{\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n margin: 0 auto 10px auto;\r\n }\r\n li{\r\n margin-bottom:2px;\r\n }\r\n .item{\r\n background: white;\r\n height: 32px;\r\n display: flex;\r\n position: relative;\r\n padding: 6px 15px 18px;\r\n width: 960px;\r\n border-radius:5px;\r\n }\r\n .title{\r\n font-size:15px;\r\n }\r\n a{\r\n color: #34495e;\r\n\r\n }\r\n a:visited{\r\n color: grey;\r\n }\r\n .noticeInfo{\r\n position: absolute;\r\n bottom:12px;\r\n font-size:12px;\r\n }\r\n .date{\r\n color: grey;\r\n }\r\n .site{\r\n color: white;\r\n font-size:10px;\r\n padding: 2px 10px;\r\n }\r\n .khu{\r\n background-color: #C0392B;\r\n }\r\n .sw{\r\n background-color: #3498DB;\r\n }\r\n .janghak{\r\n background-color: #632300;\r\n }\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/noticeList.vue","<template>\r\n<setting>\r\n <span class = \"site\"\r\n v-for=\"item in setting\"\r\n v-bind:key=\"item.name\" :class=\"[item.seen ? item.code: 'unSelected']\"\r\n v-on:click=\"toggle(item.code)\">\r\n {{item.name}}\r\n </span>\r\n</setting>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n el: 'setting',\r\n data () {\r\n return {\r\n setting: [\r\n {name: 'SW융합', seen: true, code: 'sw', official: '소프트웨어 융합대학 공지사항'},\r\n {name: '경희대', seen: true, code: 'khu', official: '경희대학교 공지사항'},\r\n {name: '장학센터', seen: true, code: 'janghak', official: '경희대학교 장학센터'}\r\n ]\r\n }\r\n },\r\n methods: {\r\n toggle (siteClass) {\r\n this.setting.some(function (data) {\r\n if (data.code === siteClass) {\r\n data.seen = !data.seen\r\n }\r\n })\r\n this.$emit('settingchanged', this.setting)\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\nsetting{\r\n margin-bottom:10px;\r\n}\r\n.site{\r\n cursor: pointer;\r\n user-select: none;\r\n}\r\n.unSelected{\r\n color:black;\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/setting.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"noticeList\"},[_c('setting',{on:{\"settingchanged\":_vm.reload}}),_vm._v(\" \"),_c('ul',[_vm._m(0),_vm._v(\" \"),_vm._l((_vm.noticeList),function(notice){return _c('li',{key:notice,staticClass:\"item\"},[_c('a',{attrs:{\"href\":notice.link,\"target\":\"_blank\"}},[_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(notice.title))])]),_vm._v(\" \"),_c('div',{staticClass:\"noticeInfo\"},[(notice.site == '경희대학교 공지사항')?_c('span',{staticClass:\"site khu\"},[_vm._v(\"경희대\")]):(notice.site == '소프트웨어 융합대학 공지사항')?_c('span',{staticClass:\"site sw\"},[_vm._v(\"SW융합\")]):(notice.site == '경희대학교 장학센터')?_c('span',{staticClass:\"site janghak\"},[_vm._v(\"장학센터\")]):_vm._e(),_vm._v(\" \"),_c('span',{staticClass:\"date\"},[_vm._v(_vm._s(notice.date))])])])})],2)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"item\"},[_c('a',[_c('div',{staticClass:\"title\"},[_vm._v(\"아무 제목이나 써보았습니다.\")])]),_vm._v(\" \"),_c('div',{staticClass:\"noticeInfo\"},[_c('span',{staticClass:\"site sw\"},[_vm._v(\"SW융합\")]),_vm._v(\" \"),_c('span',{staticClass:\"date\"},[_vm._v(\"2020-20-03\")])])])}]\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-bc30b19a\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/noticeList.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-bc30b19a\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./noticeList.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./noticeList.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./noticeList.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-bc30b19a\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./noticeList.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/noticeList.vue\n// module id = null\n// module chunks = ","<template>\n<div id=\"app\">\n <siteHeader></siteHeader>\n <div class = \"body\">\n <setting></setting>\n <noticeList></noticeList>\n </div>\n</div>\n</template>\n\n<script>\nimport siteHeader from './components/header'\nimport loginMenu from './components/loginMenu'\nimport noticeList from './components/noticeList'\n\nexport default {\n name: 'App',\n components: {\n 'siteHeader': siteHeader,\n 'loginMenu': loginMenu,\n 'noticeList': noticeList\n }\n}\n</script>\n\n<style>\n@font-face{\n font-family: 'JejuGothic';\n src: url('assets/JejuGothic.ttf');\n}\n@font-face{\n font-family: 'BIGJOHN';\n src: url('assets/BIGJOHN.otf');\n}\nbody{\n font-family: sans-serif;\n margin: 0;\n background: #f2f3f5;\n}\na{\n text-decoration: none;\n color: inherit;\n}\nli{\n list-style: none;\n}\ninput{\n border: none;\n}\nbutton{\n border:none;\n}\nul{\n padding:0;\n}\n.body{\n margin-top:10px;\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('siteHeader'),_vm._v(\" \"),_c('div',{staticClass:\"body\"},[_c('setting'),_vm._v(\" \"),_c('noticeList')],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-07abb9bf\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-07abb9bf\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./App.vue\")\n}\nvar normalizeComponent = require(\"!../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-07abb9bf\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = null\n// module chunks = ","import Vue from 'vue'\r\nimport Router from 'vue-router'\r\nimport App from '@/App'\r\n\r\nVue.use(Router)\r\n\r\nexport default new Router({\r\n routes: [\r\n {\r\n path: '/',\r\n name: 'App',\r\n component: App\r\n }\r\n ],\r\n mode: 'history'\r\n})\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","// The Vue build version to load with the `import` command\n// (runtime-only or standalone) has been set in webpack.base.conf with an alias.\nimport Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport axios from 'axios'\n\nVue.config.productionTip = false\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n axios,\n components: { App },\n template: '<App/>'\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","module.exports = __webpack_public_path__ + \"static/img/khlogo.f48860a.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/khlogo.png\n// module id = hxEs\n// module chunks = 1"],"sourceRoot":""}
...\ No newline at end of file ...\ No newline at end of file
1 -webpackJsonp([1],{AKAA:function(t,e){},NHnr:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=s("7+uW"),i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("header",[e("center",[this._v("로고 들어갈 자리")]),this._v(" "),e("br"),this._v(" "),e("center",[this._v("디자이너 구합니다.")])],1)},staticRenderFns:[]};var a=s("VU/8")({name:"header",data:function(){return{}}},i,!1,function(t){s("NOVN")},null,null).exports,o=s("mtWM"),r=s.n(o),c={data:function(){return{username:"",password:""}},methods:{login:function(){r.a.post("/api/login",{username:this.username,password:this.password}).then(function(t){"isExist"===t.data&&alert("isExist"),"success"===t.data&&(window.location.href="/")})}}},l={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"login-menu"},[s("div",{staticClass:"input-box"},[s("form",{on:{submit:function(e){return e.preventDefault(),t.login(e)}}},[s("ul",{staticClass:"login-input-list"},[s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.username,expression:"username"}],attrs:{type:"text",placeholder:"USERNAME"},domProps:{value:t.username},on:{input:function(e){e.target.composing||(t.username=e.target.value)}}})]),t._v(" "),s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],attrs:{type:"password",placeholder:"PASSWORD"},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}})]),t._v(" "),t._m(0)])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("li",[e("button",{attrs:{type:"submit"}},[this._v("login")])])}]};var u=s("VU/8")(c,l,!1,function(t){s("AKAA")},null,null).exports,d={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("setting",t._l(t.setting,function(e){return s("span",{key:e.name,staticClass:"site",class:[e.seen?e.code:"unSelected"],on:{click:function(s){return t.toggle(e.code)}}},[t._v("\r\n "+t._s(e.name)+"\r\n ")])}),0)},staticRenderFns:[]};var f={el:".noticeList",components:{setting:s("VU/8")({el:"setting",data:function(){return{setting:[{name:"SW융합",seen:!0,code:"sw",official:"소프트웨어 융합대학 공지사항"},{name:"경희대",seen:!0,code:"khu",official:"경희대학교 공지사항"},{name:"장학센터",seen:!0,code:"janghak",official:"경희대학교 장학센터"}]}},methods:{toggle:function(t){this.setting.some(function(e){e.code===t&&(e.seen=!e.seen)}),this.$emit("settingchanged",this.setting)}}},d,!1,function(t){s("b8jG")},null,null).exports},data:function(){return{noticeList:[],sql:'select title,link,date_format(date,"%Y-%m-%d") as date,site from noticeList order by date desc',basic:'select title,link,date_format(date,"%Y-%m-%d") as date,site from noticeList'}},created:function(){this.fetchNoticeList()},methods:{fetchNoticeList:function(){var t=this;r.a.post("/api/fetchNoticeList",{sql:this.sql}).then(function(e){t.noticeList=e.data})},reload:function(t){var e=this.basic;e+=" where 0",t.forEach(function(t){!0===t.seen&&(e+=" or site = '"+t.official+"'")}),this.sql=e+" order by date desc",this.fetchNoticeList()}}},p={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"noticeList"},[s("setting",{on:{settingchanged:t.reload}}),t._v(" "),s("ul",[t._m(0),t._v(" "),t._l(t.noticeList,function(e){return s("li",{key:e,staticClass:"item"},[s("a",{attrs:{href:e.link,target:"_blank"}},[s("div",{staticClass:"title"},[t._v(t._s(e.title))])]),t._v(" "),s("div",{staticClass:"noticeInfo"},["경희대학교 공지사항"==e.site?s("span",{staticClass:"site khu"},[t._v("경희대")]):"소프트웨어 융합대학 공지사항"==e.site?s("span",{staticClass:"site sw"},[t._v("SW융합")]):"경희대학교 장학센터"==e.site?s("span",{staticClass:"site janghak"},[t._v("장학센터")]):t._e(),t._v(" "),s("span",{staticClass:"date"},[t._v(t._s(e.date))])])])})],2)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("li",{staticClass:"item"},[e("a",[e("div",{staticClass:"title"},[this._v("아무 제목이나 써보았습니다.")])]),this._v(" "),e("div",{staticClass:"noticeInfo"},[e("span",{staticClass:"site sw"},[this._v("SW융합")]),this._v(" "),e("span",{staticClass:"date"},[this._v("2020-20-03")])])])}]};var v={name:"App",components:{siteHeader:a,loginMenu:u,noticeList:s("VU/8")(f,p,!1,function(t){s("xMyl")},null,null).exports}},m={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("siteHeader"),this._v(" "),e("div",{staticClass:"body"},[e("setting"),this._v(" "),e("noticeList")],1)],1)},staticRenderFns:[]};var h=s("VU/8")(v,m,!1,function(t){s("yjDJ")},null,null).exports,_=s("/ocq");n.a.use(_.a);var g=new _.a({routes:[{path:"/",name:"App",component:h}],mode:"history"});n.a.config.productionTip=!1,new n.a({el:"#app",router:g,axios:r.a,components:{App:h},template:"<App/>"})},NOVN:function(t,e){},b8jG:function(t,e){},xMyl:function(t,e){},yjDJ:function(t,e){}},["NHnr"]);
2 -//# sourceMappingURL=app.c2cb2a05d0b40d51f71a.js.map
...\ No newline at end of file ...\ No newline at end of file
1 -{"version":3,"sources":["webpack:///./src/components/header.vue?b6e3","webpack:///./src/components/header.vue","webpack:///src/components/header.vue","webpack:///src/components/loginMenu.vue","webpack:///./src/components/loginMenu.vue?dba0","webpack:///./src/components/loginMenu.vue","webpack:///./src/components/setting.vue?ed24","webpack:///./src/components/setting.vue","webpack:///src/components/noticeList.vue","webpack:///src/components/setting.vue","webpack:///./src/components/noticeList.vue?1671","webpack:///./src/components/noticeList.vue","webpack:///src/App.vue","webpack:///./src/App.vue?9ee2","webpack:///./src/App.vue","webpack:///./src/router/index.js","webpack:///./src/main.js"],"names":["components_header","render","_h","this","$createElement","_c","_self","_v","staticRenderFns","src_components_header","__webpack_require__","normalizeComponent","name","data","ssrContext","loginMenu","username","password","methods","login","axios_default","a","post","then","message","alert","window","location","href","components_loginMenu","_vm","staticClass","on","submit","$event","preventDefault","directives","rawName","value","expression","attrs","type","placeholder","domProps","input","target","composing","_m","src_components_loginMenu","loginMenu_normalizeComponent","components_setting","_l","item","key","class","seen","code","click","toggle","_s","noticeList","el","components","setting","setting_normalizeComponent","official","siteClass","some","$emit","sql","basic","created","fetchNoticeList","_this","reload","forEach","components_noticeList","settingchanged","notice","link","title","site","_e","date","App","siteHeader","noticeList_normalizeComponent","selectortype_template_index_0_src_App","id","src_App","App_normalizeComponent","Vue","use","Router","router","routes","path","component","mode","config","productionTip","axios","template"],"mappings":"0IAGeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,UAAAA,EAAA,UAA/DF,KAA+DI,GAAA,eAA/DJ,KAA+DI,GAAA,KAAAF,EAAA,MAA/DF,KAA+DI,GAAA,KAAAF,EAAA,UAA/DF,KAA+DI,GAAA,qBAExEC,oBCCjB,IAuBeC,EAvBUC,EAAQ,OAcjCC,ECPAC,KAAA,SACAC,KAFA,WAGA,WDOEb,GATF,EAVA,SAAAc,GACEJ,EAAQ,SAaV,KAEA,MAUgC,6BEHhCK,GACAF,KADA,WAEA,OACAG,SAAA,GACAC,SAAA,KAGAC,SACAC,MADA,WAEMC,EAAAC,EACNC,KAAA,cACAN,SAAAb,KAAAa,SACAC,SAAAd,KAAAc,WAEAM,KAAA,SAAAC,GACA,YAAAA,EAAAX,MACAY,MAAA,WAEA,YAAAD,EAAAX,OACAa,OAAAC,SAAAC,KAAA,UCvCeC,GADE5B,OAFP,WAAgB,IAAA6B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AAA,SAAtS5B,KAAyTI,GAAA,uBCE7V,ICYA6E,GACAxE,KAAA,MACAkD,YACAuB,WAAA5E,EACAM,UAAAiC,EACAY,WDjByBlD,EAAQ,OAcjB4E,CACd1B,EACAgB,GAT6B,EAV/B,SAAoB9D,GAClBJ,EAAQ,SAaS,KAEU,MAUG,UEvBjB6E,GADEtF,OAFP,WAAgB,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBmC,OAAOgD,GAAA,SAAYnF,EAAA,cAAnGF,KAAmGI,GAAA,KAAAF,EAAA,OAAyC0B,YAAA,SAAmB1B,EAAA,WAA/JF,KAA+JI,GAAA,KAAAF,EAAA,uBAEzJG,oBCChC,IAuBeiF,EAvBU/E,EAAQ,OAcjBgF,CACdN,EACAG,GAT6B,EAV/B,SAAoBzE,GAClBJ,EAAQ,SAaS,KAEU,MAUG,oBCtBhCiF,IAAIC,IAAIC,KAEO,IAAAC,EAAA,IAAID,KACjBE,SAEIC,KAAM,IACNpF,KAAM,MACNqF,UAAWb,IAGfc,KAAM,YCPRP,IAAIQ,OAAOC,eAAgB,EAG3B,IAAIT,KACF9B,GAAI,OACJiC,SACAO,UACAvC,YAAcsB,OACdkB,SAAU","file":"static/js/app.c2cb2a05d0b40d51f71a.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',[_c('center',[_vm._v(\"로고 들어갈 자리\")]),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('center',[_vm._v(\"디자이너 구합니다.\")])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-326de46a\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/header.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-326de46a\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./header.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./header.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./header.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-326de46a\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./header.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/header.vue\n// module id = null\n// module chunks = ","<template>\n <header>\n <center>로고 들어갈 자리</center>\n <br>\n <center>디자이너 구합니다.</center>\n </header>\n</template>\n\n<script>\nexport default {\n name: 'header',\n data () {\n return {\n\n }\n }\n}\n</script>\n\n<style>\n header{\n height: 150px;\n background-color: grey;\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/header.vue","<template>\n <div class=\"login-menu\">\n <div class=\"input-box\">\n <form v-on:submit.prevent=\"login\">\n <ul class=\"login-input-list\">\n <li>\n <input type=\"text\" v-model=\"username\" placeholder=\"USERNAME\" />\n </li>\n <li>\n <input type=\"password\" v-model=\"password\" placeholder=\"PASSWORD\" />\n </li>\n <li>\n <button type=\"submit\">login</button>\n </li>\n </ul>\n </form>\n </div>\n </div>\n</template>\n\n<script>\nimport axios from 'axios'\n\nexport default {\n data () {\n return {\n username: '',\n password: ''\n }\n },\n methods: {\n login () {\n axios\n .post('/api/login', {\n username: this.username,\n password: this.password\n })\n .then(function (message) {\n if (message.data === 'isExist') {\n alert('isExist')\n }\n if (message.data === 'success') {\n window.location.href = '/'\n }\n })\n }\n }\n}\n</script>\n\n<style>\n.login-menu {\n position: absolute;\n right: 150px;\n top: 200px;\n width: 400px;\n height: 500px;\n background-color: white;\n border-radius: 4px;\n box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.08);\n}\n.login-menu .input-box {\n height: 400px;\n margin: 50px 25px 50px 25px;\n width: 350px;\n display: flex;\n justify-content: center;\n}\n.login-input-list input {\n font-size: 20px;\n width: 300px;\n height: 50px;\n border-radius: 5px;\n padding-left: 40px;\n margin-top: 20px;\n box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.08);\n}\n.login-input-list button {\n font-size: 20px;\n width: 345px;\n height: 50px;\n border-radius: 5px;\n margin-top: 20px;\n box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.08);\n}\n.login-input-list button:hover {\n cursor: pointer;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/loginMenu.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"login-menu\"},[_c('div',{staticClass:\"input-box\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.login($event)}}},[_c('ul',{staticClass:\"login-input-list\"},[_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.username),expression:\"username\"}],attrs:{\"type\":\"text\",\"placeholder\":\"USERNAME\"},domProps:{\"value\":(_vm.username)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.username=$event.target.value}}})]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],attrs:{\"type\":\"password\",\"placeholder\":\"PASSWORD\"},domProps:{\"value\":(_vm.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.password=$event.target.value}}})]),_vm._v(\" \"),_vm._m(0)])])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',[_c('button',{attrs:{\"type\":\"submit\"}},[_vm._v(\"login\")])])}]\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-710ecc9a\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/loginMenu.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-710ecc9a\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./loginMenu.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./loginMenu.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./loginMenu.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-710ecc9a\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./loginMenu.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/loginMenu.vue\n// module id = null\n// module chunks = ","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('setting',_vm._l((_vm.setting),function(item){return _c('span',{key:item.name,staticClass:\"site\",class:[item.seen ? item.code: 'unSelected'],on:{\"click\":function($event){return _vm.toggle(item.code)}}},[_vm._v(\"\\r\\n \"+_vm._s(item.name)+\"\\r\\n \")])}),0)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-fd012262\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/setting.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-fd012262\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./setting.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./setting.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./setting.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-fd012262\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./setting.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/setting.vue\n// module id = null\n// module chunks = ","<template>\r\n <div class = \"noticeList\">\r\n <setting v-on:settingchanged=\"reload\"></setting>\r\n <ul>\r\n <li class = \"item\">\r\n <a><div class = \"title\">아무 제목이나 써보았습니다.</div></a>\r\n <div class = \"noticeInfo\">\r\n <span class = \"site sw\" >SW융합</span>\r\n <span class = \"date\">2020-20-03</span>\r\n </div>\r\n </li>\r\n <li class = \"item\" v-for=\"notice in noticeList\" :key=\"notice\">\r\n <a v-bind:href=\"notice.link\" target=\"_blank\"><div class = \"title\">{{notice.title}}</div></a>\r\n <div class = \"noticeInfo\">\r\n <span class = \"site khu\" v-if=\"notice.site == '경희대학교 공지사항'\">경희대</span>\r\n <span class = \"site sw\" v-else-if=\"notice.site == '소프트웨어 융합대학 공지사항'\">SW융합</span>\r\n <span class = \"site janghak\" v-else-if=\"notice.site == '경희대학교 장학센터'\">장학센터</span>\r\n <span class = \"date\">{{notice.date}}</span>\r\n </div>\r\n </li>\r\n </ul>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport axios from 'axios'\r\nimport setting from './setting'\r\n\r\nexport default {\r\n el: '.noticeList',\r\n components: {\r\n 'setting': setting\r\n },\r\n data () {\r\n return {\r\n noticeList: [],\r\n sql: 'select title,link,date_format(date,\"%Y-%m-%d\") as date,site from noticeList order by date desc',\r\n basic: 'select title,link,date_format(date,\"%Y-%m-%d\") as date,site from noticeList'\r\n }\r\n },\r\n created () {\r\n this.fetchNoticeList()\r\n },\r\n methods: {\r\n fetchNoticeList () {\r\n axios\r\n .post('/api/fetchNoticeList', {\r\n sql: this.sql\r\n })\r\n .then((noticeList) => {\r\n this.noticeList = noticeList.data\r\n })\r\n },\r\n reload (setting) {\r\n var sql = this.basic\r\n sql += ' where 0'\r\n setting.forEach(function (item) {\r\n if (item.seen === true) {\r\n sql += ' or site = ' + '\\'' + item.official + '\\''\r\n }\r\n })\r\n this.sql = sql + ' order by date desc'\r\n this.fetchNoticeList()\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\n .imfoList{\r\n width: 800px;\r\n background: grey;\r\n }\r\n ul{\r\n display: flex;\r\n flex-direction: column;\r\n margin: 0 auto 10px auto;\r\n }\r\n li{\r\n margin-bottom:2px;\r\n }\r\n .item{\r\n background: white;\r\n height: 32px;\r\n display: flex;\r\n position: relative;\r\n padding: 6px 15px 18px;\r\n width: 700px;\r\n border-radius:5px;\r\n }\r\n .title{\r\n font-size:15px;\r\n }\r\n a{\r\n color: #34495e;\r\n\r\n }\r\n a:visited{\r\n color: grey;\r\n }\r\n .noticeInfo{\r\n position: absolute;\r\n bottom:12px;\r\n font-size:12px;\r\n }\r\n .date{\r\n color: grey;\r\n }\r\n .site{\r\n color: white;\r\n font-size:10px;\r\n padding: 2px 10px;\r\n }\r\n .khu{\r\n background-color: #C0392B;\r\n }\r\n .sw{\r\n background-color: #3498DB;\r\n }\r\n .janghak{\r\n background-color: #632300;\r\n }\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/noticeList.vue","<template>\r\n<setting>\r\n <span class = \"site\"\r\n v-for=\"item in setting\"\r\n v-bind:key=\"item.name\" :class=\"[item.seen ? item.code: 'unSelected']\"\r\n v-on:click=\"toggle(item.code)\">\r\n {{item.name}}\r\n </span>\r\n</setting>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n el: 'setting',\r\n data () {\r\n return {\r\n setting: [\r\n {name: 'SW융합', seen: true, code: 'sw', official: '소프트웨어 융합대학 공지사항'},\r\n {name: '경희대', seen: true, code: 'khu', official: '경희대학교 공지사항'},\r\n {name: '장학센터', seen: true, code: 'janghak', official: '경희대학교 장학센터'}\r\n ]\r\n }\r\n },\r\n methods: {\r\n toggle (siteClass) {\r\n this.setting.some(function (data) {\r\n if (data.code === siteClass) {\r\n data.seen = !data.seen\r\n }\r\n })\r\n this.$emit('settingchanged', this.setting)\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\nsetting{\r\n margin-bottom:10px;\r\n}\r\n.site{\r\n cursor: pointer;\r\n user-select: none;\r\n}\r\n.unSelected{\r\n color:black;\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/setting.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"noticeList\"},[_c('setting',{on:{\"settingchanged\":_vm.reload}}),_vm._v(\" \"),_c('ul',[_vm._m(0),_vm._v(\" \"),_vm._l((_vm.noticeList),function(notice){return _c('li',{key:notice,staticClass:\"item\"},[_c('a',{attrs:{\"href\":notice.link,\"target\":\"_blank\"}},[_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(notice.title))])]),_vm._v(\" \"),_c('div',{staticClass:\"noticeInfo\"},[(notice.site == '경희대학교 공지사항')?_c('span',{staticClass:\"site khu\"},[_vm._v(\"경희대\")]):(notice.site == '소프트웨어 융합대학 공지사항')?_c('span',{staticClass:\"site sw\"},[_vm._v(\"SW융합\")]):(notice.site == '경희대학교 장학센터')?_c('span',{staticClass:\"site janghak\"},[_vm._v(\"장학센터\")]):_vm._e(),_vm._v(\" \"),_c('span',{staticClass:\"date\"},[_vm._v(_vm._s(notice.date))])])])})],2)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"item\"},[_c('a',[_c('div',{staticClass:\"title\"},[_vm._v(\"아무 제목이나 써보았습니다.\")])]),_vm._v(\" \"),_c('div',{staticClass:\"noticeInfo\"},[_c('span',{staticClass:\"site sw\"},[_vm._v(\"SW융합\")]),_vm._v(\" \"),_c('span',{staticClass:\"date\"},[_vm._v(\"2020-20-03\")])])])}]\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-547787f3\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/noticeList.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-547787f3\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./noticeList.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./noticeList.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./noticeList.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-547787f3\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./noticeList.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/noticeList.vue\n// module id = null\n// module chunks = ","<template>\n<div id=\"app\">\n <siteHeader></siteHeader>\n <div class = \"body\">\n <setting></setting>\n <noticeList></noticeList>\n </div>\n</div>\n</template>\n\n<script>\nimport siteHeader from './components/header'\nimport loginMenu from './components/loginMenu'\nimport noticeList from './components/noticeList'\n\nexport default {\n name: 'App',\n components: {\n 'siteHeader': siteHeader,\n 'loginMenu': loginMenu,\n 'noticeList': noticeList\n }\n}\n</script>\n\n<style>\n@font-face{\n font-family: 'JejuGothic';\n src: url('assets/JejuGothic.ttf');\n}\nbody{\n font-family: sans-serif;\n margin: 0;\n background: #f2f3f5;\n}\na{\n text-decoration: none;\n color: inherit;\n}\nli{\n list-style: none;\n}\ninput{\n border: none;\n}\nbutton{\n border:none;\n}\nul{\n padding:0;\n}\n.body{\n margin-top:10px;\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('siteHeader'),_vm._v(\" \"),_c('div',{staticClass:\"body\"},[_c('setting'),_vm._v(\" \"),_c('noticeList')],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-2ec3ce27\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-2ec3ce27\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./App.vue\")\n}\nvar normalizeComponent = require(\"!../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-2ec3ce27\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = null\n// module chunks = ","import Vue from 'vue'\nimport Router from 'vue-router'\nimport App from '@/App'\n\nVue.use(Router)\n\nexport default new Router({\n routes: [\n {\n path: '/',\n name: 'App',\n component: App\n }\n ],\n mode: 'history'\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","// The Vue build version to load with the `import` command\n// (runtime-only or standalone) has been set in webpack.base.conf with an alias.\nimport Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport axios from 'axios'\n\nVue.config.productionTip = false\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n axios,\n components: { App },\n template: '<App/>'\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js"],"sourceRoot":""}
...\ No newline at end of file ...\ No newline at end of file
1 -{"version":3,"sources":["webpack:///webpack/bootstrap 55331d278dc8b8d6c006"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","2","exports","module","l","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,EAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAAT,EAGAE,EAAAQ,EAAAN,EAGAF,EAAAS,EAAA,SAAAL,EAAAM,EAAAC,GACAX,EAAAY,EAAAR,EAAAM,IACAhB,OAAAmB,eAAAT,EAAAM,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAX,EAAAiB,EAAA,SAAAZ,GACA,IAAAM,EAAAN,KAAAa,WACA,WAA2B,OAAAb,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAS,EAAAE,EAAA,IAAAA,GACAA,GAIAX,EAAAY,EAAA,SAAAO,EAAAC,GAAsD,OAAA1B,OAAAC,UAAAC,eAAAC,KAAAsB,EAAAC,IAGtDpB,EAAAqB,EAAA,IAGArB,EAAAsB,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.2ae2e69a05c33dfc65f8.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t2: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 55331d278dc8b8d6c006"],"sourceRoot":""}
...\ No newline at end of file ...\ No newline at end of file
1 +{"version":3,"sources":["webpack:///webpack/bootstrap 166e21af281b0806d998"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","2","exports","module","l","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,EAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAAT,EAGAE,EAAAQ,EAAAN,EAGAF,EAAAS,EAAA,SAAAL,EAAAM,EAAAC,GACAX,EAAAY,EAAAR,EAAAM,IACAhB,OAAAmB,eAAAT,EAAAM,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAX,EAAAiB,EAAA,SAAAZ,GACA,IAAAM,EAAAN,KAAAa,WACA,WAA2B,OAAAb,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAS,EAAAE,EAAA,IAAAA,GACAA,GAIAX,EAAAY,EAAA,SAAAO,EAAAC,GAAsD,OAAA1B,OAAAC,UAAAC,eAAAC,KAAAsB,EAAAC,IAGtDpB,EAAAqB,EAAA,IAGArB,EAAAsB,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.2ae2e69a05c33dfc65f8.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t2: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 166e21af281b0806d998"],"sourceRoot":""}
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -2,7 +2,13 @@ ...@@ -2,7 +2,13 @@
2 <header> 2 <header>
3 <div class = "headerBox"> 3 <div class = "headerBox">
4 <div class = "logo_content"> KHU NOTICE</div> 4 <div class = "logo_content"> KHU NOTICE</div>
5 + <div class = "logo_content_medium"> FOR LAZE</div>
6 + <div class = "logo_content_little"> started by 2020-2 open source project visit khu-hub registory</div>
7 + <a href = "http://khuhub.khu.ac.kr/2019100538/khu-notice-project"><div class = "visit"> Visit</div></a>
5 <img class = "logo" src = "../assets/khlogo.png"> 8 <img class = "logo" src = "../assets/khlogo.png">
9 + <div class = "search">
10 + <input class = "search_blank">
11 + </div>
6 </div> 12 </div>
7 </header> 13 </header>
8 </template> 14 </template>
...@@ -40,4 +46,47 @@ export default { ...@@ -40,4 +46,47 @@ export default {
40 position: absolute; 46 position: absolute;
41 top:100px; 47 top:100px;
42 } 48 }
49 + .logo_content_medium{
50 + color: white;
51 + font-family: 'BIGJOHN';
52 + font-size: 40px;
53 + display: block;
54 + position: absolute;
55 + top:170px;
56 + }
57 + .logo_content_little{
58 + color: white;
59 + font-family: 'BIGJOHN';
60 + font-size: 15px;
61 + display: block;
62 + position: absolute;
63 + top:240px;
64 + width: 400px;
65 + }
66 + .visit{
67 + color: white;
68 + font-family: 'consolas';
69 + font-size: 30px;
70 + display: block;
71 + position: absolute;
72 + top:300px;
73 + padding: 5px 20px 5px 20px;
74 + border: 2px solid white;
75 + cursor: pointer;
76 + }
77 + .search{
78 + position: absolute;
79 + right:0px;
80 + top: 3px;
81 + height: 25px;
82 + }
83 + .search_blank{
84 + outline: none;
85 + height: 20px;
86 + border: 2px solid white;
87 + background-color: transparent;
88 + border-radius: 1px;
89 + color:white;
90 + width:250px;
91 + }
43 </style> 92 </style>
......
...@@ -2,13 +2,6 @@ ...@@ -2,13 +2,6 @@
2 <div class = "noticeList"> 2 <div class = "noticeList">
3 <setting v-on:settingchanged="reload"></setting> 3 <setting v-on:settingchanged="reload"></setting>
4 <ul> 4 <ul>
5 - <li class = "item">
6 - <a><div class = "title">아무 제목이나 써보았습니다.</div></a>
7 - <div class = "noticeInfo">
8 - <span class = "site sw" >SW융합</span>
9 - <span class = "date">2020-20-03</span>
10 - </div>
11 - </li>
12 <li class = "item" v-for="notice in noticeList" :key="notice"> 5 <li class = "item" v-for="notice in noticeList" :key="notice">
13 <a v-bind:href="notice.link" target="_blank"><div class = "title">{{notice.title}}</div></a> 6 <a v-bind:href="notice.link" target="_blank"><div class = "title">{{notice.title}}</div></a>
14 <div class = "noticeInfo"> 7 <div class = "noticeInfo">
......
1 -const khuuniv = require('./site_modules/janghak');
2 -
3 -
4 -khuuniv.loading();
...\ No newline at end of file ...\ No newline at end of file
1 -
2 -console.log('2019-01-31' < '2019-01-01');
...\ No newline at end of file ...\ No newline at end of file