(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2f169532"],{3919:function(t,e,n){},cbed:function(t,e,n){"use strict";n("3919")},dee6:function(t,e,n){"use strict";n.r(e);var i=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    ")])])])},a=[],c=(n("2397"),n("ade3")),s=(n("7f7f"),n("66b9"),n("b650")),o=n("d4ec"),u=n("bee2"),r=n("262e"),l=n("99de"),p=n("7e84"),f=n("9ab4"),m=n("60a3");function _(t){var e=d();return function(){var n,i=Object(p["a"])(t);if(e){var a=Object(p["a"])(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return Object(l["a"])(this,n)}}function d(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var v=function(t){Object(r["a"])(n,t);var e=_(n);function n(){var t;return Object(o["a"])(this,n),t=e.apply(this,arguments),t.status=1,t}return Object(u["a"])(n,[{key:"handleButtonText",value:function(t){var e=t.paid_coupon_id,n=t.sale_price,i=t.remain_num,a="立即领取";return e&&0!=i?a="￥"+n+"抢":e&&0==i?a="已售罄":e||0!=i||(a="已领完"),a}},{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}})}}]),n}(m["g"]);f["a"]([Object(m["d"])({default:function(){return{}}})],v.prototype,"item",void 0),v=f["a"]([Object(m["a"])({name:"PlatformCouponsCard",components:Object(c["a"])({},s["a"].name,s["a"])})],v);var b=v,y=b,x=(n("cbed"),n("2877")),C=Object(x["a"])(y,i,a,!1,null,"f1017cd0",null);e["default"]=C.exports}}]);
//# sourceMappingURL=chunk-2f169532.890f6fc6.js.map