(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3cb13425"],{"4c09":function(t,e,s){"use strict";s.r(e);var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:["ticket-item-container",t.surplusNum<=0?"active":""]},[s("div",{staticClass:"message",on:{click:t.handleBuy}},[s("div",{staticClass:"m-left"},[s("div",{staticClass:"m-name van-multi-ellipsis--l2"},[t._v(t._s(t.item.product_name))]),t.item.short_introduction?s("div",{staticClass:"m-des"},[s("span",{staticClass:"van-multi-ellipsis--l2"},[t._v(" "+t._s(t.item.short_introduction)+" ")]),s("van-icon",{attrs:{name:"arrow"}})],1):t._e()]),s("div",{staticClass:"m-right"},[s("div",{staticClass:"price"},[s("span",[t._v("￥")]),s("span",[t._v(t._s(t.item.sale_price))])]),s("div",{staticClass:"origin-price"},[t._v("原价¥"+t._s(t.item.crossed_price))])])]),s("div",{staticClass:"count"},[s("span",{staticClass:"num"},[t._v("剩余数量: "+t._s(t.surplusNum))]),s("span",{staticClass:"pay-btn",on:{click:t.handleBuy}},[t._v(t._s(t.surplusNum<=0?"售罄":"抢购"))])])])},a=[],n=(s("2397"),s("ade3")),c=(s("7f7f"),s("c3a6"),s("ad06")),r=s("d4ec"),u=s("bee2"),o=s("262e"),l=s("99de"),d=s("7e84"),p=s("9ab4"),m=s("60a3");function f(t){var e=_();return function(){var s,i=Object(d["a"])(t);if(e){var a=Object(d["a"])(this).constructor;s=Reflect.construct(i,arguments,a)}else s=i.apply(this,arguments);return Object(l["a"])(this,s)}}function _(){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(o["a"])(s,t);var e=f(s);function s(){var t;return Object(r["a"])(this,s),t=e.apply(this,arguments),t.productInstructions={},t}return Object(u["a"])(s,[{key:"surplusNum",get:function(){var t=this.item.daily_sale_num_limit-this.item.sale_num;return t<=0?0:t}},{key:"des",get:function(){return this.item.sub_product_info.reduce((function(t,e,s,i){return t+"".concat(e.num,"张").concat(e.sub_product_name).concat(i.length-1==s?"  ":" + ")}),"")}},{key:"handleBuy",value:function(){this.surplusNum<=0||this.$router.push({name:"MarketingProductDetail",query:{product_id:this.item.product_id,surplusNum:"".concat(this.surplusNum),stadium_id:this.stadium_id,dateStr:this.date_str}})}}]),s}(m["g"]);p["a"]([Object(m["d"])({type:Object,required:!0})],v.prototype,"item",void 0),p["a"]([Object(m["d"])({required:!0})],v.prototype,"stadium_id",void 0),p["a"]([Object(m["d"])({type:String,required:!0})],v.prototype,"date_str",void 0),v=p["a"]([Object(m["a"])({name:"TicketCard",components:Object(n["a"])({},c["a"].name,c["a"])})],v);var h=v,b=h,y=(s("9f64"),s("2877")),O=Object(y["a"])(b,i,a,!1,null,"3a96260e",null);e["default"]=O.exports},6148:function(t,e,s){},"9f64":function(t,e,s){"use strict";s("6148")}}]);
//# sourceMappingURL=chunk-3cb13425.5a92139b.js.map