Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_vedio
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
uniapp_vedio
Commits
b097c56d
Commit
b097c56d
authored
Dec 19, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页推荐剧添加 zsUrid 字段
parent
ba603b94
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
36 deletions
+33
-36
index.vue
vedio/pages/index/index.vue
+19
-24
loading.vue
vedio/pages/loading.vue
+14
-12
No files found.
vedio/pages/index/index.vue
View file @
b097c56d
...
...
@@ -218,6 +218,9 @@
loadStatus
:
'loadmore'
,
};
},
mounted
()
{
this
.
showFirstDialog
();
},
methods
:
{
onScroll
(
event
)
{
// 获取scrollview已滚动的高度
...
...
@@ -233,9 +236,6 @@
show
()
{
this
.
showMaskFuc
()
// 匹配视频
this
.
showFirstDialog
();
// 轮播图
this
.
post
({
url
:
'/vedio/topTabs'
,
...
...
@@ -336,16 +336,13 @@
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'
)
||
''
;
...
...
vedio/pages/loading.vue
View file @
b097c56d
...
...
@@ -66,6 +66,9 @@
var
remark2
=
''
;
// 预留
var
remark3
=
''
;
// 预留
var
zsUrid
=
obj
.
query
.
zsUrid
??
''
uni
.
setStorageSync
(
"zsUrid"
,
zsUrid
)
var
mid1
=
""
;
var
mid2
=
""
;
var
mid3
=
""
;
...
...
@@ -74,7 +77,6 @@
var
thirdParam
=
""
;
zs_os
=
wx
.
getSystemInfoSync
().
platform
;
// 判断渠道来源
if
(
obj
.
query
.
clue_token
??
''
!=
''
)
{
// 头条渠道参数
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment