866f257d by simon

默认提交

1 parent 271bf4a4
......@@ -43,11 +43,12 @@ App({
this.globalData.statusBarHeight = wx.getSystemInfoSync().statusBarHeight;
this.globalData.barHeight = height;
this.share();
// 打点
this.stat({
classify: "minipro",
action: "detail_page",
primaryCode: "",
})
});
},
globalData: {
share: false,
......
......@@ -44,6 +44,9 @@ Page({
});
this.queryVideoDetail();
this.initData();
},
/**
......@@ -163,6 +166,13 @@ Page({
* 视频详情
*/
queryVideoDetail() {
// 打点
app.stat({
classify: "page",
action: "detail_page",
primaryCode: this.data.options.c,
});
return new Promise((resolve, reject) => {
app.post({
url: app.api.videoDetail,
......
......@@ -63,10 +63,6 @@
<view class="tit">{{item.videoName}}</view>
<image class="poster" src="{{item.thumbnail}}" />
</view>
<!-- <view wx:for="{{2}}" wx:key="{{index}}" class="more-list-item">
<view class="tit">新政策来了!家有小孩的都要过来看看</view>
<image class="poster" src="https://kd.cdn.xyiyang.com/pro/mzczcradmin/008194acee794506aac4c7200ce654dc.jpg" />
</view> -->
</view>
</view>
<!-- 返回首页按钮 -->
......
......@@ -224,6 +224,14 @@ Page({
* 获取banner列表
*/
queryBannerList() {
// 打点
app.stat({
classify: "page",
action: "tab_page",
primaryCode: this.data.curTab.tabCode || ""
});
return new Promise((resolve, reject) => {
app.post({
sid: false,
......