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.
2 lines
12 KiB
2 lines
12 KiB
2 years ago
|
"use strict";(self["webpackChunkeatwhat"]=self["webpackChunkeatwhat"]||[]).push([[450],{85450:function(A,e,o){o.r(e),o.d(e,{default:function(){return C}});var s=function(){var A=this,e=A.$createElement,o=A._self._c||e;return o("div",[o("el-container",[o("el-header",[o("Header")],1),o("el-main",[o("router-view")],1),o("el-footer",[o("Footer")],1)],1)],1)},i=[],a=function(){var A=this,e=A.$createElement,s=A._self._c||e;return s("el-card",[s("div",{staticClass:"header"},[s("div",{staticClass:"logo"},[s("div",{staticClass:"logo-box"},[s("img",{attrs:{src:o(44831),alt:"",width:"100%"}})]),s("div",{staticClass:"logo-btns"},[s("el-button",{attrs:{type:"primary",size:"small",circle:"",icon:"el-icon-message"},on:{click:A.showMyQQ}}),s("el-button",{attrs:{type:"success",size:"small",circle:"",icon:"el-icon-share"},on:{click:A.share}})],1)]),s("div",{staticClass:"desc"},[s("span",[A._v("欢迎访问吃啥-智能菜谱推荐系统")])]),s("div",{staticClass:"user"},[s("el-dropdown",[s("span",[A._v(" "+A._s(A.userName)+" "),s("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),s("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[s("el-dropdown-item",{attrs:{icon:"el-icon-user"}},[s("span",{on:{click:function(e){return A.$store.commit("SetUserInfoVisible",!0)}}},[A._v("我的信息")])]),s("el-dropdown-item",{attrs:{icon:"el-icon-tickets"}},[s("span",{on:{click:function(e){return A.$store.commit("SetUserMenuRecordDrawerVisible",!0)}}},[A._v("历史记录")])]),s("el-dropdown-item",{attrs:{icon:"el-icon-error"}},[s("span",{on:{click:A.logout}},[A._v("退出登录")])])],1)],1)],1)])])},t=[],n=(o(5855),{name:"Header",data:function(){return{}},computed:{userName:function(){return this.$store.state.userName}},methods:{showMyQQ:function(){this.$message({showClose:!0,duration:5e3,type:"success",message:"QQ:2631667689",center:!0})},share:function(){var A=document.createElement("input");A.value="121.37.102.50:8087",document.body.appendChild(A),A.select(),document.execCommand("Copy"),document.body.removeChild(A),this.$message.success({showClose:!0,duration:5e3,type:"success",message:"IP地址复制成功",center:!0})},logout:function(){window.sessionStorage.setItem("user",JSON.stringify(null)),this.$cookies.remove("token"),this.$message.success("注销成功"),this.$router.push("/login")}}}),l=n,Q=o(35471),c=(0,Q.Z)(l,a,t,!1,null,null,null),m=c.exports,B=function(){var A=this,e=A.$createElement,o=A._self._c||e;return o("el-card",[o("div",{staticClass:"foot"},[o("span",[A._v("©版权归Shuaib团队所有 如有需求请联系QQ: 2631667689")]),o("span",[A._v("2022-6-19")])])])},g=[],r={name:"Footer"},M=r,h=(0,Q.Z)(M,B,g,!1,null,"792468b2",null),w=h.exports,I={name:"Home",components:{Header:m,Footer:w}},E=I,u=(0,Q.Z)(E,s,i,!1,null,null,null),C=u.exports},44831:function(A){A.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QCCRXhpZgAATU0AKgAAAAgABQEAAAQAAAABAAABkAEBAAQAAAABAAABkIdpAAQAAAABAAAASgESAAMAAAABAAAAAAEyAAIAAAABAAAAAAAAAAAAAZIIAAQAAAABAAAAAAAAAAAAAgESAAMAAAABAAAAAAEyAAIAAAABAAAAAAAAAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAIQAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAAABoAAAAChnVFJDAAABoAAAAChiVFJDAAABoAAAACh3dHB0AAAByAAAABRjcHJ0AAAB3AAAADxtbHVjAAAAAAAAAAEA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