1 |
- !function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function t(t){for(var o=1;o<arguments.length;o++){var n=null!=arguments[o]?arguments[o]:{};o%2?e(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function r(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r,o,n,a,i){try{var l=e[a](i),c=l.value}catch(s){return void r(s)}l.done?t(c):Promise.resolve(c).then(o,n)}function n(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function l(e){o(i,n,a,l,c,"next",e)}function c(e){o(i,n,a,l,c,"throw",e)}l(void 0)}))}}System.register(["./index-legacy-e5f315bc.js","./index-legacy-0f489ce6.js","./index-legacy-7b9d34fe.js","./index-legacy-7a4bb32a.js","./index-legacy-9eb76114.js","./index-legacy-b25a26cf.js","./index-legacy-80eba48c.js","./index-legacy-323a5984.js","./index-legacy-45167267.js","./index-legacy-05aefd32.js","./browser-legacy-cef1ca35.js","./index-legacy-2d653f1c.js","./index-legacy-bcd708e6.js","./Checker-legacy-c01163fc.js"],(function(e,r){"use strict";var o,a,i,l,c,s,d,_,u,m,p,f,g,h,y,A,v,b,w,C,I,x,T,z,k,N,S,P,j,D,E,O,F,q,R;return{setters:[e=>{o=e.d,a=e.q,i=e.e,l=e.a,c=e.A,s=e.I,d=e.F,_=e.x,u=e.P,m=e.C,p=e.Q,f=e.R,g=e.M,h=e.D,y=e.S,A=e.r,v=e.w,b=e.y,w=e.z,C=e.U,I=e.V,x=e.W,T=e.E},e=>{z=e.C},e=>{k=e.T},e=>{N=e.M},e=>{S=e.R,P=e.a},e=>{j=e.C},e=>{D=e.O},e=>{E=e.F},e=>{O=e.F},e=>{F=e.O},e=>{q=e.b},e=>{R=e.I},null,null],execute:function(){var B=document.createElement("style");B.textContent='._cartConfirm_1c37u_1{padding:.26667rem .37333rem 2.66667rem}._cartConfirm_1c37u_1 .van-cell-group{border-radius:.16rem;overflow:hidden}._cartConfirmBox_1c37u_9{padding:0;margin-bottom:.32rem;border-radius:.26667rem;overflow:hidden}._cartConfirmBox_1c37u_9 ._cartItem_1c37u_15{margin:0;border-radius:0;padding:0}._cartConfirmBox_1c37u_9 .van-cell__value{color:#666;font-weight:500}._mlr13_1c37u_24{margin-right:.34667rem;margin-left:.34667rem}._protocol_1c37u_28{box-shadow:none!important;padding:.21333rem 0!important;background:#fff4e9}._protocol_1c37u_28 .van-checkbox__label{color:#777}._paymentContainer_1c37u_36{display:flex;align-items:center;justify-content:space-between;font-size:.37333rem;padding-left:.32rem;padding-right:.32rem;padding-bottom:calc(.53333rem + env(safe-area-inset-bottom));box-shadow:none!important;background:#fff;padding-top:.32rem}._paymentContainer_1c37u_36 ._needPrice_1c37u_48{display:flex;align-items:center;color:#333;font-family:DINAlternate-Bold,DINAlternate}._paymentContainer_1c37u_36 ._needPrice_1c37u_48 span{font-size:.58667rem;font-weight:700;color:#fc1a19}._paymentContainer_1c37u_36 ._needPrice_1c37u_48 span i{font-style:normal;font-size:.48rem;margin-right:.08rem}._paymentContainer_1c37u_36 ._allPrice_1c37u_64{color:#aaa}._paymentContainer_1c37u_36 .van-button{height:1.06667rem;line-height:1.06667rem;min-width:2.98667rem}._cellItem_1c37u_72{padding:.4rem .32rem;border-radius:.26667rem;overflow:hidden}._cellItem_1c37u_72 ._img_1c37u_77{width:1.86667rem;height:1.86667rem;border-radius:.16rem;flex-shrink:0;overflow:hidden;margin-right:.4rem}._cellItem_1c37u_72 ._cellPrice_1c37u_85{font-size:.53333rem;font-weight:700;color:#333;line-height:.64rem}._cellItem_1c37u_72 ._numFont_1c37u_91{font-family:DINA}._cellItem_1c37u_72 ._numFont_1c37u_91 ._numPrefix_1c37u_94{font-size:.37333rem!important;margin-right:.05333rem}._cellItem_1c37u_72 ._goodsContent_1c37u_98 ._goodsNum_1c37u_98{font-size:.48rem;color:#777;line-height:.53333rem;flex-shrink:0}._cellItem_1c37u_72 ._goodsContent_1c37u_98 ._goodsPrice_1c37u_104{padding-top:.10667rem;display:flex;align-items:center;justify-content:space-between}._cellItem_1c37u_72 ._goodsContent_1c37u_98 ._goodsPrice_1c37u_104 ._free_1c37u_110{font-size:.37333rem}._cellItem_1c37u_72 ._goodsContent_1c37u_98 ._goodsNums_1c37u_113{font-size:.48rem;font-weight:700;color:#fc1a19;font-family:DINAlternate-Bold,DINAlternate}._cellItem_1c37u_72 ._goodsContent_1c37u_98 h2{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;display:flex;align-items:center;justify-content:space-between}._cellItem_1c37u_72 ._goodsContent_1c37u_98 ._brandName_1c37u_128{line-height:.48rem;font-size:.32rem;padding:0 .16rem;color:#be7332;background-color:#fff5e6;border-radius:.10667rem;border:.02667rem solid #FFE9D9}._cellItem_1c37u_72 ._goodsContent_1c37u_98 ._model_1c37u_137{padding-top:.08rem;font-size:.34667rem;color:#777;line-height:.48rem}._popupCode_1c37u_143 .van-popup__close-icon{color:#fff;right:.64rem}._codeContainer_1c37u_147{position:relative}._codeContainer_1c37u_147 ._codeClose_1c37u_150{display:inline-block;position:absolute;top:-1.46667rem;right:0;background:url(./images/icon-close.png) no-repeat center center;background-size:contain;width:.93333rem;height:.93333rem}._codeContainer_1c37u_147 ._codeImg_1c37u_160{width:8.82667rem;height:14.85333rem;background:url(./images/download.png) no-repeat center center;background-size:contain;margin:0 auto}._codeContainer_1c37u_147 ._codeImg_1c37u_160 ._codeTitle_1c37u_167{text-align:center;padding-top:.34667rem;font-size:.64rem;font-weight:700;color:#fff;text-shadow:.02667rem .02667rem .18667rem #f4672a}._codeContainer_1c37u_147 ._codeImg_1c37u_160 ._codeName_1c37u_175{padding:1.01333rem .32rem 0;font-size:.42667rem;font-weight:600;color:#fff;text-align:center}._codeContainer_1c37u_147 ._codeImg_1c37u_160 ._codeQr_1c37u_182{margin:.61333rem auto 0;width:5.89333rem;height:5.89333rem;padding:.26667rem;background:linear-gradient(180deg,#ffffff 0%,#ffffff 100%);border-radius:.29333rem;overflow:hidden}._codeContainer_1c37u_147 ._codeImg_1c37u_160 ._codeQr_1c37u_182 img{width:100%;height:100%}._codeContainer_1c37u_147 ._codeImg_1c37u_160 ._codeBtnText_1c37u_195{min-width:6.4rem;margin:.4rem auto 0;display:inline-block;background:linear-gradient(135deg,#ff9c63 0%,#ff7144 100%);border-radius:.48rem;padding:.16rem 0;font-size:.42667rem;font-weight:600;color:#fff}._codeContainer_1c37u_147 ._codeImg_1c37u_160 ._codeTips_1c37u_206{width:7.6rem;box-sizing:border-box;font-size:.32rem;font-weight:500;color:#333;line-height:.45333rem;background:#ffffff;overflow:hidden;border:.05333rem solid #ff8c57;border-radius:.26667rem;margin:.4rem auto 0;padding:.26667rem 0 .26667rem .21333rem}._codeContainer_1c37u_147 ._codeImg_1c37u_160 ._codeTips_1c37u_206 ._tipsTitle_1c37u_220{font-size:.34667rem;font-weight:500;color:#f16437;padding-bottom:.05333rem}._codeContainer_1c37u_147 ._close_1c37u_226{position:absolute;top:.32rem;right:.4rem}._codeContainer_1c37u_147 ._codeBottom_1c37u_231{position:relative;margin-top:.85333rem;background:#ffffff;border-radius:.53333rem .53333rem 0 0;padding-bottom:.26667rem}._codeContainer_1c37u_147 ._title_1c37u_238{font-size:.42667rem;font-weight:600;color:#333;line-height:.58667rem;padding:.4rem .4rem 0}._codeContainer_1c37u_147 ._title_1c37u_238 i{display:inline-block;margin-right:.16rem;width:.10667rem;height:.32rem;background:#ff8057;border-radius:.05333rem}._codeContainer_1c37u_147 ._shareImg_1c37u_253{width:1.25333rem;height:1.25333rem}._codeContainer_1c37u_147 ._shareText_1c37u_257{padding-top:.16rem;font-size:.37333rem;color:#333;line-height:.53333rem}._freight_1c37u_263{margin-top:.32rem;background:#ffffff;border-radius:.26667rem;overflow:hidden;padding:.4rem .32rem;font-size:.42667rem;color:#333}._freight_1c37u_263 .van-cell__value{color:#ff4e19}._submitBtn_1c37u_275{height:1.06667rem;border-radius:.32rem;border:0;padding:0 1.06667rem;font-size:.42667rem;font-weight:600;background:linear-gradient(121deg,#FFD892 0%,#FFCB75 100%);color:#5b2c03}._cellEntry_1kuxn_1{align-items:center}._cellEntry_1kuxn_1 .van-badge__wrapper{margin:0}._cellEntry_1kuxn_1 .van-cell__title{display:flex;align-items:center;margin-left:.37333rem}._cell_1kuxn_1{position:relative;align-items:center;padding:.34667rem .32rem .48rem}._cell_1kuxn_1:before{position:absolute;bottom:0;left:0;right:0;content:" ";display:block;height:.08rem;width:100%;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArIAAAAICAYAAAAFtxy6AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACsqADAAQAAAABAAAACAAAAAAhAq/nAAALn0lEQVR4Ac2cCXSU1RXH7/0yMxEIyNKyCq072Fo99Xi6oLGxkBBANmEgi4AVxQVEiClbZmJmshABI2hUSlugMgkGZRGQsplKbDltqdWW1mCLVVAwyGIjIWSb1/+bkBqPJt815PH5zpkzk/l+c9/7bt533333vvdYBYOZFA4/RherML9IAwemsNdba1dlSYmKeruOVpGiu+xYo9eZlvmTaTYzK7t61IoVHamiYjMpNcSONXZdt5M5jX2+AkkdizeonmeraRf0/D0Jb4Rh0v0hNTOF10vko99eDR3v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aIfPeIAPsRvHXnj5PxJx0MW1uH8923duDRMjMuFyJSISe1LSZqSsBqNjObqGCXreGuMm7xwvIkKCggf4TjixOgXr2Bom1P8L8vkekKS59S0FQ2oWjnEROWMCFbQJgXOVgaUxOdIfQ89PgJ0t5Q1w9dDzPXBifyORrU80qSiPrG0bL+FNMDCcVcqisZnJiNQLilq+vAudPq0joLcIcDMIRzIgCdDzW5IKviYnmhzExDceE9/DkjZjQvZ1ONHkD9SlywiePfsTSZuxVvMn2Ni1BZHYGAlvgkF/3ti1OyVJNinq+pGNTKKGBv28uky0RyjzKaS5Z0kn6xgDf44xMF8o2wiGMTAde2+0Y2pbIvuWgsGnMf49aAubAvRJG0STYTNE+4XafKKJXjZE2DOj6CgcV/36C5ZrbcYm8EOSW/sfcx9G2MfnCeoAAAAASUVORK5CYII=) repeat center left;background-size:90%}._cell_1kuxn_1 .van-cell__title{margin-left:.37333rem}._cell_1kuxn_1 .van-cell__right-icon{font-size:.53333rem;color:#d8d8d8}._userName_1kuxn_36{color:#333;font-size:.42667rem;font-weight:500}._phone_1kuxn_41{font-size:.42667rem;color:#777;margin-left:.37333rem}._addressInfo_1kuxn_46{font-size:.37333rem;color:#777;line-height:.53333rem}._emtry_1kuxn_51{font-size:.37333rem;color:#333}._payment_1ot0l_1 .van-cell__title{font-size:.42667rem;padding-left:.26667rem}._payment_1ot0l_1 .van-icon-cross{position:absolute;z-index:1;top:.34667rem;left:.34667rem;color:#ccc;cursor:pointer}._payment_1ot0l_1 ._title_1ot0l_13{background-color:#fff;font-size:.42667rem;font-weight:400;color:#1a1a1a;padding:.37333rem 0 .32rem;text-align:center}._payment_1ot0l_1 ._payAmount_1ot0l_21{background-color:#fff;padding:.53333rem 0;text-align:center}._payment_1ot0l_1 ._payAmount_1ot0l_21 p{font-size:.37333rem;color:#666;padding-bottom:.26667rem}._payment_1ot0l_1 ._payAmount_1ot0l_21 ._amount_1ot0l_31{font-size:.74667rem;color:#000}._payment_1ot0l_1 ._payAmount_1ot0l_21 ._amount_1ot0l_31 span{font-size:.48rem}._payment_1ot0l_1 ._blank_1ot0l_38{height:1.73333rem}._payment_1ot0l_1 ._payTypeRe_1ot0l_41{display:flex;align-items:center}._payment_1ot0l_1 ._recommend_1ot0l_45{margin-left:.13333rem;background:linear-gradient(122deg,#ffa371 0%,#ff6b3b 100%);border-radius:.26667rem;font-size:.32rem;color:#fff;line-height:.42667rem;padding:0 .13333rem}._payment_1ot0l_1 ._payBtn_1ot0l_54{width:90%!important;margin:0 auto;font-size:.42667rem;font-weight:600;margin-bottom:.53333rem}._userAuth_1wdij_1{min-height:100vh;background-color:#f6f8f9;overflow:hidden}._userAuth_1wdij_1 ._cellGroup_1wdij_6{margin:.32rem .34667rem .64rem;border-radius:.32rem;overflow:hidden}._userAuth_1wdij_1 .van-cell{flex-direction:column;font-size:.42667rem;padding:.48rem .34667rem}._userAuth_1wdij_1 .van-field__label{width:100%;margin-right:0;color:#333;font-size:.42667rem;font-weight:500}._userAuth_1wdij_1 .van-cell--required:before{left:.4rem}._userAuth_1wdij_1 .van-field__body{margin-top:.26667rem}._userAuth_1wdij_1 .van-form{margin-top:4.64rem;overflow:hidden}._userAuth_1wdij_1 .van-tag+.van-tag{margin-left:.21333rem}._userAuth_1wdij_1 ._btnGroup_1wdij_38{padding:0 .37333rem .4rem}._userAuth_1wdij_1 ._otherBtn_1wdij_42{height:1.06667rem;border-radius:.32rem;border:0;padding:0 1.06667rem;font-size:.42667rem;font-weight:600;background:linear-gradient(121deg,#FFD892 0%,#FFCB75 100%);color:#5b2c03}._saveShareImage_1vhog_1{position:relative;overflow:hidden}._saveShareImage_1vhog_1 ._tips_1vhog_5{margin:.66667rem .58667rem .32rem;padding:.53333rem 0 .4rem;text-align:left;border-top:.02667rem dashed #C8C8C8}._saveShareImage_1vhog_1 ._tips_1vhog_5 ._tipsTitle_1vhog_11{font-size:.4rem;font-weight:500;color:#f96a33;line-height:.56rem}._saveShareImage_1vhog_1 ._tips_1vhog_5 ._tipsContent_1vhog_17{padding-top:.18667rem;font-size:.34667rem;color:#333;line-height:.53333rem}._previewSection_1vhog_23{z-index:-1;position:absolute;left:0;right:0;top:0}._topImage_1vhog_30{position:absolute;top:0;left:0;right:0;top:var(--header-height)}._shareContaienr_1vhog_37{position:relative;margin:0 .58667rem;padding:.53333rem .53333rem 0;background:#ffffff;border-radius:.48rem;text-align:center}._shareContaienr_1vhog_37 ._schoolName_1vhog_45{font-size:.53333rem;font-weight:500;color:#000;line-height:.74667rem}._shareContaienr_1vhog_37 ._shareType_1vhog_51{font-size:.4rem;padding:.21333rem 0 .69333rem;color:#000;line-height:.56rem}._shareContaienr_1vhog_37 ._shareType_1vhog_51 span{color:#f96a33}._shareContaienr_1vhog_37 ._qrcodeSection_1vhog_60{width:4.21333rem;height:4.21333rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAT4AAAE8CAMAAABuLi0JAAAA/FBMVEUAAAD////////////Z2dnY2NjZ2dnY2NjZ2dna2trf39/a2tra2trZ2dna2trZ2dna2tra2trc3Nze3t7a2tra2tra2tra2tra2tra2trb29vs7Oza2tra2trZ2dnb29va2tr////////b29v////a2tra2trt7e3d3d3Z2dna2trZ2dn////a2tra2tra2tr////////////////a2tra2tra2tr////Z2dn////////////a2tr////Z2dna2tra2tr////////////////Z2dn////h4eHY2Nj////////////////////////////////////Z2dn8/PzmZWJ/AAAAUXRSTlMA7LG29CZRuf5fBOR862P7PTAYEqNX1I6BRikIxPawBsHmvbCidE0eDu5uavDQubN6ZF8y2J6X9t/X08/Ixr6lh25nWVM2JAyllZSOiYBHQi3EpmOeAAAHMElEQVR42uzaWU/qQBjG8UdP1dICLWUXEVRkcVfcox6FuMVoMu/3/zAnJtMFmMI0OVfl/V2VhKt/ZqbTThFjLV89rdiGSRHOZbaBFDo8diiOadiV02p+DQnUr2xSa6ew31/SYF/VoaVYsyleFmlTJk12rbg4XtWgeS6RNqekzaguCJjP0XxNpM0xJZDLI57XpkUqSJttSqTtIUbdH3pLt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illMky1ZS/Xty5Mmq5SFlvLppIK1KhbOnVa70zJmsOIUDwqWISjCPUkvYD2gv+fSJMKwCgdFZwXJfgJ+cPco4Ts4hgAAAABJRU5ErkJggg==) no-repeat center center;background-size:contain;margin:0 auto;padding:.37333rem}._shareContaienr_1vhog_37 ._memo_1vhog_68{display:inline-block;margin:.53333rem 0 0;background:linear-gradient(121deg,#FFD892 0%,#FFCB75 100%);border-radius:.48rem;font-size:.42667rem;font-weight:500;color:#fff;line-height:.58667rem;padding:.18667rem .45333rem;color:#5b2c03}._qrcode_izshm_1{position:relative}._qrcode_izshm_1 ._qrcodeCanvas_izshm_4{width:100%!important;height:100%!important}._qrcode_izshm_1 ._qrcodeLogo_izshm_8{position:absolute;top:50%;left:50%;margin-left:-.53333rem;margin-top:-.53333rem;width:1.06667rem!important;height:1.06667rem!important;border-radius:.10667rem}._qrcode_izshm_1 ._qrcodeLogo_izshm_8._small_izshm_18{margin-left:-.26667rem;margin-top:-.26667rem;width:.53333rem!important;height:.53333rem!important}\n',document.head.appendChild(B);const V={cartConfirm:"_cartConfirm_1c37u_1",cartConfirmBox:"_cartConfirmBox_1c37u_9",cartItem:"_cartItem_1c37u_15",mlr13:"_mlr13_1c37u_24",protocol:"_protocol_1c37u_28",paymentContainer:"_paymentContainer_1c37u_36",needPrice:"_needPrice_1c37u_48",allPrice:"_allPrice_1c37u_64",cellItem:"_cellItem_1c37u_72",img:"_img_1c37u_77",cellPrice:"_cellPrice_1c37u_85",numFont:"_numFont_1c37u_91",numPrefix:"_numPrefix_1c37u_94",goodsContent:"_goodsContent_1c37u_98",goodsNum:"_goodsNum_1c37u_98",goodsPrice:"_goodsPrice_1c37u_104",free:"_free_1c37u_110",goodsNums:"_goodsNums_1c37u_113",brandName:"_brandName_1c37u_128",model:"_model_1c37u_137",popupCode:"_popupCode_1c37u_143",codeContainer:"_codeContainer_1c37u_147",codeClose:"_codeClose_1c37u_150",codeImg:"_codeImg_1c37u_160",codeTitle:"_codeTitle_1c37u_167",codeName:"_codeName_1c37u_175",codeQr:"_codeQr_1c37u_182",codeBtnText:"_codeBtnText_1c37u_195",codeTips:"_codeTips_1c37u_206",tipsTitle:"_tipsTitle_1c37u_220",close:"_close_1c37u_226",codeBottom:"_codeBottom_1c37u_231",title:"_title_1c37u_238",shareImg:"_shareImg_1c37u_253",shareText:"_shareText_1c37u_257",freight:"_freight_1c37u_263",submitBtn:"_submitBtn_1c37u_275"},U="_cell_1kuxn_1",L="_userName_1kuxn_36",M="_phone_1kuxn_41",G="_addressInfo_1kuxn_46",X="_emtry_1kuxn_51",J=o({name:"cart-address",props:{item:{type:Object,default:()=>({})},isLink:{type:Boolean,default:!0},setAddress:{type:Function,default:e=>{}}},setup(e){const t=a(),r=i((()=>[e.item.provinceName,e.item.cityName,e.item.regionName,e.item.detailAddress].join(""))),o=()=>{e.isLink&&t.push("/shopAddress")};return()=>l(d,null,[e.item&&e.item.phoneNumber?l(z,{class:U,"is-link":e.isLink,onClick:()=>o(),titleStyle:{marginLeft:"0"}},{title:()=>l("div",null,[l("span",{class:L},[e.item.name]),l("span",{class:M},[e.item&&e.item.phoneNumber&&e.item.phoneNumber.replace(/^(\d{3})\d{4}(\d+)/,"$1****$2")]),e.item.defaultStatus&&l(k,{type:"primary",color:"linear-gradient(90deg, #FF8633 0%, #FFB047 100%)",round:!0,style:{"vertical-align":"text-top",marginLeft:"10px",padding:"1px 8px"}},{default:()=>[c("默认")]})]),label:()=>l("span",{class:G},[r.value])}):l(z,{class:U,"is-link":e.isLink,onClick:()=>o()},{icon:()=>l(s,{name:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAMAAACfWMssAAABiVBMVEUAAAD/qDn/oED/pDf/iTT/jjf/sEf/sEf/rEb/rkb/oED/qEL/sEf/oD//oD//sEf/kDf/jzf/ljr/ijX/kDb/oUH/rkr/kTb/sUX/kTP/jTb/sEf/iDP/r0b/qkT/lTr/izb/mT3/lzv/sEf/jzf/sEf/rEX/kzn/sEf/o0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egDYzfSBt2CqUKtT9i72MVugCBj4SvKFUovsoqnkEToFTtQidShMqlWTAFVUWKfcJ1pAhlq7D3MU+fbSJwggO3oRqsItSjiFKd4FLdpy9ljuuK1Qx99heBfcI3pHiqt2ZaV0wl4NEhdzhTqI5yUW/VCgXzeg/uKVw5ZlCq8j9Jj2SsVIoljY95DHZzLScv/5FMY0tRUKrfcZPXIhg146IpBSvOwrVihlU60cglThQMfhHpRUZTLl3kub0TY8pBTMPowHM1uB9H8yaG5yqMDhhWeJKnt+tcJAWTHA8rPB6NFaAaZAwvHRoONJDRflS3gEP7EQ1kfgVQEMgDvK3wCoClg/cjJXP8foSl03zNaZIr2ZzpfiROfrG2dh3Qpg2r3NrnADhoa8s8eLF5wHbF2udgu4INUmufYx9r15Ip2JLxJtDa52ATiG2nlc+ZdFoa3WanCka3lbXmFcFaW4b4sx0z3/7fh//zfdvlEDfKRQAAAABJRU5ErkJggg==",size:28},null),title:()=>l("div",{class:X},[c("去填写收货地址")])})])}}),Q="_payment_1ot0l_1",Y="_title_1ot0l_13",Z="_payAmount_1ot0l_21",H="_amount_1ot0l_31",W="_blank_1ot0l_38",K="_payTypeRe_1ot0l_41",$="_recommend_1ot0l_45",ee="_payBtn_1ot0l_54",te=o({name:"payment",props:{paymentConfig:{type:Object,default:{}}},emits:["backOut","close","confirm"],setup(e,{slots:t,attrs:r,emit:o}){const a=_({payType:"wx",pay_channel:""}),i=()=>{p({message:"是否放弃本次付款",confirmButtonText:"继续付款",cancelButtonText:"放弃",showCancelButton:!0}).catch(n((function*(){yield d(),o("backOut"),o("close")})))},d=function(){var e=n((function*(e){}));return function(t){return e.apply(this,arguments)}}(),g=function(){var e=n((function*(){const e=a.payType;f().weixin?"zfb"==e?(a.pay_channel="alipay_qr",h("qrCode")):"wx"==e&&(a.pay_channel="wx_pub",h("pay")):f().alipay?"zfb"==e?(a.pay_channel="alipay_wap",h("pay")):"wx"==e&&(a.pay_channel="wx_pub",h("qrCode")):("zfb"==e?a.pay_channel="alipay_qr":"wx"==e&&(a.pay_channel="wx_pub"),h("qrCode"))}));return function(){return e.apply(this,arguments)}}(),h=e=>{o("confirm",{payCode:"qrCode"==e?"payCenter":"payResult",pay_channel:a.pay_channel})};return()=>l("div",{class:Q},[l(s,{onClick:i,name:"cross",size:20},null),l("div",{class:[Y]},[c("选择支付方式")]),l("div",{class:Z},[l("p",null,[c("应付金额")]),l("div",{class:H},[l("span",null,[c("¥ ")]),u(e.paymentConfig.currentPrice)])]),l(S,{modelValue:a.payType,"onUpdate:modelValue":e=>a.payType=e},{default:()=>[l(j,{border:!1},{default:()=>[l(z,{border:!0,center:!0,onClick:()=>{a.payType="wx"}},{icon:()=>l(s,{name:"wechat-pay",color:"#15c434",size:22},null),"right-icon":()=>l(P,{name:"wx"},null),title:()=>l("div",{class:K},[c("微信支付 "),l("span",{class:$},[c("推荐")])])}),l(z,{title:"支付宝支付",border:!0,center:!0,onClick:()=>{a.payType="zfb"}},{icon:()=>l(s,{name:"alipay",color:"#009fe9",size:22},null),"right-icon":()=>l(P,{name:"zfb"},null)})]})]}),l("div",{class:W},null),l(m,{type:"primary",class:ee,block:!0,round:!0,onClick:g},{default:()=>[c("确认支付")]})])}}),re="_userAuth_1wdij_1",oe="_cellGroup_1wdij_6",ne="_otherBtn_1wdij_42",ae=o({name:"UserAuth",props:{onSuccess:{type:Function,default:()=>{}},hideHeader:{type:Boolean,default:!1}},data:()=>({form:{realName:"",idCardNo:""}}),mounted(){const e=g.user.data;this.form.realName=null==e?void 0:e.account.realName},methods:{onSubmit(){var e=this;return n((function*(){try{const r="/edu-app/sysAccount/realNameAuth";yield h.post(r,{data:t(t({},e.form),{},{contract:!0,save:!0})}),g.user.data.account.realName=e.form.realName,g.user.data.account.idCardNo=e.form.idCardNo,e.onSuccess()}catch(r){}}))()}},render(){return l(E,{class:re,onSubmit:this.onSubmit},{default:()=>[!this.hideHeader&&l(y,{title:"实名认证"},null),l(j,{inset:!0,class:oe},{default:()=>[l(O,{required:!0,label:"真实姓名",modelValue:this.form.realName,"onUpdate:modelValue":e=>this.form.realName=e,rules:[{required:!0,message:"请填写真实姓名"}],name:"realName",placeholder:"请填写真实姓名",autocomplete:"off",maxlength:"50"},null),l(O,{required:!0,label:"身份证号",modelValue:this.form.idCardNo,"onUpdate:modelValue":e=>this.form.idCardNo=e,maxlength:18,autocomplete:"off",rules:[{required:!0,message:"请输入身份证号"},{pattern:/^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,message:"请输入正确的身份证号"}],placeholder:"请输入身份证号"},null)]}),l("div",{class:["btnGroup"]},[l(m,{block:!0,round:!0,type:"primary","native-type":"submit",class:ne},{default:()=>[c("确定")]})])]})}}),ie={WAIT_PAY:"待支付",PAYING:"支付中",PAID:"已付款",TIMEOUT:"已关闭",FAIL:"支付失败",CLOSED:"已关闭",REFUNDING:"退款中",REFUNDED:"已退款"},le="_saveShareImage_1vhog_1",ce="_tips_1vhog_5",se="_tipsTitle_1vhog_11",de="_tipsContent_1vhog_17",_e="_shareContaienr_1vhog_37",ue="_schoolName_1vhog_45",me="_shareType_1vhog_51",pe="_qrcodeSection_1vhog_60",fe="_memo_1vhog_68",ge=""+new URL("smallLogo-517ff5bd.png",r.meta.url).href,he="_qrcode_izshm_1",ye="_qrcodeCanvas_izshm_4",Ae="_qrcodeLogo_izshm_8",ve="_small_izshm_18",be=o({props:{text:{type:String,default:""},size:{type:String,default:"200px"},logoSize:{type:String,default:"default"}},setup(e){const t=A(),r=()=>{q.toCanvas(t.value,e.text,{margin:1},(e=>{e&&console.log(e),console.log("success")}))};return v((()=>e.text),(()=>{r()})),b((()=>{w((()=>{r()}))})),()=>l("div",{class:he,style:{width:e.size,height:e.size}},[l("canvas",{ref:t,class:ye},null),l("img",{src:ge,class:[Ae,"small"===e.logoSize&&ve]},null)])}}),we=o({name:"qrcode-payment",props:{url:{type:String,default:""},pay_channel:{type:String,default:"wx_pub"},orderType:{type:String,default:""}},setup:e=>()=>l("div",{class:[le]},[l("div",{class:[_e]},[l("div",{class:ue},["VIP"===e.orderType?"会员购买":"报名缴费"]),l("div",{class:me},[c("请截图下方二维码"),l("span",null,[c("登录"),"wx_pub"===e.pay_channel?"微信":"支付宝",c("扫码支付")])]),l("div",{class:pe},[l(be,{text:e.url,logoSize:"small",size:"100%"},null)]),l("div",{class:fe},[c("请在30分钟内扫码支付")])]),l("div",{class:[ce]},[l("div",{class:se},[c("使用说明:")]),l("div",{class:de},[c("1.打开"),"wx_pub"===e.pay_channel?"微信":"支付宝",c("扫一扫"),l("br",null,null),c("2.选择相册中的二维码"),l("br",null,null),c("3.请在30分钟内扫码支付")])])])});e("default",o({name:"order-detail",setup(){const e=C(),t=a(),r=_({paymentType:"adapay",orderTimer:null,paymentStatus:!1,showQrcode:!1,qrCodeUrl:"",pay_channel:"",orderNo:e.query.orderNo,orderInfo:{},goodsInfos:[],config:e.query.config?JSON.parse(e.query.config):{},hasFreight:!e.query.hf,freight:"",agreeStatus:!0,showHeader:!1,authShow:!1,selectGoodsId:null,currentPrice:0,hasInstrument:!1,dialogStatus:!1,dialogMessage:"",submitStatus:!1}),o=i((()=>r.orderInfo.orderType)),s=A({}),p=function(){var e=n((function*(){try{const{data:e}=yield h.get("/edu-app/userPaymentOrder/detail/"+r.orderNo),t=e.goodsInfos||[];r.orderInfo=e;let o=!1;t.forEach((e=>{const t=e.goodsUrl?e.goodsUrl.split(",")[0]:"";e.goodsUrl=t,"INSTRUMENTS"===e.goodsType&&(o=!0)})),r.goodsInfos=t,s.value.id||(s.value=e.addresses||{}),r.hasInstrument=o,r.freight=o?"到付":"免运费","WAIT_PAY"!==e.status&&"PAYING"!==e.status&&(r.dialogStatus=!0,r.dialogMessage="订单"+ie[e.status])}catch(e){}}));return function(){return e.apply(this,arguments)}}(),v=e=>{const t=r.config;r.pay_channel=e.pay_channel;const o=x.stringify({pay_channel:e.pay_channel,wxAppId:t.wxAppId,alipayAppId:t.alipayAppId,paymentType:r.paymentType,body:t.body,price:t.price,orderNo:t.merOrderNo,userId:t.userId});"payResult"===e.payCode?window.location.href=window.location.origin+"/classroom-app/#/payResult?"+o:(r.qrCodeUrl=window.location.origin+"/classroom-app/#/payDefine?"+o,r.showQrcode=!0,r.paymentStatus=!1,setTimeout((()=>{w()}),300))},w=function(){var t=n((function*(){const t=setInterval(n((function*(){if("order-detail"==e.name){r.orderTimer=t;try{const{data:e}=yield h.post("/edu-app/open/userOrder/paymentStatus/"+r.orderNo,{hideLoading:!0});"WAIT_PAY"!==e.status&&"PAYING"!==e.status&&(r.showQrcode=!1,clearInterval(r.orderTimer),setTimeout((()=>{q()}),100))}catch(o){clearInterval(r.orderTimer)}}else clearInterval(t)})),5e3)}));return function(){return t.apply(this,arguments)}}(),S=function(){var e=n((function*(){clearInterval(r.orderTimer),"VIP"===o.value?E(P):O(P)}));return function(){return e.apply(this,arguments)}}(),P=()=>{const e=r.pay_channel;if(e){const t=(e=>{let t="qrCode";return f().weixin?"alipay_qr"==e||"alipay_wap"==e?t="qrCode":"wx_pub"==e&&(t="pay"):t=f().alipay&&"alipay_wap"==e?"pay":"qrCode","qrCode"==t?"payDefine":"payResult"})(r.pay_channel);v({payCode:t,pay_channel:e})}else"VIP"===o.value?r.paymentStatus=!0:v({payCode:"payResult",pay_channel:"wx_pub"})},E=function(){var e=n((function*(e){try{if(!r.agreeStatus)return void T("请先阅读并同意《音乐数字课堂服务协议》");const o=g.user.data;if(null==o||!o.account.realName||null==o||!o.account.idCardNo)return void(r.authShow=!0);r.submitStatus=!0;const{data:n}=yield h.post("/edu-app/userPaymentOrder/updateReceiveAddress",{hideLoading:!1,data:{orderNo:r.orderNo,orderType:"VIP"}});r.pay_channel=n.paymentChannel,"WAIT_PAY"!==n.status&&"PAYING"!==n.status?t.replace({path:"/payment-result",query:{orderNo:r.orderNo}}):(e&&e(),r.submitStatus=!1)}catch(o){r.submitStatus=!1}}));return function(t){return e.apply(this,arguments)}}(),O=function(){var e=n((function*(e){if(!s.value.id&&r.hasInstrument)return void T("请选择收货地址");if(!r.agreeStatus)return void T("请先阅读并同意《音乐数字课堂服务协议》");const t=g.user.data;if(null!=t&&t.account.realName&&null!=t&&t.account.idCardNo){r.submitStatus=!0;try{const{data:t}=yield h.post("/edu-app/userPaymentOrder/updateReceiveAddress",{hideLoading:!1,data:{orderNo:r.orderNo,orderType:"SCHOOL_REGISTER",receiveAddress:s.value.id||""}});r.pay_channel=t.paymentChannel,"WAIT_PAY"!==t.status&&"PAYING"!==t.status?q():(e&&e(),r.submitStatus=!1)}catch(o){r.submitStatus=!1}}else r.authShow=!0}));return function(t){return e.apply(this,arguments)}}(),q=()=>{t.replace({path:"/payment-result",query:{orderNo:r.orderNo}})},B=function(){var e=n((function*(){try{yield h.post("/edu-app/userPaymentOrder/cancelPayment/"+r.orderNo),t.back()}catch(e){}}));return function(){return e.apply(this,arguments)}}(),U=()=>{r.authShow=!1,S()};return b((()=>{f().isApp?r.showHeader=!0:r.showHeader=!1;let e=sessionStorage.getItem("addressDetails");e=e?JSON.parse(e):{},s.value=e,sessionStorage.removeItem("addressDetails"),p()})),()=>l(d,null,[f().isApp&&l(y,{border:!1},null),l("div",{class:V.cartConfirm},[r.hasInstrument&&l("div",{class:V.cartConfirmBox},[l(J,{item:s.value},null)]),l(j,{style:{margin:0},border:!1},{default:()=>[r.goodsInfos&&r.goodsInfos.map((e=>l(z,{class:V.cellItem},{icon:()=>l(R,{class:V.img,src:e.goodsUrl},null),title:()=>l("div",{class:V.goodsContent},[l("h2",null,[l("span",null,[e.goodsName]),l("span",{class:V.goodsNum},[c("x "),e.goodsNum])]),l("div",{class:V.goodsPrice},[l(k,{class:V.brandName},{default:()=>["VIP"===e.goodsType?"12个月":e.brandName]}),l("span",{class:[V.goodsNums,e.paymentCashAmount>0?V.numFont:V.free]},[e.paymentCashAmount>0?l(d,null,[l("span",{class:V.numPrefix},[c("¥ ")]),u(e.paymentCashAmount)]):"免费"])]),l("p",{class:V.model},[e.description])])})))]}),r.hasInstrument&&l(z,{class:V.freight,title:"运费",value:r.freight},null)]),l(N,{position:"bottom"},{default:()=>[l("div",{class:V.paymentContainer},[l("div",{class:V.payemntPrice},[l("p",{class:V.needPrice},[c("支付金额:"),l("span",null,[l("i",null,[c("¥")]),u(r.orderInfo.currentPrice)])])]),l("div",{class:V.paymentBtn},[l(m,{round:!0,class:[V.submitBtn],onClick:S,loading:r.submitStatus,disabled:r.submitStatus},{default:()=>[c("提交")]})])])]}),l(I,{show:r.paymentStatus,closeOnClickOverlay:!1,position:"bottom",round:!0,closeOnPopstate:!0,safeAreaInsetBottom:!0,style:{minHeight:"30%"}},{default:()=>[l(te,{paymentConfig:r.orderInfo,onClose:()=>r.paymentStatus=!1,onBackOut:B,onConfirm:e=>v(e)},null)]}),l(I,{show:r.showQrcode,"onUpdate:show":e=>r.showQrcode=e,round:!0,onClose:()=>{clearInterval(r.orderTimer)}},{default:()=>[l(we,{url:r.qrCodeUrl,pay_channel:r.pay_channel,orderType:o.value},null)]}),l(D,{modelValue:r.authShow,"onUpdate:modelValue":e=>r.authShow=e},{default:()=>[l(ae,{onSuccess:U,hideHeader:!f().isApp},null)]}),l(F,{title:"提示",show:r.dialogStatus,"onUpdate:show":e=>r.dialogStatus=e,message:r.dialogMessage,confirmButtonText:"确定",onConfirm:()=>{q()}},null)])}}))}}}))}();
|