import{_ as u,ae as m,r as f,al as d,s as g,t as x,v as o,B as l,Q as b,aa as e,G as v,z as n,aG as w,c0 as y,at as q,au as S,av as P,F as i}from"./index.7df25f12.js";import{Q}from"./QFooter.908d3b7e.js";import{u as k}from"./use-quasar.0e944873.js";import"./QResizeObserver.5bd704bf.js";var B="/assets/bg2.4ec1aa76.png";const s=t=>(S("data-v-430c6ae6"),t=t(),P(),t),I=s(()=>e("img",{src:B,style:{width:"100%",float:"left"}},null,-1)),C=s(()=>e("div",{class:"absolute full-width full-height",style:{top:"0",bottom:"0",left:"0",right:"0"}},null,-1)),N={class:"text-weight-bold absolute full-width text-subtitle1",style:{top:"5%","text-shadow":"rgb(126 12 13) 0px 0px 23px"}},R={class:"shop-share absolute",style:{width:"74%",left:"13%",top:"37%",height:"48%"}},V=s(()=>e("div",{class:"bordered q-py-xs q-mx-lg text-subtitle2"},"\u5B89\u5168\u53EF\u9760 \u626B\u7801\u4E0B\u8F7D",-1)),z={class:"bg-white q-my-lg q-pa-sm inline-block",style:{width:"62%"}},F=s(()=>e("p",{class:"q-mb-sm"},[e("span",{class:"rounded-borders bg-amber-3 text-red-10 q-px-xs q-mr-sm"},"1"),i("\u76F4\u64AD\u770B\u6BD4\u8D5B")],-1)),G=s(()=>e("p",{class:"q-mb-sm"},[e("span",{class:"rounded-borders bg-amber-3 text-red-10 q-px-xs q-mr-sm"},"2"),i("\u771F\u5B9E\u5E97\u94FA")],-1)),L=s(()=>e("p",{class:"q-mb-sm"},[e("span",{class:"rounded-borders bg-amber-3 text-red-10 q-px-xs q-mr-sm"},"3"),i("\u652F\u4ED8\u65B9\u5F0F\u9F50\u5168")],-1)),M=s(()=>e("div",{class:"safe-padding-bottom"},"\u4FDD\u5B58\u56FE\u7247 ",-1)),D={__name:"SharePage",setup(t){const a=m();k();const c=f(null);let r=Math.ceil(window.innerWidth*(window.devicePixelRatio||1)/2);r=Math.ceil(r/100)*100;const p=d.getQrcodeUrl(d.domain+"register/index.html?shopsn="+a.shop.shop_sn+"&agtcid="+a.user.id,r);function _(){y(c.value,a.shop.name)}return(T,U)=>{const h=q("PageLayout");return g(),x(h,{class:"shop-share-page fit"},{footer:o(()=>[l(Q,null,{default:o(()=>[l(b,{square:"",class:"full-width",glossy:"",color:"amber-3","text-color":"red-10",label:"",onClick:_},{default:o(()=>[M]),_:1})]),_:1})]),default:o(()=>[e("div",{class:"text-amber-3 text-center relative-position no-scroll",ref_key:"domRef",ref:c},[I,C,e("div",N,"\u6B22\u8FCE\u6765\u5230"+v(n(a).shop.name)+"\u5E97\u94FA",1),e("div",R,[V,e("div",z,[l(w,{crossorigin:"anonymous",src:n(p),ratio:"1",width:"100%"},null,8,["src"])]),F,G,L])],512)]),_:1})}}};var H=u(D,[["__scopeId","data-v-430c6ae6"]]);export{H as default};