"use strict";(self["webpackChunkpc28"]=self["webpackChunkpc28"]||[]).push([[897],{897:function(a,t,s){s.r(t),s.d(t,{default:function(){return o}});var l=function(){var a=this,t=a._self._c;return t("div",{staticClass:"forecast-analysis-panel simple"},[t("div",{staticClass:"forecast-analysis-header"},[t("p",[a._v(a._s(a.$t("天机")))])]),t("div",{staticClass:"forecast-calc-form"},[t("table",{staticStyle:{width:"100%"},attrs:{cellspacing:"0",cellpadding:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"numbers"},a._l(31,function(s,l){return t("span",{key:l,staticClass:"text",class:a.tabindex==l?"active":"",on:{click:function(t){return a.myclick(l)}}},[a._v(a._s(0==l?a.$t("今天"):a.$t("前")+l+a.$t("天")))])}),0)])])]),t("div",{staticClass:"forecast-calc-btn",on:{click:function(t){return a.getcao()}}},[a._v(a._s(a.$t("开始分析")))]),t("div",{directives:[{name:"show",rawName:"v-show",value:a.caoarr.id,expression:"caoarr.id"}],staticClass:"forecast-calc-result markdown-body",attrs:{id:"$m"}},[t("div",[a._v("📅 "+a._s(a.date)+" "+a._s(a.$t("开奖统计")))]),t("div",[a._v("🔢 "+a._s(a.$t("总期数"))+":"+a._s(a.total))]),t("div",{staticStyle:{"flex-wrap":"wrap",display:"flex","margin-top":"10px"}},a._l(a.caoarr.dxds,function(s,l){return t("div",{key:"dxds"+l,staticStyle:{width:"50%"}},[t("span",[a._v(a._s(a.$t(s.field))+":")]),t("span",{},[a._v(a._s(s.val))]),t("span",{},[a._v(a._s(a.$t("期")))]),t("span",{},[a._v(" ("+a._s(Math.floor(s.val/a.total*100))+"%)")])])}),0),t("div",{staticStyle:{"flex-wrap":"wrap",display:"flex","margin-top":"10px"}},a._l(a.caoarr.zh,function(s,l){return t("div",{key:"zh"+l,staticStyle:{width:"50%"}},[t("span",[a._v(a._s(a.$t(s.field))+":")]),t("span",{},[a._v(a._s(s.val))]),t("span",{},[a._v(a._s(a.$t("期")))]),t("span",{},[a._v(" ("+a._s(Math.floor(s.val/a.total*100))+"%)")])])}),0),t("div",{staticStyle:{"flex-wrap":"wrap",display:"flex","margin-top":"10px"}},a._l(a.caoarr.jz,function(s,l){return t("div",{key:"jz"+l,staticStyle:{width:"50%"}},[t("span",[a._v(a._s(a.$t(s.field))+":")]),t("span",{},[a._v(a._s(s.val))]),t("span",{},[a._v(a._s(a.$t("期")))]),t("span",{},[a._v(" ("+a._s(Math.floor(s.val/a.total*100))+"%)")])])}),0),t("div",{staticStyle:{"flex-wrap":"wrap",display:"flex","margin-top":"10px"}},a._l(a.caoarr.bsd,function(s,l){return t("div",{key:"bsd"+l,staticStyle:{width:"50%"}},[t("span",[a._v(a._s(a.$t(s.field))+":")]),t("span",{},[a._v(a._s(s.val))]),t("span",{},[a._v(a._s(a.$t("期")))]),t("span",{},[a._v(" ("+a._s(Math.floor(s.val/a.total*100))+"%)")])])}),0),t("div",{staticStyle:{"margin-top":"10px"}},[a._v(a._s(a.$t("号码统计"))+":")]),t("div",{staticStyle:{"flex-wrap":"wrap",display:"flex"}},a._l(a.caoarr.ddsz,function(s,l){return t("div",{key:"ddsz"+l,staticStyle:{width:"50%"}},[a._v(a._s(l)+a._s(a.$t("号"))+": "+a._s(s.val)+a._s(a.$t("期")))])}),0)])])])},i=[],e=s(393),d={name:"tongJi",components:{},data(){return{tabindex:0,caoarr:{},total:0,date:""}},mounted(){},methods:{myclick(a){this.tabindex=a},getcao(){e.A.loading({message:this.$t("加载中"),forbidClick:!0}),this.$api.requestGet("api/issue/history",{date:this.tabindex}).then(a=>{if(console.log(a,"获取天机结果"),a.data){this.caoarr={id:a.data.id,dxds:[{field:"大",val:a.data.big},{field:"小",val:a.data.small},{field:"单",val:a.data.odd},{field:"双",val:a.data.even}],zh:[{field:"大单",val:a.data.big_odd},{field:"大双",val:a.data.big_even},{field:"小单",val:a.data.small_odd},{field:"小双",val:a.data.small_even}],jz:[{field:"极大",val:a.data.max},{field:"极小",val:a.data.min}],bsd:[{field:"对子",val:a.data.pair},{field:"顺子",val:a.data.sequence},{field:"豹子",val:a.data.leopard}],ddsz:[]};let t=[];for(const s in a.data)-1!==s.indexOf("num_")&&t.push({field:s,val:a.data[s]});this.caoarr.ddsz=t,this.total=a.data.total,this.date=a.data.date,e.A.success(this.$t("分析成功"))}else this.caoarr.id=null,e.A.fail(this.$t("暂无数据"))})}}},n=d,r=s(656),c=(0,r.A)(n,l,i,!1,null,"439fcb74",null),o=c.exports}}]);
//# sourceMappingURL=897.38317d7c.js.map