"use strict";const e=require("../../../common/vendor.js"),r=require("../../../common/assets.js"),i=require("../../index.js"),t=require("../../hooks/useGoods.js");require("../../url/index.js"),require("../../store/index.js"),require("../../store/app.js"),require("../../api/promotion/diy.js"),require("../../request/index.js"),require("../../config/index.js"),require("../../platform/index.js"),require("../../platform/provider/wechat/index.js"),require("../../platform/provider/wechat/miniProgram.js"),require("../../api/member/auth.js"),require("../../api/member/social.js"),require("../../api/member/user.js"),require("../../platform/provider/apple/index.js"),require("../../platform/share.js"),require("../../router/index.js"),require("../../hooks/useModal.js"),require("../../helper/index.js"),require("../../helper/test.js"),require("../../helper/digit.js"),require("../../api/member/signin.js"),require("../../helper/throttle.js"),require("../../platform/pay.js"),require("../../api/pay/order.js"),require("../../store/user.js"),require("../../store/cart.js"),require("../../api/trade/cart.js"),require("../../api/pay/wallet.js"),require("../../api/trade/order.js"),require("../../api/promotion/coupon.js"),require("../../store/sys.js"),require("../../store/modal.js"),require("../../config/zIndex.js"),require("../../util/index.js");const u={__name:"s-goods-item",props:{img:{type:String,default:"https://img1.baidu.com/it/u=1601695551,235775011&fm=26&fmt=auto"},title:{type:String,default:""},titleWidth:{type:Number,default:0},skuText:{type:[String,Array],default:""},price:{type:[String,Number],default:""},priceColor:{type:[String],default:""},num:{type:[String,Number],default:0},score:{type:[String,Number],default:""},radius:{type:[String],default:""},marginBottom:{type:[String],default:""},virtualPirce:{type:[Boolean],default:!1}},setup(u){const s=u,o=e.computed((()=>s.skuText?"object"==typeof s.skuText?s.skuText.join(","):s.skuText:""));return(s,a)=>e.e({a:e.unref(i.sheep).$url.cdn(u.img),b:u.title},u.title?{c:e.t(u.title)}:{},{d:o.value},o.value?{e:e.t(o.value)}:{},{f:u.virtualPirce},u.virtualPirce?{g:r._imports_0,h:e.t(e.unref(t.fen2yuan6)(u.price))}:{i:e.t(e.unref(t.fen2yuan)(u.price))},{j:e.s({color:u.priceColor}),k:u.num},u.num?{l:e.t(u.num)}:{},{m:e.s({width:u.titleWidth?u.titleWidth+"rpx":""}),n:e.s({borderRadius:u.radius+"rpx",marginBottom:u.marginBottom+"rpx"})})}},s=e._export_sfc(u,[["__scopeId","data-v-eed9f7be"]]);wx.createComponent(s);
