Commit d1437296 authored by jyx's avatar jyx

推荐剧添加 zsUrid 字段

parent 0d305a10
......@@ -218,6 +218,10 @@
loadStatus: 'loadmore',
};
},
mounted() {
// 匹配视频
this.showFirstDialog();
},
methods: {
onScroll(event) {
// 获取scrollview已滚动的高度
......@@ -233,9 +237,6 @@
show() {
this.showMaskFuc()
// 匹配视频
this.showFirstDialog();
// 轮播图
this.post({
url: '/vedio/topTabs',
......@@ -336,16 +337,12 @@
showFirstDialog() {
let that = this;
// 匹配用户展示视频
let showFirstVedio = uni.getStorageSync('showFirstVedio') || '';
if (showFirstVedio == '') {
uni.setStorage({
key: 'showFirstVedio',
data: 'true'
});
setTimeout(() => {
let zsUrid = uni.getStorageSync('zsUrid') || '';
that.post({
url: '/vedio/firstVedio',
data: {},
data: {
zsUrid
},
showLoading: false,
success: ({
data
......@@ -355,8 +352,6 @@
}
}
});
}, 800);
}
},
showMaskFuc() {
let showFollowMask = uni.getStorageSync('show-follow-mask') || '';
......
......@@ -66,6 +66,10 @@
var remark2 = ''; // 预留
var remark3 = ''; // 预留
var zsUrid = obj.query.zsUrid ?? ''
uni.setStorageSync("zsUrid", zsUrid)
var mid1 = "";
var mid2 = "";
var mid3 = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment