System.register(["./index-legacy.b2528a15.js","./index-legacy.ca42ae97.js","./index-legacy.edff980f.js","./index-legacy.bf813766.js","./index-legacy.207dc8c2.js","./index-legacy.a7e74731.js","./index-legacy.da3785ef.js","./cart-legacy.446e099c.js","./index.module-legacy.2b6ca4e3.js","./index-legacy.b5f1c626.js","./index-legacy.91bf8afa.js","./index-legacy.6cb0c9ba.js","./index-legacy.5f62c00f.js","./index-legacy.0d47d1e6.js","./index-legacy.987f23f1.js","./index-legacy.7d3d7cf1.js","./icon_checkbox_default-legacy.e33240bc.js","./index-legacy.81a64bb6.js","./index-legacy.f75b8290.js","./use-height-legacy.2a153aaf.js","./index-legacy.5147af42.js","./hooks-legacy.fb8d6c34.js","./index-legacy.c610561c.js","./index-legacy.fafbdfb8.js","./index-legacy.d3645f16.js","./index-legacy.ab501af1.js","./use-id-legacy.4f071235.js","./index-legacy.5af656e4.js"],(function(e){"use strict";var n,o,t,i,u,a,c,l,r,d,f,s,v,m,y,g,p,x,b,j,h,A,I,C,B;return{setters:[function(e){n=e.d,o=e.U,t=e.S,i=e.a3,u=e.Q,a=e.i,c=e.by,l=e.A,r=e.aT,d=e.C,f=e.F,s=e.T,v=e.s},function(){},function(){},function(e){m=e.C},function(e){y=e.C},function(e){g=e.C},function(e){p=e.S},function(e){x=e.c,b=e.f},function(e){j=e.s},function(e){h=e.A},function(e){A=e.C},function(e){I=e.P},function(e){C=e.C},function(e){B=e.U},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,P,S,N,k,T,V,U,O,L,M,Q,_,w=(null===(e=x.orderInfo)||void 0===e?void 0:e.orderItemList)||[],z={totalAmount:(null===(n=x.orderInfo)||void 0===n?void 0:n.totalAmount)||0,payAmount:(null===(P=x.orderInfo)||void 0===P?void 0:P.payAmount)||0,freightAmount:(null===(S=x.orderInfo)||void 0===S?void 0:S.freightAmount)||0,couponAmount:null===(N=x.orderInfo)||void 0===N?void 0:N.couponAmount};o(0);var D={city:null===(k=x.orderInfo)||void 0===k?void 0:k.receiverCity,detailAddress:null===(T=x.orderInfo)||void 0===T?void 0:T.receiverDetailAddress,name:null===(V=x.orderInfo)||void 0===V?void 0:V.receiverName,phoneNumber:null===(U=x.orderInfo)||void 0===U?void 0:U.receiverPhone,postCode:null===(O=x.orderInfo)||void 0===O?void 0:O.receiverPostCode,province:null===(L=x.orderInfo)||void 0===L?void 0:L.receiverProvince,region:null===(M=x.orderInfo)||void 0===M?void 0:M.receiverRegion},F=o(!1),H=o(!1),R=o(!1),W=t({orderNo:(null===(Q=x.orderInfo)||void 0===Q?void 0:Q.orderSn)||"",actualPrice:(null===(_=x.orderInfo)||void 0===_?void 0:_.payAmount)||0});i(R,(function(e,n){R.value?postMessage({api:"setBarStatus",content:{status:0}}):postMessage({api:"setBarStatus",content:{status:1}})}));var q=function(){if(F.value){var e=v.user.data;null!=e&&e.realName&&null!=e&&e.idCardNo?W.orderNo?H.value=!0:s("没有订单号!"):R.value=!0}else s("请先阅读并同意《酷乐秀平台服务协议》")},E=u(),G=function(){R.value=!1,q()};return function(){return a(f,null,[w.length?a("div",{class:j.cartConfirm},[a("div",{class:j.cartConfirmBox},[a(h,{item:D,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:c(e.productPrice),desc:b(e.productAttr),title:e.productName,thumb:e.productPic,num:e.productQuantity},null)])}))]),a(g,{border:!1},{default:function(){return[a(y,{border:!1,title:"优惠券"},{value:function(){return a("span",{style:{fontSize:"0.42667rem",color:"#ff3535",fontWeight:"bold"}},["-¥ "+z.couponAmount])}}),a(y,{border:!1,title:"总额",value:"¥ "+z.totalAmount},null)]}})]),a("div",{class:j.payProtocol},[a(A,{modelValue:F.value,"onUpdate:modelValue":function(e){return F.value=e}},null),a(p,{buttonText:"结算(".concat(w.length,")"),buttonColor:"var(--van-primary)",disabled:0===w.length,onSubmit:function(){return q()}},{default:function(){return[a("div",{class:j.confirmBottom},[l("合计")," ",a("span",{class:j["price-des"]},[l("¥"),c(z.payAmount)])])]}})]),a("div",{style:{height:"var(--van-submit-bar-height)"}},null),a(C,{modelValue:R.value,"onUpdate:modelValue":function(e){return R.value=e}},{default:function(){return[a(B,{onSuccess:G},null)]}}),a(r,{show:H.value,closeOnClickOverlay:!1,position:"bottom",round:!0,closeOnPopstate:!0,safeAreaInsetBottom:!0,style:{minHeight:"30%"}},{default:function(){return[a(I,{modelValue:H.value,"onUpdate:modelValue":function(e){return H.value=e},orderInfo:W,paymentType:"goodsPay",onBackOut:function(){return H.value=!1}},null)]}})]):a(d,{buttonText:"去购物车",onClick:function(){E.push({path:"/cart"})}},null)])}}}))}}}));