chunk-046b11ac.25e59c63.js 6.4 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-046b11ac"],{"07b4":function(t,i,s){t.exports=s.p+"img/out@2x.594bd0dc.png"},"0c0f":function(t,i,s){t.exports=s.p+"img/stop@2x.21d89811.png"},"3e2b":function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAddJREFUSEu1lT9I1GEYxz/PTzI5BcFIApVQ14aQFh3MwaHFhsDBQYyw8ywKSgLb3HQIoRS5VziS2hJ1OdwcbAjaitQlL2irwRuC66707pHfz0NFfn/en9S7vt/n+Tx/3vd5hIijd6njIkPALeAqUAS2gXdieB9lL2ECvc9NHN4Cbb46Ics+I5IhH+QnEKDj9FNhHbgQEeU2tfTIHL/8dL4ATdKIw1eUy1ElqN6/FsM9e0CKSZRpS+eurMwBnZLh+1kb/wzG+AB0xwC40odiWLAF/ASaYwJmxTDx/wDCjKR5bgvYBHpjZjAqhowdIMVjlJcxACWKtMob9uwAw9ST4AvQbgl5IYZn1s/UFWqKPpQNwImA5PjDNVmiFAvgQZLMIjwJBQgDkiYbe1R4gKNS7QJXAhx8FsP1sABCh50HGeMV8MjXiTIviwF3VYNoQHiZ1sRw59wZ6AMaKLMTOK5hH6FL0mzF7oEmSSCsVBdNWJCfyHNDlikHviIdpJYmVtFTi0W4BLRY/oMcSuFY67AjaW8L4vVAx+mgQs7SmY2sIIaGE8Ao7dTwzcbSUvNbDPUngCkcftCNRP5aO/9l/soiHz2AHg2223aWsVXTLsBdjV5D/umpeB1+eginXXt6PpyB+gAAAABJRU5ErkJggg=="},5932:function(t,i,s){"use strict";s("ddc1")},82301:function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAf1JREFUSEu1lT1MFEEUx3/vQpSCUFkQCqEQQ1RiQmNDAgUtFoqJX613S4gUnDGhozGBBEgIIexcCBVRG2OU2mi0sjTGjwgk2IihpQEk98jujXvHsruzzU25+5/3m/fef94ITV6SJ76WuAJcR+kM9cIf4IsYvrv2pwL0Mec5ZpwqHtCTEmiTAj4tLMsSh0maRIAWuYHwEuh2ndD+30G5KxU+x/VnAOpxG2UdaM0IXgUKsf8HCA/F51Xj91MAe/IPmcGFUTrYYJdFCMvXuA5QhhoziQBhzY/46SjLvhjag4haZADhU0KWO5yj939P6oAxJqky76y5MIXyFpgBRhL1BcqywkLNcHZpiV8ZbnFyY4JNMVyOANbn3xxR/iFsofwA9hLqH99+NbgnYQZa4h7wPAMQeHxCDJVQP8ZNqrxxHOi+GF7UAEXKCHOODdtiuGT1PkIpU688kQrz+QHCqvg8shn/Bi7mB7hLFNjhlvi8Vo9rKF9zdL2hRLVhlt5k5YhjLsga++rxFGU2B6DeZJt2lk3fiWHY6t4DQw7AaZtaZ2RdtLIYFvQB7bSFFt0ARlMhiRcte1QMiuGjenQj3EEZR+lKASSPCmu/YEyfHXbKMzqZ5i/9KKtAX0rw9GEXjYy0ca0oUh8tCQD3uI4gzXxwIkgzn8x4+k159HNcpFySE9SuuRmdZbdaAAAAAElFTkSuQmCC"},"9d19":function(t,i,s){"use strict";s.r(i);var a=function(){var t=this,i=t._self._c;return i("div",[i("div",{staticClass:"wrap"},[i("div",{staticClass:"header-wrap"},[i("div",{staticClass:"header"},[i("img",{staticClass:"return-img",attrs:{src:s("f5a4"),alt:""},on:{click:function(i){return t.$router.back()}}}),i("p",{staticClass:"header-title"},[t._v("立即报名")]),i("div",{staticClass:"header-btn-box"})])]),i("div",{staticClass:"activity-list"},[i("div",{staticClass:"activity-item"},[i("div",{staticClass:"item-title"},[t._v(t._s(t.info.title))]),i("div",{staticClass:"time"},[t._v("\n 时间:"+t._s(t.info.start_time+"-"+t.info.end_time)+"\n ")]),i("div",{staticClass:"time"},[t._v("\n 地址:"+t._s(t.info.province+t.info.city+t.info.county+t.info.address)+"\n ")])]),t._l(t.price_list,(function(a,n){return i("div",{key:n,staticClass:"activity-item"},[0==a.stock||0==a.ladder_status?i("div",{staticClass:"shadow"}):t._e(),i("div",{staticClass:"item-title"},[t._v(t._s(a.ladder_title))]),i("div",{staticClass:"price"},[i("span",[t._v("¥"+t._s(a.ladder_price))]),i("van-stepper",{attrs:{min:"0",max:a.stock,"disable-input":""},model:{value:a.num,callback:function(i){t.$set(a,"num",i)},expression:"item.num"}})],1),1==a.is_sh?i("div",{staticClass:"time"},[i("img",{attrs:{src:s("3e2b"),alt:""}}),t._v("\n 此门票需要主办方审核\n ")]):i("div",{staticClass:"time"},[i("img",{attrs:{src:s("3e2b"),alt:""}}),t._v("\n 此门票不需要主办方审核\n ")]),i("div",{staticClass:"time"},[i("img",{attrs:{src:s("82301"),alt:""}}),t._v("\n "+t._s(a.ladder_remark)+"\n ")]),0==a.ladder_status?i("img",{staticClass:"tips",attrs:{src:s("0c0f"),alt:""}}):t._e(),0==a.stock?i("img",{staticClass:"tips",attrs:{src:s("07b4"),alt:""}}):t._e()])}))],2)]),i("div",{staticClass:"bottom"},[i("div",{staticClass:"allPrice"},[t._v("\n 总计"),i("span",[t._v("¥"+t._s(t.count))])]),i("button",{on:{click:t.submit}},[t._v("确定")])])])},n=[],e=(s("ac6a"),s("f3e2"),s("759f"),s("f523")),c=s("d399"),A={components:{},data:function(){return{info:{},tg:"",price_list:[]}},mounted:function(){var t=this.$route.query,i=parseInt(t.id||0);t.tg&&(this.tg=t.tg),this.info.id=i,this.getDatumDetail()},methods:{submit:function(){var t=this.price_list.some((function(t){return t.num>0}));if(t){var i={list:[]};i.offline_bank=this.info.offline_bank,i.offline_card=this.info.offline_card,i.offline_user=this.info.offline_user,i.pay_offline=this.info.pay_offline,i.template_list=this.info.template_list,i.template_list.forEach((function(t){3==t.type&&(t.list=[])})),i.id=this.info.id,i.title=this.info.title,i.start_time=this.info.start_time,i.end_time=this.info.end_time,i.province=this.info.province,i.city=this.info.city,i.county=this.info.county,i.address=this.info.address,this.price_list.forEach((function(t){t.num>0&&i.list.push(t)})),this.$router.push("activity-sign-up?info=".concat(JSON.stringify(i),"&tg=").concat(this.tg))}else Object(c["a"])("请选择要报名的活动")},getDatumDetail:function(){var t=this;e["a"].getActivityDetailSimplify({id:this.info.id}).then((function(i){var s=i.data;t.info=s.detail,t.info.price_list.forEach((function(t){t.num=0})),t.price_list=JSON.parse(JSON.stringify(t.info.price_list))}))}},computed:{count:function(){var t=0;return this.price_list.forEach((function(i){i.num>=i.fill_num?t+=i.num*(1*i.ladder_price-1*i.sub_money):t+=i.num*i.ladder_price})),t.toFixed(2)}}},o=A,r=(s("5932"),s("2877")),l=Object(r["a"])(o,a,n,!1,null,"6ac32a31",null);i["default"]=l.exports},ddc1:function(t,i,s){},f5a4:function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAm5JREFUWEft2MnLTlEYAPDfZx4yK8WCWLBgwQIbSobIkMiwYiMbJX+JWLFRSmJBUoYyLCjDQoREQgghikQiQ4/OW8eXvPfe976fV31ne8+9z+8+59xzn3O6dHjr6nCfXmCrI9RTGeyH2XiEl2XQPQEci5MJ+AlLcKkost3AcTiH6RloN3Z0AnACzmNqhvmBFTj1r4ETE25KBvmObdhbFBf92jHEgYrMBbLRvmEL9pfBtQM4LeHGZ5Cv2ITDZXF1A2fgLOLDaLQv2IhjVXB1AmfhDMZkkM9YW+aD+NNL1DEH5+I0RmYBPmJ1WmKqJu/Xfa0C5+MEhmWKD2kpudiSLN3cCnARjmNIBnmHZbhaB66VDC7HEQzKIG/Tb+x6XbiqwDU4hAEZ5BUW43aduCrA9TiIqE4a7TliuO/VjSsLjA8hSqV8zj3BQjxsB64scDRiKPPs3UzZe9MJwDBEmbSz2/J0JyFLFaJFX6jKMrMdu7oh76ehflY0cNF+VYDx7K3Ygz5ZoCjnYz4+Lhq8SL+qwHj2ZuxD3yzQ04R8UCR4kT6tAOP5G3AA/bNgL9KcvFsE0KxPq8B4fhQFUesNzIK9Tgv3rWaAZtfrAEaM+P8exeAsYPz6luJaM8TfrtcFjBjxgUTxMDQL+D7hr1RF1gkMw7xUfg3PQFF+rcSFKsi6gWGYkwrYURkoNuwxV2NLUKq1AxiAmWkLEKcKjRZbgHUpw4WR7QIGIE4T4lSh+yZqAS4XFbYTGIY4VYg9cpwyNFrHHH00QJMTchLidGFVOkwqlMR2Z7CBGIHYJsTf5UYhWerUU8Aypt/69gIrp+5/GeKfiUBcKeCBb1YAAAAASUVORK5CYII="}}]);
  2. //# sourceMappingURL=chunk-046b11ac.25e59c63.js.map