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