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
3.8 KiB

"use strict";(self["webpackChunkvue_cli_ts"]=self["webpackChunkvue_cli_ts"]||[]).push([[910],{1910:function(e,l,s){s.r(l),s.d(l,{default:function(){return T}});var t=s(3396),a=s(4870),c=s(7139),i=s(1020),n=s(7110),d=s(1957),o=s(4715),r=s(3371),p=s(4278),u=s(5599),v=s(2088),x=s(4580);const f={class:"nav-container"},_={class:"absolute z-[50] top-[1002px] left-10 flex items-start"},g={class:"flex flex-center w-[120px] h-14 bg-white rounded-lg"},h={class:"w-8 h-8"},m={class:"text-center text-black/70 text-14 font-medium leading-snug"},w={class:"flex space-x-4 mr-14"},y=["onClick"],S={class:"flex flex-col flex-center space-y-2"},U={class:"flex flex-center w-[120px] h-14 bg-white rounded-lg"},b={class:"w-8 h-8"},k={class:"text-center text-black/70 text-14 font-medium leading-snug"},C={class:"flex space-x-4"},$={class:"flex flex-center w-16 h-14 bg-white rounded-lg"},Z={class:"w-8 h-8"},z={class:"text-center text-black/70 text-14 font-medium leading-snug"},N={class:"flex flex-center w-16 h-14 bg-white rounded-lg"},W={class:"w-8 h-8"},O={class:"text-center text-black/70 text-14 font-medium leading-snug"},I={class:"flex flex-center w-16 h-14 bg-white rounded-lg"},P={class:"w-8 h-8"},q={class:"text-center text-black/70 text-14 font-medium leading-snug"};var D=(0,t.aZ)({__name:"NavOld",setup(e){const l=(0,n.Y)(),{shop:s,config:D,device:L}=(0,i.Jk)(l),{deviceStatistics:Y}=(0,u.T)(),{replay:T,pause:V,speedUp:A,handleReplay:F,togglePause:H,handleSpeedUp:J,resetPause:K,resetSpeedUp:M}=(0,d.q)(),{cameraViews:R,setCameraViews:j}=(0,p.O)(K),{directionInfo:B,pathShopList:E,backPathArray:G,startNavi:Q}=(0,r.O)(K),{methodIdx:X,methodsList:ee,handleControl:le,resetMethodIdx:se}=(0,o.W)(G),te=(0,t.Fl)((()=>`${D.value.mobileNav}?s=${L.value.floorOrder}_${L.value.location}_${L.value.machineName}&e=${s.value.floorOrder}_${s.value.yaxis}_${s.value.shopName}`)),{qr:ae}=(0,v.y)(te);return(0,t.YP)(s,(e=>{K(),se(),M(),j(),e.houseNumber&&Y({tag:"navigation",shopCode:e.shopCode}),Q(e)}),{immediate:!0}),(e,l)=>((0,t.wg)(),(0,t.iD)("div",f,[(0,t._)("div",_,[(0,t._)("div",{class:"space-y-2 flex flex-col items-center mr-[208px]",onClick:l[0]||(l[0]=(...e)=>(0,a.SU)(j)&&(0,a.SU)(j)(...e))},[(0,t._)("div",g,[(0,t._)("div",h,[(0,t.Wm)(x.Z,{type:(0,a.SU)(R),color:"rgba(0, 0, 0, 0.7)"},null,8,["type"])])]),(0,t._)("div",m,"切换到"+(0,c.zw)((0,a.SU)(R))+"模式",1)]),(0,t._)("div",w,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)((0,a.SU)(ee),((l,s)=>((0,t.wg)(),(0,t.iD)("div",{key:l.name,class:(0,c.C_)([(0,a.SU)(X)===s?"border":""]),onClick:e=>(0,a.SU)(le)(l.name,s)},[(0,t._)("div",S,[(0,t._)("div",U,[(0,t._)("div",b,[(0,t.Wm)(x.Z,{type:l.iconType,color:"rgba(0, 0, 0, 0.7)"},null,8,["type"])])]),(0,t._)("div",k,(0,c.zw)(e.switchLanguage(l,"name")),1)])],10,y)))),128))]),(0,t._)("div",C,[(0,t._)("div",{class:"space-y-2",onClick:l[1]||(l[1]=(...e)=>(0,a.SU)(F)&&(0,a.SU)(F)(...e))},[(0,t._)("div",$,[(0,t._)("div",Z,[(0,t.Wm)(x.Z,{type:"refresh",color:"rgba(0, 0, 0, 0.7)",class:(0,c.C_)({"refresh-spin":(0,a.SU)(T)})},null,8,["class"])])]),(0,t._)("div",z,(0,c.zw)(e.$t("replay")),1)]),(0,t._)("div",{class:"space-y-2",onClick:l[2]||(l[2]=(...e)=>(0,a.SU)(H)&&(0,a.SU)(H)(...e))},[(0,t._)("div",N,[(0,t._)("div",W,[(0,t.Wm)(x.Z,{id:"pause",type:(0,a.SU)(V)?"pause":"playing",color:"rgba(0, 0, 0, 0.7)"},null,8,["type"])])]),(0,t._)("div",O,(0,c.zw)((0,a.SU)(V)?e.$t("pause"):e.$t("play")),1)]),(0,t._)("div",{class:"space-y-2 flex flex-col items-center",onClick:l[3]||(l[3]=(...e)=>(0,a.SU)(J)&&(0,a.SU)(J)(...e))},[(0,t._)("div",I,[(0,t._)("div",P,[(0,t.Wm)(x.Z,{type:(0,a.SU)(A)?"stop":"quick",color:"rgba(0, 0, 0, 0.7)"},null,8,["type"])])]),(0,t._)("div",q,(0,c.zw)((0,a.SU)(A)?e.$t("speedUp"):e.$t("stopSpeedUp")),1)])])])]))}}),L=s(89);const Y=(0,L.Z)(D,[["__scopeId","data-v-20035f72"]]);var T=Y}}]);
//# sourceMappingURL=910.a0ab5cd1.js.map