(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-69bf728e"],{"4e17":function(e,t,a){},a203:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"ticket-sale-item flex-direction-row flex-justify-between pl12 pr12 pt15 pb12",class:["soldOut"===e.item.status||"ended"===e.item.status?"disabled":""],on:{click:function(t){return e.buyItem(e.item)}}},[a("div",{staticClass:"flex-direction-column flex-1 mr10"},[a("div",{staticClass:"mb9 flex-direction-row"},[a("div",{staticClass:"ticket-name-text"},[e._v(e._s(e.item.ticket_name))]),e.item.is_discount?a("div",{staticClass:"tag-name pl8 pr8 ml4 flex-align-center fs0"},[e._v("折扣")]):e._e()]),a("div",{staticClass:"valid-days-text mb4"},[e._v("有效时长："+e._s(e.item.valid_days)+"天")]),a("div",{staticClass:"remain-num-text"},[e._v("剩余："+e._s(e.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"},[e._v(" "+e._s(e.item.price))]),e.item.is_discount?a("span",{staticClass:"price-text-line mt2"},[e._v(" ¥"+e._s(e.item.original_price_c))]):e._e()]),"1"==e.styleType?a("div",{staticClass:"buy-btn"},[e._v("购买")]):a("van-stepper",{staticClass:"flex-direction-row ml19",attrs:{"button-size":"22",min:"1",max:e.item.remain_num||e.surplusNum},on:{change:e.getPurchaseNum},model:{value:e.purchaseNum,callback:function(t){e.purchaseNum=t},expression:"purchaseNum"}})],1)])},c=[],s=(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"),d=a("7e84"),p=a("262e"),b=a("9ab4"),v=a("60a3");function _(e,t,a){return t=Object(d["a"])(t),Object(f["a"])(e,y()?Reflect.construct(t,a||[],Object(d["a"])(e).constructor):t.apply(e,a))}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function(){return!!e})()}var x=function(e){function t(){var e;return Object(m["a"])(this,t),e=_(this,t,arguments),e.purchaseNum=1,e.surplusNum=999,e}return Object(p["a"])(t,e),Object(o["a"])(t,[{key:"getPurchaseNum",value:function(e){this.item.remain_num&&e>this.item.remain_num||this.$emit("purchaseNum",e)}},{key:"buyItem",value:function(e){this.$emit("click",e)}}])}(v["g"]);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(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["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("cefb"),a("2877")),C=Object(O["a"])(j,i,c,!1,null,"6765660c",null);t["default"]=C.exports},cefb:function(e,t,a){"use strict";a("4e17")}}]);
//# sourceMappingURL=chunk-69bf728e.89522e66.js.map