import{_ as s,b2 as a,b as t,d as l,p as e,w as n,H as u,i,o as c,f as d,k as r,t as o,v as f,R as p}from"./index-2PZN6pGH.js";import"./permission.D706xXoU.js";const _=s({data:()=>({title:"scanCode",result:""}),methods:{async scan(){a({success:s=>{this.result=s.result},fail:s=>{}})}}},[["render",function(s,a,_,m,k,y){const b=t(l("page-head"),u),h=i,v=p;return c(),e(h,null,{default:n((()=>[d(b,{title:k.title},null,8,["title"]),d(h,{class:"uni-padding-wrap uni-common-mt"},{default:n((()=>[d(h,{class:"uni-title"},{default:n((()=>[r("扫码结果：")])),_:1}),k.result?(c(),e(h,{key:0,class:"uni-list"},{default:n((()=>[d(h,{class:"uni-cell"},{default:n((()=>[d(h,{class:"scan-result"},{default:n((()=>[r(o(k.result),1)])),_:1})])),_:1})])),_:1})):f("",!0),d(h,{class:"uni-btn-v"},{default:n((()=>[d(v,{type:"primary",onClick:y.scan},{default:n((()=>[r("扫一扫")])),_:1},8,["onClick"])])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-a09603dc"]]);export{_ as default};
