import{k as i,o as e,a as n,w as s,g as l,p as t,q as a,m as o,u as c,F as r,i as u,v as d,e as f,t as m}from"./index.35bb0716.js";import{_ as p,r as g}from"./tabBar.d88412f0.js";import{c as h}from"./common.58620cd8.js";import{_}from"./cffp_logo.bdcda038.js";import{_ as k}from"./plugin-vue_export-helper.21dcd24c.js";var S=k({data:()=>({currentPage:"personalCenter",customerBasicInfo:{},mainMenuLists:[{id:"00",categoryName:"销售管理",children:[{title:"销售课程",icon:"salesCourse",link:"/components/courselist/courselist",isOpen:!0,isShow:!0},{title:"销售保单",icon:"salesOrder",link:"",isOpen:!0,isShow:!1},{title:"我的售后",icon:"afterSales",link:"",isOpen:!1,isShow:!0}]},{id:"01",categoryName:"积分管理",children:[{title:"我的积分",icon:"integral",link:"",isOpen:!0,isShow:!0},{title:"积分兑换",icon:"integralShopping",link:"",isOpen:!0,isShow:!0}]},{id:"02",categoryName:"活动管理",children:[{title:"我的学习",icon:"myLearning",link:"",isOpen:!0,isShow:!0},{title:"学习认证",icon:"learningCertify",link:"",isOpen:!0,isShow:!0},{title:"我的分享",icon:"share",link:"",isOpen:!0,isShow:!0}]},{id:"03",categoryName:"人员管理",children:[{title:"成交客户",icon:"dealCustomer",link:"",isOpen:!0,isShow:!1},{title:"申请加盟",icon:"applyJoin",link:"",isOpen:!0,isShow:!0}]},{id:"04",categoryName:"团队管理",children:[{title:"我的团队",icon:"team",link:"",isOpen:!0,isShow:!0},{title:"邀请加盟",icon:"shareJoin",link:"/pages/inviteJoin/inviteJoin",isOpen:!0,isShow:!0}]}],minorMenuLists:[{title:"我的邀请码",icon:"shareEcode",link:"",isOpen:!0,isShow:!0},{title:"我的卡包",icon:"card",link:"",isOpen:!0,isShow:!0},{title:"我的认证",icon:"myCertify",link:"/pages/myCertify/myCertify",isOpen:!0,isShow:!0},{title:"我的消息",icon:"message",link:"",isOpen:!0,isShow:!0},{title:"系统设置",icon:"setting",link:"",isOpen:!0,isShow:!0}]}),components:{tabBar:p},methods:{goDetail(e){e.isShow&&e.isOpen?i({url:e.link}):h.errorDialog(2,"该模块正在开发中，敬请期待！","提示")},errorDialog:(i,e)=>(h.errorDialog(i,e),!1)}},[["render",function(i,h,k,S,w,y){const O=u,x=d,B=g(f("tabBar"),p);return e(),n(O,{class:"container"},{default:s((()=>[l(O,{class:"basicInfoBox"},{default:s((()=>[l(O,{class:"avatar"},{default:s((()=>[t("img",{src:_,alt:"",srcset:""})])),_:1}),l(O,{class:"infoBox"},{default:s((()=>[l(O,{class:"firstLineBox"},{default:s((()=>[l(O,null,{default:s((()=>[t("strong",null,"XXX"),l(x,{class:"csTag"},{default:s((()=>[a("推广人")])),_:1})])),_:1}),l(O,{class:"personalInfoBtn"},{default:s((()=>[l(x,null,{default:s((()=>[a("个人资料")])),_:1}),t("i",{class:"iconfont icon-bianji"})])),_:1})])),_:1}),l(O,null,{default:s((()=>[a("昵称：XXXX")])),_:1}),l(O,null,{default:s((()=>[a("CFFPxxxxx")])),_:1})])),_:1})])),_:1}),l(O,{class:"mainMenuBox"},{default:s((()=>[(e(!0),o(r,null,c(w.mainMenuLists,(i=>(e(),n(O,{class:"item",key:i.id},{default:s((()=>[t("h4",null,m(i.categoryName),1),l(O,{class:"menuItemBox"},{default:s((()=>[(e(!0),o(r,null,c(i.children.filter((i=>i.isShow)),(i=>(e(),n(O,{class:"mainMenuItem",key:i.title,onClick:e=>y.goDetail(i)},{default:s((()=>[t("img",{src:"/static/moduleIcon/"+i.icon+".png",alt:"",srcset:""},null,8,["src"]),l(x,null,{default:s((()=>[a(m(i.title),1)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:2},1024)])),_:2},1024)))),128))])),_:1}),l(O,{class:"personalInfo"},{default:s((()=>[t("ul",null,[(e(!0),o(r,null,c(w.minorMenuLists.filter((i=>i.isShow)),(i=>(e(),o("li",{key:i.title,onClick:e=>y.goDetail(i)},[l(O,{class:"infoBox"},{default:s((()=>[t("img",{src:"/static/moduleIcon/"+i.icon+".png",alt:"",srcset:""},null,8,["src"]),l(x,null,{default:s((()=>[a(m(i.title),1)])),_:2},1024)])),_:2},1024),l(O,{class:"iconBox"},{default:s((()=>[t("i",{class:"iconfont icon-youjiantou"})])),_:1})],8,["onClick"])))),128))])])),_:1}),l(B,{currentPage:w.currentPage},null,8,["currentPage"])])),_:1})}],["__scopeId","data-v-c5bb466c"]]);export{S as default};
