2 lines
886 B
JavaScript
2 lines
886 B
JavaScript
"use strict";const o=require("../../../common/vendor.js");if(!Array){(o.resolveComponent("s-coupon-list")+o.resolveComponent("su-popup"))()}Math||((()=>"../s-coupon-list/s-coupon-list.js")+(()=>"../../ui/su-popup/su-popup.js"))();const e={__name:"s-coupon-get",props:{modelValue:{type:Object,default(){}},show:{type:Boolean,default:!1}},emits:["get","close"],setup(e,{emit:t}){const s=e,n=t,p=o.reactive({couponInfo:o.computed((()=>s.modelValue))});return(t,s)=>({a:o.f(p.couponInfo,((e,t,s)=>({a:o.t(e.canTake?"立即领取":"已领取"),b:o.n(e.canTake?"":"boder-btn"),c:o.o((o=>{return t=e.id,void n("get",t);var t}),e.id),d:!e.canTake,e:"53c6f9b8-1-"+s+",53c6f9b8-0",f:o.p({data:e}),g:e.id}))),b:o.o((o=>n("close"))),c:o.p({show:e.show,type:"bottom",round:"20",showClose:!0,backgroundColor:"#f2f2f2"})})}},t=o._export_sfc(e,[["__scopeId","data-v-53c6f9b8"]]);wx.createComponent(t);
|