1import{d as e,f as a,a5 as l,r as t,c as s,o as i,Z as n,k as r,a3 as o,a4 as u,_ as c,G as p,a7 as d,F as m,ab as v,a0 as f,q as h,ah as x,Y as g,A as b,a6 as A,u as w,n as y,B as C,a2 as k,a1 as P}from"./vue-Bi7mfGHD.js";import{_ as E}from"./right-B9oe4jL0.js";import{S as $}from"./SiteSegment-DjRRAaEL.js";import{S as U}from"./SiteFooter-CSywiv5G.js";import{h as I,i as j,g as _,n as T,o as N,a as B}from"./index-BiKZCHhl.js";import{k as O,I as R,J as Q,K as S,L as D,M as q,N as F,O as M}from"./shop-CBCaOH0I.js";import{d as Y}from"./onErrorImg-DPsuYUe0.js";import{D as V}from"./DetailBanner-D9wPSj7X.js";import{k as z,f as J}from"./ui-CyhIq12H.js";import"./police-CnUBCWU3.js";import"./index-Cu8qRVPQ.js";import"./useResizeWindow-3hWrKtk1.js";import"./charts-DxVQq-2x.js";import"./colorPrimary-CUyjTJql.js";const K={class:"shop-body min-h-screen bg-white"},Z={class:"container mx-auto contentBox"},G={class:"shop-step-nav"},W={class:"shop-step-nav-title"},X={class:"shop-step-nav-list hidden md:flex gap-5 text-lg items-center"},L={class:"shop-step-item-text"},H={class:"shop-step-item-text"},ee={class:"shop-step-item-text"},ae={class:"space-y-6"},le={key:0,class:"shop-address-card"},te={class:"shop-card-title"},se={class:"order-title"},ie={class:"flex flex-col gap-[10px]"},ne=["onClick"],re={class:"shop-address-info"},oe={class:"whitespace-nowrap"},ue={class:"whitespace-nowrap"},ce={key:0,class:"text-blue-500 text-xs"},pe={class:"flex gap-4 sm:gap-6 text-sm ml-0 sm:ml-[31px] mt-2 sm:mt-0 items-center"},de=["onClick"],me=["onClick"],ve=["onClick"],fe={class:"shop-pay-card"},he={class:"order-title mb-3"},xe={class:"shop-pay-tag"},ge={class:"shop-goods-card"},be={class:"flex justify-between items-center p-5"},Ae={class:"order-title -mb-3"},we={class:"flex gap-6 text-sm"},ye={class:"shop-popover-tip"},Ce={class:"shop-header-link"},ke={class:"shop-header-link flex items-center gap-1"},Pe={class:"shop-goods-table w-full overflow-hidden"},Ee={class:"shop-goods-table-header"},$e={class:"table-title flex-[3] min-w-[200px] pl-5 text-left font-medium"},Ue={class:"table-title flex-1 min-w-[120px] text-center font-medium"},Ie={class:"table-title flex-1 min-w-[120px] text-center font-medium hidden sm:block md:block"},je={class:"table-title flex-1 min-w-[100px] text-center font-medium hidden md:block"},_e={class:"table-title flex-1 min-w-[120px] text-center font-medium hidden lg:block"},Te={class:"flex-[3] min-w-[200px] flex pl-5"},Ne={class:"w-[70px] flex-shrink-0 flex justify-center"},Be={class:"w-[70px] h-[98px] bg-gray-100 overflow-hidden rounded"},Oe=["src"],Re={class:"flex-1 text-left ml-5"},Qe={class:"shop-goods-name"},Se={class:"table-content mt-1"},De={key:0},qe={class:"flex-1 min-w-[120px] text-center table-content"},Fe={class:"flex-1 min-w-[120px] text-center table-content hidden sm:block md:block"},Me={key:0,class:"text-gray-400 line-through text-xs"},Ye={class:"flex-1 min-w-[100px] text-center table-content hidden md:block"},Ve={class:"flex-1 min-w-[120px] text-center table-content hidden lg:block"},ze={class:"p-5 text-right table-content"},Je={class:"ml-[10px]"},Ke={class:"ml-[30px]"},Ze={class:"ml-[10px]"},Ge={class:"shop-goods-total table-content"},We={class:"flex items-center"},Xe={class:"ml-[10px]"},Le={class:"ml-[30px]"},He={class:"ml-[10px]"},ea={class:"ml-[30px]"},aa={class:"ml-[10px]"},la={class:"mt-1"},ta={class:"shop-total-price ml-[10px]"},sa={class:"py-7 mr-4 text-right"},ia={class:"shop-delivery-title"},na={class:"shop-delivery-tag ml-1"},ra={class:"shop-invoice-card"},oa={class:"order-title mb-4"},ua={class:"flex items-center gap-3 mb-4 cursor-pointer"},ca={class:"shop-invoice-text"},pa={key:0,class:"pl-[10px]"},da={class:"shop-invoice-tag mb-5"},ma={class:"shop-invoice-text"},va={class:"shop-invoice-text"},fa={class:"form-item-label"},ha={class:"form-item-label"},xa={class:"form-item-label"},ga={class:"form-item-label"},ba={class:"form-item-label"},Aa={class:"form-item-label"},wa={class:"form-item-label"},ya={class:"form-item-label"},Ca={class:"form-item-label"},ka={class:"form-item-label"},Pa={class:"form-item-label"},Ea={class:"shop-message-card"},$a={class:"order-title mb-3"},Ua={class:"flex items-center gap-2"},Ia={class:"shop-agree-base"},ja={class:"flex flex-wrap gap-4 px-5 py-4 bg-[#F3F6FF] min-h-[110px] rounded-[10px] mt-[30px] mb-[50px] items-center justify-end lg:justify-between h-auto"},_a={class:"hidden md:flex flex-[2] text-[16px] font-arial-regular font-normal text-[#333333] flex-col w-full lg:w-auto"},Ta={class:"flex"},Na={class:"w-[72px] shrink-0"},Ba={class:"flex-1 truncate"},Oa={class:"flex mt-1"},Ra={class:"flex-1 text-gray-500 truncate"},Qa={class:"flex-1 md:flex-[1] text-[16px] font-arial-regular font-normal text-[#333333] text-center sm:text-right md:text-center w-full sm:w-auto"},Sa={class:"text-[16px] font-arial-regular font-bold text-[#D74339]"},Da={class:"text-[16px] font-arial-regular font-bold text-[#D74339]"},qa={class:"flex-1 md:flex-[1] text-light text-center sm:text-right md:text-center w-full sm:w-auto"},Fa={class:"text-[16px] font-arial-regular font-normal text-[#333333]"},Ma={class:"text-[20px] font-arial-regular font-bold text-[#D74339]"},Ya={class:"flex justify-center items-center w-full sm:w-auto mt-2 sm:mt-0"},Va={class:"text-[18px] text-[#333333]"},za={class:"mt-[30px]"},Ja={class:"text-[16px] text-[#333333] font-bold font-arial-regular"},Ka={class:"mt-[30px]"},Za={class:"text-[18px] text-[#333333]"},Ga={class:"flex gap-3"},Wa=B(e({__name:"ShopOrder",setup(e){I(j("订åä¿¡æ¯","Journals"));const B="zh"==_()?"zh_CN":"en_US",Wa=k(),Xa=l(),La=a("/img/journal/"),Ha=Xa.query.cartIDs,el=a(Ha?Ha.split(","):[]),al=a(Xa.query.isPaper||"true"),ll=a(null),tl=a(!1),sl=a([]),il=a(0),nl=a(null),rl=a([]),ol=a([]),ul=a([]),cl=a(!1),pl=a(!1),dl=a(null),ml=a(),vl=t({id:"",name:"",mobile:"",province:"",city:"",area:"",detail:""}),fl=t({name:[{required:!0,message:"è¯·å¡«åæ¶è´§äºº",trigger:"blur"}],mobile:[{required:!0,message:"è¯·å¡«åææºå·ç ",trigger:"blur"}],province:[{required:!0,message:"è¯·éæ©æå¨å°åº",trigger:"blur"}],detail:[{required:!0,message:"请填å详ç»å°å",trigger:"blur"}]}),hl=t({name:[{required:!0,message:"Please fill in the consignee",trigger:"blur"}],mobile:[{required:!0,message:"Please fill in your mobile number",trigger:"blur"}],province:[{required:!0,message:"Please select your region",trigger:"blur"}],detail:[{required:!0,message:"Please fill in the detailed address",trigger:"blur"}]}),xl=a([]),gl=s(()=>xl.value.length),bl=a(0),Al=a(0),wl=a(0),yl=a(0),Cl=a(!1),kl=a("Personal"),Pl=t({personalTitle:"",personalEmail:"",personalContent:"1"}),El=t({enterpriseTitle:"",enterpriseNumber:"",enterpriseAddress:"",enterpriseTele:"",enterpriseBank:"",enterpriseAccount:"",enterpriseEmail:"",enterpriseContent:"1"}),$l=a(null),Ul=a(),Il=t({personalTitle:[{required:!0,message:"You must enter",trigger:"blur"}],personalEmail:[{required:!0,message:"You must enter",trigger:"blur"}],personalContent:[{required:!0,message:"Please select content",trigger:"change"}]}),jl=t({enterpriseTitle:[{required:!0,message:"You must enter",trigger:"blur"}],enterpriseNumber:[{required:!0,message:"You must enter",trigger:"blur"}],enterpriseEmail:[{required:!0,message:"You must enter",trigger:"blur"}],enterpriseContent:[{required:!0,message:"You must enter",trigger:"change"}]}),_l=a(""),Tl=a(!1),Nl=a(!1),Bl=s(()=>rl.value.map(e=>({label:e.name,value:e.name}))),Ol=s(()=>ol.value.map(e=>({label:e.name,value:e.name}))),Rl=s(()=>ul.value.map(e=>({label:e.name,value:e.name}))),Ql=async()=>{const e=await O();sl.value=e.info||[]},Sl=async()=>{Object.assign(vl,{id:"",name:"",mobile:"",province:void 0,city:void 0,area:void 0,detail:""}),ol.value=[],ul.value=[],await y(),ml.value&&ml.value.clearValidate()},Dl=async(e=null)=>{await Sl(),cl.value=!0,e?(pl.value=!0,dl.value=e.id,vl.id=e.id,vl.name=e.name,vl.mobile=e.mobile,vl.detail=e.detail,e.province&&(vl.province=e.province,await ql(e.province,!0),e.city&&(vl.city=e.city,await Fl(e.city,!0),e.area&&(vl.area=e.area)))):(pl.value=!1,dl.value=null)},ql=async(e,a=!1)=>
1{if(ol.value=[],ul.value=[],a||(vl.city=void 0,vl.area=void 0),!e)return;const l=rl.value.find(a=>a.name===e);l&&await(async e=>{const a=await Q(e);ol.value=a||[]})(l.id)},Fl=async(e,a=!1)=>{if(ul.value=[],a||(vl.area=void 0),!e)return;const l=ol.value.find(a=>a.name===e);l&&await(async e=>{const a=await Q(e);ul.value=a||[]})(l.id)},Ml=async()=>{if(ml.value)try{await ml.value.validate();const e={...vl};pl.value&&dl.value&&(e.id=dl.value);const a=await q(e);!0===a?(J.success("zh_CN"===B?"ä¿åæå":"Saved successfully"),await Ql()):J.error(a.message||("zh_CN"===B?"ä¿å失败":"Save failed"));const l=await O();sl.value=l.info||[],cl.value=!1,Yl()}catch(e){}},Yl=()=>{cl.value=!1,setTimeout(()=>{Sl()},200)},Vl=async()=>{if(!Tl.value)return void J.warning("请é
读并åæãç¨æ·è´ä¹°é¡»ç¥ã");if("true"===al.value&&!nl.value)return void J.warning("请设置æ¶è´§å°å");if(Cl.value){const e="Personal"===kl.value?$l:Ul;if(!e.value)return;try{await e.value.validate()}catch(t){return void J.warning("è¯·æ£æ¥å票信æ¯")}}const e=nl.value,a={cartIDs:el.value.join(","),isInvoice:Cl.value,type:"Personal"===kl.value?0:1,title:"Personal"===kl.value?Pl.personalTitle:El.enterpriseTitle,taxNo:"Personal"===kl.value?"":El.enterpriseNumber,email:"Personal"===kl.value?Pl.personalEmail:El.enterpriseEmail,companyAddress:"Personal"===kl.value?"":El.enterpriseAddress,telephone:"Personal"===kl.value?"":El.enterpriseTele,bankAccount:"Personal"===kl.value?"":El.enterpriseAccount,bankName:"Personal"===kl.value?"":El.enterpriseBank,contentType:"Personal"===kl.value?Pl.personalContent:El.enterpriseContent,contact:(null==e?void 0:e.name)||"",phone:(null==e?void 0:e.mobile)||"",address:e?`${e.province}${e.city}${e.area} ${e.detail}`:"",buyerMessage:_l.value,mailType:0};let l;if(l=tl.value?await F(a):await M(a),sessionStorage.setItem("FORM_TOKEN_KEY",l.FORM_TOKEN_KEY),"1"==l.jump){const e=Wa.resolve({path:"/shop/ContinueOrder",query:{cartIDs:el.value.join(","),isPaper:String("true"===al.value),isInvoice:String(Cl.value)}});window.open(e.href,"_self")}else"2"==l.jump?(sessionStorage.setItem("CartIDs",el.value.join(",")),window.open(`/shop/orderDetail/${l.tOrder.id}`,"_self")):"3"==l.jump?window.open("/shop/cart","_self"):"4"==l.jump&&window.open("/shop/ContinueOrder/"+l.tOrder.id,"_self")};return i(async()=>{await(async()=>{const e=await Q("0");rl.value=e||[]})(),await(async()=>{const e=await O();sl.value=e.info||[],il.value=0,null!=sl.value&&sl.value.length>0&&(nl.value=sl.value[0]);const a={cartIDs:el.value.join(","),isInvoice:!0,isPaper:"true"===al.value},l=await R(a);null!=l.cartViewData&&l.cartViewData.length>0&&(xl.value=l.cartViewData),null!=l.isInsManager&&""!=l.isInsManager&&(tl.value=l.isInsManager),null!=l.user&&""!=l.user&&(ll.value=l.user),null!=l.totalAmount&&""!=l.totalAmount&&(bl.value=l.totalAmount),null!=l.freightAmount&&""!=l.freightAmount&&(Al.value=l.freightAmount),null!=l.youhuiAmount&&""!=l.youhuiAmount&&(wl.value=l.youhuiAmount),null!=l.finalAmount&&""!=l.finalAmount&&(yl.value=l.finalAmount)})()}),(e,a)=>{var l,t,s,i,y,k;const I=f("a-popover"),j=f("a-radio"),_=f("a-radio-group"),R=f("a-input"),Q=f("a-form-item"),q=f("a-radio-button"),F=f("a-form"),M=f("a-textarea"),Wa=f("a-checkbox"),Xa=f("a-button"),Ha=f("a-modal"),el=f("a-select");return P(),n(m,null,[r(V,{shadow:""}),o("div",K,[o("div",Z,[o("div",G,[o("div",W,u(e.$t("site.FillInAndCheckTheOrderInformation")),1),o("div",X,[r(T,{to:"/shop/cart",target:"_self"},{default:c(()=>[o("span",L,u(e.$t("site.MyCart")),1)]),_:1}),a[30]||(a[30]=o("img",{src:E,alt:"view more icon",class:"w-[8px] h-[14px]"},null,-1)),o("span",H,[p(u(e.$t("site.FillInTheOrder"))+" ",1),a[29]||(a[29]=o("span",{class:"shop-step-active-line"},null,-1))]),a[31]||(a[31]=o("img",{src:E,alt:"view more icon",class:"w-[8px] h-[14px]"},null,-1)),o("span",ee,u(e.$t("site.SubmittedOrder")),1)])]),o("div",ae,["true"===al.value?(P(),n("section",le,[o("h3",te,[o("span",se,u(e.$t("site.ConsigneeInformation")),1),o("span",{class:"shop-card-add-btn",onClick:a[0]||(a[0]=e=>Dl())},[a[32]||(a[32]=o("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACBElEQVR4AYxSTWsTURS99wk1+RddFHUnrStBIZO6EZJGBQXNKCoYXCjUjf+hGxVFhaoImkZREOkEdNOZIIK7Wld+0EV/hJhU0nd7zjQzMKGFPt7h3XvOuXfe3BknYysIo6NBc/lx0Ix+VsNun2AckIM2Zpe8QeVqUqo2o6cqsqqqp0R85L2/RTAmR42e4+fflbNGaQMSbvj3s6hcMpFrcbt2JFlq3O115l4QjMlRo6d8sPyJNWySNihPlO8hmQaCpF1/JaLwythS29EkgDBdmijdxyku4HuptFBxO27XV0lmqFxcPkFkOU966MUr3WAtbqAtCOtJu/YaZ2G7A+4cUSCRjLzrItpyKn7WTD7KrteWPZYaa1jLG0wi+5M5Z8PuyWoYPSAw/QrBmKCW+UT0NzCJBlJY5rfwtQpUnuymoYFtYCCHMlfcaXzBoOYJEdcjGKeAlvlE7DCw4UzciqqcQaKy72WqqDHR2KFwEXVTQdi9jLOw/Zb/QBRIJCPvlPnhokva9R9m+gyPf1QNoxno+e69mftK5AQCetT0oYk973XOruEGIoP//+5A+y5mMX6OK7gV+oEpbNNUgwdffG2wOZinnDb49v5Cv7/ZP415vEXly2rY/RU0o4Wg2b2+g2iBHDV66GVN3oABiWSpdtNEZgAM1hqq9mSEBjwr3g+P0UMv8nRvAwAA//+w12/kAAAABklEQVQDAMxz/sjDzmpoAAAAAElFTkSuQmCC",class:"w-[16px] h-[16px]"},null,-1)),p(" "+u(e.$t("site.AddReceivingAddress")),1)])]),o("div",ie,[(P(!0),n(m,null,v(sl.value,(a,l)=>(P(),n("div",{key:a.id,class:A(["shop-address-item",il.value===l?"shop-address-item-active":"shop-address-item-normal"]),onClick:e=>((e,a)=>{il.value=a})(0,l)},[o("div",re,[o("span",oe,u(a.name),1),o("span",ue,u(a.mobile),1),o("span",null,u(a.province)+u(a.city)+u(a.area)+" "+u(a.detail),1),1===a.type?(P(),n("span",ce,u(e.$t("site.DefaultAddress")),1)):d("",!0)]),o("div",pe,[o("span",{class:"shop-address-operate-text",onClick:C(e=>Dl(a),["stop"])},u(e.$t("site.Edit")),9,de),o("span",{class:"shop-address-operate-text",onClick:C(e=>{return l=a.id,void z.confirm({title:"zh_CN"===B?"æç¤º":"Notice",content:"zh_CN"===B?"确认å é¤":"Confirm delete",okText:"zh_CN"===B?"确认":"OK",cancelText:"zh_CN"===B?"åæ¶":"Cancel",okType:"primary",onOk:async()=>{!0===await S(l)&&(J.success("zh_CN"===B?"å 餿å":"Deleted successfully"),await Ql())},onCancel:()=>{}});var l},["stop"])},u(e.$t("site.Delete")),9,me),1!==a.type?(P(),n("span",{key:0,class:"shop-address-operate-text",onClick:C(e=>(async e=>{await D(e.id);const a=await O();sl.value=a.info||[]})(a),["stop"])},u(e.$t("site.SetDefault")),9,ve)):d("",!0)])],10,ne))),128))])])):d("",!0),o("section",fe,[o("h3",he,u(e.$t("site.ModeOfPayment")),1),o("div",xe,u(e.$t("site.OnlinePayment")),1)]),o("section",ge,[o("div",be,[o("h3",Ae,u(e.$t("site.DeliveryList")),1),o("div",we,[r(I,{trigger:"click",placement:"bottom","overlay-style":{maxWidth:"320px"}},{content:c(()=>[o("p",ye,u(e.$t("site.PriceIndicationContent")),1)]),default:c(()=>[o("span",Ce,[a[33]||(a[33]=o("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACdUlEQVR4AWxSTUhUURQ+5zyJzGjVzkIKIhcFQYUb0/ee
11EIcS0XReTO1qAhs0yIIXNSmVRBECfazkGqmSAPjvRlDJnXSgloYQQVRWbQIyZSowJ+Z9+7p3CFjHN/lfO/c83O/8+65h6BkmfH0PiuWumHHvA92zF22Y96i7XhvRV8xu7zqknT4T3AoPlJhO24/sRpF4MUA1GkfoRryxi5GPMeAG8mAqYaYd8k0x8tWiAoE+rCvchlJ3JqHXPVYInLmaeJwZuJu85exB43T44mmtOCEr2CPYjiIlX8etrcPGJqkQOCrfC8gLMwuLzZOJtpmdEDD7HJrrWhqr95rTNyLfFwAox4Bt8+tW39e+6jecfcDcqtUjr8b7Mhpp0aNM7yJDMwCcUbbK3iZbPztQ+Ag4lnTGd5CBuBJCfYXVxYbyr+VL4hGwZJglUwkj7wRxwiBOkby62YAKi2OVZLNWj4A/0SGuVWBf4ZCTjOyRWJXSfM+iQ4R+i4FfoQEhDuYlk+VJlDEbIQlMfCs+OcFa4TQIARUQsCfEYydELIQIAvMkxCyWMmMAEwLAeout4TkAATwKkB6HRoDbGGAJ6QCuI7AnXVRb8eaRMKrBquLpX4z7tZKb2qI8rcpez/yXprRZxAM6LcvTvZJ2XnMdxb77KNeJTEm5Xo9o3da50kHf22Y6ZG7fq2A4Fmd82i39mnoUS6ej4ZY6gAoeC6xtIx7r2goEEzdPJXfnFtqY8ChMjRe2DFvyIy6x624W98QTVmW43ZbjpdRwGkpdFkOd+vDGgUCvRkc7AjGk00XFMuLKJhCwi5UeIuJ++S+EcFjovJtY8nmazp/BX8BAAD//4Id/WAAAAAGSURBVAMAa4j58M2g+bwAAAAASUVORK5CYII=",class:"w-[16px] h-[16px]"},null,-1)),p(" "+u(e.$t("site.PriceIndication")),1)])]),_:1}),r(T,{to:"/shop/cart",target:"_blank"},{default:c(()=>[o("div",ke,[a[34]||(a[34]=o("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAANCAYAAACgu+4kAAABjElEQVR4AXxQv0vDUBC+e/UX+j8oiOLmIu5tKtKhCS4ZTGN1cRAUpzqoYB3Uoeri5OBgm4h0so0iHfoDF3f9AxxcRBQnF6k57xUa2iQ13OV9d9/3vnfvCQj5oqazEE+VZ0OoQCtgoBglHQGKvy4MBtQhjS6DWMoxAMUVG/SHaENbnoFilFcQIQ8IfVIpImjEzbvE/FJlRNa9smWgpJxVEHjBoghnO9YI3Psm/bzHTOcyZpam2kTnKhTTWSeAc262zHj1xzBfKQ0gnlmbBch26bjAMR4d/bv8NQvku+wp5sy1rhe9SUXNSmaQ4Mi/4Z9a/xgYOm3zPAFA1Va3ubHP6QURlvjUPBFUiOjVI1oAN6LGzZyELQMJapaaJcAdxsQJ5LrHVUtdrttqom5ro02kcZdol8k3REAUkRzr0DPgAupW8hARM4xZx/+OeChoLw1bO/jErwmeKocA08piOdZlIPXVQvIEiDZRUMBE8k+F9DdPteUCpKEP9YCBFNVs7aw+qT1K3CsblmoT4e0fAAAA//8RYCB9AAAABklEQVQDAF+WdjiN9dY2AAAAAElFTkSuQmCC",class:"w-[16px] h-[13px]"},null,-1)),p(" "+u(e.$t("site.BackToCart")),1)])]),_:1})])]),o("div",Pe,[o("div",Ee,[o("div",$e,u(e.$t("site.ProductName")),1),o("div",Ue,u(e.$t("site.Type")),1),o("div",Ie,u(e.$t("site.Price")),1),o("div",je,u(e.$t("site.Quantity")),1),o("div",_e,u(e.$t("site.TotalPrice")),1)]),(P(!0),n(m,null,v(xl.value||[],(e,l)=>(P(),n("div",{key:l,class:"shop-goods-table-row"},[o("div",Te,[o("div",Ne,[o("div",Be,[w(N)+e.cover?(P(),n("img",{key:0,alt:"",src:La.value+e.cover,class:"w-full h-full object-cover",onError:a[1]||(a[1]=e=>e.target.src=w(Y))},null,40,Oe)):d("",!0)])]),o("div",Re,[o("div",Qe,u(e.productName),1),o("div",Se,[p(u(e.publisher??"")+" "+u(e.volume?` ${e.volume}`:"")+" "+u(e.issue?`(${e.issue}),`:"")+" "+u(e.pages?` ${e.pages},`:"")+" "+u(e.year)+" ",1),e.author?(P(),n("br",De)):d("",!0),p(" "+u(e.author),1)])])]),o("div",qe,u("zh_CN"==w(B)?"纸å":"Paper Journal"),1),o("div",Fe,[o("div",null,"ï¿¥"+u(e.nowPrice),1),e.oriPrice>e.nowPrice?(P(),n("div",Me," ï¿¥"+u(e.oriPrice),1)):d("",!0)]),o("div",Ye,u(e.number),1),o("div",Ve," ï¿¥"+u(((e.nowPrice||0)*(e.number||0)).toFixed(2)),1)]))),128))]),o("div",ze,[o("span",null,u(e.$t("site.Discount"))+": ",1),o("span",Je," Â¥"+u(Al.value),1),o("span",Ke,u(e.$t("site.Subtotal"))+": ",1),o("span",Ze," Â¥"+u(bl.value),1)]),o("div",Ge,[o("div",We,[o("span",null,u(e.$t("site.CommodityAmount"))+":",1),o("span",Xe,"Â¥"+u(bl.value),1),o("span",Le,u(e.$t("site.Freight"))+":",1),o("span",He,"Â¥"+u(Al.value),1),o("span",ea,u(e.$t("site.Discount"))+":",1),o("span",aa,"Â¥"+u(wl.value),1)]),o("div",la,[p(u(e.$t("site.PriceTotal"))+": ",1),o("span",ta,"Â¥"+u(yl.value)+".00",1)])]),o("div",sa,[o("span",ia,u(e.$t("site.ShippingMethods"))+":",1),o("span",na,u(e.$t("site.ExpressTransportation")),1)])]),o("section",ra,[o("h3",oa,u(e.$t("site.Invoice")),1),o("label",ua,[h(o("input",{type:"checkbox","onUpdate:modelValue":a[2]||(a[2]=e=>Cl.value=e),class:"w-[18px] h-[18px] accent-[#4169E1] cursor-pointer"},null,512),[[x,Cl.value]]),o("span",ca,u(e.$t("site.RequestInvoice")),1)]),Cl.value?(P(),n("div",pa,[o("div",da,u(e.$t("site.ElectronicInvoice")),1),o("div",null,[r(_,{value:kl.value,"onUpdate:value":a[3]||(a[3]=e=>kl.value=e)},{default:c(()=>[r(j,{value:"Personal"},{default:c(()=>[o("span",ma,u(e.$t("site.Personal")),1)]),_:1}),r(j,{value:"Enterprise"},{default:c(()=>[o("span",va,u(e.$t("site.Enterprise")),1)]),_:1})]),_:1},8,["value"])]),h(r(F,{ref_key:"invoicePersonFormRef",ref:$l,model:Pl,rules:Il,"label-col":{style:{width:"140px",height:"40px"}},"wrapper-col":{style:{width:"520px"}},"label-align":"left",class:"mt-7 ml-5 custom-right-error max-w-[800px] invoice-form"},{default:c(()=>[r(Q,{name:"personalTitle","has-feedback":""},{label:c(()=>[o("span",fa,u(e.$t("site.InvoiceTitle")),1),a[35]||(a[35]=o("span",{class:"shop-red-star"},"*",-1))]),default:c(()=>[r(R,{value:Pl.personalTitle,"onUpdate:value":a[4]||(a[4]=e=>Pl.personalTitle=e),class:"h-[40px] w-full"},null,8,["value"])]),_:1}),r(Q,{name:"personalEmail","has-feedback":""},{label:c(()=>[o("span",ha,u(e.$t("site.PersonalEamil")),1),a[36]||(a[36]=o("span",{class:"shop-red-star"},"*",-1))]),default:c(()=>[r(R,{value:Pl.personalEmail,"onUpdate:value":a[5]||(a[5]=e=>Pl.personalEmail=e),class:"h-[40px] w-full"},null,8,["value"])]),_:1}),r(Q,{name:"personalContent","has-feedback":""},{label:c(()=>[o("span",xa,u(e.$t("site.InvoiceContent")),1),a[37]||(a[37]=o("span",{class:"shop-red-star"},"*",-1))]),default:c(()=>[r(_,{value:Pl.personalContent,"onUpdate:value":a[6]||(a[6]=e=>Pl.personalContent=e),class:"flex gap-6 inline-flex items-center h-[40px] custom-radio-btn"},{default:c(()=>[r(q,{value:"1"},{default:c(()=>[p(u(e.$t("site.Detailed")),1)]),_:1}),r(q,{value:"2"},{default:c(()=>[p(u(e.$t("site.Category")),1)]),_:1})]),_:1},8,["value"])]),_:1})]),_:1},8,["model","rules"]),[[b,"Personal"===kl.value]]),"Enterprise"===kl.value?(P(),g(F,{key:0,ref_key:"invoiceEnterpriseFormRef",ref:Ul,model:El,rules:jl,"label-col":{style:{width:"160px"}},"wrapper-col":{style:{width:"520px"}},"label-align":"left",class:"mt-7 ml-5 custom-right-error max-w-[800px] invoice-form"},{default:c(()=>[r(Q,{name:"enterpriseTitle","has-feedback":""},{label:c(()=>[o("span",ga,u(e.$t("site.InvoiceTitle")),1),a[38]||(a[38]=o("span",{class:"shop-red-star"},"*",-1))]),default:c(()=>[r(R,{value:El.enterpriseTitle,"onUpdate:value":a[7]||(a[7]=e=>El.enterpriseTitle=e),class:"h-[40px] w-full"},null,8,["value"])]),_:1}),r(Q,{name:"enterpriseNumber","has-feedback":""},{label:c(()=>[o("span",ba,u(e.$t("site.TaxNumber")),1),a[39]||(a[39]=o("span",{class:"shop-red-star"},"*",-1))]),default:c(()=>[r(R,{value:El.enterpriseNumber,"onUpdate:value":a[8]||(a[8]=e=>El.enterpriseNumber=e),class:"h-[40px] w-full"},null,8,["value"])]),_:1}),r(Q,{name:"enterpriseAddress","has-feedback":""},{label:c(()=>[o("span",Aa,u(e.$t("site.CompanyAddress")),1)]),default:c(()=>[r(R,{value:El.enterpriseAddress,"onUpdate:value":a[9]||(a[9]=e=>El.enterpriseAddress=e),class:"h-[40px] w-full"},null,8,["value"])]),_:1}),r(Q,{name:"enterpriseTele","has-feedback":""},{label:c(()=>[o("span",wa,u(e.$t("site.CompanyTelephone")),1)]),default:c(()=>[r(R,{value:El.enterpriseTele,"onUpdate:value":a[10]||(a[10]=e=>El.enterpriseTele=e),class:"h-[40px] w-full"},null,8,["value"])]),_:1}),r(Q,{name:"enterpriseBank","has-feedback":""},{label:c(()=>[o("span",ya,u(e.$t("site.DepositBank")),1)]),default:c(()=>[r(R,{value:El.enterpriseBank,"onUpdate:value":a[11]||(a[11]=e=>El.enterpriseBank=e),class:"h-[40px] w-full"},null,8,["value"])]),_:1}),r(Q,{name:"enterpriseAccount","has-feedback":""},{label:c(()=>[o("span",Ca,u(e.$t("site.BankAccount")),1)]),default:c(()=>[r(R,{value:El.enterpriseAccount,"onUpdate:value":a[12]||(a[12]=e=>El.enterpriseAccount=e),class:"h-[40px] w-full"},null,8,["value"])]),_:1}),r(Q,{name:"enterpriseEmail","has-feedback":""},{label:c(()=>[o("span",ka,u(e.$t("site.PersonalEamil")),1),a[40]||(a[40]=o("span",{class:"shop-red-star"},"*",-1))]),default:c(()=>[r(R,{value:El.enterpriseEmail,"onUpdate:value":a[13]||(a[13]=e=>El.enterpriseEmail=e),class:"h-[40px] w-full"},null,8,["value"])]),_:1}),r(Q,{name:"enterpriseContent","has-feedback":""},{label:c(()=>[o("span",Pa,u(e.$t("site.InvoiceContent")),1),a[41]||(a[41]=o("span",{class:"shop-red-star"},"*",-1))]),default:c(()=>[r(_,{value:El.enterpriseContent,"onUpdate:value":a[14]||(a[14]=e=>El.enterpriseContent=e),class:"flex gap-6 inline-flex items-center h-[40px] custom-radio-btn"},{default:c(()=>[r(q,{value:"1"},{default:c(()=>[p(u(e.$t("site.Detailed")),1)]),_:1}),r(q,{value:"2"},{default:c(()=>[p(u(e.$t("site.Category")),1)]),_:1})]),_:1},8,["value"])]),_:1})]),_:1},8,["model","rules"])):d("",!0)])):d("",!0)]),o("section",Ea,[o("h3",$a,u(e.$t("site.BuyersMessage")),1),r(M,{value:_l.value,"onUpdate:value":a[15]||(a[15]=e=>_l.value=e),rows:6,class:A(["msg-textarea","shop-textarea"]),placeholder:""},null,8,["value"])]),o("div",Ua,[r(Wa,{checked:Tl.value,"onUpdate:checked":a[16]||(a[16]=e=>Tl.value=e)},null,8,["checked"]),o("span",Ia,[p(u(e.$t("site.ReadAndAgreed"))+" ",1),o("span",{class:"text-[#425CB3] cursor-pointer underline",onClick:a[17]||(a[17]=e=>Nl.value=!0)},u(e.$t("site.UserPurchaseNotice")),1)])])]),o("div",ja,[o("div",_a,[o("div",Ta,[o("span",Na,u(e.$t("site.SendTo"))+":",1),o("span",Ba,u(null==(l=nl.value)?void 0:l.province)+u(null==(t=nl.value)?void 0:t.city)+u(null==(s=nl.value)?void 0:s.area)+" "+u(null==(i=nl.value)?void 0:i.detail),1)]),o("div",Oa,[a[42]||(a[42]=o("span",{class:"w-[72px] shrink-0"},null,-1)),o("span",Ra,u(null==(y=nl.value)?void 0:y.name)+" "+u(null==(k=nl.value)?void 0:k.mobile),1)])]),o("div",Qa,["zh_CN"===w(B)?(P(),n(m,{key:0},[p(u(e.$t("site.Total"))+" ",1),o("span",Sa,u(gl.value),1),p(" "+u(e.$t("site.ItemsSelected")),1)],64)):(P(),n(m,{key:1},[o("span",Da,u(gl.value),1),p(" "+u(e.$t("site.ItemsSelectedProduct")),1)],64))]),o("div",qa,[o("div",Fa,[p(u(e.$t("site.PaidIn"))+":",1),o("span",Ma,"ï¿¥"+u(yl.value)+".00",1)])]),o("div",Ya,[r(Xa,{type:"primary",onClick:Vl,class:"!w-[242px] !h-[50px] !p-0 bg-[#425CB3] border-none rounded-[10px] text-[16px] font-arial-regular font-bold text-white flex items-center justify-center"},{default:c(()=>[p(u(e.$t("site.ContinueWithPurchase")),1)]),_:1})])])]),r(w($),{"bg-color":"#425CB3","body-width":"100%"},{default:c(()=>[r(w(U))]),_:1}),r(Ha,{visible:Nl.value,"onUpdate:visible":a[19]||(a[19]=e=>Nl.value=e),width:"60%",class:"notice-modal",maskClosable:!1},{title:c(()=>[o("span",Va,u(e.$t("site.Notice")),1)]),footer:c(()=>[r(Xa,{type:"primary",onClick:a[18]||(a[18]=e=>Nl.value=!1)},{default:c(()=>a[43]||(a[43]=[p(" æ¥å ")])),_:1})]),default:c(()=>[o("div",za,[o("div",Ja,u(e.$t("site.PurchaseNoticeContent")),1),o("div",Ka,[o("b",null,u(e.$t("site.Online")),1),p(" "+u(e.$t("site.PurchaseNoticeContentDetail")),1)]),o("div",null,[o("b",null,u(e.$t("site.Print")),1),p(" "+u(e.$t("site.PrintContent")),1)])])]),_:1},8,["visible"]),r(Ha,{visible:cl.value,"onUpdate:visible":a[28]||(a[28]=e=>cl.value=e),width:"960px","mask-closable":!1,"ok-text":e.$t("site.SaveConsigneeInformation"),cancelButtonProps:{style:{display:"none"}},destroyOnClose:!0,onOk:Ml,onCancel:Yl},{title:c(()=>[o("span",Za,u(pl.value?e.$t("site.EditReceivingAddress"):e.$t("site.AddReceivingAddress")),1)]),default:c(()=>[r(F,{ref_key:"addressFormRef",ref:ml,model:vl,rules:"zh_CN"===w(B)?fl:hl,"label-col":{span:3},"wrapper-col":{span:18}
1,class:"address-form mt-7"},{default:c(()=>[r(Q,{label:e.$t("site.consignee")+"ï¼",name:"name"},{default:c(()=>[r(R,{value:vl.name,"onUpdate:value":a[20]||(a[20]=e=>vl.name=e)},null,8,["value"])]),_:1},8,["label"]),r(Q,{label:e.$t("site.phone")+"ï¼",name:"mobile"},{default:c(()=>[r(R,{value:vl.mobile,"onUpdate:value":a[21]||(a[21]=e=>vl.mobile=e)},null,8,["value"])]),_:1},8,["label"]),r(Q,{label:e.$t("site.Location")+"ï¼",name:"province"},{default:c(()=>[o("div",Ga,[r(el,{value:vl.province,"onUpdate:value":a[22]||(a[22]=e=>vl.province=e),options:Bl.value,onChange:a[23]||(a[23]=e=>ql(e)),placeholder:"zh_CN"===w(B)?"è¯·éæ©":"Please select",getPopupContainer:e=>e.parentNode,allowClear:""},null,8,["value","options","placeholder","getPopupContainer"]),r(el,{value:vl.city,"onUpdate:value":a[24]||(a[24]=e=>vl.city=e),options:Ol.value,onChange:a[25]||(a[25]=e=>Fl(e)),placeholder:"zh_CN"===w(B)?"è¯·éæ©":"Please select",getPopupContainer:e=>e.parentNode,allowClear:""},null,8,["value","options","placeholder","getPopupContainer"]),r(el,{value:vl.area,"onUpdate:value":a[26]||(a[26]=e=>vl.area=e),options:Rl.value,placeholder:"zh_CN"===w(B)?"è¯·éæ©":"Please select",getPopupContainer:e=>e.parentNode,allowClear:""},null,8,["value","options","placeholder","getPopupContainer"])])]),_:1},8,["label"]),r(Q,{label:e.$t("site.DetailedAddress")+"ï¼",name:"detail"},{default:c(()=>[r(R,{value:vl.detail,"onUpdate:value":a[27]||(a[27]=e=>vl.detail=e)},null,8,["value"])]),_:1},8,["label"])]),_:1},8,["model","rules"])]),_:1},8,["visible","ok-text"])])],64)}}}),[["__scopeId","data-v-aab5a67d"]]);export{Wa as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.