You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
14 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"version":3,"file":"js/450.615bf015.js","mappings":"0JAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,eAAe,CAACA,EAAG,YAAY,CAACA,EAAG,WAAW,GAAGA,EAAG,UAAU,CAACA,EAAG,gBAAgB,GAAGA,EAAG,YAAY,CAACA,EAAG,WAAW,IAAI,IAAI,IACpOE,EAAkB,GCDlB,EAAS,WAAa,IAAIN,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACA,EAAG,MAAM,CAACG,YAAY,UAAU,CAACH,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,MAAM,CAACG,YAAY,YAAY,CAACH,EAAG,MAAM,CAACI,MAAM,CAAC,IAAM,EAAQ,MAA8B,IAAM,GAAG,MAAQ,YAAYJ,EAAG,MAAM,CAACG,YAAY,aAAa,CAACH,EAAG,YAAY,CAACI,MAAM,CAAC,KAAO,UAAU,KAAO,QAAQ,OAAS,GAAG,KAAO,mBAAmBC,GAAG,CAAC,MAAQT,EAAIU,YAAYN,EAAG,YAAY,CAACI,MAAM,CAAC,KAAO,UAAU,KAAO,QAAQ,OAAS,GAAG,KAAO,iBAAiBC,GAAG,CAAC,MAAQT,EAAIW,UAAU,KAAKP,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,OAAO,CAACJ,EAAIY,GAAG,uBAAuBR,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,cAAc,CAACA,EAAG,OAAO,CAACJ,EAAIY,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AGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACA,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,OAAO,CAACJ,EAAIY,GAAG,0CAA0CR,EAAG,OAAO,CAACJ,EAAIY,GAAG,oBACvN,EAAkB,GCStB,GACAQ,KAAAA,UCXqT,ICQjT,GAAY,OACd,EACA,EACA,GACA,EACA,KACA,WACA,MAIF,EAAe,EAAiB,QCIhC,GACAA,KAAAA,OACAa,WAAAA,CACAC,OADA,EAEAC,OAAAA,IC3BmT,ICO/S,GAAY,OACd,EACApC,EACAO,GACA,EACA,KACA,KACA,MAIF,EAAe,EAAiB,S","sources":["webpack://eatwhat/./src/components/Home.vue?35b0","webpack://eatwhat/./src/components/Header.vue?88e8","webpack://eatwhat/src/components/Header.vue","webpack://eatwhat/./src/components/Header.vue?40d7","webpack://eatwhat/./src/components/Header.vue","webpack://eatwhat/./src/components/Footer.vue?0563","webpack://eatwhat/src/components/Footer.vue","webpack://eatwhat/./src/components/Footer.vue?3bd8","webpack://eatwhat/./src/components/Footer.vue","webpack://eatwhat/src/components/Home.vue","webpack://eatwhat/./src/components/Home.vue?0710","webpack://eatwhat/./src/components/Home.vue"],"sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-container',[_c('el-header',[_c('Header')],1),_c('el-main',[_c('router-view')],1),_c('el-footer',[_c('Footer')],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"logo\"},[_c('div',{staticClass:\"logo-box\"},[_c('img',{attrs:{\"src\":require(\"../assets/imgs/cabbage.jpg\"),\"alt\":\"\",\"width\":\"100%\"}})]),_c('div',{staticClass:\"logo-btns\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"small\",\"circle\":\"\",\"icon\":\"el-icon-message\"},on:{\"click\":_vm.showMyQQ}}),_c('el-button',{attrs:{\"type\":\"success\",\"size\":\"small\",\"circle\":\"\",\"icon\":\"el-icon-share\"},on:{\"click\":_vm.share}})],1)]),_c('div',{staticClass:\"desc\"},[_c('span',[_vm._v(\"欢迎访问吃啥-智能菜谱推荐系统\")])]),_c('div',{staticClass:\"user\"},[_c('el-dropdown',[_c('span',[_vm._v(\" \"+_vm._s(_vm.userName)+\" \"),_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"})]),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-user\"}},[_c('span',{on:{\"click\":function($event){return _vm.$store.commit('SetUserInfoVisible', true)}}},[_vm._v(\"我的信息\")])]),_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-tickets\"}},[_c('span',{on:{\"click\":function($event){return _vm.$store.commit('SetUserMenuRecordDrawerVisible', true)}}},[_vm._v(\"历史记录\")])]),_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-error\"}},[_c('span',{on:{\"click\":_vm.logout}},[_vm._v(\"退出登录\")])])],1)],1)],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <el-card>\r\n <div class=\"header\">\r\n <div class=\"logo\">\r\n <div class=\"logo-box\">\r\n <img src=\"../assets/imgs/cabbage.jpg\" alt=\"\" width=\"100%\" />\r\n </div>\r\n <div class=\"logo-btns\">\r\n <el-button\r\n type=\"primary\"\r\n size=\"small\"\r\n circle\r\n icon=\"el-icon-message\"\r\n @click=\"showMyQQ\"\r\n ></el-button>\r\n <el-button\r\n type=\"success\"\r\n size=\"small\"\r\n circle\r\n icon=\"el-icon-share\"\r\n @click=\"share\"\r\n ></el-button>\r\n </div>\r\n </div>\r\n <div class=\"desc\">\r\n <span>欢迎访问吃啥-智能菜谱推荐系统</span>\r\n </div>\r\n <div class=\"user\">\r\n <el-dropdown>\r\n <span>\r\n {{ userName }}\r\n <i class=\"el-icon-arrow-down el-icon--right\"></i>\r\n </span>\r\n <el-dropdown-menu slot=\"dropdown\">\r\n <el-dropdown-item icon=\"el-icon-user\"\r\n ><span @click=\"$store.commit('SetUserInfoVisible', true)\"\r\n >我的信息</span\r\n ></el-dropdown-item\r\n >\r\n <el-dropdown-item icon=\"el-icon-tickets\"\r\n ><span\r\n @click=\"$store.commit('SetUserMenuRecordDrawerVisible', true)\"\r\n >历史记录</span\r\n ></el-dropdown-item\r\n >\r\n\r\n <el-dropdown-item icon=\"el-icon-error\"\r\n ><span @click=\"logout\">退出登录</span></el-dropdown-item\r\n >\r\n </el-dropdown-menu>\r\n </el-dropdown>\r\n </div>\r\n </div>\r\n </el-card>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"Header\",\r\n data() {\r\n return {};\r\n },\r\n computed: {\r\n //用户的名称\r\n userName() {\r\n return this.$store.state.userName;\r\n },\r\n },\r\n methods: {\r\n //展示我的QQ\r\n showMyQQ() {\r\n this.$message({\r\n showClose: true,\r\n duration: 5000,\r\n type: \"success\",\r\n message: \"QQ:2631667689\",\r\n center: true,\r\n });\r\n },\r\n\r\n //分享复制网页链接\r\n share() {\r\n var input = document.createElement(\"input\"); // js创建一个input输入框\r\n input.value = \"121.37.102.50:8087\"; // 将需要复制的文本赋值到创建的input输入框中\r\n document.body.appendChild(input); // 将输入框暂时创建到实例里面\r\n input.select(); // 选中输入框中的内容\r\n document.execCommand(\"Copy\"); // 执行复制操作\r\n document.body.removeChild(input); // 最后删除实例中临时创建的input输入框完成复制操作\r\n this.$message.success({\r\n showClose: true,\r\n duration: 5000,\r\n type: \"success\",\r\n message: \"IP地址复制成功\",\r\n center: true,\r\n });\r\n },\r\n\r\n //退出登录的方法\r\n logout() {\r\n window.sessionStorage.setItem(\"user\", JSON.stringify(null));\r\n this.$cookies.remove(\"token\");\r\n this.$message.success(\"注销成功\");\r\n this.$router.push(\"/login\");\r\n },\r\n },\r\n};\r\n</script>\r\n","import mod from \"-!../../node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.5@babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.5@babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Header.vue?vue&type=template&id=7dc2cf5d&\"\nimport script from \"./Header.vue?vue&type=script&lang=js&\"\nexport * from \"./Header.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',[_c('div',{staticClass:\"foot\"},[_c('span',[_vm._v(\"©版权归Shuaib团队所有 如有需求请联系QQ: 2631667689\")]),_c('span',[_vm._v(\"2022-6-19\")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <el-card>\r\n <div class=\"foot\">\r\n <span>©版权归Shuaib团队所有 如有需求请联系QQ: 2631667689</span>\r\n <span>2022-6-19</span>\r\n </div>\r\n </el-card>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"Footer\",\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.foot {\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n text-align: center;\r\n font-family: 楷体;\r\n font-size: larger;\r\n font-weight: 1000;\r\n line-height: 1.5em;\r\n}\r\n\r\n.foot span {\r\n margin-bottom: 10px;\r\n}\r\n</style>\r\n","import mod from \"-!../../node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.5@babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.5@babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Footer.vue?vue&type=template&id=792468b2&scoped=true&\"\nimport script from \"./Footer.vue?vue&type=script&lang=js&\"\nexport * from \"./Footer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Footer.vue?vue&type=style&index=0&id=792468b2&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"792468b2\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div>\r\n <!-- 总框架 -->\r\n <el-container>\r\n <!-- 头部 -->\r\n <el-header>\r\n <Header></Header>\r\n </el-header>\r\n <!-- 主体部分 -->\r\n <el-main>\r\n <router-view></router-view>\r\n </el-main>\r\n <!-- 底部部分 -->\r\n <el-footer>\r\n <Footer></Footer>\r\n </el-footer>\r\n </el-container>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport Header from \"../components/Header.vue\";\r\nimport Footer from \"../components/Footer.vue\";\r\nexport default {\r\n name: \"Home\",\r\n components: {\r\n Header,\r\n Footer,\r\n },\r\n};\r\n</script>\r\n","import mod from \"-!../../node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.5@babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.5@babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=66c446ae&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticRenderFns","staticClass","attrs","on","showMyQQ","share","_v","_s","userName","slot","$event","$store","commit","logout","name","data","computed","methods","showClose","duration","type","message","center","input","document","window","component","components","Header","Footer"],"sourceRoot":""}