webpackJsonp([24],{JSaG:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=e("Dr8r"),i={name:"index",data:function(){return{matchList:[]}},mounted:function(){this.getList()},methods:{toDeatils:function(t,s){0===s&&this.$router.push({name:"deatils",query:{matchId:t,type:0}}),1===s&&this.$router.push({name:"basketDeatils",query:{matchId:t,type:1}})},getList:function(){var t=this;this.$axios("post","/match/userGetReserveMatch").then(function(s){200===s.code&&(t.matchList=s.data.matchLists)})},getAppoinment:function(t){var s=this;if(a.b.get("token")){var e={id:t.id};this.$axios("post","/match/userReserveMatch",e).then(function(t){200===t.code&&s.getList()})}else this.$tost({message:"请先登录！"})},userCancelReserveMatch:function(t){var s=this,e={id:t.id};this.$axios("post","/match/userCancelReserveMatch",e).then(function(t){200===t.code&&s.getList()})}}},n={render:function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{staticClass:"back",on:{click:t.$utils.goBack}},[e("img",{attrs:{src:"http://cos.mzhibo66.xyz/static/h5/back.png",width:"18px"}})]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"feedback"},t._l(t.matchList,function(s,a){return e("div",{key:a},t._l(s.matchInfos,function(s,a){return 3!==s.status?e("div",{key:a,staticClass:"match-card"},[e("div",{staticClass:"fs-12 match-time fx align-items justify-between"},[e("div",{staticClass:"matchShortName",style:{background:s.sportsColor}},[t._v(t._s(s.matchShortName))]),t._v(" "),e("div",{staticClass:"fx align-items justify-center fs-12",staticStyle:{color:"#959DB0"}},[t._v("\n            半:"),s.halftimeScore?e("span",{staticClass:"mr-5 "},[t._v(t._s(s.halftimeScore))]):e("span",{staticClass:"mr-5 "},[t._v("0:0")]),t._v("\n            角:"),s.cornerKick?e("span",{},[t._v(t._s(s.cornerKick))]):e("span",{},[t._v("0:0")])]),t._v(" "),e("div",{staticClass:"c-9D  mr-10 m-time-box"},[t._v(t._s(s.matchTime))])]),t._v(" "),e("div",{staticClass:"mt-10 pb-15"},[e("div",{staticStyle:{width:"100%","text-align":"left","margin-bottom":"-23px","margin-left":"12px"}},[s.subscribe?e("div",{on:{click:function(e){return t.userCancelReserveMatch(s)}}},[e("img",{attrs:{src:"http://cos.mzhibo66.xyz/static/h5/xingxing1.png",width:"12px"}})]):t._e(),t._v(" "),s.subscribe?t._e():e("div",{on:{click:function(e){return t.getAppoinment(s)}}},[e("img",{attrs:{src:"http://cos.mzhibo66.xyz/static/h5/xingxing2.png",width:"12px"}})])]),t._v(" "),e("div",{staticClass:"fx align-items justify-center",on:{click:function(e){return t.toDeatils(s.id,s.sportsType)}}},[e("div",{staticClass:" mr-5 fs-12 teamName ta-r"},[t._v(t._s(s.homeTeam.teamName))]),t._v(" "),e("div",{staticClass:"pt-5 mr-10"},[e("img",{staticClass:"teamIcon",attrs:{src:s.homeTeam.teamIcon}})]),t._v(" "),e("div",{staticClass:"fx justify-center align-items"},[2===s.status?e("div",{staticClass:"fs-18 c-9D"},[t._v("vs")]):t._e(),t._v(" "),2!==s.status?e("div",{staticClass:" red fw-700"},[t._v(t._s(s.homeTeam.score)+"-"+t._s(s.awayTeam.score))]):t._e()]),t._v(" "),e("div",{staticClass:"pt-5 ml-10"},[e("img",{staticClass:"teamIcon",attrs:{src:s.awayTeam.teamIcon}})]),t._v(" "),e("div",{staticClass:" ml-5 fs-12 teamName ta-l"},[t._v(t._s(s.awayTeam.teamName))])]),t._v(" "),e("div",{staticStyle:{width:"100%","text-align":"right","margin-left":"-10px","margin-top":"-20px"}},[1===s.status?e("div",[e("img",{attrs:{src:"http://cos.mzhibo66.xyz/static/h5/spzb.png",width:"12px"}})]):t._e(),t._v(" "),1!==s.status?e("div",[e("img",{attrs:{src:"http://cos.mzhibo66.xyz/static/h5/scxq.png",width:"12px"}})]):t._e()])])]):t._e()}),0)}),0)])},staticRenderFns:[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"fx align-items justify-center"},[s("div",{staticClass:"fs-18 mt-10"},[this._v("我的预约")])])}]};var c=e("VU/8")(i,n,!1,function(t){e("UTXh")},"data-v-3c6e68ae",null);s.default=c.exports},UTXh:function(t,s,e){var a=e("cSrk");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);e("rjj0")("21344bcc",a,!0,{})},cSrk:function(t,s,e){(t.exports=e("FZ+f")(!1)).push([t.i,"\n.back[data-v-3c6e68ae] {\n  position: absolute;\n  top:12px;\n  left: 15px;\n}\n.feedback[data-v-3c6e68ae]{\n  width: 100%;\n  position: absolute;\n  top:44px;\n  left: 0;\n  bottom: 0;\n  overflow-y: scroll;\n  background: #F5F6F7;\n  padding-bottom: 20px;\n}\n.match-card[data-v-3c6e68ae]{\n  margin-top: 10px;\n  background: white;\n}\n.matchShortName[data-v-3c6e68ae]{\n  /*padding:1px 10px;*/\n  font-size: 12px;\n  margin: 3px 12px;\n  color: white;\n  width: 68px;\n  text-align: center;\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.match-time[data-v-3c6e68ae]{\n  border-bottom: 1px solid #F9F9FB;\n}\n.teamName[data-v-3c6e68ae]{\n  width: 20%;\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.teamIcon[data-v-3c6e68ae]{\n  width: 17px;\n  height: 18px;\n}\n",""])}});