import{n as i}from"./index.8c202964.js";const a={name:"menuListType",model:{prop:"activeMenuVal",event:"change"},props:{activeMenuVal:[String,Number],menuList:Array,menuTypeTitle:{type:String,default:()=>"\u77E5\u8BC6\u7C7B\u578B"}},data(){return{}},methods:{menuItemClick({value:s}){this.activeMenuVal!==s&&this.$emit("change",s)}}};var l=function(){var e=this,t=e._self._c;return t("div",{staticClass:"menuType"},[t("div",{staticClass:"menuTypeList"},[t("div",{staticClass:"menuTypeTitle flex-center-align text-left"},[t("div",{staticClass:"title__"},[e._v(" "+e._s(e.menuTypeTitle)+" ")])]),e._l(e.menuList,function(n){return t("div",{key:n.value,staticClass:"menuTypeListItem flex flex-space-between flex-center-align",class:{active:e.activeMenuVal===n.value},on:{click:function(_){return e.menuItemClick(n)}}},[t("p",[e._v(e._s(n.label))]),t("p",[e._v("("+e._s(n.amount)+")")])])})],2)])},r=[],c=i(a,l,r,!1,null,"352f1020",null,null);const m=c.exports;export{m as M};
