|
@@ -10,7 +10,7 @@
|
|
|
<div class="main">
|
|
|
<div class="code">
|
|
|
<img id="QRcode" src="" alt="" />
|
|
|
- <span>扫码上转萌娃贺岁视频</span>
|
|
|
+ <span>扫码上传萌娃贺岁视频</span>
|
|
|
<span>拼人气赢大奖</span>
|
|
|
</div>
|
|
|
<div class="page_btn pg0"></div>
|
|
@@ -139,11 +139,13 @@
|
|
|
ip_btn:{
|
|
|
line:6,
|
|
|
onEnterPress:function(){
|
|
|
- if(init.oursProduct_isVip == 1){
|
|
|
- fullscreenPlay(videoArr[this.currentIndex]);
|
|
|
- }else{
|
|
|
- order(0);
|
|
|
- }
|
|
|
+ details_page(videoArr[this.currentIndex])
|
|
|
+ // mylib.goToDetailsOrPlay(videoArr[this.currentIndex]);
|
|
|
+ // if(init.oursProduct_isVip == 1){
|
|
|
+ // fullscreenPlay(videoArr[this.currentIndex]);
|
|
|
+ // }else{
|
|
|
+ // order(0);
|
|
|
+ // }
|
|
|
},
|
|
|
onPress:function(){
|
|
|
if(this.event.keyCode == 38 || this.event.keyCode == "UP"){
|
|
@@ -199,6 +201,19 @@
|
|
|
main.reSetClass("page_btn",1);
|
|
|
}
|
|
|
|
|
|
+ function details_page (id) {
|
|
|
+ var playIntent = {
|
|
|
+ package:"com.hunantv.operator",
|
|
|
+ action: "mangotv://com.hunantv.operator/detail",
|
|
|
+ data:"",
|
|
|
+ extras: {
|
|
|
+ media_assets_id: id,
|
|
|
+ },
|
|
|
+ flags: []
|
|
|
+ };
|
|
|
+ Webview.sendIntent("startActivity", playIntent);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
function order(idx){
|
|
|
var pid = init.oursId;
|
|
@@ -327,6 +342,7 @@
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+
|
|
|
|
|
|
function fullscreenPlay(mid) {
|
|
|
var playIntent = {
|