(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7b08d305"],{"9a88":function(t,e,n){"use strict";n("fb60")},dee6:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"platform-coupon-card flex-direction-column pb10 mb5"},[n("div",{staticClass:"platform-coupon-card-content flex-1 pl4 pr4 mr4 ml4 mt4 flex-direction-column flex-align-center pb9",on:{click:function(e){return t.toBuy(t.item)}}},[n("div",{staticClass:"flex-justify-center"},[n("div",{staticClass:"tag-box pl7 pr7 pt1 pb1"},[t._v(t._s(t.item.coupon_type_str))])]),1==t.item.coupon_type?n("div",[n("span",{staticClass:"symbol-text"},[t._v("¥")]),n("span",{staticClass:"money-text"},[t._v(t._s(t.item.coupon_value))])]):t._e(),3==t.item.coupon_type?n("div",{staticClass:"flex-1 flex-align-center"},[n("span",{staticClass:"money-text"},[t._v(t._s(t.item.product_type_str))])]):t._e(),2==t.item.coupon_type?n("div",{staticClass:"money-text"},[t._v(t._s(t.item.coupon_value)),n("span",{staticClass:"symbol-text"},[t._v(" 折")])]):t._e(),n("div",{staticClass:"flex-1 flex-align-center sle tip-text mt6"},[t._v(t._s(3==t.item.coupon_type?t.item.coupon_name:t.item.enough_money_str))]),t.item.showPanicBuying?n("div",{staticClass:"mask flex-align-justify-center"},[t._v(t._s(t.item.startTime.toString().replace(/,/g," "))+"开抢")]):t._e()]),n("div",{staticClass:"mt11 ml8 pr8"},[t.item.showPanicBuying?n("div",{staticClass:"button-box flex-align-justify-center pl5 pr5 pt3 pb3 now",class:{disable:1!=t.item.sale_status},on:{click:function(e){return t.toBuy(t.item)}}},[t._v("\n      ￥"+t._s(t.item.sale_price)+"抢\n    ")]):n("div",{staticClass:"button-box flex-align-justify-center pl5 pr5 pt3 pb3 now",class:{disable:1!=t.item.sale_status||0==t.item.remain_num},on:{click:function(e){return t.toBuy(t.item)}}},[t._v("\n      "+t._s(t.handleButtonText(t.item))+"\n    ")])])])},i=[],o=(n("2397"),n("ade3")),s=(n("7f7f"),n("66b9"),n("b650")),c=n("d4ec"),u=n("bee2"),l=n("99de"),r=n("7e84"),p=n("262e"),m=n("9ab4"),_=n("60a3");function f(t,e,n){return e=Object(r["a"])(e),Object(l["a"])(t,d()?Reflect.construct(e,n||[],Object(r["a"])(t).constructor):e.apply(t,n))}function d(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(d=function(){return!!t})()}var v=function(t){function e(){var t;return Object(c["a"])(this,e),t=f(this,e,arguments),t.status=1,t}return Object(p["a"])(e,t),Object(u["a"])(e,[{key:"handleButtonText",value:function(t){var e=t.paid_coupon_id,n=t.sale_price,a=t.remain_num,i="立即领取";return e&&0!=a?i="￥"+n+"抢":e&&0==a?i="已售罄":e||0!=a||(i="已领完"),i}},{key:"toBuy",value:function(t){var e=t.paid_coupon_id,n=t.coupon_id;t.remain_num;this.$router.push({name:"CouponDetail",query:{paid_coupon_id:e,coupon_id:n}})}}])}(_["g"]);m["a"]([Object(_["d"])({default:function(){return{}}})],v.prototype,"item",void 0),v=m["a"]([Object(_["a"])({name:"PlatformCouponsCard",components:Object(o["a"])({},s["a"].name,s["a"])})],v);var b=v,y=b,x=(n("9a88"),n("2877")),C=Object(x["a"])(y,a,i,!1,null,"34ece46e",null);e["default"]=C.exports},fb60:function(t,e,n){}}]);
//# sourceMappingURL=chunk-7b08d305.c1f072e8.js.map