(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-73cc5212"],{"3f53":function(t,e,s){},"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=[],c=(s("2397"),s("ade3")),n=(s("7f7f"),s("c3a6"),s("ad06")),u=s("d4ec"),r=s("bee2"),o=s("99de"),d=s("7e84"),l=s("262e"),p=s("9ab4"),m=s("60a3");function _(t,e,s){return e=Object(d["a"])(e),Object(o["a"])(t,v()?Reflect.construct(e,s||[],Object(d["a"])(t).constructor):e.apply(t,s))}function v(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(v=function(){return!!t})()}var f=function(t){function e(){var t;return Object(u["a"])(this,e),t=_(this,e,arguments),t.productInstructions={},t}return Object(l["a"])(e,t),Object(r["a"])(e,[{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}})}}])}(m["f"]);p["a"]([Object(m["d"])({type:Object,required:!0})],f.prototype,"item",void 0),p["a"]([Object(m["d"])({required:!0})],f.prototype,"stadium_id",void 0),p["a"]([Object(m["d"])({type:String,required:!0})],f.prototype,"date_str",void 0),f=p["a"]([Object(m["a"])({name:"TicketCard",components:Object(c["a"])({},n["a"].name,n["a"])})],f);var h=f,b=h,y=(s("ead8"),s("2877")),O=Object(y["a"])(b,i,a,!1,null,"3a96260e",null);e["default"]=O.exports},ead8:function(t,e,s){"use strict";s("3f53")}}]);