(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-55784a25"],{7582:function(t,e,a){"use strict";a("923b")},"923b":function(t,e,a){},a203:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ticket-sale-item flex-direction-row flex-justify-between pl12 pr12 pt15 pb12",class:["soldOut"===t.item.status||"ended"===t.item.status?"disabled":""],on:{click:function(e){return t.buyItem(t.item)}}},[a("div",{staticClass:"flex-direction-column flex-1 mr10"},[a("div",{staticClass:"mb9 flex-direction-row"},[a("div",{staticClass:"ticket-name-text"},[t._v(t._s(t.item.ticket_name))]),a("div",{staticClass:"tag-name pl8 pr8 ml4 flex-align-center fs0"},[t._v("折扣")])]),a("div",{staticClass:"valid-days-text mb4"},[t._v("有效时长："+t._s(t.item.valid_days)+"天")]),a("div",{staticClass:"remain-num-text"},[t._v("剩余："+t._s(t.item.remain_num)+"张")])]),a("div",{staticClass:"flex-direction-column flex-justify-between flex-align-center"},[a("div",{staticClass:"flex-direction-column"},[a("span",{staticClass:"price-text"},[t._v(" "+t._s(t.item.price))]),a("span",{staticClass:"price-text-line mt2"},[t._v(" ¥"+t._s(t.item.price))])]),"1"==t.styleType?a("div",{staticClass:"buy-btn"},[t._v("购买")]):a("van-stepper",{staticClass:"flex-direction-row ml19",attrs:{"button-size":"22",min:"1",max:t.item.remain_num||t.surplusNum},on:{change:t.getPurchaseNum},model:{value:t.purchaseNum,callback:function(e){t.purchaseNum=e},expression:"purchaseNum"}})],1)])},s=[],c=(a("2397"),a("ade3")),n=(a("be7f"),a("565f")),u=(a("66b9"),a("b650")),r=(a("c3a6"),a("ad06")),l=(a("7f7f"),a("f06a"),a("20fb")),m=a("d4ec"),o=a("bee2"),f=a("99de"),p=a("7e84"),d=a("262e"),b=a("9ab4"),v=a("60a3");function y(t,e,a){return e=Object(p["a"])(e),Object(f["a"])(t,_()?Reflect.construct(e,a||[],Object(p["a"])(t).constructor):e.apply(t,a))}function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_=function(){return!!t})()}var x=function(t){function e(){var t;return Object(m["a"])(this,e),t=y(this,e,arguments),t.purchaseNum=1,t.surplusNum=999,t}return Object(d["a"])(e,t),Object(o["a"])(e,[{key:"getPurchaseNum",value:function(t){this.item.remain_num&&t>this.item.remain_num||this.$emit("purchaseNum",t)}},{key:"buyItem",value:function(t){this.$emit("click",t)}}])}(v["f"]);b["a"]([Object(v["d"])({type:Object})],x.prototype,"item",void 0),b["a"]([Object(v["d"])({type:String,required:!1,default:"1"})],x.prototype,"styleType",void 0),x=b["a"]([Object(v["a"])({name:"TicketSaleItem",components:Object(c["a"])(Object(c["a"])(Object(c["a"])(Object(c["a"])({},l["a"].name,l["a"]),r["a"].name,r["a"]),u["a"].name,u["a"]),n["a"].name,n["a"])})],x);var h=x,j=h,O=(a("7582"),a("2877")),C=Object(O["a"])(j,i,s,!1,null,"3b7d74ee",null);e["default"]=C.exports}}]);