|
@@ -55,13 +55,13 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div id="prizePopup" class="popup">
|
|
<div id="prizePopup" class="popup">
|
|
- <!-- <img id="prizeImg" src="" alt="" /> -->
|
|
|
|
- <p id="ptizeName"></p>
|
|
|
|
|
|
+ <img id="prizeImg" src="" alt="" style="position: absolute;left: 515px;top: 180px;"/>
|
|
|
|
+ <p id="ptizeName" style="text-align: center;width: 180px;height: 50px;line-height: 50px;position: absolute;left: 554px;top: 457px;color: #dd002b;font-size: 25px;font-weight: bold;"></p>
|
|
<div class="prizeBtn cancel"></div>
|
|
<div class="prizeBtn cancel"></div>
|
|
<div class="prizeBtn toExchange"></div>
|
|
<div class="prizeBtn toExchange"></div>
|
|
</div>
|
|
</div>
|
|
<div id="exchangePopup" class="popup">
|
|
<div id="exchangePopup" class="popup">
|
|
- <!-- <img id="myPrize" src="" alt="" /> -->
|
|
|
|
|
|
+ <img id="myPrize" src="" alt="" style="position: absolute;left: 330px;top: 260px;" />
|
|
<div id="phone"></div>
|
|
<div id="phone"></div>
|
|
<ul id="keyBoard">
|
|
<ul id="keyBoard">
|
|
<li class="phoneNum">1</li>
|
|
<li class="phoneNum">1</li>
|
|
@@ -105,7 +105,7 @@
|
|
<div class="awardBtn toAward"></div>
|
|
<div class="awardBtn toAward"></div>
|
|
</div>
|
|
</div>
|
|
<div id="markDownPopup" class="popup">
|
|
<div id="markDownPopup" class="popup">
|
|
- <div class="markDownBtn"></div>
|
|
|
|
|
|
+ <div class="markDownBtn confirm"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -233,7 +233,7 @@
|
|
if(res.code==0){
|
|
if(res.code==0){
|
|
if (res.data.my_prizes[0]) {
|
|
if (res.data.my_prizes[0]) {
|
|
G("myAward").innerText = res.data.my_prizes[0].prize_name;
|
|
G("myAward").innerText = res.data.my_prizes[0].prize_name;
|
|
- // G("myPrize").src = res.data.my_prizes[0].show_image;
|
|
|
|
|
|
+ G("myPrize").src = res.data.my_prizes[0].show_image;
|
|
G("myPhone").innerText = res.data.my_prizes[0].user_phone;
|
|
G("myPhone").innerText = res.data.my_prizes[0].user_phone;
|
|
}
|
|
}
|
|
if (res.data.user_phone) {
|
|
if (res.data.user_phone) {
|
|
@@ -368,9 +368,9 @@
|
|
if(res.data.yes.prize_status=="none"){
|
|
if(res.data.yes.prize_status=="none"){
|
|
nowin("nowin");
|
|
nowin("nowin");
|
|
}else if(res.data.yes.prize_status=="real"){//中奖
|
|
}else if(res.data.yes.prize_status=="real"){//中奖
|
|
- // G("prizeImg").src = res.data.yes.prize_img;
|
|
|
|
|
|
+ G("prizeImg").src = res.data.yes.prize_img;
|
|
G("ptizeName").innerHTML = res.data.yes.prize_name;
|
|
G("ptizeName").innerHTML = res.data.yes.prize_name;
|
|
- // G("myPrize").src = res.data.yes.prize_img;
|
|
|
|
|
|
+ G("myPrize").src = res.data.yes.prize_img;
|
|
S("prizePopup");
|
|
S("prizePopup");
|
|
main.reSetClass("prizeBtn",1);
|
|
main.reSetClass("prizeBtn",1);
|
|
}
|
|
}
|
|
@@ -522,7 +522,7 @@
|
|
1:[0,-1,0,0],
|
|
1:[0,-1,0,0],
|
|
// 2:[0,0,0,0],
|
|
// 2:[0,0,0,0],
|
|
onEnterPress:function(){
|
|
onEnterPress:function(){
|
|
- if(this.currentIndex==2){
|
|
|
|
|
|
+ if(this.currentIndex==1){
|
|
H("unWinToyPopup");
|
|
H("unWinToyPopup");
|
|
this.reSetClass("voteBtn");
|
|
this.reSetClass("voteBtn");
|
|
}else{
|
|
}else{
|
|
@@ -729,7 +729,7 @@
|
|
G("unWinToyPopup").style.background = "url('./img/page_07.png') no-repeat center";
|
|
G("unWinToyPopup").style.background = "url('./img/page_07.png') no-repeat center";
|
|
}
|
|
}
|
|
S("unWinToyPopup");
|
|
S("unWinToyPopup");
|
|
- main.reSetClass("unWinToyBtn",2);
|
|
|
|
|
|
+ main.reSetClass("unWinToyBtn");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -971,6 +971,7 @@
|
|
act_id:init.act_id,
|
|
act_id:init.act_id,
|
|
uid: uid,
|
|
uid: uid,
|
|
is_vip: init.is_vip,
|
|
is_vip: init.is_vip,
|
|
|
|
+ test:1,
|
|
},
|
|
},
|
|
success: function (res) {
|
|
success: function (res) {
|
|
fn && fn(res);
|
|
fn && fn(res);
|
|
@@ -980,13 +981,14 @@
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|
|
- function fullscreenPlay(mid) {
|
|
|
|
|
|
+ function fullscreenPlay(mid,idx) {
|
|
|
|
+ idx = idx || 0;
|
|
var playIntent = {
|
|
var playIntent = {
|
|
package : "com.hunantv.operator",
|
|
package : "com.hunantv.operator",
|
|
action: "mangotv://com.hunantv.operator/player/vod",
|
|
action: "mangotv://com.hunantv.operator/player/vod",
|
|
data:"",
|
|
data:"",
|
|
extras: {
|
|
extras: {
|
|
- "video_index": 0,
|
|
|
|
|
|
+ "video_index": idx,
|
|
"media_asset_id": mid, //媒资包
|
|
"media_asset_id": mid, //媒资包
|
|
},
|
|
},
|
|
flags: []
|
|
flags: []
|
|
@@ -1035,7 +1037,6 @@
|
|
if(G("phone").innerHTML.length>10) return;
|
|
if(G("phone").innerHTML.length>10) return;
|
|
var key = this.event.keyCode;
|
|
var key = this.event.keyCode;
|
|
try {
|
|
try {
|
|
- Webview.setInputTypeTextFlag("true");
|
|
|
|
if (key >= 0 && key <= 9) {
|
|
if (key >= 0 && key <= 9) {
|
|
G("phone").innerText += key;
|
|
G("phone").innerText += key;
|
|
}
|
|
}
|