2 lines
1.1 KiB
JavaScript
2 lines
1.1 KiB
JavaScript
|
"use strict";const e=require("../../../../../common/vendor.js"),s=require("../../../../../sheep/index.js");if(!Array){e.resolveComponent("su-fixed")()}Math;const t={__name:"detail-activity-tip",props:{activityList:{type:Array,default:()=>[]}},setup(t){e.useCssVars((s=>({"11718e0f":e.unref(o),"1e2a3084":e.unref(i)})));const o=s.sheep.$url.css("/static/img/shop/goods/seckill-tip-bg.png"),i=s.sheep.$url.css("/static/img/shop/goods/groupon-tip-bg.png"),p=t;return(t,o)=>({a:e.f(p.activityList,((t,o,i)=>e.e({a:1===t.type},1===t.type?{b:e.unref(s.sheep).$url.static("/static/img/shop/goods/seckill-logo.png")}:3===t.type?{d:e.unref(s.sheep).$url.static("/static/img/shop/goods/groupon-logo.png")}:{},{c:3===t.type,e:e.t(t.name),f:e.o((e=>function(e){const t=e.type,o=1===t?"seckill":2===t?"TODO 拼团":"groupon";s.sheep.$router.go(`/modules/mall/goods/${o}`,{id:e.id})}(t)),t.id),g:e.n(1===t.type?"seckill-box":"groupon-box"),h:t.id}))),b:e.s(t.__cssVars()),c:e.p({bottom:!0,placeholder:!0,val:44})})}},o=e._export_sfc(t,[["__scopeId","data-v-043cdb74"]]);wx.createComponent(o);
|