| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- var parent={};
- var top={};
- function checkCorner(item){
- if(item.split('角球数')>1){
- return 1;
- }
- return 0;
- }
- parent.body_var_onLoad=function(){
- this.data={};
- this.result=[];
-
- for(let index in this.gm)
- {
- var item=this.gm[index];
- var col_length=item.length;
- var tmp={};
- tmp.match_id=index;
- tmp.is_roll=0;
- var tit=item[0];
- tit=tit.split('<br>');
-
- tmp.is_roll=0;
- if(tit.length>2){
- tmp.is_roll=1;
- }
- tmp.is_corner=checkCorner(item[4]);
- this.result.push(tmp);
- }
- this.data.data=this.result;
- console.log(JSON.stringify(this.data));
- }
- parent.arrayMege=function(o1,o2){
- }
- #CONTENT#
- onLoad();
|