23e73af5 by simon

默认提交

1 parent f95b8646
......@@ -106,7 +106,7 @@ button {
.comp {
bottom: auto;
// top: 56%;
bottom: 10%;
bottom: 30%;
}
}
......
......@@ -28,7 +28,7 @@ Page({
// 打点
app.stat({
classify: "share",
action: "detail_page_share",
action: this.data.detailData.type == 1 ? "hide_detail_page_share" : "detail_page_share",
primaryCode: this.data.detailData.videoCode,
});
}
......@@ -126,8 +126,8 @@ Page({
})
// 打点
app.stat({
classify: "play",
action: "play_end",
classify: "video",
action: this.data.detailData.type == 1 ? "hide_play_end" : "play_end",
primaryCode: this.data.detailData.videoCode,
});
},
......@@ -138,8 +138,8 @@ Page({
onVideoPlayHandler(evt) {
// 打点
app.stat({
classify: "play",
action: "video_code",
classify: "video",
action: this.data.detailData.type == 1 ? "hide_play" : "play",
primaryCode: this.data.detailData.videoCode,
});
},
......@@ -155,15 +155,15 @@ Page({
this.setData({
isVideoEnded: false
})
// 打点
app.stat({
classify: "play",
action: "video_code",
primaryCode: this.data.detailData.videoCode,
});
// // 打点
// app.stat({
// classify: "video",
// action: this.data.detailData.type == 1 ? "hide_play" : "play",
// primaryCode: this.data.detailData.videoCode,
// });
},
onShareFriend(){
onShareFriend() {
app.stat({
classify: "share",
action: "detail_page_button_friend_share",
......@@ -171,7 +171,7 @@ Page({
});
},
onShareGroup(){
onShareGroup() {
app.stat({
classify: "share",
action: "detail_page_button_group_share",
......
......@@ -185,7 +185,7 @@ Page({
},
onShareItem(evt){
onShareItem(evt) {
let curItem = getBindtapData(evt);
app.stat({
classify: "share",
......
......@@ -26,7 +26,7 @@ Page({
onShareAppMessage(res) {
if (res.from === 'button') {
// 来自页面内转发按钮
}else{
} else {
// 打点
app.stat({
classify: "hide",
......@@ -154,12 +154,12 @@ Page({
this.setData({
isVideoEnded: false
})
// 打点
app.stat({
classify: "hide",
action: "hide_play",
primaryCode: this.data.detailData.videoCode,
});
// // 打点
// app.stat({
// classify: "hide",
// action: "hide_play",
// primaryCode: this.data.detailData.videoCode,
// });
},
/**
......@@ -230,7 +230,9 @@ Page({
this.setData({
vidHeight: vidHeight,
});
if (!result.videoCode) {
result.videoCode = result.hideCode
}
resolve(result);
}).catch((err) => {
reject(err);
......
......@@ -38,26 +38,25 @@ Page({
},
]
},
onShareAppMessage(res) {},
onShareAppMessage(res) {
if (res.from === 'button') {
// 来自页面内转发按钮
} else {
// 打点
}
},
showAuth() {
this.setData({
authorizeVisible: true
})
},
onLoad(options) {
if (res.from === 'button') {
// 来自页面内转发按钮
} else {
// 打点
app.stat({
classify: "page",
action: "reword_page",
primaryCode: "",
});
}
},
/**
......