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
c60afdd4
Commit
c60afdd4
authored
Feb 29, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加找到小程序引导页面
parent
49d4edfe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
1 deletion
+61
-1
index.vue
vedio/pages/index/index.vue
+53
-1
newVideoDetail.vue
vedio/pagesC/video/newVideoDetail.vue
+8
-0
No files found.
vedio/pages/index/index.vue
View file @
c60afdd4
<
template
>
<
template
>
<view
class=
"body"
>
<view
class=
"body"
>
<view
v-if=
"showMask"
class=
"show-mask"
@
click=
"showMask=false"
>
<image
mode=
"widthFix"
:src=
"maskImage"
></image>
<text
@
click=
"showMask=false"
>
我知道了
</text>
</view>
<z-paging
class=
"flex-1"
ref=
"paging"
v-model=
"dataList"
@
query=
"queryList"
>
<z-paging
class=
"flex-1"
ref=
"paging"
v-model=
"dataList"
@
query=
"queryList"
>
<view
class=
"content"
>
<view
class=
"content"
>
<swiper
class=
"banner"
:style=
"'margin-top:'+statusBarHeight+'px;'"
:indicator-dots=
"true"
<swiper
class=
"banner"
:style=
"'margin-top:'+statusBarHeight+'px;'"
:indicator-dots=
"true"
...
@@ -222,6 +227,8 @@
...
@@ -222,6 +227,8 @@
</view>
</view>
</view>
</view>
</uni-popup>
-->
</uni-popup>
-->
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -252,11 +259,15 @@
...
@@ -252,11 +259,15 @@
bannerList
:
[],
bannerList
:
[],
newRecordBean
:
null
,
newRecordBean
:
null
,
topList
:
[],
topList
:
[],
maskImage
:
'https://mints-web.oss-cn-beijing.aliyuncs.com/images/bg_wx_guid.png'
,
showMask
:
false
,
statusBarHeight
:
app
.
globalData
.
statusBarHeight
,
statusBarHeight
:
app
.
globalData
.
statusBarHeight
,
};
};
},
},
methods
:
{
methods
:
{
show
()
{
show
()
{
this
.
showMaskFuc
()
// 匹配视频
// 匹配视频
this
.
showFirstDialog
();
this
.
showFirstDialog
();
// 轮播图
// 轮播图
...
@@ -365,7 +376,19 @@
...
@@ -365,7 +376,19 @@
});
});
},
800
);
},
800
);
}
}
}
},
showMaskFuc
()
{
let
showFollowMask
=
uni
.
getStorageSync
(
'show-follow-mask'
)
||
''
;
if
(
showFollowMask
==
'1'
)
{
this
.
showMask
=
true
uni
.
setStorage
({
key
:
'show-follow-mask'
,
data
:
'2'
});
}
},
}
}
};
};
</
script
>
</
script
>
...
@@ -376,6 +399,35 @@
...
@@ -376,6 +399,35 @@
position
:
relative
;
position
:
relative
;
}
}
.show-mask
{
width
:
100%
;
height
:
100%
;
background
:
rgba
(
0
,
0
,
0
,
0
.6
);
z-index
:
99
;
position
:
absolute
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
image
{
margin-top
:
200rpx
;
width
:
90%
;
}
text
{
margin-top
:
200rpx
;
border
:
1px
dashed
#fff
;
border-radius
:
100rpx
;
line-height
:
100rpx
;
text-align
:
center
;
color
:
white
;
font-size
:
36rpx
;
width
:
40%
;
height
:
100rpx
;
}
}
.item-wrap
{
.item-wrap
{
width
:
100%
;
width
:
100%
;
border-radius
:
10rpx
;
border-radius
:
10rpx
;
...
...
vedio/pagesC/video/newVideoDetail.vue
View file @
c60afdd4
...
@@ -199,6 +199,14 @@
...
@@ -199,6 +199,14 @@
onShow
()
{
onShow
()
{
// 从VIP页面返回关闭弹框
// 从VIP页面返回关闭弹框
this
.
down
()
this
.
down
()
let
showFollowMask
=
uni
.
getStorageSync
(
'show-follow-mask'
)
||
''
;
if
(
showFollowMask
!=
'1'
&&
showFollowMask
!=
'2'
)
{
uni
.
setStorage
({
key
:
'show-follow-mask'
,
data
:
'1'
});
}
},
},
methods
:
{
methods
:
{
paySuccess
(
largeType
)
{
paySuccess
(
largeType
)
{
...
...
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