|
|
@@ -396,7 +396,7 @@ Page({
|
|
|
*/
|
|
|
formatVideoAdList(arr) {
|
|
|
// 原生广告间隔,激励广告间隔
|
|
|
- let templateGap = 5,
|
|
|
+ let templateGap = 8,
|
|
|
rewardGap = 0;
|
|
|
// console.log(this.data.globalConfig);
|
|
|
// if (this.data.globalConfig.isHomeTemplateAd === 1) {
|
|
|
@@ -462,6 +462,7 @@ Page({
|
|
|
// 点击合集
|
|
|
clickCollect(e) {
|
|
|
const { id, info, index } = e.currentTarget.dataset;
|
|
|
+ const _this = this;
|
|
|
this.setData({
|
|
|
collectId: id,
|
|
|
tagId: info.tagId,
|
|
|
@@ -472,9 +473,9 @@ Page({
|
|
|
});
|
|
|
console.log(id, info, index, "合集详情");
|
|
|
wx.redirectTo({
|
|
|
- url: "/pages/collect-video/video?collectId=${id}",
|
|
|
+ url: `/pages/collect-video/video?collectId=${id}`,
|
|
|
fail(err) {
|
|
|
- this.getCollectVideoDetail();
|
|
|
+ _this.getCollectVideoDetail();
|
|
|
},
|
|
|
});
|
|
|
},
|