System.register(["./ResizeObserver.es-legacy.5b47f92b.js","./index-legacy.933dc860.js","./index-legacy.239a53d5.js","./index-legacy.5097d51a.js","./index-legacy.81d1573d.js","./index-legacy.6825d120.js","./index-legacy.ef5d296f.js","./cart-legacy.edddb5fd.js","./index.module-legacy.2b6ca4e3.js","./index-legacy.b24588f7.js","./index-legacy.a3a3f9b5.js","./index-legacy.0fcd0fab.js","./index-legacy.f74bd512.js","./index-legacy.c0688f93.js","./index-legacy.5dda57aa.js","./index-legacy.17d6478d.js","./index-legacy.a53b994a.js","./icon_checkbox-legacy.6421631e.js","./icon_checkbox-tenant-legacy.b4d3b7a3.js","./icon_checkbox_default-legacy.9f3738fd.js","./index-legacy.ab4c4b02.js","./hooks-legacy.8425e14f.js","./index-legacy.ca89eadb.js","./index-legacy.45cd8944.js","./index-legacy.16a5da4d.js","./index-legacy.4ffeb408.js","./use-id-legacy.06255fee.js","./index-legacy.e4baa20e.js","./index-legacy.66e42337.js"],(function(e){"use strict";var n,o,t,i,u,a,l,c,r,d,s,f,v,m,g,y,p,b,x,j,h,A,C,I,B,P;return{setters:[function(e){n=e.d,o=e.V,t=e.U,i=e.a4,u=e.S,a=e.j,l=e.be,c=e.B,r=e.aT,d=e.C,s=e.F,f=e.T,v=e.g},function(){},function(){},function(e){m=e.C},function(e){g=e.C},function(e){y=e.C},function(e){p=e.S},function(e){b=e.c,x=e.f},function(e){j=e.s},function(e){h=e.A},function(e){A=e.C},function(e){C=e.P},function(e){I=e.C},function(e){B=e.U},function(e){P=e.C},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){e("default",n({name:"cartConfirmAgin",setup:function(){var e,n,S,k,N,V,T,O,U,_,z,L,M,R,w=(null===(e=b.orderInfo)||void 0===e?void 0:e.orderItemList)||[],D={totalAmount:(null===(n=b.orderInfo)||void 0===n?void 0:n.totalAmount)||0,payAmount:(null===(S=b.orderInfo)||void 0===S?void 0:S.payAmount)||0,freightAmount:(null===(k=b.orderInfo)||void 0===k?void 0:k.freightAmount)||0,couponAmount:null===(N=b.orderInfo)||void 0===N?void 0:N.couponAmount};o(0);var F={city:null===(V=b.orderInfo)||void 0===V?void 0:V.receiverCity,detailAddress:null===(T=b.orderInfo)||void 0===T?void 0:T.receiverDetailAddress,name:null===(O=b.orderInfo)||void 0===O?void 0:O.receiverName,phoneNumber:null===(U=b.orderInfo)||void 0===U?void 0:U.receiverPhone,postCode:null===(_=b.orderInfo)||void 0===_?void 0:_.receiverPostCode,province:null===(z=b.orderInfo)||void 0===z?void 0:z.receiverProvince,region:null===(L=b.orderInfo)||void 0===L?void 0:L.receiverRegion},H=o(!1),Q=o(!1),W=o(!1),q=t({orderNo:(null===(M=b.orderInfo)||void 0===M?void 0:M.orderSn)||"",actualPrice:(null===(R=b.orderInfo)||void 0===R?void 0:R.payAmount)||0});i(W,(function(e,n){W.value?postMessage({api:"setBarStatus",content:{status:0}}):postMessage({api:"setBarStatus",content:{status:1}})}));var E=function(){if(H.value){var e=v.user.data;null!=e&&e.realName&&null!=e&&e.idCardNo?q.orderNo?Q.value=!0:f("没有订单号!"):W.value=!0}else f("请先阅读并同意《酷乐秀平台服务协议》")},G=u(),J=function(){W.value=!1,E()};return function(){return a(s,null,[a(P,null,null),w.length?a("div",{class:j.cartConfirm},[a("div",{class:j.cartConfirmBox},[a(h,{item:F,isLink:!1},null)]),a("div",{style:{marginTop:"20px"},class:[j.cartBox,j.cartConfirmBox]},[a("div",{class:j.shopBox},[w.map((function(e){return a("div",{class:[j.cartItem],style:{marginBottom:"10px"}},[a(m,{price:l(e.productPrice),desc:x(e.productAttr),title:e.productName,thumb:e.productPic,num:e.productQuantity},null)])}))]),a(y,{border:!1},{default:function(){return[a(g,{border:!1,title:"优惠券"},{value:function(){return a("span",{style:{fontSize:"0.42667rem",color:"#ff3535",fontWeight:"bold"}},["-¥ "+D.couponAmount])}}),a(g,{border:!1,title:"总额",value:"¥ "+D.totalAmount},null)]}})]),a("div",{class:j.payProtocol},[a(A,{modelValue:H.value,"onUpdate:modelValue":function(e){return H.value=e}},null),a(p,{buttonText:"结算(".concat(w.length,")"),buttonColor:"var(--van-primary)",disabled:0===w.length,onSubmit:function(){return E()}},{default:function(){return[a("div",{class:j.confirmBottom},[c("合计")," ",a("span",{class:j["price-des"]},[c("¥"),l(D.payAmount)])])]}})]),a("div",{style:{height:"var(--van-submit-bar-height)"}},null),a(I,{modelValue:W.value,"onUpdate:modelValue":function(e){return W.value=e}},{default:function(){return[a(B,{onSuccess:J},null)]}}),a(r,{show:Q.value,closeOnClickOverlay:!1,position:"bottom",round:!0,closeOnPopstate:!0,safeAreaInsetBottom:!0,style:{minHeight:"30%"}},{default:function(){return[a(C,{modelValue:Q.value,"onUpdate:modelValue":function(e){return Q.value=e},orderInfo:q,paymentType:"goodsPay",onBackOut:function(){return Q.value=!1}},null)]}})]):a(d,{buttonText:"去购物车",onClick:function(){G.push({path:"/cart"})}},null)])}}}))}}}));
