Commit d1437296 authored by jyx's avatar jyx

推荐剧添加 zsUrid 字段

parent 0d305a10
...@@ -218,6 +218,10 @@ ...@@ -218,6 +218,10 @@
loadStatus: 'loadmore', loadStatus: 'loadmore',
}; };
}, },
mounted() {
// 匹配视频
this.showFirstDialog();
},
methods: { methods: {
onScroll(event) { onScroll(event) {
// 获取scrollview已滚动的高度 // 获取scrollview已滚动的高度
...@@ -233,9 +237,6 @@ ...@@ -233,9 +237,6 @@
show() { show() {
this.showMaskFuc() this.showMaskFuc()
// 匹配视频
this.showFirstDialog();
// 轮播图 // 轮播图
this.post({ this.post({
url: '/vedio/topTabs', url: '/vedio/topTabs',
...@@ -336,27 +337,21 @@ ...@@ -336,27 +337,21 @@
showFirstDialog() { showFirstDialog() {
let that = this; let that = this;
// 匹配用户展示视频 // 匹配用户展示视频
let showFirstVedio = uni.getStorageSync('showFirstVedio') || ''; let zsUrid = uni.getStorageSync('zsUrid') || '';
if (showFirstVedio == '') { that.post({
uni.setStorage({ url: '/vedio/firstVedio',
key: 'showFirstVedio', data: {
data: 'true' zsUrid
}); },
setTimeout(() => { showLoading: false,
that.post({ success: ({
url: '/vedio/firstVedio', data
data: {}, }) => {
showLoading: false, if (data.vedioMsg != null) {
success: ({ navigateToPlayer(data.vedioMsg)
data }
}) => { }
if (data.vedioMsg != null) { });
navigateToPlayer(data.vedioMsg)
}
}
});
}, 800);
}
}, },
showMaskFuc() { showMaskFuc() {
let showFollowMask = uni.getStorageSync('show-follow-mask') || ''; let showFollowMask = uni.getStorageSync('show-follow-mask') || '';
......
...@@ -65,6 +65,10 @@ ...@@ -65,6 +65,10 @@
var remark1 = ''; // 预留 var remark1 = ''; // 预留
var remark2 = ''; // 预留 var remark2 = ''; // 预留
var remark3 = ''; // 预留 var remark3 = ''; // 预留
var zsUrid = obj.query.zsUrid ?? ''
uni.setStorageSync("zsUrid", zsUrid)
var mid1 = ""; var mid1 = "";
var mid2 = ""; var mid2 = "";
......
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