| 1 |
- System.register(["./index-legacy.192c56a4.js","./index-legacy.6db8bdae.js","./index-legacy.6468386e.js","./index-legacy.a4f383a7.js","./index-legacy.81a23659.js","./index-legacy.d1b27ee5.js","./index-legacy.158d6808.js","./cart-legacy.349fa26c.js","./index-legacy.854eb359.js","./index-legacy.caebb729.js","./index-legacy.02fec3c9.js","./index-legacy.de43f4fe.js","./icon-address-legacy.e65801cb.js","./index-legacy.3b3640ad.js","./index-legacy.0a4aff39.js","./icon_checkbox_default-legacy.e33240bc.js","./index-legacy.ce3cf9d1.js","./use-height-legacy.c9732320.js","./index-legacy.6d7968c7.js","./index-legacy.9fe79f32.js","./index-legacy.7f11c8ce.js","./use-id-legacy.097797ea.js","./index-legacy.a3224d2f.js","./index-legacy.553a01b8.js","./index-legacy.8b7e287e.js","./index-legacy.a465b12d.js","./function-call-legacy.55fdd737.js","./index-legacy.a8797e9a.js"],(function(e){"use strict";var n,o,t,i,c,l,u,a,r,d,f,s,v,y,g,m,p,x,b,j,h,C,I,A;return{setters:[function(e){n=e.d,o=e.W,t=e.V,i=e.bc,c=e.i,l=e.bk,u=e.w,a=e.ab,r=e.C,d=e.F,f=e.T,s=e.s},function(){},function(){},function(e){v=e.C},function(e){y=e.C},function(e){g=e.C},function(e){m=e.s,p=e.S},function(e){x=e.c,b=e.f},function(e){j=e.A},function(e){h=e.C},function(e){C=e.U,I=e.P},function(e){A=e.C},function(){},function(){},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,B,N,V,k,S,T,O,U,w,L,_=(null===(e=x.orderInfo)||void 0===e?void 0:e.orderItemList)||[],D={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===(B=x.orderInfo)||void 0===B?void 0:B.freightAmount)||0};o(0);var F={city:null===(N=x.orderInfo)||void 0===N?void 0:N.receiverCity,detailAddress:null===(V=x.orderInfo)||void 0===V?void 0:V.receiverDetailAddress,name:null===(k=x.orderInfo)||void 0===k?void 0:k.receiverName,phoneNumber:null===(S=x.orderInfo)||void 0===S?void 0:S.receiverPhone,postCode:null===(T=x.orderInfo)||void 0===T?void 0:T.receiverPostCode,province:null===(O=x.orderInfo)||void 0===O?void 0:O.receiverProvince,region:null===(U=x.orderInfo)||void 0===U?void 0:U.receiverRegion},H=o(!1),Q=o(!1),R=o(!1),W=t({orderNo:(null===(w=x.orderInfo)||void 0===w?void 0:w.orderSn)||"",actualPrice:(null===(L=x.orderInfo)||void 0===L?void 0:L.payAmount)||0}),q=function(){if(H.value){var e=s.user.data;null!=e&&e.realName&&null!=e&&e.idCardNo?W.orderNo?Q.value=!0:f("没有订单号!"):R.value=!0}else f("请先阅读并同意《酷乐秀平台服务协议》")},z=i(),E=function(){R.value=!1,q()};return function(){return c(d,null,[_.length?c("div",{class:m.cartConfirm},[c("div",{class:m.cartConfirmBox},[c(j,{item:F,isLink:!1},null)]),c("div",{style:{marginTop:"20px"},class:[m.cartBox,m.cartConfirmBox]},[c("div",{class:m.shopBox},[_.map((function(e){return c("div",{class:[m.cartItem],style:{marginBottom:"10px"}},[c(v,{price:l(e.productPrice),desc:b(e.productAttr),title:e.productName,thumb:e.productPic,num:e.productQuantity},null)])}))]),c(g,{border:!1},{default:function(){return[c(y,{border:!1,title:"总额",value:"¥ "+D.totalAmount},null)]}})]),c("div",{class:m.payProtocol},[c(h,{modelValue:H.value,"onUpdate:modelValue":function(e){return H.value=e}},null)]),c(p,{buttonText:"结算(".concat(_.length,")"),buttonColor:"var(--van-primary)",disabled:0===_.length,onSubmit:function(){return q()}},{default:function(){return[c("div",{class:m.confirmBottom},[u("合计")," ",c("span",{class:m["price-des"]},[u("¥"),l(D.payAmount)])])]}}),c("div",{style:{height:"var(--van-submit-bar-height)"}},null),c(A,{modelValue:R.value,"onUpdate:modelValue":function(e){return R.value=e}},{default:function(){return[c(C,{onSuccess:E},null)]}}),c(a,{show:Q.value,closeOnClickOverlay:!1,position:"bottom",round:!0,closeOnPopstate:!0,safeAreaInsetBottom:!0,style:{minHeight:"30%"}},{default:function(){return[c(I,{modelValue:Q.value,"onUpdate:modelValue":function(e){return Q.value=e},orderInfo:W,paymentType:"goodsPay",onBackOut:function(){return Q.value=!1}},null)]}})]):c(r,{buttonText:"去购物车",onClick:function(){z.push({path:"/cart"})}},null)])}}}))}}}));
|