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