866f257d by simon

默认提交

1 parent 271bf4a4
...@@ -43,11 +43,12 @@ App({ ...@@ -43,11 +43,12 @@ App({
43 this.globalData.statusBarHeight = wx.getSystemInfoSync().statusBarHeight; 43 this.globalData.statusBarHeight = wx.getSystemInfoSync().statusBarHeight;
44 this.globalData.barHeight = height; 44 this.globalData.barHeight = height;
45 this.share(); 45 this.share();
46 // 打点
46 this.stat({ 47 this.stat({
47 classify: "minipro", 48 classify: "minipro",
48 action: "detail_page", 49 action: "detail_page",
49 primaryCode: "", 50 primaryCode: "",
50 }) 51 });
51 }, 52 },
52 globalData: { 53 globalData: {
53 share: false, 54 share: false,
......
...@@ -44,6 +44,9 @@ Page({ ...@@ -44,6 +44,9 @@ Page({
44 }); 44 });
45 this.queryVideoDetail(); 45 this.queryVideoDetail();
46 this.initData(); 46 this.initData();
47
48
49
47 }, 50 },
48 51
49 /** 52 /**
...@@ -163,6 +166,13 @@ Page({ ...@@ -163,6 +166,13 @@ Page({
163 * 视频详情 166 * 视频详情
164 */ 167 */
165 queryVideoDetail() { 168 queryVideoDetail() {
169 // 打点
170 app.stat({
171 classify: "page",
172 action: "detail_page",
173 primaryCode: this.data.options.c,
174 });
175
166 return new Promise((resolve, reject) => { 176 return new Promise((resolve, reject) => {
167 app.post({ 177 app.post({
168 url: app.api.videoDetail, 178 url: app.api.videoDetail,
......
...@@ -63,10 +63,6 @@ ...@@ -63,10 +63,6 @@
63 <view class="tit">{{item.videoName}}</view> 63 <view class="tit">{{item.videoName}}</view>
64 <image class="poster" src="{{item.thumbnail}}" /> 64 <image class="poster" src="{{item.thumbnail}}" />
65 </view> 65 </view>
66 <!-- <view wx:for="{{2}}" wx:key="{{index}}" class="more-list-item">
67 <view class="tit">新政策来了!家有小孩的都要过来看看</view>
68 <image class="poster" src="https://kd.cdn.xyiyang.com/pro/mzczcradmin/008194acee794506aac4c7200ce654dc.jpg" />
69 </view> -->
70 </view> 66 </view>
71 </view> 67 </view>
72 <!-- 返回首页按钮 --> 68 <!-- 返回首页按钮 -->
......
...@@ -224,6 +224,14 @@ Page({ ...@@ -224,6 +224,14 @@ Page({
224 * 获取banner列表 224 * 获取banner列表
225 */ 225 */
226 queryBannerList() { 226 queryBannerList() {
227
228 // 打点
229 app.stat({
230 classify: "page",
231 action: "tab_page",
232 primaryCode: this.data.curTab.tabCode || ""
233 });
234
227 return new Promise((resolve, reject) => { 235 return new Promise((resolve, reject) => {
228 app.post({ 236 app.post({
229 sid: false, 237 sid: false,
......