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
140 KiB

"use strict";(self["webpackChunkeatwhat"]=self["webpackChunkeatwhat"]||[]).push([[401],{1401:function(l,e,a){a.r(e),a.d(e,{default:function(){return s}});var u=function(){var l=this,e=l.$createElement,a=l._self._c||e;return a("el-card",[a("div",{staticClass:"eat"},[a("el-carousel",{attrs:{interval:4e3,type:"card"}},l._l(l.carouselData,(function(e,u){return a("el-carousel-item",{key:u},[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"bottom",enterable:!1,content:"查看"+e.menuName}},[a("div",{staticClass:"carousel",on:{click:function(a){return l.getMenuCompose(e.menuEle,e)}}},[a("span",[l._v(l._s(e.menuCuis)+" : "+l._s(e.menuName)+"✨")]),a("el-image",{staticStyle:{"border-radius":"7px",overflow:"hidden"},attrs:{src:e.menuPut,fit:"contain"}})],1)])],1)})),1),a("div",{staticClass:"main-content"},[a("div",{staticClass:"search"},[a("div",{staticClass:"category"},[a("div",{staticClass:"cuis"},[a("span",[l._v("菜系: ")]),l._l(l.menuCuis,(function(e,u){return a("el-tag",{key:u,staticStyle:{margin:"7px",cursor:"pointer"},attrs:{type:"parmary"},on:{click:function(a){return l.changeSearchCondition(e,"menuCuis")}}},[l._v(l._s(e))])}))],2),a("div",{staticClass:"taste"},[a("span",[l._v("口味: ")]),l._l(l.menuTaste,(function(e,u){return a("el-tag",{key:u,staticStyle:{margin:"7px",cursor:"pointer"},attrs:{type:"warning"},on:{click:function(a){return l.changeSearchCondition(e,"menuTaste")}}},[l._v(" "+l._s(e))])}))],2)]),a("div",{staticClass:"btn"},[a("el-autocomplete",{attrs:{debounce:2e3,placement:"bottom-end","fetch-suggestions":l.querySearch,placeholder:"请输入内容"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&l._k(e.keyCode,"enter",13,e.key,"Enter")?null:l.searchMenu.apply(null,arguments)}},model:{value:l.search,callback:function(e){l.search=e},expression:"search"}},[a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:l.searchMenu},slot:"append"})],1),""!==l.choosedCategory[0].value||""!==l.choosedCategory[1].value?a("div",{staticClass:"choosed-category"},[a("span",[l._v("已选标签: ")]),l._l(l.choosedCategory,(function(e,u){return a("el-tag",{key:u,staticStyle:{margin:"7px",cursor:"pointer"},attrs:{type:"success"}},[l._v(l._s(e.value||"暂无"))])}))],2):l._e()],1)]),a("div",{staticClass:"show"},l._l(l.menuPart,(function(e,u){return a("el-tooltip",{key:u,staticClass:"item",attrs:{effect:"light",placement:"top",enterable:!1,content:"查看"+e.menuName}},[a("div",{staticClass:"menu-box",on:{click:function(a){return l.getMenuCompose(e.menuEle,e)}}},[a("div",{staticClass:"img-box"},[a("el-image",{staticStyle:{width:"100%"},attrs:{src:e.menuPut,fit:"contain",lazy:""}})],1),a("div",{staticClass:"title"},[a("span",[l._v(l._s(e.menuName))])])])])})),1),a("span",{staticClass:"userLikeMenu"},[l._v("根据您的喜好为您推荐: ")]),a("div",{staticClass:"show",staticStyle:{height:"auto !important"}},[0===l.userLikeMenu.length?a("span",[l._v("暂无数据🥶")]):l._e(),l._l(l.userLikeMenu,(function(e,u){return a("el-tooltip",{key:u,staticClass:"item",attrs:{effect:"light",placement:"top",enterable:!1,content:"查看"+e.menuName}},[a("div",{staticClass:"menu-box",on:{click:function(a){return l.getMenuCompose(e.menuEle,e)}}},[a("div",{staticClass:"img-box"},[a("el-image",{staticStyle:{width:"100%"},attrs:{src:e.menuPut,fit:"contain",lazy:""}})],1),a("div",{staticClass:"title"},[a("span",[l._v(l._s(e.menuName))])])])])}))],2)])],1),a("el-drawer",{ref:"drawer",attrs:{title:"我的信息",visible:l.userInfoVisible,direction:"btt",size:"40%"},on:{"update:visible":function(e){l.userInfoVisible=e}}},[a("div",{staticClass:"drawer-content"},[a("div",{staticClass:"userInfo"},[a("el-form",{ref:"userFormRef",attrs:{model:l.user,"label-width":"80px",size:"small",rules:l.userFormRules}},[a("div",{staticClass:"left",staticStyle:{width:"40%"}},[a("el-form-item",{attrs:{label:"昵称",prop:"userName"}},[a("el-input",{attrs:{"prefix-icon":"el-icon-user-solid",autocomplete:"off",maxlength:"8",clearable:!0},model:{value:l.user.userName,callback:function(e){l.$set(l.user,"userName",e)},expressio
//# sourceMappingURL=401.0c0acf06.js.map