shopInfo.js 797 字节
"use strict";const t=require("../common/vendor.js"),e={__name:"shopInfo",props:{isPoints:{type:Boolean,default:!1},info:{type:Object,default:{}}},setup(o){return t.onMounted(()=>{}),(s,i)=>t.e({a:t.t(o.info.name),b:o.info.goodstatus===1},o.info.goodstatus===1?{c:t.t(o.info.spec[0].score)}:{},{d:o.info.goodstatus==3},o.info.goodstatus==3?{e:t.t(o.info.spec[0].coscore)}:t.e({f:t.t(o.info.spec[0].goods_price),g:[2,1].includes(o.info.goodstatus)},[2,1].includes(o.info.goodstatus)?{h:t.t(o.info.spec[0].line_price)}:{}),{i:t.t(o.info.goodstatus==1?"已售:":o.info.goodstatus==2?"库存:":"已兑:"),j:t.t(o.info.goodstatus!=2?o.info.sales_actual:o.info.spec[0].stock_num)})}},n=t._export_sfc(e,[["__file","D:/vue/大健康商城/healthMall/componets/shopInfo.vue"]]);wx.createComponent(n);