import{d as ue,r as v,f as ce,n as me,q as xe,N as r,y as Q,h as p,c,a as t,e as i,w as u,u as d,R as _e,t as n,x as R,I,i as f,B as g,F as G,G as K,A as h,D as ve,E as fe,$ as Ae,W as ge,X as he,cE as be,Y as ke,aa as ye,a0 as we,p as Ce,g as Fe,_ as Ve}from"./index-4dcc0234.js";/* empty css *//* empty css *//* empty css */import{_ as Ee}from"./index-2d277c91.js";/* empty css *//* empty css *//* empty css */import"./el-form-item-4ed993c7.js";/* empty css */import{_ as Be}from"./index.vue_vue_type_script_setup_true_lang-9285296e.js";import{_ as De}from"./empty-77b60adb.js";import{a as Se}from"./stat-50319497.js";import{E as Ue,F as H,G as Ie}from"./sys-8ead7f22.js";import{S as Ye}from"./sortable.esm-be94e56d.js";import{r as Ne}from"./range-72f9cbd3.js";import"./index.vue_vue_type_style_index_0_lang-5c6c00d9.js";import"./attachment-c69dd9fd.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */const Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABeVJREFUWEfVmXlsVFUUh7/pSllkV1wAKQQRFUUDxIiyhyCIhEAUCS3KIooVC2UpCIVUadlau0EkEIMGAihdpKKYYsCYIItREAQRRSEgsi8t04155szp0M50Ou/NSIs9/7yZd+8953fPPet9NsMwDAIkWXnTAeUOcBgg/+VZlYJsYLOBPEOCIDhI/wdKtkAAC8CycgUaCAnw0BDdgL/kF+Cym1BaXl2L/gp1zReth4VAaLB1DpYAyzEXl+nx1waJmTQIVbMxI1PAolUBWxckoM20XSNgcaDSChOoC7AuGWIiYcE1O6ZXwAK2pAzKaskEzBQQGgThod5BewVcUq7OdSdJNB0eUh1BNcB1abNmCvFm026AJRoUlZixqdvxRuHu0cMN8I3S2gtdgW5TQl7DsMrVtw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v38Klsc65cE+tXu2pJknMtM7Av1v81C/I46YS1jLPrfNAvxbrcqLdcUNKxjCRaeS+teyrU8kA1Q5/wktQ1rBXAKWn6Di4LfeN2ZR74VTtrylyFjfWkqA8b+2lmGjPXFvfrExnr0UYWM9fBoHPJ9jN/ET6PDZEKP36qQsR5g/ldFYzwCnljqx4foYhtEGKJDb6JEd/9O/Rn0lGk4o/YzmvQzBMytDD1ff4YoXw1uYVxr5jPEK0iuuyNQZVtyAAAAAElFTkSuQmCC",V=E=>(Ce("data-v-c1c12f1b"),E=E(),Fe(),E),Ge={class:"main-container flex min-h-[300px]"},Ke={class:"flex justify-between items-center"},Le={class:"flex"},Xe=["src"],Oe={key:1,class:"w-[50px] h-[50px]",src:Me},We={class:"ml-[12px]"},qe={class:"font-bold text-[18px]"},Je={class:"text-[12px] ml-[12px]"},ze={class:"text-[14px] text-[#666] mr-[12px]"},Qe={key:0,class:"text-[10px] py-[3px] px-[10px] bg-[#E6EFFF] text-[#2D5FFF] rounded-[3px]"},He={key:1,class:"text-[10px] py-[3px] px-[10px] bg-[#FFE6E9] text-[#FF2D2D] rounded-[3px]"},Te={class:"flex"},Ze={class:"text-[14px] text-[#666]"},je={class:"w-[225px] h-[12px] bg-[#E6EFFF] rounded-[999px] mt-1"},$e={class:"ml-[40px]"},et={key:0,class:"mt-[60px]"},tt={class:"card-header flex justify-between border-b-[1px] border-[#EBEBEC] pb-[15px]"},ot={class:"text-[18px]"},st=V(()=>t("img",{class:"w-[15px]",src:Pe},null,-1)),lt=[st],at={key:1},rt={class:"flex flex-wrap"},nt=["onClick"],it={class:"ml-[24px] w-[40px]"},dt={class:"text-item text-[16px] text-[#fff] ml-[12px] max-w-[120px]"},pt=["onClick"],ut={class:"text-item text-[12px] text-[#fff] max-w-[150px]"},ct=["onClick"],mt=V(()=>t("img",{class:"w-[20px] h-[20px]",src:T},null,-1)),xt=[mt],_t={key:1,class:"flex flex-wrap"},vt=["onClick"],ft={class:"ml-[24px] w-[40px]"},At={class:"text-item text-[16px] text-[#fff] ml-[12px] max-w-[120px]"},gt=["onClick"],ht={class:"text-item text-[12px] text-[#fff] max-w-[150px]"},bt=V(()=>t("div",{class:"w-[40px] mx-auto mt-[20px]"},[t("img",{class:"w-[40px]",src:Re})],-1)),kt={class:"text-center mt-[5px] text-[20px]"},yt={key:3,class:"flex w-full justify-center items-center min-w-[1000px] min-h-[400px]"},wt={key:0},Ct=V(()=>t("img",{src:De},null,-1)),Ft={class:"text-center text-gray-400"},Vt={class:"w-[245px]"},Et={key:1},Bt={class:"bg-primary py-[5px] px-[10px] text-[#fff] relative rounded-[3px]"},Dt=V(()=>t("img",{class:"w-[15px] h-[15px]",src:T},null,-1)),St=[Dt],Ut={class:"flex items-center"},It={class:"dialog-footer"},Yt={class:"flex mt-1"},Nt={class:"mr-[30px] flex"},Mt={class:"text-[14px] ml-2"},Pt={class:"text-[14px]"},Rt={class:"dialog-footer"},Gt={class:"flex mt-1 flex-wrap"},Kt={class:"dialog-footer"},Lt=ue({__name:"site_index",setup(E){const B=v(!1),Z=()=>{B.value=!0},b=v(!0),m=v({today_data:{},system:{},version:{},about:[],visit_stat:{},member_stat:{},site_info:{},total_data:{}});(async(a=0)=>{m.value=await(await Se()).data})();const j=ce(),L=a=>{j.push("/"+a)},e=me({...{id:0,name:"",bg_color:"",img:"",desc:"",link_name:"",router_path:"",menu_key:""}}),Y=v(),$=xe(()=>({name:[{required:!0,message:r("menuNamePlaceholder"),trigger:"blur"}],bg_color:[{required:!0,message:r("bgColorPlaceholder"),trigger:"blur"}],icon:[{required:!0,validator:ee,trigger:"blur"}],router_path:[{required:!0,validator:te,trigger:"blur"}]})),ee=(a,o,l)=>{e.img==""&&l(new Error(r("iconPlaceholder"))),l()},te=(a,o,l)=>{e.router_path==""&&l(new Error(r("pathPlaceholder"))),l()},w=v(!1),A=v(!1),N=v(!1),D=v(!1),x=v([]),X=v(),M=v(!1),C=v(!1),O=()=>{Ue().then(a=>{x.value=a.data,b.value=!1})};O();const oe=async a=>{b.value||!a||await a.validate(async o=>{if(o){let l=[];x.value.length>0&&(l=x.value);const k=parseInt(new Date().getTime()/1e3)+"",P=Math.floor(Math.random()*(999-1))+1;if(e.id>0)for(let _ in l)l[_].id==e.id&&(l[_].name=e.name,l[_].bg_color=e.bg_color,l[_].img=e.img,l[_].desc=e.desc,l[_].link_name=e.link_name,l[_].router_path=e.router_path,l[_].menu_key=e.menu_key);else l.push({id:e.id>0?e.id:k+P,name:e.name,bg_color:e.bg_color,img:e.img,desc:e.desc,link_name:e.link_name,router_path:e.router_path,menu_key:e.menu_key});H({menu:l}).then(()=>{w.value=!1,O()})}})},W=a=>{w.value=!0,e.id=a.id,e.name=a.name,e.bg_color=a.bg_color,e.img=a.img,e.desc=a.desc,e.link_name=a.link_name,e.router_path=a.router_path,e.menu_key=a.menu_key,a.menu_key&&(C.value=!0)},se=a=>{M.value=!0;let o=x.value;for(let l in o)o[l].id==a.id&&o.splice(l,1);x.value=o},le=()=>{A.value=!1,M.value&&H({menu:x.value}).then(()=>{})},ae=()=>{w.value=!0,C.value=!1,e.name="",e.bg_color="",e.img="",e.desc="",e.link_name="",e.router_path="",e.menu_key=""};(()=>{Ie().then(a=>{X.value=a.data})})();const re=a=>{e.link_name=a.menu_name,e.router_path=a.router_path,e.menu_key=a.menu_key,D.value=!1,C.value=!0},q=v(),ne=()=>{C.value=!1,e.link_name="",e.router_path="",e.menu_key=""},ie=()=>{A.value=!0,setTimeout(()=>{const a=Ye.create(q.value,{ghostClass:".design-field",animation:200,onEnd:o=>{const l=x.value[o.oldIndex];x.value.splice(o.oldIndex,1),x.value.splice(o.newIndex,0,l),ve(()=>{a.sort(Ne(x.value.length).map(k=>k.toString())),M.value=!0})}})},500)};return(a,o)=>{const l=fe,k=Be,P=Ae,_=ge,y=he,de=be,pe=Ee,J=ke,S=ye,z=we;return Q((p(),c("div",Ge,[t("div",{class:h(["main-body flex-1 mr-[15px]",b.value?"hidden":""])},[i(P,{class:"box-card !border-none",shadow:"never"},{default:u(()=>[t("div",Ke,[t("div",Le,[t("div",null,[m.value.site_info.icon?(p(),c("img",{key:0,class:"w-[50px] h-[50px]",src:d(_e)(m.value.site_info.icon)},null,8,Xe)):(p(),c("img",Oe))]),t("div",We,[t("div",null,[t("span",qe,n(m.value.site_info.site_name),1),t("span",Je,"ID:"+n(m.value.site_info.site_id),1)]),t("div",null,[t("span",ze,n(d(r)("siteType"))+":"+n(m.value.site_info.group_name),1),m.value.site_info.status==1?(p(),c("span",Qe,n(m.value.site_info.status_name),1)):(p(),c("span",He,n(m.value.site_info.status_name),1))])])]),t("div",Te,[t("div",null,[t("div",null,[t("span",Ze,n(d(r)("periodTime"))+":"+n(m.value.site_info.create_time?m.value.site_info.create_time.split(" ")[0]:"")+" / "+n(m.value.site_info.expire_time?m.value.site_info.expire_time.split(" ")[0]:""),1)]),t("div",je,[t("div",{class:"bg-primary site-date rounded-[999px] h-[12px]",style:R({width:m.value.site_info.mix})},null,4)])]),t("div",$e,[m.value.site_info.over_date<=7?(p(),I(l,{key:0,class:"bottom-back w-[80px] h-[40px] text-[14px] bg-transparent",type:"primary",plain:"",onClick:Z},{default:u(()=>[f(n(d(r)("renew")),1)]),_:1})):g("",!0),i(l,{class:"w-[80px] h-[40px] text-[14px]",type:"primary"},{default:u(()=>[f(n(d(r)("accessSite")),1)]),_:1})])])]),b.value?g("",!0):(p(),c("div",et,[t("div",tt,[t("span",ot,n(d(r)("appTemplate")),1),A.value?g("",!0):(p(),c("div",{key:0,onClick:ie,class:"cursor-pointer"},lt)),A.value?(p(),c("div",at,[i(l,{type:"primary",onClick:le},{default:u(()=>[f(n(d(r)("complete")),1)]),_:1})])):g("",!0)]),t("div",rt,[A.value?(p(),c("div",{key:0,class:"flex flex-wrap",ref_key:"shortcutModel",ref:q},[(p(!0),c(G,null,K(x.value,(s,U)=>(p(),c("div",{style:R({backgroundColor:s.bg_color}),key:s.id,class:"design-field w-[180px] h-[120px] relative mt-[30px] rounded-[5px] mr-[30px] cursor-pointer"},[t("div",{class:"flex items-center h-[88px]",onClick:F=>W(s)},[t("div",it,[i(k,{name:s.img,size:"40px",color:"#fff"},null,8,["name"])]),t("span",dt,n(s.name),1)],8,nt),t("div",{class:"item-bottom h-[32px] leading-[32px] text-center",onClick:F=>W(s)},[t("span",ut,n(s.desc),1)],8,pt),A.value?(p(),c("div",{key:0,class:"delete-item absolute w-[20px] h-[20px] rounded-[999px] overflow-hidden",onClick:F=>se(s)},xt,8,ct)):g("",!0)],4))),128))],512)):(p(),c("div",_t,[(p(!0),c(G,null,K(x.value,(s,U)=>(p(),c("div",{style:R({backgroundColor:s.bg_color}),key:U,class:"w-[180px] h-[120px] relative mt-[30px] rounded-[5px] overflow-hidden mr-[30px] cursor-pointer"},[t("div",{class:"flex items-center h-[88px]",onClick:F=>L(s.router_path)},[t("div",ft,[i(k,{name:s.img,size:"40px",color:"#fff"},null,8,["name"])]),t("span",At,n(s.name),1)],8,vt),t("div",{class:"item-bottom h-[32px] leading-[32px] text-center",onClick:F=>L(s.router_path)},[t("span",ht,n(s.desc),1)],8,gt)],4))),128))])),A.value?(p(),c("div",{key:2,class:"w-[180px] h-[120px] mt-[30px] rounded-[5px] overflow-hidden border-dashed border-[1px] border-[#D0D7D9] cursor-pointer",onClick:ae},[bt,t("p",kt,n(d(r)("addMenu")),1)])):g("",!0),x.value.length<=0&&!A.value?(p(),c("div",yt,[b.value?g("",!0):(p(),c("div",wt,[Ct,t("p",Ft,n(d(r)("emptyMenu")),1)]))])):g("",!0)])]))]),_:1})],2),i(S,{modelValue:w.value,"onUpdate:modelValue":o[14]||(o[14]=s=>w.value=s),title:d(r)("addShortcutMenu"),width:"500px","destroy-on-close":!0},{footer:u(()=>[t("span",It,[i(l,{type:"primary",onClick:o[13]||(o[13]=s=>oe(Y.value))},{default:u(()=>[f(n(d(r)("confirm")),1)]),_:1})])]),default:u(()=>[Q((p(),I(J,{model:e,"label-width":"90px",ref_key:"formRef",ref:Y,rules:d($),class:"page-form"},{default:u(()=>[i(y,{label:d(r)("menuName"),prop:"name"},{default:u(()=>[i(_,{modelValue:e.name,"onUpdate:modelValue":o[0]||(o[0]=s=>e.name=s),clearable:"",class:"w-[245px]",placeholder:d(r)("menuNamePlaceholder")},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),i(y,{label:d(r)("path"),prop:"router_path"},{default:u(()=>[t("div",Vt,[C.value?(p(),c("div",Et,[t("span",Bt,[f(n(e.link_name)+" ",1),t("span",{class:"absolute top-[-5px] right-[-5px] cursor-pointer",onClick:ne},St)])])):(p(),I(_,{key:0,modelValue:e.router_path,"onUpdate:modelValue":o[1]||(o[1]=s=>e.router_path=s),clearable:"",class:"w-[245px]",placeholder:"https://"},null,8,["modelValue"]))]),i(l,{class:"model-btn ml-[10px] text-[14px]",type:"primary",onClick:o[2]||(o[2]=s=>D.value=!0)},{default:u(()=>[f(n(d(r)("selectModel")),1)]),_:1})]),_:1},8,["label"]),i(y,{label:d(r)("menuBgColor"),prop:"bg_color"},{default:u(()=>[t("div",Ut,[t("div",{class:h(["mr-[8px] p-[4px] rounded-[99px]",e.bg_color=="#6F77FF"?"border-[1px] border-[##DCDFE6]":""])},[t("div",{onClick:o[3]||(o[3]=s=>e.bg_color="#6F77FF"),class:"w-[20px] h-[20px] cursor-pointer bg-[#6F77FF] rounded-[99px]"})],2),t("div",{class:h(["mr-[8px] p-[4px] rounded-[99px]",e.bg_color=="#0FB199"?"border-[1px] border-[##DCDFE6":""])},[t("div",{onClick:o[4]||(o[4]=s=>e.bg_color="#0FB199"),class:"w-[20px] h-[20px] cursor-pointer bg-[#0FB199] rounded-[99px]"})],2),t("div",{class:h(["mr-[8px] p-[4px] rounded-[99px]",e.bg_color=="#FFA238"?"border-[1px] border-[##DCDFE6]":""])},[t("div",{onClick:o[5]||(o[5]=s=>e.bg_color="#FFA238"),class:"w-[20px] h-[20px] cursor-pointer bg-[#FFA238] rounded-[99px]"})],2),t("div",{class:h(["mr-[8px] p-[4px] rounded-[99px]",e.bg_color=="#4A78FF"?"border-[1px] border-[##DCDFE6]":""])},[t("div",{onClick:o[6]||(o[6]=s=>e.bg_color="#4A78FF"),class:"w-[20px] h-[20px] cursor-pointer bg-[#4A78FF] rounded-[99px]"})],2),t("div",{class:h(["mr-[8px] p-[4px] rounded-[99px]",e.bg_color=="#FE5858"?"border-[1px] border-[##DCDFE6]":""])},[t("div",{onClick:o[7]||(o[7]=s=>e.bg_color="#FE5858"),class:"w-[20px] h-[20px] cursor-pointer bg-[#FE5858] rounded-[99px]"})],2),t("div",{class:h(["mr-[8px] p-[4px] rounded-[99px]",e.bg_color=="#6EB44E"?"border-[1px] border-[##DCDFE6]":""])},[t("div",{onClick:o[8]||(o[8]=s=>e.bg_color="#6EB44E"),class:"w-[20px] h-[20px] cursor-pointer bg-[#6EB44E] rounded-[99px]"})],2),t("div",{class:h(["mr-[8px] p-[4px] rounded-[99px]",e.bg_color=="#FA6400"?"border-[1px] border-[##DCDFE6]":""])},[t("div",{onClick:o[9]||(o[9]=s=>e.bg_color="#FA6400"),class:"w-[20px] h-[20px] cursor-pointer bg-[#FA6400] rounded-[99px]"})],2),i(de,{modelValue:e.bg_color,"onUpdate:modelValue":o[10]||(o[10]=s=>e.bg_color=s),"show-alpha":""},null,8,["modelValue"])])]),_:1},8,["label"]),i(y,{label:d(r)("menuImg"),prop:"icon"},{default:u(()=>[i(pe,{modelValue:e.img,"onUpdate:modelValue":o[11]||(o[11]=s=>e.img=s)},null,8,["modelValue"])]),_:1},8,["label"]),i(y,{label:d(r)("menuDesc")},{default:u(()=>[i(_,{modelValue:e.desc,"onUpdate:modelValue":o[12]||(o[12]=s=>e.desc=s),placeholder:d(r)("descPlaceholder"),clearable:"",class:"w-[245px]"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1},8,["model","rules"])),[[z,b.value]])]),_:1},8,["modelValue","title"]),i(S,{modelValue:B.value,"onUpdate:modelValue":o[16]||(o[16]=s=>B.value=s),title:d(r)("message"),width:"500px","destroy-on-close":!0},{footer:u(()=>[t("span",Rt,[i(l,{type:"primary",onClick:o[15]||(o[15]=s=>B.value=!1)},{default:u(()=>[f(n(d(r)("confirm")),1)]),_:1})])]),default:u(()=>[t("div",Yt,[t("div",Nt,[i(k,{name:"iconfont-icondianhua",class:"leading-[1]",size:"20px",color:"#000"}),t("p",Mt,n(d(r)("tel")),1)]),t("div",null,[t("p",Pt,n(a.serviceData.tel),1)])])]),_:1},8,["modelValue","title"]),i(S,{modelValue:D.value,"onUpdate:modelValue":o[17]||(o[17]=s=>D.value=s),title:d(r)("pathSelect"),width:"500px","destroy-on-close":!0},{default:u(()=>[t("div",Gt,[(p(!0),c(G,null,K(X.value,(s,U)=>(p(),I(l,{class:"menu-btn mb-[5px] mr-[10px] ml-[0px]",key:U,onClick:F=>re(s)},{default:u(()=>[f(n(s.menu_name),1)]),_:2},1032,["onClick"]))),128))])]),_:1},8,["modelValue","title"]),i(S,{modelValue:N.value,"onUpdate:modelValue":o[20]||(o[20]=s=>N.value=s),width:"500px","destroy-on-close":!0},{footer:u(()=>[t("span",Kt,[i(l,{type:"primary",onClick:o[19]||(o[19]=s=>N.value=!1)},{default:u(()=>[f(n(d(r)("confirm")),1)]),_:1})])]),default:u(()=>[i(J,{model:e,"label-width":"90px",ref_key:"formRef",ref:Y,class:"page-form"},{default:u(()=>[i(y,{label:d(r)("shortcutLink")},{default:u(()=>[i(_,{modelValue:e.router_path,"onUpdate:modelValue":o[18]||(o[18]=s=>e.router_path=s),clearable:"",class:"input-width"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["modelValue"])])),[[z,b.value]])}}});const Fo=Ve(Lt,[["__scopeId","data-v-c1c12f1b"]]);export{Fo as default};