System.register(["./index-legacy-1cbe5d00.js"],(function(e,t){"use strict";var o,n,r,i,a,l,p,s,c;return{setters:[e=>{o=e.d,n=e.r,r=e.y,i=e.V,a=e.w,l=e.a,p=e.U,s=e.C,c=e.F}],execute:function(){var u=document.createElement("style");u.textContent='._wxPopupDialog_1v1wc_1{overflow:initial;border-radius:.53333rem!important}._wxPopupDialog_1v1wc_1:before{position:absolute;content:" ";top:-.58667rem;left:50%;margin-left:-1.36rem;display:inline-block;background:url('+new URL("message-top-cae7ee12.png",t.meta.url).href+") no-repeat top center;background-size:contain;width:2.74667rem;height:1.49333rem}._popupContainer_1v1wc_17{background:url("+new URL("message-bg-e3a906bc.png",t.meta.url).href+") no-repeat top center;background-size:cover;border-radius:.53333rem;overflow:hidden;padding-bottom:.42667rem;text-align:center}._popupContainer_1v1wc_17 ._title1_1v1wc_25{padding-top:1.52rem;text-align:center;font-size:.48rem;font-weight:500;color:#000}._popupContainer_1v1wc_17 ._popupTips_1v1wc_32{padding:.42667rem .53333rem;text-align:center;font-size:.4rem;color:#666;line-height:.61333rem}._popupContainer_1v1wc_17 ._button_1v1wc_39{padding:0 .85333rem;height:.8rem;font-size:.42667rem;font-size:.37333rem;color:#777;border-color:#e7e7e7}\n",document.head.appendChild(u);const _="_wxPopupDialog_1v1wc_1",d="_popupContainer_1v1wc_17",m="_title1_1v1wc_25",w="_popupTips_1v1wc_32",g="_button_1v1wc_39";e("O",o({name:"m-wx-tip",props:{show:{type:Boolean,default:!0},title:{type:String,default:"温馨提示"},message:{type:String,default:"请使用微信扫描二维码"},showButton:{type:Boolean,default:!1},buttonText:{type:String,default:"确定"}},emits:["confirm"],setup(e,{emit:t}){const o=n(!1);return r((()=>{i().weixin||!e.show||(o.value=!0)})),a((()=>[e.show,e.message]),(()=>{e.show?o.value=!0:o.value=!1})),()=>l(c,null,[l(p,{show:o.value,"onUpdate:show":e=>o.value=e,round:!0,style:{width:"70%",maxWidth:"520px"},closeOnClickOverlay:!1,class:_},{default:()=>[l("div",{class:d},[l("p",{class:m},[e.title]),l("p",{class:w,innerHTML:e.message},null),e.showButton&&l(s,{round:!0,class:g,onClick:()=>t("confirm")},{default:()=>[e.buttonText]})])]})])}}))}}}));
