System.register(["./ResizeObserver.es-legacy.44b91b4c.js","./index-legacy.4be048cf.js","./index-legacy.9d25098b.js","./index-legacy.1f288a46.js","./index-legacy.c8c5bc4e.js","./index-legacy.7ce7fe04.js","./index-legacy.9b90921b.js","./cart-legacy.561f8e41.js","./index.module-legacy.2b6ca4e3.js","./index-legacy.33ea9340.js","./index-legacy.1015ebb4.js","./index-legacy.0307882a.js","./index-legacy.3ee63cbf.js","./index-legacy.163278e2.js","./index-legacy.6ac2a941.js","./index-legacy.39123961.js","./index-legacy.23131301.js","./icon_checkbox-legacy.6421631e.js","./icon_checkbox-tenant-legacy.b4d3b7a3.js","./icon_checkbox_default-legacy.9f3738fd.js","./index-legacy.421f1fa7.js","./hooks-legacy.5cc9e329.js","./index-legacy.56fd22af.js","./index-legacy.ff44e6c0.js","./index-legacy.7e687ee8.js","./index-legacy.cae55a25.js","./use-id-legacy.ef8b5e97.js","./index-legacy.e21472a8.js","./index-legacy.b20da433.js"],(function(e){"use strict";var n,o,t,i,u,c,l,a,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.U,t=e.S,i=e.a3,u=e.Q,c=e.j,l=e.bC,a=e.A,r=e.aS,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,O,T,U,_,z,L,M,Q,R=(null===(e=b.orderInfo)||void 0===e?void 0:e.orderItemList)||[],w={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 D={city:null===(V=b.orderInfo)||void 0===V?void 0:V.receiverCity,detailAddress:null===(O=b.orderInfo)||void 0===O?void 0:O.receiverDetailAddress,name:null===(T=b.orderInfo)||void 0===T?void 0:T.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},F=o(!1),H=o(!1),W=o(!1),q=t({orderNo:(null===(M=b.orderInfo)||void 0===M?void 0:M.orderSn)||"",actualPrice:(null===(Q=b.orderInfo)||void 0===Q?void 0:Q.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(F.value){var e=v.user.data;null!=e&&e.realName&&null!=e&&e.idCardNo?q.orderNo?H.value=!0:f("没有订单号!"):W.value=!0}else f("请先阅读并同意《酷乐秀平台服务协议》")},G=u(),J=function(){W.value=!1,E()};return function(){return c(s,null,[c(P,null,null),R.length?c("div",{class:j.cartConfirm},[c("div",{class:j.cartConfirmBox},[c(h,{item:D,isLink:!1},null)]),c("div",{style:{marginTop:"20px"},class:[j.cartBox,j.cartConfirmBox]},[c("div",{class:j.shopBox},[R.map((function(e){return c("div",{class:[j.cartItem],style:{marginBottom:"10px"}},[c(m,{price:l(e.productPrice),desc:x(e.productAttr),title:e.productName,thumb:e.productPic,num:e.productQuantity},null)])}))]),c(y,{border:!1},{default:function(){return[c(g,{border:!1,title:"优惠券"},{value:function(){return c("span",{style:{fontSize:"0.42667rem",color:"#ff3535",fontWeight:"bold"}},["-¥ "+w.couponAmount])}}),c(g,{border:!1,title:"总额",value:"¥ "+w.totalAmount},null)]}})]),c("div",{class:j.payProtocol},[c(A,{modelValue:F.value,"onUpdate:modelValue":function(e){return F.value=e}},null),c(p,{buttonText:"结算(".concat(R.length,")"),buttonColor:"var(--van-primary)",disabled:0===R.length,onSubmit:function(){return E()}},{default:function(){return[c("div",{class:j.confirmBottom},[a("合计")," ",c("span",{class:j["price-des"]},[a("¥"),l(w.payAmount)])])]}})]),c("div",{style:{height:"var(--van-submit-bar-height)"}},null),c(I,{modelValue:W.value,"onUpdate:modelValue":function(e){return W.value=e}},{default:function(){return[c(B,{onSuccess:J},null)]}}),c(r,{show:H.value,closeOnClickOverlay:!1,position:"bottom",round:!0,closeOnPopstate:!0,safeAreaInsetBottom:!0,style:{minHeight:"30%"}},{default:function(){return[c(C,{modelValue:H.value,"onUpdate:modelValue":function(e){return H.value=e},orderInfo:q,paymentType:"goodsPay",onBackOut:function(){return H.value=!1}},null)]}})]):c(d,{buttonText:"去购物车",onClick:function(){G.push({path:"/cart"})}},null)])}}}))}}}));