|  | @@ -3,7 +3,7 @@
 | 
	
		
			
				|  |  |      <head>
 | 
	
		
			
				|  |  |          <meta charset="utf-8">
 | 
	
		
			
				|  |  |          <meta name="page-view-size" content="1280*720" />
 | 
	
		
			
				|  |  | -        <link rel="stylesheet" type="text/css" href="./css/page.css?v=201908"/>
 | 
	
		
			
				|  |  | +        <link rel="stylesheet" type="text/css" href="./css/page.css?v=201909"/>
 | 
	
		
			
				|  |  |          <title>移动-明侦盲盒活动</title>
 | 
	
		
			
				|  |  |      </head>
 | 
	
		
			
				|  |  |      <body>
 | 
	
	
		
			
				|  | @@ -118,6 +118,9 @@
 | 
	
		
			
				|  |  |              <div id="submittedPopup" class="popup">
 | 
	
		
			
				|  |  |                  <div class="submittedBtn"></div>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  | +            <div id="timeOutPopup" class="popup">
 | 
	
		
			
				|  |  | +                <div class="timeOutBtn"></div>
 | 
	
		
			
				|  |  | +            </div>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <script src="./js/webview.js" type="text/javascript"></script>
 | 
	
		
			
				|  |  |          <script src="js/tvSysBtnBind.v2.js" type="text/javascript"></script>
 | 
	
	
		
			
				|  | @@ -134,29 +137,19 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              var init = {
 | 
	
		
			
				|  |  |                  prize:0,
 | 
	
		
			
				|  |  | -                act_id:5,
 | 
	
		
			
				|  |  | +                act_id:1,
 | 
	
		
			
				|  |  |                  gameNum:0,
 | 
	
		
			
				|  |  |                  canPrize:0,
 | 
	
		
			
				|  |  |                  oursProduct_isVip:0,
 | 
	
		
			
				|  |  |                  othersProduct_isVip:0,
 | 
	
		
			
				|  |  | -                contentcode:"D00000001201808211755370019993899",//内容标识
 | 
	
		
			
				|  |  | -                contentcode1:"D00000001201911281044560065291302"
 | 
	
		
			
				|  |  | +                contentcode:"00000001000000000018000000431421",//内容标识
 | 
	
		
			
				|  |  | +                contentcode1:"00000001000000000029000000278889",
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              var pageItem = ["box","myBox_btn","page_btn","order_btn"];
 | 
	
		
			
				|  |  |              // var popupItem = ["rulesBtn","myBoxBtn","unExchangeBtn","unExchangeBtn","exchangeBtn","phoneNum","markDownBtn","unWinToyBtn","unWinToyVipBtn","poster","winToyBtn"]
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -            var webUrl = '';
 | 
	
		
			
				|  |  | -            try {
 | 
	
		
			
				|  |  | -                Webview.setInputTypeTextFlag("true");
 | 
	
		
			
				|  |  | -                webUrl = 'http://10.255.1.98:8090/DuduToy_v2/';
 | 
	
		
			
				|  |  | -            } catch (e) {
 | 
	
		
			
				|  |  | -                if (location.href.indexOf('10.255.1.98:8090') >= 0) {
 | 
	
		
			
				|  |  | -                    webUrl = 'http://10.255.1.98:8090/DuduToy_v2/';
 | 
	
		
			
				|  |  | -                } else if (location.href.indexOf('10.200.10.28:28090') >= 0) {
 | 
	
		
			
				|  |  | -                    webUrl = 'http://10.200.10.28:28090/DuduToy_v2/';
 | 
	
		
			
				|  |  | -                }
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | +            var webUrl = 'http://111.23.13.123:8091/';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              try{
 | 
	
		
			
				|  |  |                  var uid = Webview.readSystemProp('user.id');
 | 
	
	
		
			
				|  | @@ -164,10 +157,10 @@
 | 
	
		
			
				|  |  |                  var mac = Webview.readSystemProp('device.mac');//机顶盒mac地址
 | 
	
		
			
				|  |  |                  var version = Webview.readSystemProp('app.version');//APK版本号
 | 
	
		
			
				|  |  |              } catch(e) {
 | 
	
		
			
				|  |  | -                var uid = getStr("uid") || '6830011';
 | 
	
		
			
				|  |  | -                var usertoken = "00139025650832263889980824152950"
 | 
	
		
			
				|  |  | -                var mac = 'OC-41-E9-DD-EC-DE'
 | 
	
		
			
				|  |  | -                var version = "YYS.4.6.15.266.5.HNDX.0.0_Release"
 | 
	
		
			
				|  |  | +                var uid = getStr("uid") || '0100834547692768574';
 | 
	
		
			
				|  |  | +                var usertoken = "CB89C105577A4E5344E7EC39F993A4B6"
 | 
	
		
			
				|  |  | +                var mac = 'OC-49-33-BF-10-A6'
 | 
	
		
			
				|  |  | +                var version = "YYS.5.7.7.Y3.4.HNYD.0.0_Beta"
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              var backUrl = webUrl+'h5v2/yd20191203/index.html';
 | 
	
	
		
			
				|  | @@ -185,9 +178,9 @@
 | 
	
		
			
				|  |  |                      "onEnterPress":openBox,
 | 
	
		
			
				|  |  |                      onPress:function(){
 | 
	
		
			
				|  |  |                          if((this.event.keyCode == 39 || this.event.keyCode == "RIGHT") && this.prevIndex == 6){
 | 
	
		
			
				|  |  | -                            if(init.othersProduct_isVip == 0){
 | 
	
		
			
				|  |  | +                            if(init.oursProduct_isVip == 0){
 | 
	
		
			
				|  |  |                                  this.reSetClass("order_btn",0);
 | 
	
		
			
				|  |  | -                            }else if(init.othersProduct_isVip == 1 && init.oursProduct_isVip == 0){
 | 
	
		
			
				|  |  | +                            }else if(init.othersProduct_isVip == 0 && init.oursProduct_isVip == 1){
 | 
	
		
			
				|  |  |                                  this.reSetClass("order_btn",1);
 | 
	
		
			
				|  |  |                              }
 | 
	
		
			
				|  |  |                          }
 | 
	
	
		
			
				|  | @@ -207,9 +200,9 @@
 | 
	
		
			
				|  |  |                      "onEnterPress":openPopups,
 | 
	
		
			
				|  |  |                      onPress:function(){
 | 
	
		
			
				|  |  |                          if((this.event.keyCode == 40 || this.event.keyCode == "DOWN")&& this.prevIndex == 2){
 | 
	
		
			
				|  |  | -                            if(init.othersProduct_isVip == 0){
 | 
	
		
			
				|  |  | +                            if(init.oursProduct_isVip == 0){
 | 
	
		
			
				|  |  |                                  this.reSetClass("order_btn",0);
 | 
	
		
			
				|  |  | -                            }else if(init.othersProduct_isVip == 1 && init.oursProduct_isVip == 0){
 | 
	
		
			
				|  |  | +                            }else if(init.othersProduct_isVip == 0 && init.oursProduct_isVip == 1){
 | 
	
		
			
				|  |  |                                  this.reSetClass("order_btn",1);
 | 
	
		
			
				|  |  |                              }
 | 
	
		
			
				|  |  |                          }
 | 
	
	
		
			
				|  | @@ -223,11 +216,11 @@
 | 
	
		
			
				|  |  |                      },
 | 
	
		
			
				|  |  |                      onPress:function(){
 | 
	
		
			
				|  |  |                          if((this.event.keyCode == 40 || this.event.keyCode == "DOWN") && this.currentIndex == 0){
 | 
	
		
			
				|  |  | -                            if(init.oursProduct_isVip == 0){
 | 
	
		
			
				|  |  | +                            if(init.othersProduct_isVip == 0){
 | 
	
		
			
				|  |  |                                  this.reSetClass("order_btn",1);
 | 
	
		
			
				|  |  |                              }
 | 
	
		
			
				|  |  |                          }else if((this.event.keyCode == 38 || this.event.keyCode == "UP")&& this.currentIndex == 1){
 | 
	
		
			
				|  |  | -                            if(init.othersProduct_isVip == 0){
 | 
	
		
			
				|  |  | +                            if(init.oursProduct_isVip == 0){
 | 
	
		
			
				|  |  |                                  this.reSetClass("order_btn",0);
 | 
	
		
			
				|  |  |                              }else{
 | 
	
		
			
				|  |  |                                  this.reSetClass("page_btn",2);
 | 
	
	
		
			
				|  | @@ -282,7 +275,6 @@
 | 
	
		
			
				|  |  |                  },
 | 
	
		
			
				|  |  |                  phoneNum:{
 | 
	
		
			
				|  |  |                      line:6,
 | 
	
		
			
				|  |  | -                    // up:["exchangeBtn",0],
 | 
	
		
			
				|  |  |                      down:["exchangeBtn",1],
 | 
	
		
			
				|  |  |                      onEnterPress:function(){
 | 
	
		
			
				|  |  |                          if(this.currentIndex<=9){
 | 
	
	
		
			
				|  | @@ -291,7 +283,7 @@
 | 
	
		
			
				|  |  |                                  G("phone").innerHTML += 0;
 | 
	
		
			
				|  |  |                              }else{
 | 
	
		
			
				|  |  |                                  G("phone").innerHTML += this.currentIndex*1+1;   
 | 
	
		
			
				|  |  | -                            }
 | 
	
		
			
				|  |  | +                            }  
 | 
	
		
			
				|  |  |                          }else if(this.currentIndex == 10){
 | 
	
		
			
				|  |  |                              if(G("phone").innerHTML.length>0)
 | 
	
		
			
				|  |  |                              G("phone").innerHTML = G("phone").innerHTML.slice(0,-1);
 | 
	
	
		
			
				|  | @@ -342,6 +334,7 @@
 | 
	
		
			
				|  |  |                              H("unWinToyPopup");
 | 
	
		
			
				|  |  |                              this.reSetClass("box");
 | 
	
		
			
				|  |  |                          }else{
 | 
	
		
			
				|  |  | +                            setCookie("unWinToy",this.currentIndex);
 | 
	
		
			
				|  |  |                              order(this.currentIndex);
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  |                      },
 | 
	
	
		
			
				|  | @@ -378,10 +371,12 @@
 | 
	
		
			
				|  |  |                      line:1,
 | 
	
		
			
				|  |  |                      up:["poster"],
 | 
	
		
			
				|  |  |                      onEnterPress:function(){
 | 
	
		
			
				|  |  | +                        setCookie("itemIdx","");
 | 
	
		
			
				|  |  |                          H("unWinToyVipPopup");
 | 
	
		
			
				|  |  |                          this.reSetClass("box");
 | 
	
		
			
				|  |  |                      }, 
 | 
	
		
			
				|  |  |                      onBack:function(){
 | 
	
		
			
				|  |  | +                        setCookie("itemIdx","");
 | 
	
		
			
				|  |  |                          H("unWinToyVipPopup");
 | 
	
		
			
				|  |  |                          this.reSetClass("box");
 | 
	
		
			
				|  |  |                      },
 | 
	
	
		
			
				|  | @@ -391,7 +386,7 @@
 | 
	
		
			
				|  |  |                      down:["unWinToyVipBtn"],
 | 
	
		
			
				|  |  |                      onEnterPress:function(){
 | 
	
		
			
				|  |  |                          var url = '',index=this.currentIndex;
 | 
	
		
			
				|  |  | -                        setCookie("videoIdx",index);
 | 
	
		
			
				|  |  | +                        setCookie("itemIdx",index);
 | 
	
		
			
				|  |  |                          if(index==0){
 | 
	
		
			
				|  |  |                              fullscreenPlay("00000001000000000002000000120684")
 | 
	
		
			
				|  |  |                          }else if(index==1){
 | 
	
	
		
			
				|  | @@ -399,9 +394,9 @@
 | 
	
		
			
				|  |  |                          }else if(index==2){
 | 
	
		
			
				|  |  |                              fullscreenPlay("00000001000000000029000000278889")
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  | -                        window.location.href = url;
 | 
	
		
			
				|  |  |                      }, 
 | 
	
		
			
				|  |  |                      onBack:function(){
 | 
	
		
			
				|  |  | +                        setCookie("itemIdx","");
 | 
	
		
			
				|  |  |                          H("unWinToyVipPopup");
 | 
	
		
			
				|  |  |                          this.reSetClass("box");
 | 
	
		
			
				|  |  |                      },
 | 
	
	
		
			
				|  | @@ -493,6 +488,17 @@
 | 
	
		
			
				|  |  |                          H("submittedPopup");
 | 
	
		
			
				|  |  |                          this.reSetClass(heguiItem);
 | 
	
		
			
				|  |  |                      },
 | 
	
		
			
				|  |  | +                },
 | 
	
		
			
				|  |  | +                timeOutBtn:{
 | 
	
		
			
				|  |  | +                   line:1,
 | 
	
		
			
				|  |  | +                   onEnterPress:function(){
 | 
	
		
			
				|  |  | +                        H("timeOutPopup");
 | 
	
		
			
				|  |  | +                        this.reSetClass("order_btn");
 | 
	
		
			
				|  |  | +                     },
 | 
	
		
			
				|  |  | +                    onBack:function(){
 | 
	
		
			
				|  |  | +                        H("timeOutPopup");
 | 
	
		
			
				|  |  | +                        this.reSetClass("order_btn");
 | 
	
		
			
				|  |  | +                    }, 
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -504,30 +510,49 @@
 | 
	
		
			
				|  |  |              // }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              function order(idx){
 | 
	
		
			
				|  |  | -                var product_id = "11187";
 | 
	
		
			
				|  |  | -                var price = "125";
 | 
	
		
			
				|  |  | -                var name = "少儿包";
 | 
	
		
			
				|  |  | -                var bag = "se_bag";
 | 
	
		
			
				|  |  | -                var mark = "oursBag";
 | 
	
		
			
				|  |  | -                if(idx==1){
 | 
	
		
			
				|  |  | -                    product_id = "8801000077";
 | 
	
		
			
				|  |  | -                    price = "15";
 | 
	
		
			
				|  |  | -                    name = "影视包"
 | 
	
		
			
				|  |  | -                    bag = "ys_bag";
 | 
	
		
			
				|  |  | -                    mark = "othersBag";
 | 
	
		
			
				|  |  | -                }
 | 
	
		
			
				|  |  | -                var product_list={
 | 
	
		
			
				|  |  | -                    "product_id":product_id,
 | 
	
		
			
				|  |  | -                    "time":"30",
 | 
	
		
			
				|  |  | -                    "product_type":"1",
 | 
	
		
			
				|  |  | -                    "price":price,
 | 
	
		
			
				|  |  | -                    "button_name":name,
 | 
	
		
			
				|  |  | -                    "name":name,
 | 
	
		
			
				|  |  | -                    "bag":bag,
 | 
	
		
			
				|  |  | -                    "back_url":backUrl+'?'+mark+'='+uid,
 | 
	
		
			
				|  |  | +                if(init.gameNum==0 && (init.othersProduct_isVip || init.oursProduct_isVip)){
 | 
	
		
			
				|  |  | +                    S("timeOutPopup");
 | 
	
		
			
				|  |  | +                    main.reSetClass("timeOutBtn");
 | 
	
		
			
				|  |  | +                }else{
 | 
	
		
			
				|  |  | +                    var pid = "8801000079";
 | 
	
		
			
				|  |  | +                    var mark = "oursBag";
 | 
	
		
			
				|  |  | +                    if(idx == 1){
 | 
	
		
			
				|  |  | +                        pid = "8801000077";
 | 
	
		
			
				|  |  | +                        mark = "othersBag";
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                    var orderBack = backUrl+'?'+mark+'='+uid;
 | 
	
		
			
				|  |  | +                    if(version.indexOf("5a.7") || version.indexOf("5a.8")){
 | 
	
		
			
				|  |  | +                        var product_list={
 | 
	
		
			
				|  |  | +                            "product_id":pid,
 | 
	
		
			
				|  |  | +                            "video_name":"",
 | 
	
		
			
				|  |  | +                            "video_type":"",
 | 
	
		
			
				|  |  | +                            "product_type":"2",
 | 
	
		
			
				|  |  | +                            "cat_id":"",
 | 
	
		
			
				|  |  | +                            "channel_id":"",
 | 
	
		
			
				|  |  | +                        }
 | 
	
		
			
				|  |  | +                        window.location.href = "https://hnydorder.yys.mgtv.com:8080/order/index.html?product_list="+JSON.stringify(product_list)+"&exitStr="+escape(orderBack);
 | 
	
		
			
				|  |  | +                    }else{
 | 
	
		
			
				|  |  | +                        var playIntent = {
 | 
	
		
			
				|  |  | +                            package: "com.hunantv.operator",
 | 
	
		
			
				|  |  | +                            action: "mangotv://com.hunantv.operator/order",
 | 
	
		
			
				|  |  | +                            data: "",
 | 
	
		
			
				|  |  | +                            extras: {
 | 
	
		
			
				|  |  | +                                product: {
 | 
	
		
			
				|  |  | +                                    "id": pid,
 | 
	
		
			
				|  |  | +                                    "time": "",
 | 
	
		
			
				|  |  | +                                    "price": "",
 | 
	
		
			
				|  |  | +                                    "type": "",
 | 
	
		
			
				|  |  | +                                    "name": "",
 | 
	
		
			
				|  |  | +                                    "bag": "",
 | 
	
		
			
				|  |  | +                                    "back_url":orderBack,
 | 
	
		
			
				|  |  | +                                }
 | 
	
		
			
				|  |  | +                            },
 | 
	
		
			
				|  |  | +                            flags: []
 | 
	
		
			
				|  |  | +                        };
 | 
	
		
			
				|  |  | +                        Webview.sendIntent("startActivity", playIntent); 
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  | -                window.location.href = "https://hnydorder.yys.mgtv.com:8080/v2.0_new/order/index.html?product_list="+JSON.stringify(product_list);  
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | +            } 
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              function fullscreenPlay(mid) {
 | 
	
		
			
				|  |  |                  var playIntent = {
 | 
	
	
		
			
				|  | @@ -564,6 +589,7 @@
 | 
	
		
			
				|  |  |                                      main.reSetClass("winToyBtn");
 | 
	
		
			
				|  |  |                                  }else{
 | 
	
		
			
				|  |  |                                      if(init.othersProduct_isVip || init.oursProduct_isVip){
 | 
	
		
			
				|  |  | +                                        setCookie("item","chance");
 | 
	
		
			
				|  |  |                                          S("unWinToyVipPopup");
 | 
	
		
			
				|  |  |                                          main.reSetClass("unWinToyVipBtn");
 | 
	
		
			
				|  |  |                                      }else{
 | 
	
	
		
			
				|  | @@ -578,9 +604,11 @@
 | 
	
		
			
				|  |  |                      }else{
 | 
	
		
			
				|  |  |                          if(init.othersProduct_isVip || init.oursProduct_isVip){
 | 
	
		
			
				|  |  |                              G("unWinToyVipPopup").style.background = "url('./img/page_08.png') no-repeat center";
 | 
	
		
			
				|  |  | +                            setCookie("item","");
 | 
	
		
			
				|  |  |                              S("unWinToyVipPopup");
 | 
	
		
			
				|  |  |                              this.reSetClass("poster");
 | 
	
		
			
				|  |  |                          }else{
 | 
	
		
			
				|  |  | +                            setCookie("item",'fromOrder0');
 | 
	
		
			
				|  |  |                              G("unWinToyPopup").style.background = "url('./img/page_07.png') no-repeat center";
 | 
	
		
			
				|  |  |                              S("unWinToyPopup");
 | 
	
		
			
				|  |  |                              this.reSetClass("unWinToyBtn");
 | 
	
	
		
			
				|  | @@ -689,11 +717,10 @@
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              function cellphoneNum(){
 | 
	
		
			
				|  |  | -                console.log(this.event.keyCode)
 | 
	
		
			
				|  |  |                  if(G("phone").innerHTML.length>10) return;
 | 
	
		
			
				|  |  |                  var key = this.event.keyCode;
 | 
	
		
			
				|  |  |                  try {
 | 
	
		
			
				|  |  | -                    Webview.setInputTypeTextFlag("true");
 | 
	
		
			
				|  |  | +                    // Webview.setInputTypeTextFlag("true");
 | 
	
		
			
				|  |  |                      if (key >= 0 && key <= 9) {
 | 
	
		
			
				|  |  |                          G("phone").innerText += key;
 | 
	
		
			
				|  |  |                      }
 | 
	
	
		
			
				|  | @@ -747,7 +774,7 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              function addData(fn) {
 | 
	
		
			
				|  |  |                  ajax({
 | 
	
		
			
				|  |  | -                    url:webUrl+"index.php?m=Home&c=ThemeData&addData&a=addData",
 | 
	
		
			
				|  |  | +                    url:webUrl+"index.php?m=Home&c=ThemeData&a=addData",
 | 
	
		
			
				|  |  |                      data:{
 | 
	
		
			
				|  |  |                          uid: uid, 
 | 
	
		
			
				|  |  |                          theme_id: 1
 | 
	
	
		
			
				|  | @@ -784,7 +811,7 @@
 | 
	
		
			
				|  |  |                          usertoken:usertoken,
 | 
	
		
			
				|  |  |                          mac:mac,
 | 
	
		
			
				|  |  |                          version:version,
 | 
	
		
			
				|  |  | -                        fromsource:4
 | 
	
		
			
				|  |  | +                        fromsource:15
 | 
	
		
			
				|  |  |                      },
 | 
	
		
			
				|  |  |                      type: "post",
 | 
	
		
			
				|  |  |                      dataType: "json",
 | 
	
	
		
			
				|  | @@ -881,6 +908,24 @@
 | 
	
		
			
				|  |  |                  })
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +            function markOrder(idx){
 | 
	
		
			
				|  |  | +                if(!!getCookie("unWinToy")){
 | 
	
		
			
				|  |  | +                    if(getCookie("item") == 'fromOrder0'){
 | 
	
		
			
				|  |  | +                        G("unWinToyPopup").style.background = "url('./img/page_07.png') no-repeat center";
 | 
	
		
			
				|  |  | +                    }else{
 | 
	
		
			
				|  |  | +                        G("unWinToyPopup").style.background = "url('./img/page_05.png') no-repeat center";
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                    S("unWinToyPopup");
 | 
	
		
			
				|  |  | +                    pageConf.focusItem = "unWinToyBtn";
 | 
	
		
			
				|  |  | +                    pageConf.focusIdx = idx;
 | 
	
		
			
				|  |  | +                    setCookie("unWinToy","")
 | 
	
		
			
				|  |  | +                    setCookie("item",'');
 | 
	
		
			
				|  |  | +                }else{
 | 
	
		
			
				|  |  | +                    pageConf.focusItem = "order_btn";
 | 
	
		
			
				|  |  | +                    pageConf.focusIdx = idx;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |              function pageInit(){
 | 
	
		
			
				|  |  |                  if(!getStr("oursBag") && !getStr("othersBag") && !getStr("for")){
 | 
	
		
			
				|  |  |                      addUser();
 | 
	
	
		
			
				|  | @@ -894,13 +939,12 @@
 | 
	
		
			
				|  |  |                              addClass(G("oursP"),'hasOrder');
 | 
	
		
			
				|  |  |                              addClass(G("oursProduct"),'hasOrder');
 | 
	
		
			
				|  |  |                              if(!!getStr("oursBag")){
 | 
	
		
			
				|  |  | -                                payResult(init.oursProduct_isVip,uid,"11187");
 | 
	
		
			
				|  |  | +                                payResult(init.oursProduct_isVip,uid,"8801000077");
 | 
	
		
			
				|  |  |                              }
 | 
	
		
			
				|  |  |                          }else{
 | 
	
		
			
				|  |  |                              init.oursProduct_isVip = 0;
 | 
	
		
			
				|  |  |                              if(!!getStr("oursBag")){
 | 
	
		
			
				|  |  | -                                pageConf.focusItem = "order_btn";
 | 
	
		
			
				|  |  | -                                pageConf.focusIdx = 1;
 | 
	
		
			
				|  |  | +                                markOrder(0);
 | 
	
		
			
				|  |  |                              }
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  |                          authorization(init.contentcode1,uid,usertoken,mac,version,function(res){
 | 
	
	
		
			
				|  | @@ -910,13 +954,12 @@
 | 
	
		
			
				|  |  |                                      addClass(G("othersP"),'hasOrder');
 | 
	
		
			
				|  |  |                                      addClass(G("othersProduct"),'hasOrder');
 | 
	
		
			
				|  |  |                                      if(!!getStr("othersBag")){
 | 
	
		
			
				|  |  | -                                        payResult(init.othersProduct_isVip,uid,"10664")   
 | 
	
		
			
				|  |  | +                                        payResult(init.othersProduct_isVip,uid,"8801000079")   
 | 
	
		
			
				|  |  |                                      }
 | 
	
		
			
				|  |  |                                  }else{
 | 
	
		
			
				|  |  |                                      othersProduct_isVip = 0;
 | 
	
		
			
				|  |  |                                      if(!!getStr("othersBag")){
 | 
	
		
			
				|  |  | -                                        pageConf.focusItem = "order_btn";
 | 
	
		
			
				|  |  | -                                        pageConf.focusIdx = 0;
 | 
	
		
			
				|  |  | +                                        markOrder(1);
 | 
	
		
			
				|  |  |                                      }
 | 
	
		
			
				|  |  |                                  }
 | 
	
		
			
				|  |  |                                  var vv = init.oursProduct_isVip+init.othersProduct_isVip;
 | 
	
	
		
			
				|  | @@ -925,16 +968,16 @@
 | 
	
		
			
				|  |  |                                      if(res.code == 0){
 | 
	
		
			
				|  |  |                                          init.gameNum = res.data;  
 | 
	
		
			
				|  |  |                                          G("times").innerHTML = res.data; 
 | 
	
		
			
				|  |  | -                                        if(!!getCookie("videoIdx")){
 | 
	
		
			
				|  |  | -                                            if(res.data == 0){
 | 
	
		
			
				|  |  | +                                        if(!!getCookie("itemIdx")){
 | 
	
		
			
				|  |  | +                                            if(getCookie("item") == 'chance'){
 | 
	
		
			
				|  |  |                                                  G("unWinToyVipPopup").style.background = "url('./img/page_08.png') no-repeat center";
 | 
	
		
			
				|  |  |                                              }else{
 | 
	
		
			
				|  |  |                                                  G("unWinToyVipPopup").style.background = "url('./img/page_06.png') no-repeat center";
 | 
	
		
			
				|  |  |                                              }
 | 
	
		
			
				|  |  |                                              S("unWinToyVipPopup");
 | 
	
		
			
				|  |  |                                              pageConf.focusItem = "poster";
 | 
	
		
			
				|  |  | -                                            pageConf.focusIdx = getCookie("videoIdx");
 | 
	
		
			
				|  |  | -                                            setCookie("videoIdx","");
 | 
	
		
			
				|  |  | +                                            pageConf.focusIdx = getCookie("itemIdx");
 | 
	
		
			
				|  |  | +                                            
 | 
	
		
			
				|  |  |                                          }
 | 
	
		
			
				|  |  |                                          btnInit();
 | 
	
		
			
				|  |  |                                      }else{
 |