app.9583077158b1da0155e8.js.map 29.4 KB
{"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","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,E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A0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,MAAgB0B,YAAA,SAAmB1B,EAAA,KAAAA,EAAA,OAAoB0B,YAAA,UAAtH5B,KAA0II,GAAA,uBAA1IJ,KAA0II,GAAA,KAAAF,EAAA,OAAsD0B,YAAA,eAAyB1B,EAAA,QAAa0B,YAAA,YAAtO5B,KAA4PI,GAAA,UAA5PJ,KAA4PI,GAAA,KAAAF,EAAA,QAA0C0B,YAAA,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,MCJjBO,IAAIO,OAAOC,eAAgB,EAG3B,IAAIR,KACF9B,GAAI,OACJiC,SACAM,UACAtC,YAAcsB,OACdiB,SAAU","file":"static/js/app.9583077158b1da0155e8.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})\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":""}