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
86f9ce64
Commit
86f9ce64
authored
Mar 12, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.mints-id.com/android/uniapp_vedio
parents
ebfec9fc
c60afdd4
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 @
86f9ce64
<
template
>
<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"
>
<view
class=
"content"
>
<swiper
class=
"banner"
:style=
"'margin-top:'+statusBarHeight+'px;'"
:indicator-dots=
"true"
...
...
@@ -222,6 +227,8 @@
</view>
</view>
</uni-popup>
-->
</view>
</
template
>
<
script
>
...
...
@@ -252,11 +259,15 @@
bannerList
:
[],
newRecordBean
:
null
,
topList
:
[],
maskImage
:
'https://mints-web.oss-cn-beijing.aliyuncs.com/images/bg_wx_guid.png'
,
showMask
:
false
,
statusBarHeight
:
app
.
globalData
.
statusBarHeight
,
};
},
methods
:
{
show
()
{
this
.
showMaskFuc
()
// 匹配视频
this
.
showFirstDialog
();
// 轮播图
...
...
@@ -365,7 +376,19 @@
});
},
800
);
}
}
},
showMaskFuc
()
{
let
showFollowMask
=
uni
.
getStorageSync
(
'show-follow-mask'
)
||
''
;
if
(
showFollowMask
==
'1'
)
{
this
.
showMask
=
true
uni
.
setStorage
({
key
:
'show-follow-mask'
,
data
:
'2'
});
}
},
}
};
</
script
>
...
...
@@ -376,6 +399,35 @@
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
{
width
:
100%
;
border-radius
:
10rpx
;
...
...
vedio/pagesC/video/newVideoDetail.vue
View file @
86f9ce64
...
...
@@ -199,6 +199,14 @@
onShow
()
{
// 从VIP页面返回关闭弹框
this
.
down
()
let
showFollowMask
=
uni
.
getStorageSync
(
'show-follow-mask'
)
||
''
;
if
(
showFollowMask
!=
'1'
&&
showFollowMask
!=
'2'
)
{
uni
.
setStorage
({
key
:
'show-follow-mask'
,
data
:
'1'
});
}
},
methods
:
{
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