acdr-ui/dist/build/mp-weixin/components/RecommendedServiceCard.js

2 lines
436 B
JavaScript
Raw Normal View History

2024-09-19 07:20:14 +08:00
"use strict";const e=require("../common/vendor.js"),t=e.defineComponent({__name:"RecommendedServiceCard",props:{image:String,title:String,description:String,price:String},setup(t){const i=e.ref(300),r=e=>{const{width:t,height:r}=e.detail;i.value=r/t*300};return(n,o)=>({a:t.image,b:e.o(r),c:e.t(t.title),d:e.t(t.description),e:e.t(t.price),f:i.value+"px"})}}),i=e._export_sfc(t,[["__scopeId","data-v-8e3d4a9d"]]);wx.createComponent(i);