import{d as a,r as t,o as e,P as s,p as l,f as i,h as n,w as o,j as d,u as c,m as u,n as m,F as r,e as p,x as h,N as f,O as g}from"./index.d07e372e.js";import{_ as v}from"./plugin-vue_export-helper.21dcd24c.js";var w=v(a({setup(a){const v=t({tab:{active:0,list:[{name:"W",url:"https://img.edsmall.com/ROOT/ETao/fenxiao/h5/whd1.jpg"},{name:"H",url:"https://img.edsmall.com/ROOT/ETao/fenxiao/h5/whd2.jpg"},{name:"D",url:"https://img.edsmall.com/ROOT/ETao/fenxiao/h5/whd2.jpg"}]},skuId:void 0});function w(){s.goBack()}return e((()=>{const a=s.getCurQuery();v.skuId=a.skuId,v.skuId||l({url:"/pages/index"})})),(a,t)=>{const e=p("van-icon"),s=p("van-tab"),l=p("van-tabs"),O=h,x=p("van-sticky"),T=p("van-image");return i(),n(O,{class:"text-center"},{default:o((()=>[d(x,null,{default:o((()=>[d(O,{class:"justify-center bg-white sh mg-b-40"},{default:o((()=>[d(e,{class:"top-left",name:"arrow-left",onClick:w}),d(l,{class:"top_tab",active:c(v).tab.active,"onUpdate:active":t[0]||(t[0]=a=>c(v).tab.active=a),animated:""},{default:o((()=>[(i(!0),u(r,null,m(c(v).tab.list,(a=>(i(),n(s,{title:a.name},null,8,["title"])))),256))])),_:1},8,["active"])])),_:1})])),_:1}),d(O,{class:"whd_card"},{default:o((()=>[(i(!0),u(r,null,m(c(v).tab.list,((a,t)=>f((i(),n(T,{"loading-icon":"https://img.edsmall.com/ROOT/ETao/fenxiao/h5/default.png","icon-size":"90vw",width:"90vw",src:a.url},null,8,["src"])),[[g,c(v).tab.active==t]]))),256)),d(T,{"loading-icon":"https://img.edsmall.com/ROOT/ETao/fenxiao/h5/default.png","icon-size":"90vw",width:"90vw",src:"https://img.edsmall.com/ROOT/ETao/fenxiao/h5/whd_detail.png"})])),_:1})])),_:1})}}}),[["__scopeId","data-v-644dc77a"]]);export{w as default};
