| 1 |
- System.register(["./index-legacy.ef927dc2.js","./index-legacy.c227dcba.js","./index-legacy.37f2da42.js","./index-legacy.78d0603f.js","./index-legacy.2f56dd7e.js","./index-legacy.0c1f55f7.js","./index-legacy.ebd87590.js","./cart-legacy.8c04a5dd.js","./index.module-legacy.2b6ca4e3.js","./index-legacy.d6348439.js","./index-legacy.75af1c82.js","./index-legacy.60e9603c.js","./index-legacy.7dd52956.js","./index-legacy.c6d22182.js","./index-legacy.a2fbc0b1.js","./index-legacy.683abb6c.js","./index-legacy.d6e81b65.js","./icon_checkbox_default-legacy.e33240bc.js","./icon_checkbox-tenant-legacy.b4d3b7a3.js","./index-legacy.a8013523.js","./hooks-legacy.8eca5f3c.js","./index-legacy.6d0d797e.js","./index-legacy.c3714c3d.js","./index-legacy.040c392a.js","./use-id-legacy.f6945513.js","./index-legacy.5050a9ad.js","./index-legacy.a40559cb.js"],(function(n){"use strict";var e,o,t,i,u,c,l,a,r,d,s,f,v,m,g,y,p,x,b,j,h,A,C,I,P,B;return{setters:[function(n){e=n.d,o=n.S,t=n.Q,i=n.a2,u=n.P,c=n.j,l=n.bz,a=n.z,r=n.aR,d=n.C,s=n.F,f=n.T,v=n.g},function(){},function(){},function(n){m=n.C},function(n){g=n.C},function(n){y=n.C},function(n){p=n.S},function(n){x=n.c,b=n.f},function(n){j=n.s},function(n){h=n.A},function(n){A=n.C},function(n){C=n.P},function(n){I=n.C},function(n){P=n.U},function(n){B=n.C},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){n("default",e({name:"cartConfirmAgin",setup:function(){var n,e,S,k,N,V,T,O,U,z,_,L,M,Q,R=(null===(n=x.orderInfo)||void 0===n?void 0:n.orderItemList)||[],w={totalAmount:(null===(e=x.orderInfo)||void 0===e?void 0:e.totalAmount)||0,payAmount:(null===(S=x.orderInfo)||void 0===S?void 0:S.payAmount)||0,freightAmount:(null===(k=x.orderInfo)||void 0===k?void 0:k.freightAmount)||0,couponAmount:null===(N=x.orderInfo)||void 0===N?void 0:N.couponAmount};o(0);var D={city:null===(V=x.orderInfo)||void 0===V?void 0:V.receiverCity,detailAddress:null===(T=x.orderInfo)||void 0===T?void 0:T.receiverDetailAddress,name:null===(O=x.orderInfo)||void 0===O?void 0:O.receiverName,phoneNumber:null===(U=x.orderInfo)||void 0===U?void 0:U.receiverPhone,postCode:null===(z=x.orderInfo)||void 0===z?void 0:z.receiverPostCode,province:null===(_=x.orderInfo)||void 0===_?void 0:_.receiverProvince,region:null===(L=x.orderInfo)||void 0===L?void 0:L.receiverRegion},F=o(!1),H=o(!1),W=o(!1),q=t({orderNo:(null===(M=x.orderInfo)||void 0===M?void 0:M.orderSn)||"",actualPrice:(null===(Q=x.orderInfo)||void 0===Q?void 0:Q.payAmount)||0});i(W,(function(n,e){W.value?postMessage({api:"setBarStatus",content:{status:0}}):postMessage({api:"setBarStatus",content:{status:1}})}));var E=function(){if(F.value){var n=v.user.data;null!=n&&n.realName&&null!=n&&n.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(B,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(n){return c("div",{class:[j.cartItem],style:{marginBottom:"10px"}},[c(m,{price:l(n.productPrice),desc:b(n.productAttr),title:n.productName,thumb:n.productPic,num:n.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(n){return F.value=n}},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(n){return W.value=n}},{default:function(){return[c(P,{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(n){return H.value=n},orderInfo:q,paymentType:"goodsPay",onBackOut:function(){return H.value=!1}},null)]}})]):c(d,{buttonText:"去购物车",onClick:function(){G.push({path:"/cart"})}},null)])}}}))}}}));
|