import{_ as a,a$ as s,b0 as t,b as e,d as n,p as i,w as l,H as d,i as o,o as c,f as r,k as u,B as p,t as f,D as _,C as g}from"./index-2PZN6pGH.js";const m=a({data:()=>({title:"onCompassChange",direction:0}),onReady:function(){s((a=>{this.direction=parseInt(a.direction)}))},onUnload(){t(),this.direction=0}},[["render",function(a,s,t,m,b,h){const x=e(n("page-head"),d),y=o,C=_,v=g;return c(),i(y,null,{default:l((()=>[r(x,{title:b.title},null,8,["title"]),r(y,{class:"uni-padding-wrap"},{default:l((()=>[r(y,{class:"uni-hello-text uni-center",style:{"padding-bottom":"50rpx"}},{default:l((()=>[u(" 旋转手机即可获取方位信息 ")])),_:1}),r(y,{class:"direction"},{default:l((()=>[r(y,{class:"bg-compass-line"}),r(C,{class:"bg-compass",src:"/assets/compass-3zZmRoTD.png",style:p("transform: rotate("+b.direction+"deg)")},null,8,["style"]),r(y,{class:"direction-value"},{default:l((()=>[r(v,null,{default:l((()=>[u(f(b.direction),1)])),_:1}),r(v,{class:"direction-degree"},{default:l((()=>[u("o")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-0e12e1da"]]);export{m as default};
