- 电子药箱: 药品库存管理 + 手动录入 + 今日用药打卡 - 药品百科: 搜索 + 分类筛选 + 20种药品静态数据 - 惠教中心: 4条药品使用指南课程 - 我的: 家庭成员信息管理 - 自定义TabBar + navigation-bar组件 - SVG药品分类插图
83 lines
1.5 KiB
SCSS
83 lines
1.5 KiB
SCSS
/* components/my-video.wxss */
|
|
.live-content {
|
|
max-width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.video {
|
|
width: 100%;
|
|
min-height: 400rpx; /* 200px -> 400rpx */
|
|
background-color: #eeeeee;
|
|
}
|
|
|
|
.screen {
|
|
.video {
|
|
height: 100%;
|
|
position: absolute;
|
|
z-index: -1;
|
|
}
|
|
}
|
|
|
|
.tools {
|
|
position: absolute;
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
bottom: 0;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
color: white;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
|
|
.video-poster {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
z-index: 2;
|
|
.play-button {
|
|
width: 100rpx;
|
|
height: 100rpx;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
.play-icon {
|
|
font-size: 50rpx;
|
|
color:white;
|
|
margin-left: 6rpx;
|
|
margin-bottom: 3rpx;
|
|
}
|
|
}
|
|
}
|
|
.poster-image {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1;
|
|
}
|
|
.cover {
|
|
position: absolute;
|
|
bottom: 0;
|
|
z-index: 998;
|
|
height: 20%;
|
|
width: 70%;
|
|
left: 10%;
|
|
background-color: rgba(255, 255, 255, 0.007);
|
|
} |