2 lines
892 B
JavaScript
2 lines
892 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,c=t,n=o.reactive({couponInfo:o.computed((()=>s.modelValue))});return(t,s)=>({a:o.f(n.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 c("get",t);var t}),e.id),d:!e.canTake,e:"3a8d21cc-1-"+s+",3a8d21cc-0",f:o.p({data:e}),g:e.id}))),b:o.o((o=>c("close"))),c:o.p({show:e.show,type:"bottom",round:"20",showClose:!0,backgroundColor:"#f2f2f2"})})}},t=o._export_sfc(e,[["__scopeId","data-v-3a8d21cc"]]);wx.createComponent(t);
|