import{p as e,e as t,f as s,h as a,w as l,i,j as d,l as o,t as f,y as r,x as n}from"./index.05ea85f3.js";import{_ as c}from"./plugin-vue_export-helper.21dcd24c.js";var u=c({props:{item:{type:Object,default:()=>({})}},methods:{goto(t){t&&e({url:t})}}},[["render",function(e,c,u,p,g,m){const x=t("van-image"),_=r,h=n;return s(),a(h,null,{default:l((()=>[i("div",{class:"image-container",onClick:c[0]||(c[0]=e=>m.goto(`/pages/good/detail?skuId=${u.item.skuId}&spuId=${u.item.spuId}`))},[d(x,{fit:"cover","lazy-load":"",src:u.item.mainImg,height:"45vw","loading-icon":"https://img.edsmall.com/ROOT/ETao/fenxiao/h5/default1.png","icon-size":"30vw"},null,8,["src"])]),d(h,{style:{padding:"15rpx",background:"#ffffff"},onClick:c[1]||(c[1]=e=>m.goto(`/pages/good/detail?skuId=${u.item.skuId}&spuId=${u.item.spuId}`))},{default:l((()=>[d(_,{class:"text-s ellipsis line_over2",style:{"text-align":"left",background:"#ffffff","min-height":"60rpx",overflow:"hidden"}},{default:l((()=>[o(f(u.item.title),1)])),_:1})])),_:1}),d(h,{style:{display:"flex",background:"#ffffff",padding:"15rpx","align-items":"center"},class:"text01"},{default:l((()=>[d(h,{class:"text-orange text-ss"},{default:l((()=>[o("￥ "),d(_,{class:"text-bold text-l"},{default:l((()=>[o(f(u.item.salePrice),1)])),_:1})])),_:1}),d(h,{class:"text-ss",style:{"margin-left":"16rpx"}},{default:l((()=>[d(_,{class:"text-gray text-ss line-through"},{default:l((()=>[o("￥"+f(u.item.productPrice),1)])),_:1})])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-2d8af47c"]]);export{u as S};
