(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-07a4970a"],{"86fdf":function(t,e,a){"use strict";a("9b83")},"9b83":function(t,e,a){},a203:function(t,e,a){"use strict";a.r(e);var i,n=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))]),t.item.is_discount?a("div",{staticClass:"tag-name pl8 pr8 ml4 flex-align-center fs0"},[t._v("折扣")]):t._e()]),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))]),t.item.is_discount?a("span",{staticClass:"price-text-line mt2"},[t._v(" ¥"+t._s(t.item.original_price_c))]):t._e()]),"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")),r=(a("be7f"),a("565f")),u=(a("66b9"),a("b650")),l=(a("c3a6"),a("ad06")),o=(a("7f7f"),a("f06a"),a("20fb")),m=a("d4ec"),f=a("bee2"),d=a("262e"),p=a("99de"),b=a("7e84"),v=a("9ab4"),_=a("60a3");function y(t){var e=h();return function(){var a,i=Object(b["a"])(t);if(e){var n=Object(b["a"])(this).constructor;a=Reflect.construct(i,arguments,n)}else a=i.apply(this,arguments);return Object(p["a"])(this,a)}}function h(){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 x=function(t){Object(d["a"])(a,t);var e=y(a);function a(){var t;return Object(m["a"])(this,a),t=e.apply(this,arguments),t.purchaseNum=1,t.surplusNum=999,t}return Object(f["a"])(a,[{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)}}]),a}(_["g"]);v["a"]([Object(_["d"])({type:Object})],x.prototype,"item",void 0),v["a"]([Object(_["d"])({type:String,required:!1,default:"1"})],x.prototype,"styleType",void 0),x=v["a"]([Object(_["a"])({name:"TicketSaleItem",components:(i={},Object(c["a"])(i,o["a"].name,o["a"]),Object(c["a"])(i,l["a"].name,l["a"]),Object(c["a"])(i,u["a"].name,u["a"]),Object(c["a"])(i,r["a"].name,r["a"]),i)})],x);var j=x,O=j,C=(a("86fdf"),a("2877")),k=Object(C["a"])(O,n,s,!1,null,"a88b3684",null);e["default"]=k.exports}}]);
//# sourceMappingURL=chunk-07a4970a.484daf79.js.map