import{U as e,G as s,a4 as a,r,j as c,k as o,o as t,b as n,h as l,q as i,t as u,u as d,aq as m,I as p,af as g}from"./vendor-jA_NIjzi.js";/* empty css              */import{O as h}from"./OrderPageBackButton-ppk9G4nM.js";import{u as v,l as k,J as f}from"./common-utils-8H8K2JPG.js";import{_ as C,u as _}from"./common-store-e_1WBubm.js";const j={class:"recharge-order-details-header"},y={class:"header-l"},O={class:"header-m"},R=["src"],b=["src"],w=["src"],x=["src"],L=["src"],q=C({__name:"RechargeOrderDetailsHeader",props:{title:{type:String,default:""}},setup(C){const{t:q}=e(),B=C,D=s((()=>B.title||q("订单详情"))),E=()=>{I.push("/messageCenter")},{theme:H}=v(),I=a(),U=r(!1),G=_(),J=()=>{I.go(-1)},N=()=>{U.value=!0};return c((()=>{addEventListener("click",(()=>{U.value=!1}))})),o((()=>{removeEventListener("click",(()=>{U.value=!1}))})),(e,s)=>{const a=g;return t(),n("div",j,[l("div",y,[i(h,{onLeft:J})]),l("div",O,u(D.value),1),l("div",{class:"header-r",onClick:m(N,["stop"])},[l("img",{src:d(k)("dot-".concat(d(H),".svg"),"svg"),alt:""},null,8,R)]),i(a,{class:"top-menus",onClick:s[4]||(s[4]=m((()=>{}),["stop"])),overlay:!1,show:U.value,"onUpdate:show":s[5]||(s[5]=e=>U.value=e),position:"top",round:"",style:{padding:"0 10px",height:"78px"}},{default:p((()=>[l("img",{class:"menu-icon",src:d(k)("recharge/service-".concat(d(H),".png")),alt:"",onClick:s[0]||(s[0]=(...e)=>d(f)&&d(f)(...e))},null,8,b),d(G).userinfo.token&&d(G).userinfo.unReadCount>0?(t(),n("img",{key:0,class:"menu-icon",src:d(k)("recharge/notice-".concat(d(H),".png")),alt:"",onClick:s[1]||(s[1]=e=>E())},null,8,w)):(t(),n("img",{key:1,class:"menu-icon",src:d(k)("recharge/notice-read-".concat(d(H),".png")),alt:"",onClick:s[2]||(s[2]=e=>E())},null,8,x)),l("img",{class:"menu-icon",src:d(k)("recharge/feedback-".concat(d(H),".png")),alt:"",onClick:s[3]||(s[3]=e=>{I.push("/feedback")})},null,8,L)])),_:1},8,["show"])])}}},[["__scopeId","data-v-fc1c1319"],["__file","RechargeOrderDetailsHeader.vue"]]);export{q as R};
