forked from yanw/App_win_iot_V2.0
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
20 KiB
2 lines
20 KiB
"use strict";(self["webpackChunkvue_cli_ts"]=self["webpackChunkvue_cli_ts"]||[]).push([[128],{5586:function(e,t,l){l.d(t,{D:function(){return c}});l(7658);var a=l(1020),i=l(7110),n=l(7327);class s{constructor({shopName:e,floorOrder:t,floor:l,logoUrl:a,yaxis:i,shopNameEn:s="",buildingOrder:o=0,building:c=""}){(0,n.Z)(this,"shopName",void 0),(0,n.Z)(this,"floorOrder",void 0),(0,n.Z)(this,"floor",void 0),(0,n.Z)(this,"logoUrl",void 0),(0,n.Z)(this,"yaxis",void 0),(0,n.Z)(this,"shopCode",void 0),(0,n.Z)(this,"shopNameEn",void 0),(0,n.Z)(this,"buildingOrder",void 0),(0,n.Z)(this,"building",void 0),this.shopName=e,this.floorOrder=t,this.floor=l,this.logoUrl=a,this.yaxis=i,this.shopCode=e,this.shopNameEn=s,this.buildingOrder=o,this.building=c}}var o=l(2483);const c=()=>{const e=(0,i.Y)(),{buildingList:t}=(0,a.Jk)(e),l=(0,o.tv)();function n({abbreviation:a,customFacilityName:i,navFilePath:n,name:o,nameEn:c}){const{floor:r,node:u,build:d}=window.Map_QM.pathIcon({type:a}),v=t.value.find((e=>e.buildingOrder===d)),p=new s({shopName:i.length?i:o,shopNameEn:c,floorOrder:r,floor:v?.floorList?.find((e=>e.floorOrder===r))?.floor??"",logoUrl:n??"",yaxis:u,buildingOrder:d,building:v?.building});e.SET_SHOP(p),l.push("/nav")}return{handleFacility:n}}},8711:function(e,t,l){l.d(t,{d:function(){return i}});var a=l(4870);const i=()=>{const e=(0,a.XI)(null),t=(0,a.XI)(!1);function l(l){e.value=l,t.value=!0}function i(){t.value=!1}return{activity:e,showActivityDetail:t,handleActivity:l,close:i}}},6983:function(e,t,l){l.d(t,{C:function(){return a}});const a=()=>{function e(e){const t=document.querySelectorAll(".barrier-icon")[0];t&&(t.style.display=e)}return{changeZIndex:e}}},4010:function(e,t,l){l.d(t,{Z:function(){return u}});var a=l(3396),i=l(7139),n=l(4870),s=l(1020),o=l(7110),c=(0,a.aZ)({__name:"Language",setup(e){const t=(0,o.Y)(),{language:l}=(0,s.Jk)(t);function c(e){e!==l.value&&t.SET_LANGUAGE(e)}return(e,t)=>((0,a.wg)(),(0,a.iD)(a.HY,null,[(0,a._)("div",{class:(0,i.C_)(["language-common text-black/50 rounded-[54px] bg-[rgba(0, 0, 0, 0.06)] mr-1",{active:"zh"===(0,n.SU)(l)}]),onClick:t[0]||(t[0]=e=>c("zh"))}," 中 ",2),(0,a._)("div",{class:(0,i.C_)(["language-common text-black/50 rounded-[54px] bg-[rgba(0, 0, 0, 0.06)]",{active:"en"===(0,n.SU)(l)}]),onClick:t[1]||(t[1]=e=>c("en"))}," EN ",2)],64))}});const r=c;var u=r},3619:function(e,t,l){l.d(t,{Z:function(){return d}});var a=l(3396),i=l(542),n=l(4870),s=l(7110);const o=(0,a.uE)('<div class="self-stretch justify-start items-center gap-4 inline-flex"><img src="'+i+'" class="w-10 h-10" alt=""><div class="flex-col justify-center items-start gap-1 inline-flex"><div class="text-black/90 text-20 font-bold uppercase leading-28">搜索</div><div class="text-center text-black/40 text-12 leading-[14px]">SEARCH</div></div></div>',1),c=[o];var r=(0,a.aZ)({__name:"SearchEnter",setup(e){const t=(0,s.Y)(),{showSearch:l}=(0,n.BK)(t);function i(){l.value||t.SET_SHOW_SEARCH(!0)}return(e,t)=>((0,a.wg)(),(0,a.iD)("div",{class:"h-[100px] pl-10 pr-[190px] py-[29px] bg-white rounded-[200px] justify-start items-center flex",onClick:i},c))}});const u=r;var d=u},9839:function(e,t,l){l.r(t),l.d(t,{default:function(){return pe}});var a=l(3396),i=l(7139),n=l(4870),s=l(9242),o=l.p+"img/search_back.1020a257.png",c=l(542),r=l.p+"img/clear.3904f6cd.svg",u=l(7110);const d=(e,t)=>{const l=(0,u.Y)(),{shopList:i}=(0,n.BK)(l),s=(0,n.XI)([]),o=(0,n.XI)([]);return(0,a.YP)(e,(e=>{if(e.length)if(0===t.value){let t=[];if(1===e.length)o.value=i.value.filter((t=>t.initials?.toUpperCase()?.startsWith(e)||t.shopNameEn?.toUpperCase()?.startsWith(e)||t.shopName?.toUpperCase()?.startsWith(e)||t.spelling?.toUpperCase()?.startsWith(e)));else{const l=e.slice(1);t=o.value.filter((e=>e.initials?.toUpperCase()?.includes(l)||e.shopNameEn?.toUpperCase()?.includes(l)||e.shopName?.toUpperCase()?.includes(l)||e.spelling?.toUpperCase()?.includes(l)))}s.value=1===e.length?o.value:t}else s.value=e.length?i.value.filter((t=>t.shopName.includes(e))):[];else s.value=[],o.value=[]})),{searchShopList:s}};var v=l(8711),p=l(6983),h=l(5586),f=l(8808),g=l(826);const m={class:"search-keyboard pt-[72px] mb-4"},x={class:"keyboard-letter"},w=["onClick"],b={key:0},y={key:1,class:"del-icon",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_=["fill","fill-opacity"];var k=(0,a.aZ)({__name:"KeyboardByLetter",emits:["del","click"],setup(e,{emit:t}){const l=["1","2","3","4","5","6","7","8","9","0","Q","W","E","R","T","Y","U","I","O","P","A","S","D","F","G","H","J","K","L","Z","X","C","V","B","N","M","del"],s=(0,n.iH)(-1),o=(0,n.iH)();function c(e,l){s.value=l,clearTimeout(o.value),o.value=setTimeout((()=>{s.value=-1,clearTimeout(o.value)}),300),"del"!==e?t("click",e):t("del")}return(e,t)=>((0,a.wg)(),(0,a.iD)("div",m,[(0,a._)("div",x,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,n.SU)(l),((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:e,class:(0,i.C_)(["letter font-bolder",[t===s.value?"active":""]]),onClick:l=>c(e,t)},["del"!==e?((0,a.wg)(),(0,a.iD)("span",b,(0,i.zw)(e),1)):((0,a.wg)(),(0,a.iD)("svg",y,[(0,a._)("path",{d:"M5.44559 2.5H17.4998C17.7208 2.5 17.9327 2.5878 18.089 2.74408C18.2453 2.90036 18.3331 3.11232 18.3331 3.33333V16.6667C18.3331 16.8877 18.2453 17.0996 18.089 17.2559C17.9327 17.4122 17.7208 17.5 17.4998 17.5H5.44559C5.30843 17.5 5.17339 17.4662 5.05244 17.4015C4.93149 17.3368 4.82838 17.2433 4.75226 17.1292L0.308093 10.4625C0.216728 10.3256 0.167969 10.1646 0.167969 10C0.167969 9.83538 0.216728 9.67444 0.308093 9.5375L4.75226 2.87083C4.82838 2.75674 4.93149 2.66319 5.05244 2.5985C5.17339 2.53381 5.30843 2.49998 5.44559 2.5ZM5.89143 4.16667L2.00309 10L5.89143 15.8333H16.6664V4.16667H5.89143ZM10.8331 8.82167L13.1898 6.46417L14.3689 7.64333L12.0114 10L14.3689 12.3567L13.1898 13.5358L10.8331 11.1783L8.47643 13.5358L7.29726 12.3567L9.65476 10L7.29726 7.64333L8.47643 6.46417L10.8331 8.82167Z",fill:t===s.value?"white":"black","fill-opacity":t===s.value?1:.8},null,8,_)]))],10,w)))),128))])]))}}),C=l(89);const S=(0,C.Z)(k,[["__scopeId","data-v-626d25a6"]]);var L=S,Z=(l(7658),l(9351)),D=(0,a.aZ)({__name:"Written",props:{lang:{default:"CN"},backgroundColor:{default:"#f2f2f2"},borderRadius:{default:"10px"},fillText:{default:"手写区域"},fillFontSize:{default:"100px"},strokeStyle:{default:"#000"},fillStyle:{default:"rgba(85, 73, 54, 0.1)"}},emits:["result"],setup(e,{expose:t,emit:l}){const s=e,o=(0,n.qj)({width:0,height:0,handWrite:"",isClick:!1,clickX:[],clickY:[],clickC:[],X:0,Y:0,oldX:0,oldY:0,timer:0,list:[]}),c=(0,n.XI)(),r=(0,a.Fl)((()=>c.value.getContext("2d")));function u(){const e=c.value.getBoundingClientRect();o.X=e.x,o.Y=e.y}function d(e){const t=Math.floor(e.targetTouches[0].clientX)-o.X,l=Math.floor(e.targetTouches[0].clientY)-o.Y;clearTimeout(o.timer),o.oldX=t,o.oldY=l,r.value.beginPath(),o.isClick=!0}function v(e){if(e.preventDefault(),o.isClick){const t=Math.floor(e.targetTouches[0].clientX)-o.X,l=Math.floor(e.targetTouches[0].clientY)-o.Y;o.clickX.push(t),o.clickY.push(l),o.clickC.push(0),r.value.lineWidth=8,r.value.lineCap="round",r.value.moveTo(o.oldX,o.oldY),r.value.lineTo(t,l),r.value.stroke(),o.oldX=t,o.oldY=l}}function p(){o.isClick&&(o.isClick=!1,o.timer=setTimeout((()=>{h()}),1500),o.clickC.pop(),o.clickC.push(1),f())}function h(){c.value&&(o.clickX=[],o.clickY=[],o.clickC=[],r.value.strokeStyle=s.strokeStyle,r.value.fillStyle=s.fillStyle,r.value.clearRect(0,0,o.width,o.height),r.value.font=`bold ${s.fillFontSize} Arial`,r.value.textAlign="center",r.value.textBaseline="middle",r.value.fillText(s.fillText,o.width/2,o.height/2,1e3))}function f(){const e={lib:s.lang,lpXis:o.clickX,lpYis:o.clickY,lpCis:o.clickC};(0,Z.E7)(e).then((e=>{o.list=e})).catch((e=>{console.log(e)}))}function g(){try{if(!c.value)return;const e=c.value.parentNode,{width:t,height:l}=e.getBoundingClientRect();o.width=t,o.height=l,c.value.width=t,c.value.height=l}catch(e){console.log("error: ",e)}}return t({reload:h,updateBound:u}),(0,a.YP)((()=>o.list),(e=>{l("result",e)})),(0,a.bv)((()=>{g(),u(),h(),c.value.addEventListener("touchstart",d),c.value.addEventListener("touchmove",v),c.value.addEventListener("touchend",p)})),(0,a.Jd)((()=>{c.value.removeEventListener("touchstart",d),c.value.removeEventListener("touchmove",v),c.value.removeEventListener("touchend",p)})),(t,l)=>((0,a.wg)(),(0,a.iD)("canvas",{id:"ink-canvas",ref_key:"inkCanvasRef",ref:c,style:(0,i.j5)({backgroundColor:e.backgroundColor,borderRadius:e.borderRadius})},null,4))}});const U=D;var H=U,Y=l(600),W=l(5406);const E=e=>((0,a.dD)("data-v-56e73a5c"),e=e(),(0,a.Cn)(),e),T={class:"written-wrapper mt-[72px] ml-[156px]"},N={class:"word-content"},z=["onClick"],F={class:"written-parent"},X={class:"w-8 h-8 relative mr-[10px]"},A=E((()=>(0,a._)("div",{class:"text-center text-black/70 text-16 font-bolder"},"键盘",-1))),B=E((()=>(0,a._)("svg",{class:"w24",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,a._)("path",{d:"M6.53481 3H20.9998C21.265 3 21.5194 3.10536 21.7069 3.29289C21.8945 3.48043 21.9998 3.73478 21.9998 4V20C21.9998 20.2652 21.8945 20.5196 21.7069 20.7071C21.5194 20.8946 21.265 21 20.9998 21H6.53481C6.37022 21 6.20816 20.9594 6.06303 20.8818C5.91789 20.8042 5.79416 20.6919 5.70281 20.555L0.36981 12.555C0.260171 12.3907 0.20166 12.1975 0.20166 12C0.20166 11.8025 0.260171 11.6093 0.36981 11.445L5.70281 3.445C5.79416 3.30808 5.91789 3.19583 6.06303 3.11821C6.20816 3.04058 6.37022 2.99998 6.53481 3ZM7.06981 5L2.40381 12L7.06981 19H19.9998V5H7.06981ZM12.9998 10.586L15.8278 7.757L17.2428 9.172L14.4138 12L17.2428 14.828L15.8278 16.243L12.9998 13.414L10.1718 16.243L8.75681 14.828L11.5858 12L8.75681 9.172L10.1718 7.757L12.9998 10.586Z",fill:"black","fill-opacity":"0.6"})],-1))),I=[B];var R=(0,a.aZ)({__name:"KeyboardByWritten",emits:["handle-word","del","change"],setup(e,{emit:t}){const l=(0,n.iH)([]);function s(e){l.value=e}const o=(0,n.iH)(-1),c=(0,n.iH)();function r(e,l){o.value=l,t("handle-word",e),clearTimeout(c.value),c.value=setTimeout((()=>{o.value=-1}),100)}function u(){t("del")}function d(){t("change")}return(e,t)=>((0,a.wg)(),(0,a.iD)("div",T,[(0,a.Wm)(Y.Z,{class:"word-scroll",list:l.value,"scroll-x":""},{default:(0,a.w5)((()=>[(0,a._)("div",N,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(l.value,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:e,class:(0,i.C_)([{active:t===o.value},"word-item"]),onClick:l=>r(e,t)},(0,i.zw)(e),11,z)))),128))])])),_:1},8,["list"]),(0,a._)("div",F,[(0,a.Wm)(H,{"background-color":"rgba(255, 255, 255, 0.6)","border-radius":"0","fill-font-size":"48px","fill-text":"手写输入区域","stroke-style":"rgba(68, 71, 76, 1)",onResult:s})]),(0,a._)("div",{class:"absolute left-[10px] bottom-[10px] w-[120px] h-14 bg-gradient-to-r from-[#FFC453] to-[#FFE6A6] rounded-lg flex-center flex",onClick:d},[(0,a._)("div",X,[(0,a.Wm)(W.Z,{type:"keyboard",color:"rgba(0, 0, 0, 0.7)"})]),A]),(0,a._)("div",{class:"del flex flex-center bg-black/5 rounded-xl border border-black/5 border-solid",onClick:u},I)]))}});const j=(0,C.Z)(R,[["__scopeId","data-v-56e73a5c"]]);var M=j;const O=e=>((0,a.dD)("data-v-32f398c5"),e=e(),(0,a.Cn)(),e),P={class:"search-container absolute overflow-hidden inset-x-0 inset-y-0 search-bg bg-fixed bg-cover z-[100]"},K={class:"relative mt-[332px]"},$=O((()=>(0,a._)("div",{class:"text-black/80 text-24 leading-32 font-bolder mb-6 ml-[60px]"},"快捷入口",-1))),J={class:"gap-2 grid items-start grid-cols-[repeat(2,63px)] ml-[42px]"},V=["onClick"],q=["src"],G={class:"w-[63px] text-center text-black/70 text-14 leading-20"},Q={class:"relative mt-[332px] flex-1 search-right-bg"},ee={class:"relative ml-[154px] w-[516px] h-[100px] pl-10 pr-[220px] py-7 bg-white rounded-[200px] items-center flex"},te={class:"self-stretch justify-start items-start gap-4 flex"},le=O((()=>(0,a._)("img",{src:c,class:"w-10 h-10",alt:""},null,-1))),ae={key:0},ie={class:"w-8 h-8 relative mr-2"},ne={class:"text-black text-16 font-bolder leading-24"},se={class:"absolute left-0 bottom-0 right-0 top-[650px]"},oe=O((()=>(0,a._)("div",{class:"space-y-1 mb-4"},[(0,a._)("p",{class:"text-black/90 text-24 font-bolder leading-32"},"热门搜索"),(0,a._)("div",{class:"text-black/40 text-12 font-normal uppercase leading-[14px]"},"top search")],-1))),ce=O((()=>(0,a._)("div",{class:"w-[828px] h-px bg-[#ABAFB6]/50 mb-6"},null,-1))),re={class:"pb-4 flex flex-wrap"},ue=["onClick"];var de=(0,a.aZ)({__name:"Search",setup(e){const t=(0,a.RC)((()=>l.e(492).then(l.bind(l,9492)))),c=(0,a.RC)((()=>l.e(940).then(l.bind(l,9940)))),m=(0,a.RC)((()=>l.e(862).then(l.bind(l,9862)))),x=(0,a.RC)((()=>Promise.all([l.e(466),l.e(207)]).then(l.bind(l,1425)))),w=(0,a.RC)((()=>Promise.all([l.e(806),l.e(135),l.e(524)]).then(l.bind(l,1135)))),b=10,y=(0,u.Y)(),{customFacilityList:_,recommendList:k,mapShopListByCode:C,bg:S}=(0,n.BK)(y),Z=(0,a.Fl)((()=>({backgroundImage:`url(${l(3599)}), url(${S.value})`}))),D=(0,n.iH)(""),U=(0,n.iH)(0),{searchShopList:H}=d(D,U),{activity:E,showActivityDetail:T,handleActivity:N,close:z}=(0,v.d)(),{changeZIndex:F}=(0,p.C)(),{handleFacility:X}=(0,h.D)(),{showBrandDetail:A,handleShop:B,close:I,shop:R}=(0,f.u)();function j(e){try{X(e),y.SET_SHOW_SEARCH(!1)}catch(t){console.log("搜索页面导航异常:",t)}}function O(e){const t=C.value[e.shopCode]?.[0];pe(t)}function de(e){F("none"),N(e)}function ve(){F("block"),z()}function pe(e){F("none"),B(e)}function he(e){we(),U.value=e}function fe(){I(),F("none")}function ge(e){D.value.length>=b||(D.value+=e)}function me(){D.value=D.value.substring(0,D.value.length-1)}function xe(){y.SET_SHOW_SEARCH(!1)}function we(){D.value=""}return(e,l)=>((0,a.wg)(),(0,a.iD)("div",P,[(0,a.Wm)(g.Z,null,{default:(0,a.w5)((()=>[(0,a._)("div",{class:"flex absolute inset-x-0 inset-y-0 search-wave space-x-[80px]",style:(0,i.j5)((0,n.SU)(Z))},[(0,a._)("div",K,[(0,a._)("img",{src:o,class:"w-[120px] h-[100px] mb-[72px] ml-12",alt:"",onClick:xe}),$,(0,a._)("ul",J,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,n.SU)(_),(t=>((0,a.wg)(),(0,a.iD)("li",{key:t.code,class:"flex flex-col flex-center space-y-2",onClick:e=>j(t)},[(0,a._)("img",{src:t.navFilePath,class:"w-10 h-10"},null,8,q),(0,a._)("div",G,(0,i.zw)(e.switchLanguage(t,t.customFacilityName?"customFacilityName":"name")),1)],8,V)))),128))])]),(0,a._)("div",Q,[(0,a._)("div",ee,[(0,a._)("div",te,[le,(0,a.wy)((0,a._)("input",{"onUpdate:modelValue":l[0]||(l[0]=e=>D.value=e),class:"input h-full bg-transparent w-[650px]",readonly:"",type:"text"},null,512),[[s.F8,D.value.length],[s.nr,D.value]]),(0,a.wy)((0,a._)("div",{class:"placeholder h-full bg-transparent w-[650px]"},(0,i.zw)(0===U.value?e.$t("firstLetter"):e.$t("china")),513),[[s.F8,!D.value.length]]),(0,a.wy)((0,a._)("img",{src:r,class:"absolute right-[18px] top-[18px] w-16 h-16",alt:"",onClick:we},null,512),[[s.F8,D.value.length]])])]),0===U.value?((0,a.wg)(),(0,a.iD)("div",ae,[(0,a.Wm)(L,{onClick:ge,onDel:me}),(0,a._)("div",{class:"flex flex-center ml-[156px] w-[516px] h-[150px] bg-white/50 rounded-lg border border-solid border-white",onClick:l[1]||(l[1]=e=>he(1))},[(0,a._)("div",ie,[(0,a.Wm)(W.Z,{type:"keyboard",color:"rgba(248, 187, 68, 1)"})]),(0,a._)("div",ne,(0,i.zw)(e.$t("write")),1)])])):((0,a.wg)(),(0,a.j4)(M,{key:1,onHandleWord:ge,onDel:me,onChange:l[2]||(l[2]=e=>he(0))})),(0,a._)("div",se,[D.value.length?((0,a.wg)(),(0,a.j4)((0,n.SU)(m),{key:1,list:(0,n.SU)(H),onHandleActivity:de,onHandleShop:pe},null,8,["list"])):((0,a.wg)(),(0,a.iD)(a.HY,{key:0},[oe,ce,(0,a.Wm)(Y.Z,{class:"h[600px]",list:(0,n.SU)(k)},{default:(0,a.w5)((()=>[(0,a._)("div",re,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,n.SU)(k),(t=>((0,a.wg)(),(0,a.iD)("div",{key:t.shopCode,class:"text-black/700 text-16 font-bolder leading-normal bg-white mr-4 mb-4 rounded-lg px-10 py-4",onClick:e=>O(t)},(0,i.zw)(e.switchLanguage(t,"shopName")),9,ue)))),128))])])),_:1},8,["list"])],64))])])],4),(0,a.Wm)((0,n.SU)(t),null,{default:(0,a.w5)((()=>[(0,n.SU)(T)?((0,a.wg)(),(0,a.j4)((0,n.SU)(x),{key:0,activity:(0,n.SU)(E),type:"detail",onClose:ve},null,8,["activity"])):(0,a.kq)("",!0)])),_:1}),(0,a.Wm)((0,n.SU)(c),null,{default:(0,a.w5)((()=>[(0,n.SU)(A)?((0,a.wg)(),(0,a.j4)((0,n.SU)(w),{key:0,shop:(0,n.SU)(R),onClose:fe},null,8,["shop"])):(0,a.kq)("",!0)])),_:1})])),_:1})]))}});const ve=(0,C.Z)(de,[["__scopeId","data-v-32f398c5"]]);var pe=ve},5335:function(e,t,l){l.d(t,{Z:function(){return C}});var a=l(3396),i=l(4870),n=l(7139),s=l(3513),o=l(7110);const c=()=>{const e=(0,o.Y)(),{weather:t}=(0,i.BK)(e),l=(0,i.iH)({}),a=[{type:"sunny",status:"晴"},{type:"cloudy",status:"云"},{type:"rain",status:"雨"},{type:"snow",status:"雪"},{type:"shade",status:"阴"}];return l.value=a.find((e=>t.value.weather?.includes(e.status)))??a[0],{weather:t,icon:l}},r=()=>{const e={zh:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],en:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],tw:["星期日","星期壹","星期二","星期三","星期四","星期五","星期六"]},t=new Date,l=(0,o.Y)(),{language:n}=(0,i.BK)(l),s=(0,a.Fl)((()=>e[n.value][t.getDay()]));return{whichWeek:s}},u=()=>{const e=(0,i.XI)(new Date),t=(0,i.XI)(),l=(0,a.Fl)((()=>`${e.value.getHours().toString().padStart(2,"0")}:${e.value.getMinutes().toString().padStart(2,"0")}`)),n=()=>{t.value=setInterval((()=>{e.value=new Date}),6e4)};return(0,a.bv)(n),(0,a.Jd)((()=>clearInterval(t.value))),{currentTime:l}};var d=l(5406);const v={class:"gap-6 flex flex-center"},p={class:"justify-start items-center gap-4 flex"},h={class:"w-8 h-8"},f={class:"text-black/90 text-28 font-bolder leading-40"},g=(0,a._)("div",{class:"w-px h-[18px] bg-black/20"},null,-1),m={class:"justify-start items-center gap-4 flex font-bolder"},x={class:"text-black/90 text-28 leading-40"},w={class:"flex-col justify-start items-start flex"},b={class:"text-black/60 text-[10px]"},y={class:"text-black/60 text-[10px]"};var _=(0,a.aZ)({__name:"WeatherAndTime",setup(e){const{weather:t,icon:l}=c(),{currentTime:o}=u(),{whichWeek:_}=r();return(e,c)=>((0,a.wg)(),(0,a.iD)("div",v,[(0,a._)("div",p,[(0,a._)("div",h,[(0,a.Wm)(d.Z,{type:(0,i.SU)(l).type,size:32,color:"rgba(0, 0, 0, 0.6)"},null,8,["type"])]),(0,a._)("div",f,(0,n.zw)((0,i.SU)(t).temperatureNow)+"°",1)]),g,(0,a._)("div",m,[(0,a._)("div",x,(0,n.zw)((0,i.SU)(o)),1),(0,a._)("div",w,[(0,a._)("div",b,(0,n.zw)((0,i.SU)(s.fG)()),1),(0,a._)("div",y,(0,n.zw)((0,i.SU)(_)),1)])])]))}});const k=_;var C=k},826:function(e,t,l){l.d(t,{Z:function(){return U}});var a=l(3396),i=l.p+"img/common_logo.f7f5629f.svg",n=(l(7658),l(4870)),s=l(7139),o=l(2483),c=l(1020),r=l(7110),u=l(5599);const d={class:"menu absolute top-[290px] left-6 space-y-[10px] z-[2]"},v=["onClick"],p=["src"],h={class:"title mb-0.5 text-16 text-[#000000]/[0.9] font-bolder"},f={class:"relative z-[1] en text-12 text-[#000000]/[0.3]"};var g=(0,a.aZ)({__name:"Sidebar",setup(e){const t=(0,o.tv)(),l=(0,r.Y)(),{menuList:i}=(0,c.Jk)(l),{moduleStatistics:g}=(0,u.T)();function m(e){t.push(e.routePath),g({moduleName:e.moduleName,recordType:"1"})}return(e,t)=>((0,a.wg)(),(0,a.iD)("div",d,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,n.SU)(i),(t=>((0,a.wg)(),(0,a.iD)("div",{key:t.id,class:(0,s.C_)(["aside animate__animated animate__fadeInLeft",{active:e.$route.fullPath===t.routePath}]),onClick:e=>m(t)},[(0,a._)("img",{src:e.$route.fullPath===t.routePath?t.moduleActivateLogo:t.moduleLogo,class:"w-10 h-10 mb-2",alt:""},null,8,p),(0,a._)("p",h,(0,s.zw)(t.moduleName),1),(0,a._)("p",f,(0,s.zw)(t.moduleNameEn),1)],10,v)))),128))]))}});const m=g;var x=m,w=l(5335),b=l(3619),y=l(4010);const _={class:"w-[1080px] h-[1920px]"},k={class:"relative z-[1] flex justify-between items-start pl-[46px] pt-14 pr-10 mb-[17px] h-[166px]"},C=(0,a._)("img",{src:i,class:"w-[74px] h-[110px]",alt:""},null,-1),S={class:"enter relative z-[2] flex justify-end pr-10"},L={class:"fixed flex flex-col space-y-1 left-[65px] top-[1609px] z-[2]"};var Z=(0,a.aZ)({__name:"BaseLayout",setup(e){return(e,t)=>((0,a.wg)(),(0,a.iD)("div",_,[(0,a._)("header",k,[C,(0,a.Wm)(w.Z)]),(0,a._)("div",S,[(0,a.Wm)(b.Z)]),(0,a.Wm)(x),(0,a._)("div",L,[(0,a.Wm)(y.Z)]),(0,a.WI)(e.$slots,"default")]))}});const D=Z;var U=D},542:function(e,t,l){e.exports=l.p+"img/zoom.6d6cfe7f.svg"}}]);
|
|
//# sourceMappingURL=128.91713f41.js.map
|