视频圈

This commit is contained in:
Mr.jiang 2024-07-24 13:50:45 +08:00
parent d28b39cc23
commit 4600d214fb
4 changed files with 14 additions and 5 deletions

View File

@ -236,6 +236,7 @@
:autoplay="true" :autoplay="true"
:show-play-btn='false' :show-play-btn='false'
:show-center-play-btn='false' :show-center-play-btn='false'
:http-cache="true"
@click="jieshu" @click="jieshu"
:src="filePath"></video> :src="filePath"></video>
<view class="videoConten">{{contentVideo}}</view> <view class="videoConten">{{contentVideo}}</view>
@ -1153,6 +1154,13 @@
</script> </script>
<style scoped> <style scoped>
/deep/.uni-video-fullscreen {
display: none;
}
/* 隐藏小窗口按钮 */
/deep/.uni-video-switch {
display: none;
}
.swiper-item-view{ .swiper-item-view{
width: 70%; width: 70%;
display: -webkit-box; display: -webkit-box;
@ -1168,7 +1176,7 @@
position: absolute; position: absolute;
bottom: 0px; bottom: 0px;
margin-bottom: 60px; margin-bottom: 60px;
height: 30px; /* height: 30px; */
display: -webkit-box; display: -webkit-box;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 2; /* 定义文本的行数 */ -webkit-line-clamp: 2; /* 定义文本的行数 */

View File

@ -728,7 +728,7 @@
position: absolute; position: absolute;
bottom: 0px; bottom: 0px;
margin-bottom: 60px; margin-bottom: 60px;
height: 30px; /* height: 30px; */
display: -webkit-box; display: -webkit-box;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 2; /* 定义文本的行数 */ -webkit-line-clamp: 2; /* 定义文本的行数 */

View File

@ -395,7 +395,7 @@
height: 700px; height: 700px;
background-color: #fff; background-color: #fff;
border-top: 6px solid #f7f7f7; border-top: 6px solid #f7f7f7;
margin-top: 300px; margin-top: 350px;
} }
.top-view { .top-view {
background-color: #fff; background-color: #fff;
@ -485,7 +485,7 @@
position: absolute; position: absolute;
bottom: 0px; bottom: 0px;
margin-bottom: 60px; margin-bottom: 60px;
height: 30px; /* height: 30px; */
display: -webkit-box; display: -webkit-box;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 2; /* 定义文本的行数 */ -webkit-line-clamp: 2; /* 定义文本的行数 */
@ -501,6 +501,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
/* padding-top: 20px; */
} }
.guanbi{ .guanbi{
width: 30px; width: 30px;

View File

@ -20,8 +20,8 @@
:loop="true" :loop="true"
:muted="list.isplay" :muted="list.isplay"
:controls="false" :controls="false"
:autoplay="true"
:http-cache="true" :http-cache="true"
:autoplay="true"
:page-gesture="false" :page-gesture="false"
:show-fullscreen-btn="false" :show-fullscreen-btn="false"
:show-loading="false" :show-loading="false"