404-c253b4de.js 1.4 KB

1
  1. import{h as v,y as h,B as f,_ as g,l as k,o as e,V as t,W as c,q as l,N as _,t as b,X as $,Y as B,p as w,a5 as y}from"./vue-a39e6937.js";import{_ as C}from"./index-ba596ae9.js";const I="/assets/qr-de3b60c2.png",p=o=>($("data-v-8be15c25"),o=o(),B(),o),M={class:"page"},N={class:"container"},S=p(()=>e("div",{class:"font-h1"},":(",-1)),V={class:"tip"},q={class:"complete"},R={class:"percentage"},T={class:"details"},x=p(()=>e("div",{class:"qr-image"},[e("img",{src:I,alt:"QR Code"})],-1)),W={class:"stopcode"},D={class:"stopcode-text"},E={class:"stopcode-text"},Q=v({__name:"404",setup(o){const u=y(),a=h(0);var n=null;function m(){a.value+=Math.floor(Math.random()*50),a.value>=100?(a.value=100,u.back()):i()}function i(){n=setTimeout(m,Math.random()*(1e3-500)+500)}return f(()=>{i()}),g(()=>{clearTimeout(n)}),(s,r)=>{const d=b("router-link");return w(),k("div",M,[e("div",N,[S,e("div",V,t(s.$t("404.problems tip")),1),e("div",q,[c(t(s.$t("complete"))+" ",1),e("span",R,t(a.value),1),c("% ")]),e("div",T,[x,e("div",W,[e("div",D,t(s.$t("404.We will automatically return to the previous page when we are finished")),1),e("div",E,[l(d,{class:"stopcode-a",to:""},{default:_(()=>[e("span",{onClick:r[0]||(r[0]=U=>s.$router.back())},t(s.$t("404.Back to previous page")),1)]),_:1}),l(d,{class:"stopcode-a",to:"/"},{default:_(()=>[c(t(s.$t("404.Return to home page")),1)]),_:1})])])])])])}}});const j=C(Q,[["__scopeId","data-v-8be15c25"]]);export{j as default};