<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-5bcf0ae4"],{"3dd0":function(e,t,a){(e.exports=a("2350")(!1)).push([e.i,'\n.rebateOdds{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column\n}\n.rebateOdds,.rebateOdds .rebate_table{display:-webkit-box;display:-ms-flexbox;display:flex\n}\n.rebateOdds .rebate_table{padding:20px 15px\n}\n.rebateOdds .rebate_table .rebate_table__left{-ms-flex-preferred-size:300px;flex-basis:300px\n}\n.rebateOdds .rebate_table .rebate_table__left table td{max-width:500px;white-space:unset\n}\n.rebateOdds .rebate_table .rebate_table__right{-ms-flex-preferred-size:200px;flex-basis:200px;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-x:scroll;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none\n}\n.rebateOdds .rebate_table .rebate_table__right table{cursor:move\n}\n.rebateOdds .rebate_table .rebate_table__right table th{position:relative\n}\n.rebateOdds .rebate_table .rebate_table__right table th&gt;.switch{color:#fff;position:absolute;font-size:12px;line-height:20px;right:5px;top:0;font-weight:400;cursor:pointer\n}\n.rebateOdds header{width:100%;height:80px;line-height:80px;background:#e3393c;color:#fff;margin:0 auto;-webkit-box-sizing:border-box;box-sizing:border-box\n}\n.rebateOdds header .gameName{font-size:24px;position:relative;width:1000px;margin:0 auto;cursor:pointer\n}\n.rebateOdds header .gameName:hover .list__wrap{display:block\n}\n.rebateOdds header .gameName i{font-size:20px\n}\n.rebateOdds header .gameName .list__wrap{display:none;color:#555;background:#fff;position:absolute;z-index:2001;left:0;top:80px;border-radius:10px;-webkit-box-shadow:0 0 10px rgba(0,0,0,.3);box-shadow:0 0 10px rgba(0,0,0,.3);padding:10px 0;font-size:14px;line-height:24px\n}\n.rebateOdds header .gameName .list__wrap .list__tabs{white-space:nowrap;border-bottom:1px solid #d6d6d6;line-height:30px\n}\n.rebateOdds header .gameName .list__wrap .list__tabs&gt;span{display:inline-block;width:150px;height:30px;text-align:center;font-size:14px;border:1px solid #d6d6d6;border-bottom:none\n}\n.rebateOdds header .gameName .list__wrap .list__tabs&gt;span:first-child{border-left:none;border-right:none\n}\n.rebateOdds header .gameName .list__wrap .list__tabs&gt;span.active{border-top:2px solid #b82541;position:relative\n}\n.rebateOdds header .gameName .list__wrap .list__tabs&gt;span.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;border-bottom:1px solid #fff\n}\n.rebateOdds header .gameName .list__wrap table{width:100%\n}\n.rebateOdds header .gameName .list__wrap table thead tr{white-space:nowrap\n}\n.rebateOdds header .gameName .list__wrap table thead tr th{min-width:100px;text-align:center;height:50px;line-height:50px;font-size:16px;font-weight:600;color:#333;border-bottom:1px solid #d6d6d6\n}\n.rebateOdds header .gameName .list__wrap table tbody tr td{border-right:1px solid #d6d6d6\n}\n.rebateOdds header .gameName .list__wrap table tbody tr td div{padding:5px 0\n}\n.rebateOdds header .gameName .list__wrap table tbody tr td div span{display:inline-block;width:90px;line-height:30px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis\n}\n.rebateOdds header .gameList{position:absolute;width:100%\n}\n.rebateOdds .rebate_table{width:1050px;margin:0 auto;-webkit-box-shadow:0 0 2px rgba(0,0,0,.5);box-shadow:0 0 2px rgba(0,0,0,.5);overflow-y:auto;min-height:calc(100vh - 150px)\n}\n.rebateOdds .rebate_table table{width:100%;text-align:center\n}\n.rebateOdds .rebate_table table tr td{padding:0 10px;font-size:14px;vertical-align:middle\n}\n.rebateOdds .rebate_table table tr th{color:#fff;font-weight:600;background:#de4d50\n}\n.rebateOdds .rebate_table table tr td,.rebateOdds .rebate_table table tr th{border:1px solid #e1e1e1;height:40px;line-height:40px;white-space:nowrap\n}\n.rebateOdds .rebate__title{clear:both;padding:0 20px;overflow:hidden;position:relative\n}\n.rebateOdds .rebate__title:after{content:"";position:absolute;width:100%;height:0;border-top:1px solid #fff;-webkit-transform:rotate(20deg);transform:rotate(20deg);left:0;top:20px\n}\n.rebateOdds .rebate__title&gt;span:first-child{float:left;-webkit-box-sizing:border-box;box-sizing:border-box;line-height:30px;padding-top:10px;margin-left:10px\n}\n.rebateOdds .rebate__title&gt;span:last-child{float:right;padding-right:10px\n}',""])},"4e47":function(e,t,a){"use strict";var i=a("a278");a.n(i).a},a278:function(e,t,a){var i=a("3dd0");"string"==typeof i&amp;&amp;(i=[[e.i,i,""]]),i.locals&amp;&amp;(e.exports=i.locals),(0,a("499e").default)("6cc6e932",i,!0,{sourceMap:!1,shadowMode:!1})},a865:function(e,t,a){"use strict";a.r(t);var i=(a("5df3"),a("1c4c"),a("7514"),a("2fdb"),a("6762"),a("2909")),s=(a("7f7f"),a("be94")),n=(a("ac6a"),a("456d"),a("2f62")),r={data:function(){return{activeGame:{},defaultGameCode:"jsks_zb",gameTypeMap:{ssc:{name:"时时彩",code:"ssc",list:[]},sc:{name:"快乐彩",code:"sc",list:[]},lhc:{name:"六合彩",code:"lhc",list:[]},ks:{name:"快三",code:"ks",list:[]},"11x5":{name:"11选5",code:"11x5",list:[]},other:{name:"其他",code:"other",list:[]}},Private:!1,maxRebate:0,rebateOddList:[],isLoading:!1,openItem:null,titleHeightList:{},comHeightSt:null,isComing:!1}},watch:{Private:function(){this.initGameList()},activeGame:{handler:function(e){e&amp;&amp;e.gameCode&amp;&amp;(this.queryGamePlay(e),e&amp;&amp;Object.keys(e)&amp;&amp;this.getMaxRebate(this.activeGame.playType.toLowerCase(),this.activeGame.gameCategoryCode))},immediate:!0},userRebateMap:{handler:function(e){e&amp;&amp;Object.keys(e)&amp;&amp;this.activeGame&amp;&amp;this.activeGame.playType&amp;&amp;this.getMaxRebate(this.activeGame.playType.toLowerCase(),this.activeGame.gameCategoryCode)},immediate:!0}},methods:Object(s.a)({},Object(n.b)("betting",["getUserRebate"]),{switchOpenItem:function(e){this.openItem?this.openItem=null:this.openItem=e},changeRebate:function(e,t){var a=e.maxOdds,i=e.rebateScale,s=e.odds;if(this.maxRebate&lt;=0)return s;a=isNaN(+a)?0:+a,i=isNaN(+i)?0:+i;var n=+(s=isNaN(+s)?0:+s)+i*Math.floor(t/10);return n&gt;a&amp;&amp;(n=a),n},formatOdds:function(e){var t=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:3;return e?this.activeGame.isPrivate?(e/1e4).toFixed(t):(e/5e3).toFixed(t):0},getMaxRebate:function(e,t){var a=this;if(this.maxRebate=0,"lhc"===e){["lhcRebate0","lhcRebate1","lhcRebate2","lhcRebate3"].forEach(function(e){a.maxRebate&lt;a.userRebateMap[e]&amp;&amp;(a.maxRebate=+a.userRebateMap[e])})}else this.maxRebate=+this.userRebateMap["".concat(t,"Rebate")]||0},getOddsList:function(e,t){var a=this,s=t.isPrivate;this.rebateOddList=e.reduce(function(e,t){var a=t.subCategoryList.reduce(function(e,t){if(1===t.isEnable)if(s){var a=t.styleOption?JSON.parse(t.styleOption):"",i=a.type||"input";if("checkbox"!==i&amp;&amp;"checkBall"!==i||!a.manyOdds)if("checkbox"===i&amp;&amp;1===t.itemList.length&amp;&amp;t.itemList[0].multiOdds){JSON.parse(t.itemList[0].multiOdds).odds.forEach(function(a){e.push({fullPlayName:"".concat(t.fullPlayName,"-").concat(a.name),maxOdds:a.maxOdds,odds:a.odds,rebateScale:a.rebateScale})})}else if(t.itemList.length&gt;1){var n={};t.itemList.forEach(function(e){var a=e.odds;n[a]||(n[a]=e,n[a].tempPlayName=t.playName,n[a].tempValues=[]),n[a].tempValues.push(e.valName),n[a].spliceName=n[a].spliceName?"".concat(n[a].spliceName,"/").concat(e.valName):"".concat(t.playName,"/").concat(e.valName)}),Object.keys(n).forEach(function(t){var a=n[t];e.push({tempValues:a.tempValues,tempPlayName:a.tempPlayName,fullPlayName:a.spliceName,maxOdds:a.maxOdds,odds:a.odds,rebateScale:a.rebateScale})})}else{var r=t.itemList[0]||{};e.push({fullPlayName:t.fullPlayName,maxOdds:r.maxOdds,odds:r.odds,rebateScale:r.rebateScale})}else t.itemList.forEach(function(a){e.push({fullPlayName:"".concat(t.fullPlayName,"-").concat(a.valName),maxOdds:a.maxOdds,odds:a.odds,rebateScale:a.rebateScale})})}else if(t.multiOdds){JSON.parse(t.multiOdds).odds.forEach(function(a){e.push({fullPlayName:"".concat(t.fullPlayName,"-").concat(a.name),maxOdds:a.maxOdds,odds:a.odds,rebateScale:a.rebateScale})})}else e.push({fullPlayName:t.fullPlayName,maxOdds:t.maxOdds,odds:t.odds,rebateScale:t.rebateScale});return e},[]);return Object(i.a)(e).concat(Object(i.a)(a))},[]),clearTimeout(this.comHeightSt),this.comHeightSt=setTimeout(function(){try{a.isComing=!0,a.comHeight().finally(function(){a.isComing=!1})}catch(e){}},100)},queryGamePlay:function(e){var t=this;this.rebateOddList=[],this.titleHeightList={},this.isLoading=!0,this.$get("/v/game/queryGamePlay",{gameCode:e.gameCode}).then(function(a){a&amp;&amp;a.categoryVOList&amp;&amp;a.categoryVOList.length&amp;&amp;t.getOddsList(a.categoryVOList,e)}).catch(function(e){t.$bAlert(e.message)}).finally(function(){t.isLoading=!1})},itemWidth:function(e){return{width:"".concat(100*Math.ceil(e/7),"px")}},initGameList:function(){var e=this;Object.keys(this.gameTypeMap).forEach(function(t){e.gameTypeMap[t].list=[]});var t=["ssc","sc","ks","ks1","ks2","11x5","lhc"];this.currentList.filter(function(e){return e.isEnable}).forEach(function(a){var i=a.playType.toLowerCase();t.includes(i)?i.includes("ks")?e.gameTypeMap.ks.list.push(a):e.gameTypeMap[i].list.push(a):e.gameTypeMap.other.list.push(a)})},comHeight:function(){var e=this;return new Promise(function(t,a){var i={};e.rebateOddList.forEach(function(t,a){var s="rebateTitle".concat(a),n=function(e){return Array.isArray(e)?e[0]:e}(e.$refs[s]);if(n){var r=n.getBoundingClientRect().height;n.style.height=r+"px",i[a]=r}}),e.titleHeightList=i,t(i)})},heightStyle:function(e){return this.titleHeightList[e]?{height:this.titleHeightList[e]+"px"}:{}}}),mounted:function(){var e=this;this.gameList&amp;&amp;this.gameList.length&amp;&amp;(this.gameList.some(function(t){return t.gameCode===e.defaultGameCode})?this.activeGame=this.gameList.find(function(t){return t.gameCode===e.defaultGameCode}):this.activeGame=this.gameList[0],this.initGameList()),this.getUserRebate()},computed:Object(s.a)({},Object(n.c)("game",["gameList"]),Object(n.e)("betting",["userRebateMap"]),{currentList:function(){var e=this;return this.gameList&amp;&amp;this.gameList.length?this.gameList.filter(function(t){return t.playType.includes("KS")||t.playType.includes("ks")?e.Private?"KS2"===t.playType:"KS1"===t.playType:!!t.isPrivate===e.Private}):[]},rebateList:function(){var e=this.maxRebate;if(e&lt;=0)return[0];var t=Array.from({length:Math.ceil(e/10)},function(t,a){return e-10*a});return t.push(0),t},showRebateList:function(){var e=this.openItem,t=this.rebateList,a=this.maxRebate;return e?t.filter(function(t){return e+100&gt;a?e&gt;=t&amp;&amp;e-100&lt;t||t&gt;e:e&gt;=t&amp;&amp;e-100&lt;t}):t.filter(function(e){return!(e%100)})}}),directives:{clickmove:{bind:function(e,t){var a=null,i=0,s=0,n=!1,r=0,o=0;e.addEventListener("mousedown",function(t){var l=t||t.event;i=l.clientX,s=l.clientY,n=!0,r=e.scrollLeft,o=document.body.scrollTop,document.addEventListener("mousemove",function(t){if(a=document.body.scrollTop||document.documentElement.scrollTop||window.pageYOffset,n){var l=t||t.event,d=l.clientX,c=l.clientY;o=c-s,r=(r=d-i)&gt;0?-r:Math.abs(r),o=o&gt;0?-o:Math.abs(o),s=c,i=d,function(e){document.documentElement.scrollTop=e,window.pageYOffset=e,document.body.scrollTop=e}(a+o),e.scrollLeft=e.scrollLeft+r}}),document.addEventListener("mouseup",function(e){n=!1})})}}},beforeDestroy:function(){clearTimeout(this.comHeightSt)}},o=(a("4e47"),a("2877")),l=Object(o.a)(r,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"rebateOdds"},[a("header",[a("div",{staticClass:"gameName"},[e._v("\n      "+e._s(e.activeGame.gameName)+"\n      "),a("i",{staticClass:"iconfont icon-arrowdown"}),a("div",{staticClass:"list__wrap"},[a("h1",{staticClass:"list__tabs"},[a("span",{class:{active:!e.Private},on:{click:function(t){e.Private=!1}}},[e._v("官方")]),a("span",{class:{active:e.Private},on:{click:function(t){e.Private=!0}}},[e._v("传统")])]),a("table",[a("thead",[a("tr",[e._l(e.gameTypeMap,function(t,i){return[t.list.length?a("th",{key:i},[e._v("\n                  "+e._s(t.name)+"\n                ")]):e._e()]})],2)]),a("tbody",[a("tr",[e._l(e.gameTypeMap,function(t,i){return[t.list.length?a("td",{key:i},[a("div",{style:e.itemWidth(t.list.length)},e._l(t.list,function(i,s){return a("span",{key:s,class:["title__hover",{active:t.gameCode===e.activeGame.gameCode}],on:{click:function(t){e.activeGame=i}}},[e._v("\n                      "+e._s(i.gameName)+"\n                    ")])}))]):e._e()]})],2)])])])])]),e.isLoading?a("section",{directives:[{name:"loading",rawName:"v-loading",value:e.isLoading,expression:"isLoading"}],staticClass:"rebate_table"}):a("section",{staticClass:"rebate_table"},[a("div",{staticClass:"rebate_table__left"},[a("table",[a("thead",[e._m(0),e._l(e.rebateOddList,function(t,i){return a("tr",{key:i},[a("td",{ref:"rebateTitle"+i,refInFor:!0},[t.tempValues&amp;&amp;t.tempValues.length?[a("span",{staticStyle:{"font-weight":"600",color:"#de4d50"}},[e._v(e._s(t.tempPlayName))]),e._l(t.tempValues,function(t,i){return a("span",{key:i},[e._v("\n                  /"+e._s(t)+"\n                ")])})]:[e._v("\n                "+e._s(t.fullPlayName)+"\n              ")]],2)])})],2)])]),a("div",{directives:[{name:"clickmove",rawName:"v-clickmove"}],staticClass:"rebate_table__right"},[e.isComing?e._e():a("table",[a("thead",[a("tr",[e._l(e.showRebateList,function(t,i){return[t||0===t?a("th",{key:i},[e._v("\n                "+e._s(e._f("toYuan")(t))+"\n                "),!t||t%100?e._e():a("span",{staticClass:"switch",on:{click:function(a){e.switchOpenItem(t)}}},[e._v("\n                  "+e._s(e.openItem?"收起":"展开")+"\n                ")])]):e._e()]})],2)]),a("tbody",e._l(e.rebateOddList,function(t,i){return a("tr",{key:i},e._l(e.showRebateList,function(s,n){return a("td",{key:n,style:e.heightStyle(i)},[e._v("\n              "+e._s(e.activeGame.isPrivate?"赔率":"奖金")+"\n              "+e._s(e.formatOdds(e.changeRebate(t,s)))+"\n            ")])}))}))])])])])},[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("tr",[a("th",{staticClass:"rebate__title"},[a("span",[e._v("玩法")]),a("span",[e._v("返点")])])])}],!1,null,null,null);l.options.__file="rebateOdds.vue",t.default=l.exports}}]);</pre></body></html>