1 |
- !function(){function e(e,o,t,i,a,r,s){try{var n=e[r](s),l=n.value}catch(u){return void t(u)}n.done?o(l):Promise.resolve(l).then(i,a)}System.register(["./index-legacy-e1ea41b7.js","./index-legacy-5c57b06d.js","./index-legacy-c2783a73.js","./index-legacy-01b7024c.js","./index-legacy-fad73341.js","./index-legacy-666fea96.js","./index-legacy-c42bec0c.js","./index-legacy-e197f4cd.js","./index-legacy-f9c3c6d2.js","./student-register-store-legacy-66440c28.js","./index-legacy-369babc4.js","./Checker-legacy-f2b46109.js"],(function(o,t){"use strict";var i,a,r,s,n,l,u,c,d,m,_,g,b,p,h,v,f,w,y,x,k,S,C,z,P,I,T,W,L,j,D,B,H,Z,Y,X,G,$,N,R,A,F,O,M,E,J,q,U,V,K,Q,ee,oe,te,ie,ae,re,se,ne;return{setters:[e=>{i=e.c,a=e.d,r=e.b6,s=e.n,n=e.x,l=e.u,u=e.r,c=e.e,d=e.w,m=e.Z,_=e.a,g=e.p,b=e.$,p=e.aM,h=e.L,v=e._,f=e.b7,w=e.b8,y=e.t,x=e.ab,k=e.b,S=e.a4,C=e.m,z=e.Y,P=e.y,I=e.b9,T=e.ba,W=e.z,L=e.h,j=e.ae,D=e.V,B=e.H,H=e.I,Z=e.a0,Y=e.aN,X=e.ac,G=e.bb,$=e.bc,N=e.k,R=e.bd,A=e.C,F=e.D,O=e.A,M=e.P,E=e.at,J=e.F,q=e.be,U=e.a2},e=>{V=e.A},e=>{K=e.a,Q=e.S},e=>{ee=e.I},e=>{oe=e.C},e=>{te=e.C},e=>{ie=e.R,ae=e.C},e=>{re=e.R,se=e.a},e=>{ne=e.T},null,null,null],execute:function(){var t=document.createElement("style");t.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(t);const le=e=>Math.sqrt((e[0].clientX-e[1].clientX)**2+(e[0].clientY-e[1].clientY)**2),ue=i("image-preview")[1];var ce=a({props:{src:String,show:Boolean,active:Number,minZoom:r(s),maxZoom:r(s),rootWidth:r(Number),rootHeight:r(Number),disableZoom:Boolean},emits:["scale","close","longPress"],setup(e,{emit:o,slots:t}){const i=n({scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,initializing:!1,imageRatio:0}),a=l(),r=u(),s=u(),y=u(!1),x=u(!1);let k=0;const S=c((()=>{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})),C=c((()=>{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})),z=c((()=>{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=b(t,+e.minZoom,+e.maxZoom+1))!==i.scale){const n=t/i.scale;if(i.scale=t,a){const e=v(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=b(t,-C.value,C.value),i.moveY=b(l,-z.value,z.value)}else i.moveX=0,i.moveY=x.value?k:0;o("scale",{scale:t,index:e.active})}},I=()=>{P(1)};let T,W,L,j,D,B,H,Z,Y=!1;const X=o=>{const{touches:t}=o;if(T=t.length,2===T&&e.disableZoom)return;const{offsetX:r}=a;a.start(o),W=i.moveX,L=i.moveY,Z=Date.now(),Y=!1,i.moving=1===T&&(1!==i.scale||x.value),i.zooming=2===T&&!r.value,i.zooming&&(j=i.scale,D=le(t))},G=()=>{if(T>1)return;const{offsetX:e,offsetY:t}=a,r=Date.now()-Z;e.value<f&&t.value<f&&(r<250?H?(clearTimeout(H),H=null,(()=>{const e=i.scale>1?1:2;P(e,2===e||x.value?{x:a.startX.value,y:a.startY.value}:void 0)})()):H=setTimeout((()=>{o("close"),H=null}),250):r>w&&o("longPress"))},$=o=>{let t=!1;if((i.moving||i.zooming)&&(t=!0,i.moving&&W===i.moveX&&L===i.moveY&&(t=!1),!o.touches.length)){i.zooming&&(i.moveX=b(i.moveX,-C.value,C.value),i.moveY=b(i.moveY,-z.value,z.value),i.zooming=!1),i.moving=!1,W=0,L=0,j=1,i.scale<1&&I();const o=+e.maxZoom;i.scale>o&&P(o,B)}g(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,p((()=>{i.initializing=!1}))),I()},R=e=>{const{naturalWidth:o,naturalHeight:t}=e.target;i.imageRatio=t/o,N()};return d((()=>e.active),I),d((()=>e.show),(e=>{e||I()})),d((()=>[e.rootWidth,e.rootHeight]),N),m("touchmove",(e=>{const{touches:o}=e;if(a.move(e),i.moving){const{deltaX:o,deltaY:t}=a,r=o.value+W,s=t.value+L;if((r>C.value||r<-C.value)&&!Y&&a.isHorizontal())return void(i.moving=!1);Y=!0,g(e,!0),i.moveX=b(r,-C.value,C.value),i.moveY=b(s,-z.value,z.value)}if(i.zooming&&(g(e,!0),2===o.length)){const e=le(o),t=j*e/D;B=(e=>({x:(e[0].clientX+e[1].clientX)/2,y:(e[0].clientY+e[1].clientY)/2}))(o),P(t,B)}}),{target:c((()=>{var e;return null==(e=s.value)?void 0:e.$el}))}),()=>{const o={loading:()=>_(h,{type:"spinner"},null)};return _(K,{ref:s,class:ue("swipe-item"),onTouchstartPassive:X,onTouchend:$,onTouchcancel:$},{default:()=>[t.image?_("div",{class:ue("image-wrap")},[t.image({src:e.src})]):_(ee,{ref:r,src:e.src,fit:"contain",class:ue("image",{vertical:y.value}),style:S.value,onLoad:R},o)]})}}});const[de,me]=i("image-preview"),_e=["show","teleport","transition","overlayStyle","closeOnPopstate"],ge={show:Boolean,loop:y,images:x(),minZoom:k(1/3),maxZoom:k(3),overlay:y,closeable:Boolean,showIndex:y,className:S,closeIcon:C("clear"),transition:String,beforeClose:Function,overlayClass:S,overlayStyle:Object,swipeDuration:k(300),startPosition:k(0),showIndicators:Boolean,closeOnPopstate:y,closeIconPosition:C("top-right"),teleport:[String,Object]};var be=a({name:de,props:ge,emits:["scale","close","closed","change","longPress","update:show"],setup(e,{emit:o,slots:t}){const i=u(),a=n({active:0,rootWidth:0,rootHeight:0,disableZoom:!1}),r=()=>{if(i.value){const e=v(i.value.$el);a.rootWidth=e.width,a.rootHeight=e.height,i.value.resize()}},s=e=>o("scale",e),l=e=>o("update:show",e),c=()=>{Z(e.beforeClose,{args:[a.active],done:()=>l(!1)})},m=e=>{e!==a.active&&(a.active=e,o("change",e))},g=()=>{if(e.showIndex)return _("div",{class:me("index")},[t.index?t.index({index:a.active}):`${a.active+1} / ${e.images.length}`])},b=()=>{if(t.cover)return _("div",{class:me("cover")},[t.cover()])},p=()=>{a.disableZoom=!0},h=()=>{a.disableZoom=!1},f=()=>{if(e.closeable)return _(H,{role:"button",name:e.closeIcon,class:[me("close-icon",e.closeIconPosition),B],onClick:c},null)},w=()=>o("closed"),y=(e,o)=>{var t;return null==(t=i.value)?void 0:t.swipeTo(e,o)};return z({swipeTo:y}),P(r),d([I,T],r),d((()=>e.startPosition),(e=>m(+e))),d((()=>e.show),(t=>{const{images:i,startPosition:s}=e;t?(m(+s),W((()=>{r(),y(+s,{immediate:!0})}))):o("close",{index:a.active,url:i[a.active]})})),()=>_(D,L({class:[me(),e.className],overlayClass:[me("overlay"),e.overlayClass],onClosed:w,"onUpdate:show":l},j(e,_e)),{default:()=>[f(),_(Q,{ref:i,lazyRender:!0,loop:e.loop,class:me("swipe"),duration:e.swipeDuration,initialSwipe:e.startPosition,showIndicators:e.showIndicators,indicatorColor:"white",onChange:m,onDragEnd:h,onDragStart:p},{default:()=>[e.images.map(((i,r)=>_(ce,{src:i,show:e.show,active:a.active,maxZoom:e.maxZoom,minZoom:e.minZoom,rootWidth:a.rootWidth,rootHeight:a.rootHeight,disableZoom:a.disableZoom,onScale:s,onClose:c,onLongPress:()=>o("longPress",{index:r})},{image:t.image})))]}),g(),b()]})}});let pe;const he={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"};const ve=(e,o=0)=>{if(Y)return pe||({instance:pe}=G({setup(){const{state:e,toggle:o}=$(),t=()=>{e.images=[]};return()=>_(be,L(e,{onClosed:t,"onUpdate:show":o}),null)}})),e=Array.isArray(e)?{images:e,startPosition:o}:e,pe.open(X({},he,e)),pe};N(be);const[fe,we,ye]=i("submit-bar"),xe={tip:String,label:String,price:Number,tipIcon:String,loading:Boolean,currency:C("¥"),disabled:Boolean,textAlign:String,buttonText:String,buttonType:C("danger"),buttonColor:String,suffixLabel:String,placeholder:Boolean,decimalLength:k(2),safeAreaInsetBottom:y};var ke=a({name:fe,props:xe,emits:["submit"],setup(e,{emit:o,slots:t}){const i=u(),a=R(i,we),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 _("div",{class:we("text"),style:{textAlign:a}},[_("span",null,[t||ye("label")]),_("span",{class:we("price")},[i,_("span",{class:we("price-integer")},[e[0]]),n]),r&&_("span",{class:we("suffix-label")},[r])])}},s=()=>{var o;const{tip:i,tipIcon:a}=e;if(t.tip||i)return _("div",{class:we("tip")},[a&&_(H,{class:we("tip-icon"),name:a},null),i&&_("span",{class:we("tip-text")},[i]),null==(o=t.tip)?void 0:o.call(t)])},n=()=>o("submit"),l=()=>{var o,a;return _("div",{ref:i,class:[we(),{"van-safe-area-bottom":e.safeAreaInsetBottom}]},[null==(o=t.top)?void 0:o.call(t),s(),_("div",{class:we("bar")},[null==(a=t.default)?void 0:a.call(t),r(),t.button?t.button():_(A,{round:!0,type:e.buttonType,text:e.buttonText,class:we("button",e.buttonType),color:e.buttonColor,loading:e.loading,disabled:e.disabled,onClick:n},null)])])};return()=>e.placeholder?a(l):l()}});const Se=N(ke),Ce="_arrowLeft_ub7u2_1",ze="_swipeItemImg_ub7u2_12",Pe="_swipe_ub7u2_12",Ie="_custom-indicator_ub7u2_18",Te="_goodsHead_ub7u2_28",We="_priceGroup_ub7u2_35",Le="_price_ub7u2_35",je="_goodsName_ub7u2_58",De="_row_ub7u2_64",Be="_col_ub7u2_68",He="_radio-group_ub7u2_72",Ze="_radio_ub7u2_72",Ye="_badge_ub7u2_113",Xe="_section_ub7u2_117",Ge="_detail_ub7u2_121",$e="_photoDetail_ub7u2_146",Ne="_goodsDetail_ub7u2_150",Re="_actionBar_ub7u2_153",Ae="_addCertBtn_ub7u2_180",Fe="_buyGroup_ub7u2_190",Oe="_selectWrap_ub7u2_196",Me="_imagesOverlayWrap_ub7u2_260";o("default",a({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}},mounted(){var o,t=this;return(o=function*(){try{t.loading=!0;const e=yield F.get(`/edu-app/open/mall/product/detail/${t.id}`,{noAuthorization:!0});t.loading=!1;const o=e.data||{};if(t.albumPics=[o.product.pic].concat(o.product.albumPics.split(",")).filter((e=>e)),t.product=o.product,t.skuStockListTemp=o.skuStockList||[],t.skuStockListTemp.length){let e=t.skuStockListTemp.length;for(let o=0;o<e;o++){let e=t.skuStockListTemp[o];if(e.stock>=0){t.radio=e.id;break}}}t.detailMobileHtml=o.product.detailMobileHtml}catch(e){}},function(){var t=this,i=arguments;return new Promise((function(a,r){var s=o.apply(t,i);function n(o){e(s,a,r,n,l,"next",o)}function l(o){e(s,a,r,n,l,"throw",o)}n(void 0)}))})()},methods:{onPreview(e){ve({images:this.albumPics,startPosition:e,closeable:!0,className:Me})},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)));ve({images:a,startPosition:t,closeable:!0,className:Me})},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 _("div",{class:Ne},[_(H,{class:Ce,name:"arrow-left",onClick:e=>{e.stopPropagation(),this.$router.back()}},null),_(Q,{class:Pe,lazyRender:!0},{default:()=>[this.albumPics.map(((e,o)=>_(K,null,{default:()=>[_(ee,{class:ze,src:e,onClick:()=>this.onPreview(o),fit:"cover"},null)]})))],indicator:e=>e.total>1&&_("div",{class:Ie},[(e.active||0)+1,O(" / "),e.total])}),_(oe,{border:!1,class:[Te,"mb12"]},{default:()=>[_(te,{center:!0,border:!1},{title:()=>_("div",{class:We},[_("span",{class:Le},[_("i",null,[O("¥")]),M(this.getPrice)])])}),_(te,{center:!0,border:!1,title:o.name,titleClass:[je,"van-ellipsis"]},null)]}),_(ie,{class:[De,"mb12"]},{default:()=>[_(ae,{span:4,class:Be},{default:()=>[O("规格")]}),_(ae,{span:20},{default:()=>{return[t?_("div",{class:Oe},[t.stock<=0?"当前款式暂时缺货":`已选择 ${t.spDataJson}`]):_("div",null,[O("请选择 规格")]),_(re,{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 _(E,{position:"top-right",content:e.stock<=0?"缺货":"",color:"#999999",class:Ye,offset:[-20,0]},{default:()=>[_(se,{class:Ze,name:e.id,disabled:e.stock<=0,onClick:()=>{e.stock<=0||(this.radio=e.id)}},{default:()=>[_(ne,{size:"large",plain:o,type:t},{default:()=>[e.spDataJson]})]})]})})),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!U(o)?e:{default:()=>[e]}))];var o}})]}),this.detailMobileHtml&&_("div",{class:[Xe]},[_("div",{class:Ge},[_("span",null,[O("图文详情")])]),_("div",{class:[$e,"msgWrap"],onClick:this.onShowImg,innerHTML:this.detailMobileHtml},null)]),!this.loading&&_(J,null,[_(Se,{class:Re,"safe-area-inset-bottom":!0},{button:()=>_("div",{class:Fe},[_(q,{type:"primary",class:Ae,text:"添加购买",onClick:()=>this.onShowCart()},null)])})]),_(D,{show:this.addGoodsShow,closeable:!0,position:"bottom",round:!0,onClose:()=>{this.addGoodsShow=!1}},{default:()=>[_(V,{show:this.addGoodsShow,item:this.selectGoodsItem,onClose:()=>{this.addGoodsShow=!1},defaultRadio:this.radio,showType:"cart"},null)]})])}}))}}}))}();
|