index-legacy-5cacde4b.js 18 KB

1
  1. System.register(["./index-legacy-bfebbbb9.js","./index-legacy-5a913c16.js","./index-legacy-679bdc2e.js","./index-legacy-0230da5d.js","./index-legacy-9b45a071.js","./index-legacy-236532da.js","./index-legacy-8ff9361b.js","./index-legacy-1b73f8b7.js","./index-legacy-c0b87482.js","./student-register-store-legacy-fb9fbb55.js","./Checker-legacy-b5e59298.js"],(function(e,o){"use strict";var t,i,a,r,s,n,l,u,c,d,m,_,g,b,p,h,v,f,w,y,x,k,S,z,C,P,I,L,T,W,j,D,H,B,Z,X,Y,G,$,N,R,A,F,O,M,E,J,V,q,U,K,Q,ee,oe,te,ie,ae,re,se;return{setters:[e=>{t=e.c,i=e.d,a=e.bd,r=e.n,s=e.x,n=e.u,l=e.r,u=e.e,c=e.w,d=e.Y,m=e.a,_=e.p,g=e._,b=e.ad,p=e.L,h=e.Z,v=e.bk,f=e.bl,w=e.t,y=e.ah,x=e.b,k=e.a3,S=e.m,z=e.X,C=e.y,P=e.bb,I=e.bc,L=e.z,T=e.h,W=e.ae,j=e.V,D=e.H,H=e.I,B=e.$,Z=e.az,X=e.a9,Y=e.bm,G=e.bn,$=e.k,N=e.bo,R=e.C,A=e.D,F=e.A,O=e.P,M=e.aw,E=e.F,J=e.bp,V=e.a1},e=>{q=e.A},e=>{U=e.a,K=e.S},e=>{Q=e.I},e=>{ee=e.C},e=>{oe=e.C},e=>{te=e.R,ie=e.C},e=>{ae=e.R,re=e.a},e=>{se=e.T},null,null],execute:function(){var o=document.createElement("style");o.textContent='._arrowLeft_ub7u2_1{position:fixed;top:calc(.53333rem + env(safe-area-inset-top));left:.53333rem;z-index:999;font-size:.58667rem;background-color:rgba(0,0,0,.5);color:#fff;padding:.10667rem .10667rem .05333rem .05333rem;border-radius:50%}._swipeItemImg_ub7u2_12,._swipe_ub7u2_12{width:100%;height:10rem;vertical-align:middle}._custom-indicator_ub7u2_18{position:absolute;right:.13333rem;bottom:.13333rem;padding:.10667rem .21333rem;font-size:.37333rem;color:#fff;background:rgba(0,0,0,.5);border-radius:.32rem}._goodsHead_ub7u2_28{padding:.21333rem 0}._goodsHead_ub7u2_28 .van-cell{padding-top:.13333rem;padding-bottom:.13333rem}._priceGroup_ub7u2_35{display:flex;align-items:center}._priceGroup_ub7u2_35 ._price_ub7u2_35{color:#ff4e19;font-size:.64rem;font-weight:700}._priceGroup_ub7u2_35 ._price_ub7u2_35 i{font-size:.42667rem;font-style:normal}._priceGroup_ub7u2_35 ._delPrice_ub7u2_48{font-size:.37333rem;color:#999;margin-left:.32rem;line-height:.53333rem}._priceGroup_ub7u2_35 ._stock_ub7u2_54{font-size:.37333rem;color:#999}._goodsName_ub7u2_58{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem}._row_ub7u2_64{background-color:#fff;padding:var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding)}._row_ub7u2_64 ._col_ub7u2_68{font-size:.42667rem;color:#333}._radio-group_ub7u2_72{display:flex;flex-wrap:wrap}._radio_ub7u2_72{margin-right:.21333rem;margin-bottom:.21333rem;min-width:1.6rem}._radio_ub7u2_72 .van-radio__label--disabled{opacity:.5}._radio_ub7u2_72 .van-radio__icon{display:none}._radio_ub7u2_72 .van-tag--large{height:.72rem;font-size:.34667rem;text-align:center;display:flex;align-items:center;justify-content:center}._radio_ub7u2_72 .van-tag{box-sizing:border-box}._radio_ub7u2_72 .van-tag--default{color:#999;background-color:#f7f8f9}._radio_ub7u2_72 .van-tag--primary{background-color:#fffaf4;background:#FFFAF4;border-radius:.16rem;border:.02667rem solid #FFCF7C;color:#f39f11}._radio_ub7u2_72 .van-radio__label{margin-left:0;width:100%}._badge_ub7u2_113 .van-badge{border-radius:.16rem 0;font-size:.32rem}._section_ub7u2_117{background:#fff;padding:.32rem 0 0}._detail_ub7u2_121{display:flex;align-items:center;justify-content:center;font-size:.37333rem;color:#999;line-height:.53333rem;margin-bottom:.32rem}._detail_ub7u2_121 span{padding:0 .26667rem}._detail_ub7u2_121:before,._detail_ub7u2_121:after{display:inline-block;content:" ";width:1.06667rem;height:.08rem}._detail_ub7u2_121:before{background:linear-gradient(90deg,rgba(238,238,238,0) 0%,#d8d8d8 100%)}._detail_ub7u2_121:after{background:linear-gradient(270deg,rgba(238,238,238,0) 0%,#d8d8d8 100%)}._photoDetail_ub7u2_146 img{width:100%;vertical-align:middle}._goodsDetail_ub7u2_150{margin-bottom:var(--van-action-bar-height)}._actionBar_ub7u2_153{padding-left:.42667rem;padding-right:.42667rem;justify-content:space-between;box-shadow:0 -.26667rem .26667rem var(--box-shadow-color);box-sizing:border-box}._actionBar_ub7u2_153 .van-submit-bar__bar{justify-content:center;padding:0;height:1.81333rem}._actionBar_ub7u2_153 .van-action-bar-icon{align-items:center}._actionBar_ub7u2_153 .van-action-bar-icon__icon{margin-bottom:0;line-height:0}._actionBar_ub7u2_153 .van-badge{background:#ff4e19}._actionBar_ub7u2_153 ._text_ub7u2_175{font-size:.32rem;color:#333;text-align:center}._addCertBtn_ub7u2_180{background:linear-gradient(121deg,#FFD892 0%,#FFCB75 100%);border-radius:.32rem;font-size:.42667rem;font-weight:600;color:#5b2c03;width:3.94667rem;height:1.06667rem;border:0}._buyGroup_ub7u2_190{display:flex;justify-content:center;overflow:hidden;box-sizing:border-box}._selectWrap_ub7u2_196{padding-top:.04rem;font-size:.37333rem;color:#666;padding-bottom:.32rem}._shareBtn_ub7u2_202{display:flex;align-items:center;font-size:.37333rem;color:#666}._shareWrap_ub7u2_208{display:flex;border-radius:.26667rem;border:.02667rem solid var(--van-primary);overflow:hidden;padding:.37333rem;align-items:center;background-color:#fff;margin-top:.42667rem}._shareWrap_ub7u2_208 ._sharePic_ub7u2_218{width:2.66667rem;height:2.66667rem;border-radius:.21333rem}._shareWrap_ub7u2_208 ._shareLeft_ub7u2_223{margin-right:.26667rem}._shareWrap_ub7u2_208 ._shareRight_ub7u2_226{flex:1;overflow:hidden}._shareWrap_ub7u2_208 ._shareShopTitle_ub7u2_230{font-size:.42667rem;font-weight:400;color:#333;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}._shareWrap_ub7u2_208 ._shareShopDes_ub7u2_240{font-size:.37333rem;font-weight:400;color:#999;margin:.26667rem 0 .53333rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._shareWrap_ub7u2_208 ._shareShopValue_ub7u2_249{font-size:.42667rem;color:#ff4e19}._shareWrap_ub7u2_208 ._shareShopOldPrice_ub7u2_253{color:#e5e5e5;margin-left:.13333rem}._shareWrap_ub7u2_208 .van-card{background:transparent}._imagesOverlayWrap_ub7u2_260 .van-badge__wrapper,._imagesOverlayWrap_ub7u2_260 .van-image-preview__index{top:1.06667rem}\n',document.head.appendChild(o);const ne=e=>Math.sqrt((e[0].clientX-e[1].clientX)**2+(e[0].clientY-e[1].clientY)**2),le=t("image-preview")[1];var ue=i({props:{src:String,show:Boolean,active:Number,minZoom:a(r),maxZoom:a(r),rootWidth:a(Number),rootHeight:a(Number),disableZoom:Boolean},emits:["scale","close","longPress"],setup(e,{emit:o,slots:t}){const i=s({scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,initializing:!1,imageRatio:0}),a=n(),r=l(),w=l(),y=l(!1),x=l(!1);let k=0;const S=u((()=>{const{scale:e,moveX:o,moveY:t,moving:a,zooming:r,initializing:s}=i,n={transitionDuration:r||a||s?"0s":".3s"};return(1!==e||x.value)&&(n.transform=`matrix(${e}, 0, 0, ${e}, ${o}, ${t})`),n})),z=u((()=>{if(i.imageRatio){const{rootWidth:o,rootHeight:t}=e,a=y.value?t/i.imageRatio:o;return Math.max(0,(i.scale*a-o)/2)}return 0})),C=u((()=>{if(i.imageRatio){const{rootWidth:o,rootHeight:t}=e,a=y.value?t:o*i.imageRatio;return Math.max(0,(i.scale*a-t)/2)}return 0})),P=(t,a)=>{var s;if((t=g(t,+e.minZoom,+e.maxZoom+1))!==i.scale){const n=t/i.scale;if(i.scale=t,a){const e=h(null==(s=r.value)?void 0:s.$el),o={x:.5*e.width,y:.5*e.height},t=i.moveX-(a.x-e.left-o.x)*(n-1),l=i.moveY-(a.y-e.top-o.y)*(n-1);i.moveX=g(t,-z.value,z.value),i.moveY=g(l,-C.value,C.value)}else i.moveX=0,i.moveY=x.value?k:0;o("scale",{scale:t,index:e.active})}},I=()=>{P(1)};let L,T,W,j,D,H,B,Z,X=!1;const Y=o=>{const{touches:t}=o;if(L=t.length,2===L&&e.disableZoom)return;const{offsetX:r}=a;a.start(o),T=i.moveX,W=i.moveY,Z=Date.now(),X=!1,i.moving=1===L&&(1!==i.scale||x.value),i.zooming=2===L&&!r.value,i.zooming&&(j=i.scale,D=ne(t))},G=()=>{if(L>1)return;const{offsetX:e,offsetY:t}=a,r=Date.now()-Z;e.value<v&&t.value<v&&(r<250?B?(clearTimeout(B),B=null,(()=>{const e=i.scale>1?1:2;P(e,2===e||x.value?{x:a.startX.value,y:a.startY.value}:void 0)})()):B=setTimeout((()=>{o("close"),B=null}),250):r>f&&o("longPress"))},$=o=>{let t=!1;if((i.moving||i.zooming)&&(t=!0,i.moving&&T===i.moveX&&W===i.moveY&&(t=!1),!o.touches.length)){i.zooming&&(i.moveX=g(i.moveX,-z.value,z.value),i.moveY=g(i.moveY,-C.value,C.value),i.zooming=!1),i.moving=!1,T=0,W=0,j=1,i.scale<1&&I();const o=+e.maxZoom;i.scale>o&&P(o,H)}_(o,t),G(),a.reset()},N=()=>{const{rootWidth:o,rootHeight:t}=e,a=t/o,{imageRatio:r}=i;y.value=i.imageRatio>a&&r<2.6,x.value=i.imageRatio>a&&r>=2.6,x.value&&(k=(r*o-t)/2,i.moveY=k,i.initializing=!0,b((()=>{i.initializing=!1}))),I()},R=e=>{const{naturalWidth:o,naturalHeight:t}=e.target;i.imageRatio=t/o,N()};return c((()=>e.active),I),c((()=>e.show),(e=>{e||I()})),c((()=>[e.rootWidth,e.rootHeight]),N),d("touchmove",(e=>{const{touches:o}=e;if(a.move(e),i.moving){const{deltaX:o,deltaY:t}=a,r=o.value+T,s=t.value+W;if((r>z.value||r<-z.value)&&!X&&a.isHorizontal())return void(i.moving=!1);X=!0,_(e,!0),i.moveX=g(r,-z.value,z.value),i.moveY=g(s,-C.value,C.value)}if(i.zooming&&(_(e,!0),2===o.length)){const e=ne(o),t=j*e/D;H=(e=>({x:(e[0].clientX+e[1].clientX)/2,y:(e[0].clientY+e[1].clientY)/2}))(o),P(t,H)}}),{target:u((()=>{var e;return null==(e=w.value)?void 0:e.$el}))}),()=>{const o={loading:()=>m(p,{type:"spinner"},null)};return m(U,{ref:w,class:le("swipe-item"),onTouchstartPassive:Y,onTouchend:$,onTouchcancel:$},{default:()=>[t.image?m("div",{class:le("image-wrap")},[t.image({src:e.src})]):m(Q,{ref:r,src:e.src,fit:"contain",class:le("image",{vertical:y.value}),style:S.value,onLoad:R},o)]})}}});const[ce,de]=t("image-preview"),me=["show","teleport","transition","overlayStyle","closeOnPopstate"],_e={show:Boolean,loop:w,images:y(),minZoom:x(1/3),maxZoom:x(3),overlay:w,closeable:Boolean,showIndex:w,className:k,closeIcon:S("clear"),transition:String,beforeClose:Function,overlayClass:k,overlayStyle:Object,swipeDuration:x(300),startPosition:x(0),showIndicators:Boolean,closeOnPopstate:w,closeIconPosition:S("top-right"),teleport:[String,Object]};var ge=i({name:ce,props:_e,emits:["scale","close","closed","change","longPress","update:show"],setup(e,{emit:o,slots:t}){const i=l(),a=s({active:0,rootWidth:0,rootHeight:0,disableZoom:!1}),r=()=>{if(i.value){const e=h(i.value.$el);a.rootWidth=e.width,a.rootHeight=e.height,i.value.resize()}},n=e=>o("scale",e),u=e=>o("update:show",e),d=()=>{B(e.beforeClose,{args:[a.active],done:()=>u(!1)})},_=e=>{e!==a.active&&(a.active=e,o("change",e))},g=()=>{if(e.showIndex)return m("div",{class:de("index")},[t.index?t.index({index:a.active}):`${a.active+1} / ${e.images.length}`])},b=()=>{if(t.cover)return m("div",{class:de("cover")},[t.cover()])},p=()=>{a.disableZoom=!0},v=()=>{a.disableZoom=!1},f=()=>{if(e.closeable)return m(H,{role:"button",name:e.closeIcon,class:[de("close-icon",e.closeIconPosition),D],onClick:d},null)},w=()=>o("closed"),y=(e,o)=>{var t;return null==(t=i.value)?void 0:t.swipeTo(e,o)};return z({swipeTo:y}),C(r),c([P,I],r),c((()=>e.startPosition),(e=>_(+e))),c((()=>e.show),(t=>{const{images:i,startPosition:s}=e;t?(_(+s),L((()=>{r(),y(+s,{immediate:!0})}))):o("close",{index:a.active,url:i[a.active]})})),()=>m(j,T({class:[de(),e.className],overlayClass:[de("overlay"),e.overlayClass],onClosed:w,"onUpdate:show":u},W(e,me)),{default:()=>[f(),m(K,{ref:i,lazyRender:!0,loop:e.loop,class:de("swipe"),duration:e.swipeDuration,initialSwipe:e.startPosition,showIndicators:e.showIndicators,indicatorColor:"white",onChange:_,onDragEnd:v,onDragStart:p},{default:()=>[e.images.map(((i,r)=>m(ue,{src:i,show:e.show,active:a.active,maxZoom:e.maxZoom,minZoom:e.minZoom,rootWidth:a.rootWidth,rootHeight:a.rootHeight,disableZoom:a.disableZoom,onScale:n,onClose:d,onLongPress:()=>o("longPress",{index:r})},{image:t.image})))]}),g(),b()]})}});let be;const pe={loop:!0,images:[],maxZoom:3,minZoom:1/3,onScale:void 0,onClose:void 0,onChange:void 0,teleport:"body",className:"",showIndex:!0,closeable:!1,closeIcon:"clear",transition:void 0,beforeClose:void 0,overlayStyle:void 0,overlayClass:void 0,startPosition:0,swipeDuration:300,showIndicators:!1,closeOnPopstate:!0,closeIconPosition:"top-right"},he=(e,o=0)=>{if(Z)return be||({instance:be}=Y({setup(){const{state:e,toggle:o}=G(),t=()=>{e.images=[]};return()=>m(ge,T(e,{onClosed:t,"onUpdate:show":o}),null)}})),e=Array.isArray(e)?{images:e,startPosition:o}:e,be.open(X({},pe,e)),be};$(ge);const[ve,fe,we]=t("submit-bar"),ye={tip:String,label:String,price:Number,tipIcon:String,loading:Boolean,currency:S("¥"),disabled:Boolean,textAlign:String,buttonText:String,buttonType:S("danger"),buttonColor:String,suffixLabel:String,placeholder:Boolean,decimalLength:x(2),safeAreaInsetBottom:w};var xe=i({name:ve,props:ye,emits:["submit"],setup(e,{emit:o,slots:t}){const i=l(),a=N(i,fe),r=()=>{const{price:o,label:t,currency:i,textAlign:a,suffixLabel:r,decimalLength:s}=e;if("number"==typeof o){const e=(o/100).toFixed(+s).split("."),n=s?`.${e[1]}`:"";return m("div",{class:fe("text"),style:{textAlign:a}},[m("span",null,[t||we("label")]),m("span",{class:fe("price")},[i,m("span",{class:fe("price-integer")},[e[0]]),n]),r&&m("span",{class:fe("suffix-label")},[r])])}},s=()=>{var o;const{tip:i,tipIcon:a}=e;if(t.tip||i)return m("div",{class:fe("tip")},[a&&m(H,{class:fe("tip-icon"),name:a},null),i&&m("span",{class:fe("tip-text")},[i]),null==(o=t.tip)?void 0:o.call(t)])},n=()=>o("submit"),u=()=>{var o,a;return m("div",{ref:i,class:[fe(),{"van-safe-area-bottom":e.safeAreaInsetBottom}]},[null==(o=t.top)?void 0:o.call(t),s(),m("div",{class:fe("bar")},[null==(a=t.default)?void 0:a.call(t),r(),t.button?t.button():m(R,{round:!0,type:e.buttonType,text:e.buttonText,class:fe("button",e.buttonType),color:e.buttonColor,loading:e.loading,disabled:e.disabled,onClick:n},null)])])};return()=>e.placeholder?a(u):u()}});const ke=$(xe),Se="_arrowLeft_ub7u2_1",ze="_swipeItemImg_ub7u2_12",Ce="_swipe_ub7u2_12",Pe="_custom-indicator_ub7u2_18",Ie="_goodsHead_ub7u2_28",Le="_priceGroup_ub7u2_35",Te="_price_ub7u2_35",We="_goodsName_ub7u2_58",je="_row_ub7u2_64",De="_col_ub7u2_68",He="_radio-group_ub7u2_72",Be="_radio_ub7u2_72",Ze="_badge_ub7u2_113",Xe="_section_ub7u2_117",Ye="_detail_ub7u2_121",Ge="_photoDetail_ub7u2_146",$e="_goodsDetail_ub7u2_150",Ne="_actionBar_ub7u2_153",Re="_addCertBtn_ub7u2_180",Ae="_buyGroup_ub7u2_190",Fe="_selectWrap_ub7u2_196",Oe="_imagesOverlayWrap_ub7u2_260";e("default",i({name:"goods-detail",data(){return{id:this.$route.query.id,albumPics:[],product:{},radio:0,skuStockListTemp:[],detailMobileHtml:"",loading:!1,addGoodsShow:!1,selectGoodsItem:{},cartCount:0}},computed:{skuStockList(){const e=this.product,o=this.skuStockListTemp.length>0?this.skuStockListTemp:[{id:-1,price:e.price,pic:e.pic,stock:e.stock,spData:null}];return o.forEach((e=>{if(e.spData){const o=JSON.parse(e.spData);e.spDataJson=o.reduce(((e,o)=>e+=o.value),""),e.sku=o.reduce(((e,o)=>(e.push(`${o.key}: ${o.value}`),e)),[]).join(",")}else e.spDataJson="默认"})),o},getPrice(){let e=this.skuStockList.filter((e=>e.id==this.radio));return e&&Array.isArray(e)&&e.length?e[0].price:0}},async mounted(){try{this.loading=!0;const e=await A.get(`/edu-app/open/mall/product/detail/${this.id}`,{noAuthorization:!0});this.loading=!1;const o=e.data||{};if(this.albumPics=[o.product.pic].concat(o.product.albumPics.split(",")).filter((e=>e)),this.product=o.product,this.skuStockListTemp=o.skuStockList||[],this.skuStockListTemp.length){let e=this.skuStockListTemp.length;for(let o=0;o<e;o++){let e=this.skuStockListTemp[o];if(e.stock>=0){this.radio=e.id;break}}}this.detailMobileHtml=o.product.detailMobileHtml}catch{}},methods:{onPreview(e){he({images:this.albumPics,startPosition:e,closeable:!0,className:Oe})},onShowImg(e){const{localName:o}=e.srcElement;if("img"!==o)return;let t=0;const i=document.querySelectorAll(".msgWrap img");let a=Array.from(i).map(((o,i)=>(e.srcElement==o&&(t=i),o.src)));he({images:a,startPosition:t,closeable:!0,className:Oe})},onShowCart(){this.selectGoodsItem={price:this.product.price,originalPrice:this.product.originalPrice,pic:this.product.pic,stock:this.product.stock,skuStockList:this.skuStockListTemp.length?this.skuStockListTemp:void 0,brandName:this.product.brandName,productCategoryId:this.product.productCategoryId,name:this.product.name,productSn:this.product.productSn,productSubTitle:this.product.subTitle,id:this.product.id},this.addGoodsShow=!0}},render(){let e;const o=this.product,t=this.skuStockList.find((e=>e.id===this.radio));return m("div",{class:$e},[m(H,{class:Se,name:"arrow-left",onClick:e=>{e.stopPropagation(),this.$router.back()}},null),m(K,{class:Ce,lazyRender:!0},{default:()=>[this.albumPics.map(((e,o)=>m(U,null,{default:()=>[m(Q,{class:ze,src:e,onClick:()=>this.onPreview(o),fit:"cover"},null)]})))],indicator:e=>e.total>1&&m("div",{class:Pe},[(e.active||0)+1,F(" / "),e.total])}),m(ee,{border:!1,class:[Ie,"mb12"]},{default:()=>[m(oe,{center:!0,border:!1},{title:()=>m("div",{class:Le},[m("span",{class:Te},[m("i",null,[F("¥")]),O(this.getPrice)])])}),m(oe,{center:!0,border:!1,title:o.name,titleClass:[We,"van-ellipsis"]},null)]}),m(te,{class:[je,"mb12"]},{default:()=>[m(ie,{span:4,class:De},{default:()=>[F("规格")]}),m(ie,{span:20},{default:()=>{return[t?m("div",{class:Fe},[t.stock<=0?"当前款式暂时缺货":`已选择 ${t.spDataJson}`]):m("div",null,[F("请选择 规格")]),m(ae,{class:He,modelValue:this.radio,"onUpdate:modelValue":e=>this.radio=e},(o=e=this.skuStockList.map((e=>{const o=e.id===this.radio,t=o?"primary":"default";return m(M,{position:"top-right",content:e.stock<=0?"缺货":"",color:"#999999",class:Ze,offset:[-20,0]},{default:()=>[m(re,{class:Be,name:e.id,disabled:e.stock<=0,onClick:()=>{e.stock<=0||(this.radio=e.id)}},{default:()=>[m(se,{size:"large",plain:o,type:t},{default:()=>[e.spDataJson]})]})]})})),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!V(o)?e:{default:()=>[e]}))];var o}})]}),this.detailMobileHtml&&m("div",{class:[Xe]},[m("div",{class:Ye},[m("span",null,[F("图文详情")])]),m("div",{class:[Ge,"msgWrap"],onClick:this.onShowImg,innerHTML:this.detailMobileHtml},null)]),!this.loading&&m(E,null,[m(ke,{class:Ne,"safe-area-inset-bottom":!0},{button:()=>m("div",{class:Ae},[m(J,{type:"primary",class:Re,text:"添加购买",onClick:()=>this.onShowCart()},null)])})]),m(j,{show:this.addGoodsShow,closeable:!0,position:"bottom",round:!0,onClose:()=>{this.addGoodsShow=!1}},{default:()=>[m(q,{show:this.addGoodsShow,item:this.selectGoodsItem,onClose:()=>{this.addGoodsShow=!1},defaultRadio:this.radio,showType:"cart"},null)]})])}}))}}}));