yuminge-app/yun-min-program-plugin-master/packageC/video_goods/VideoDetail/VideoDetail.wxss

1170 lines
19 KiB
Plaintext

/* packageC/video_goods/VideoDetail/VideoDetail.wxss */
page {
box-sizing: border-box;
}
.custom-nav {
width: 100%;
z-index: 99;
background-image: linear-gradient(0deg, rgba(0, 0, 0, 0) 10%, rgba(3, 0, 0, 0.5) 100%);
}
.topTxt {
width: 550rpx;
font-size: 40rpx;
/* height: 3.75rem; */
line-height: 40rpx;
letter-spacing: 2rpx;
color: #fff;
padding: 0 0.5rem;
/* padding-top: 150rpx; */
display: flex;
align-items: center;
}
.topTxt .van-ellipsis {
font-size: 34rpx !important;
}
.topTxt .van-tabs__line {
width: 40rpx !important;
bottom: 10rpx;
}
.right-icons {
color: #fff;
}
.right-icons .icon-fontclass-huiyuanzhongxin1 {
margin-left: 32rpx;
}
.tabs-box {
margin: 0 auto;
}
.tab-cative {
color: #fff;
opacity: 1 !important;
}
.topTxt van-icon {
margin-top: 10rpx;
}
.my-video {
position: absolute;
z-index: 1;
left: 0;
top: 0;
right: 0;
height: 100%;
visibility: visible;
display: flex;
justify-content: center;
align-items: center;
background: none;
overflow: hidden;
}
.my-video video {
width: 100%;
height: 100%;
}
.my-video .video-style {
object-fit: fill;
}
.works_wrap {
position: absolute;
z-index: 1;
left: 0;
top: 0;
right: 0;
height: 100%;
visibility: visible;
display: flex;
justify-content: center;
align-items: center;
background: none;
overflow: hidden;
}
.works_wrap .play {
position: absolute;
z-index: 11;
left: calc(55% - 64rpx);
top: calc(50% - 64rpx);
width: 64rpx;
height: 64rpx;
}
.works_wrap .play image {
width: 100%;
}
.works_wrap .poster {
/* background: #000000; */
position: relative;
z-index: 10;
width: 100%;
height: 100%;
visibility: visible;
display: flex;
justify-content: center;
align-items: center;
}
.works_wrap .poster .pic {
width: 100%;
height: auto;
vertical-align: middle;
}
.works_wrap .poster .pic image {
width: 100%;
}
.works_wrap .playWorks {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
z-index: 9;
background-size: auto 50px;
}
.good-and-title{
display: flex;
}
.good-and-title .video-title {
z-index: 10;
/* width: 512rpx; */
padding: 28rpx 0 0 20rpx;
font-size: 15px;
line-height: 20px;
text-align: left;
color: #fff;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
}
.video-detail-box {
position: absolute;
z-index: 99;
left: 0;
bottom: 0;
width: 100%;
background-image: linear-gradient(0deg, rgba(3, 0, 0, 0.6) 0%, rgba(2, 0, 0, 0.2) 90%, rgba(0, 0, 0, 0) 100%);
color: #fff;
padding-top: 60rpx;
/* padding: 10rpx; */
}
.video-detail-box .video-title {
margin: 10rpx 0;
padding: 0 22rpx;
}
.detail-box {
display: flex;
align-items: center;
justify-content: space-between;
padding: 5rpx 20rpx;
text-align: center;
background-color: #000;
}
.left-user-info {
width: 270rpx;
display: flex;
text-align: left;
}
.left-user-info .avatar {
margin-right: 16rpx;
width: 70rpx;
height: 70rpx;
border-radius: 50%;
background: #fff;
}
.left-user-info .user {
flex: 1;
overflow: hidden;
}
.left-user-info .user view {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.btn-follow {
width: 100rpx;
height: 41rpx;
background-color: #e7a816;
border-radius: 20rpx;
}
.grey {
background-color: #7b7b7b;
}
.right-icon {
display: flex;
/* justify-content: space-between; */
}
.share-icon-box,
.link-icon-box,
.comment-icon-box {
margin-left: 40rpx;
}
.right-icon .iconfont {
line-height: 50rpx;
font-size: 50rpx !important;
margin-bottom: 10rpx;
}
.right-icon .icon-zb_all_like {
color: #ff5757;
}
.good-box {
display: flex;
align-items: center;
z-index: 10;
/* width: 500rpx; */
background: rgba(0, 0, 0, 0.4);
border-radius: 0 24rpx 24rpx 0;
padding: 8rpx 20rpx;
/* border: 1rpx solid #fff; */
box-shadow: inset 0px 0px 1rpx 0px #fff;
}
.good-box .good-img {
margin-right: 12rpx;
width: 96rpx;
height: 96rpx;
flex: 0 0 96rpx;
border-radius: 10rpx;
overflow: hidden;
}
.good-box .good-img image {
width: 100%;
height: 100%;
}
.good-box .text-wrap {
flex: 1;
display: flex;
flex-direction: column;
text-align: left;
/* line-height: 64rpx; */
height: 100%;
max-width: 320rpx;
min-width: 160rpx;
font-weight: 700;
justify-content: space-around;
}
.good-box .desc {
line-height: 36rpx;
font-size: 32rpx;
color: #fff;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.good-box .price {
font-size: 26rpx;
color: #f15353;
margin-right: 16rpx;
line-height: 32rpx;
}
.good-box .old-price {
text-decoration: line-through;
color: #999;
font-size: 20rpx;
line-height: 32rpx;
}
.good-box .cart {
display: flex;
flex: 0 0 36rpx;
width: 36rpx;
height: 36rpx;
line-height: 86rpx;
margin-right: 10rpx;
}
.good-box .cart image {
width: 100%;
height: 100%;
}
.side-bar {
position: absolute;
z-index: 999;
right: 20rpx;
bottom: 144rpx;
display: flex;
flex-direction: column;
align-items: center;
/* justify-content: space-between; */
justify-content: flex-end;
word-break: keep-all;
flex-flow: column wrap-reverse;
max-height: 60vh;
}
.side-bar .avatar {
position: relative;
border-radius: 50%;
background: none;
padding-bottom: 15px;
/* border: 2rpx solid #e8e8e9; */
}
.side-bar .avatar .img {
border-radius: 50%;
}
.side-bar .avatar .img image {
border-radius: 50%;
width: 100%;
height: 100%;
border: 2rpx solid #e8e8e9;
}
.side-bar .wrap-arc {
display: flex;
justify-content: center;
align-items: center;
width: 60rpx;
height: 60rpx;
border: 10rpx solid #fff;
background: transparent;
border-radius: 50%;
margin-bottom: 5rpx;
}
.side-bar .wrap-arc .inline-arc {
width: 20rpx;
height: 20rpx;
border-radius: 50%;
background: #f54242;
}
.follow-box {
text-align: center;
position: absolute;
bottom: 15px;
left: 50%;
transform: translateX(-50%) translateY(50%);
width: 18px;
height: 18px;
line-height: 18px;
border-radius: 50%;
background: rgb(252, 52, 93);
display: flex;
align-items: center;
justify-content: center;
}
.follow-box icon {
color: #fff;
display: flex;
align-items: center;
justify-content: center;
}
.like {
position: relative;
padding-bottom: 15px;
}
.like .img {
width: 40px;
height: 40px;
}
.like .img image {
width: 100%;
height: 100%;
}
.like .likenum {
font-size: 20rpx;
position: absolute;
bottom: 30rpx;
left: 50%;
transform: translateX(-50%) translateY(100%);
color: #e8e8e9;
}
.share {
position: relative;
}
.share .img {
width: 40px;
height: 40px;
}
.share .img image {
width: 100%;
height: 100%;
}
.share .sharenum {
font-size: 20rpx;
position: absolute;
bottom: -10rpx;
left: 50%;
transform: translateX(-50%) translateY(100%);
color: #e8e8e9;
}
.side-bar > .div {
width: 80rpx;
height: 80rpx;
font-size: 80rpx;
color: rgb(232, 232, 233);
transition: all 0.3s;
}
.play-video {
position: absolute;
z-index: 9;
top: 0;
width: 100%;
height: 100%;
left: 0;
}
.div_bar {
position: absolute;
z-index: 10;
right: 30rpx;
bottom: 315rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.luzhi {
width: 74rpx;
height: 114rpx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
margin-top: 20rpx;
color: #fff;
}
.jilu {
max-width: 100rpx;
height: 114rpx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
color: #fff;
}
.jilu image {
width: 40px;
height: 40px;
}
.customIcon {
height: auto;
padding-top: 5px;
}
.customIcon image {
width: 40px;
height: 40px;
border-radius: 10rpx;
}
.jili icon {
font-size: 44rpx;
}
.answerpage {
height: 100%;
background: url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/videoAnswerBg@3x.png);
background-size: cover;
}
view,
text {
box-sizing: border-box;
}
.header {
text-align: center;
margin: 0 auto;
padding-top: 58rpx;
font-size: 70rpx;
color: #e9e8e8;
}
.answerContainer {
margin: 0 auto;
margin-top: 90rpx;
width: 100%;
height: 660rpx;
border-radius: 5%;
position: relative;
background-color: #fff;
padding: 58rpx 70rpx 0;
}
.answerContainer::before {
content: "";
display: block;
width: 32rpx;
height: 32rpx;
border-radius: 50%;
position: absolute;
left: -16rpx;
top: 64rpx;
background: #cf243b;
}
.answerContainer::after {
content: "";
display: block;
width: 32rpx;
height: 32rpx;
border-radius: 50%;
position: absolute;
right: -16rpx;
top: 64rpx;
background: #cf243b;
}
.answerContainer .answerTitle {
text-align: center;
color: #333;
font-size: 30rpx;
}
.answerContainer .answerList {
padding-top: 48rpx;
height: 512rpx;
overflow: scroll;
}
.answerContainer .answerList .answerItem {
width: 100%;
height: 84rpx;
background-color: #f1f1f1;
border-radius: 42rpx;
color: #333;
font-size: 28rpx;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 34rpx;
}
.answerContainer .answerList .answerItem:active {
background: rgb(207, 36, 59);
color: #fff;
}
.successAlert {
width: 626rpx;
height: 564rpx;
background: url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/videoAnswerAlert@3x.png);
background-size: contain;
background-repeat: no-repeat;
display: flex;
flex-direction: column;
align-items: center;
}
.successAlert .c1 {
color: #f06161;
font-size: 32rpx;
padding-top: 42rpx;
}
.successAlert .c2 {
color: #333;
font-size: 32rpx;
margin-top: 48rpx;
}
.successAlert .c3 {
color: #f06161;
font-size: 72rpx;
margin-top: 35rpx;
}
.successAlert .btn {
width: 332rpx;
height: 75rpx;
margin: 0 auto;
margin-top: 105rpx;
}
.successAlert .btn image {
width: 100%;
height: 75rpx;
}
.errorAlert {
width: 510rpx;
height: 510rpx;
background-color: #fff;
border-radius: 4rpx;
display: flex;
flex-direction: column;
align-items: center;
padding-top: 38rpx;
}
.errorAlert .sigh {
width: 185rpx;
padding-left: 25rpx;
height: 151rpx;
}
.errorAlert .sigh image {
width: 100%;
height: 100%;
}
.errorAlert .c1 {
margin-top: 25rpx;
font-size: 32rpx;
color: #999;
}
.errorAlert .c2 {
display: flex;
flex-direction: column;
justify-content: center;
margin-top: 32rpx;
color: #333;
font-size: 28rpx;
}
.errorAlert .btn {
margin-top: 32rpx;
font-size: 30rpx;
color: #fff;
width: 358rpx;
height: 60rpx;
background-color: #f35056;
border-radius: 6rpx;
display: flex;
align-items: center;
justify-content: center;
}
.Redpack-box {
width: 488rpx;
height: 810rpx;
background-size: 100% 100%;
background-position: top left;
display: flex;
flex-direction: column;
position: relative;
}
.Redpack-box .Redpack-title {
display: flex;
}
.Redpack-box .Redpack-title .avator {
margin: 128rpx auto 32rpx;
max-width: 120rpx;
border-radius: 4rpx;
height: auto;
}
.Redpack-box .Redpack-text {
font-size: 36rpx;
text-align: center;
color: #ceac74;
padding: 32rpx;
font-weight: bold;
width: 100%;
}
.Redpack-box .Redpack_bg_box {
position: absolute;
height: 216rpx;
width: 100%;
bottom: 0;
left: 0;
}
.Redpack-box .Redpack_bg_box .Redpack-btn {
width: 152rpx;
height: 152rpx;
border-radius: 50%;
overflow: hidden;
position: absolute;
z-index: 999;
left: 50%;
margin-left: -76rpx;
margin-top: -48rpx;
background: url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/open_btn.png);
background-size: 100% 100%;
background-color: #e5c185;
}
.Redpack-box .Redpack_bg_box .rotate {
-webkit-animation: anim 1s infinite alternate;
-ms-animation: anim 1s infinite alternate;
animation: anim 1s infinite alternate;
}
@-webkit-keyframes anim {
from {
-webkit-transform: rotateY(180deg);
}
to {
-webkit-transform: rotateY(360deg);
}
}
@keyframes anim {
from {
transform: rotateY(180deg);
}
to {
transform: rotateY(360deg);
}
}
.Redpack-box .Redpack_bg_box .Redpack_bg {
overflow: hidden;
position: relative;
height: 100%;
width: 100%;
}
.Redpack-box .Redpack_bg_box .Redpack_bg::before {
position: absolute;
margin-top: calc(72rpx * -1);
/* margin-right: calc(96rpx * -1); */
/* margin-bottom: calc(96rpx * -1); */
/* margin-left: calc(256rpx * -1); */
padding: 56rpx 256rpx;
border-radius: 50%;
box-shadow: 0 0 0 600rpx #f04333;
content: "";
}
.Redpack-box .Redpack-close {
color: #fff;
font-size: 24rpx;
position: absolute;
bottom: 60rpx;
width: 100%;
z-index: 99;
text-align: center;
}
.Redpack-box .open-redpack-clone {
color: #000;
bottom: 28rpx;
}
.open-redpack-box {
width: 100%;
height: 100%;
}
.open-redpack-box .Redpack-logo {
margin-top: 144rpx;
z-index: 2;
position: relative;
}
.open-redpack-box .open-text {
z-index: 2;
position: relative;
font-size: 24rpx;
color: #aeaeae;
padding: 0 32rpx;
font-weight: 100;
}
.open-redpack-box .open-total {
font-size: 76rpx;
color: #ceac74;
padding: 32rpx 32rpx 0;
font-weight: bold;
z-index: 2;
position: relative;
text-align: center;
}
.open-redpack-box .color-text {
color: #ceac74;
font-size: 20rpx;
}
.open-redpack-box .open-redpack_bg_box {
height: 644rpx;
z-index: 1;
}
.open-redpack-box .open-redpack_bg_box .Redpack_bg.Redpack_bg::before {
position: absolute;
margin-top: calc(44rpx * -1);
margin-left: calc(12rpx * -1);
padding: 56rpx 256rpx;
border-radius: 50%;
box-shadow: 0 0 0 600rpx #fff;
border: 4rpx solid #efca62;
content: "";
}
.verification {
width: 17.5rem;
padding: 0 0.75rem;
}
.verification .text {
padding: 1.725rem 2rem 2.125rem;
color: #666;
text-align: center;
font-size: 0.75rem;
}
.verification .inputBox {
height: 2.625rem;
line-height: 2.625rem;
display: flex;
border-bottom: 0.0625rem solid #ebebeb;
text-align: left;
align-items: center;
margin-top: 0.625rem;
}
.verification .inputBox .name {
width: 3.875rem;
color: #000;
}
.verification .inputBox input {
border: none;
}
.verification .inputBox #phone {
flex: 1;
}
.verification .inputBox #code {
width: 40%;
}
.verification .inputBox .getcodeClass {
display: inline-block;
height: 1.25rem;
line-height: 1.25rem;
background-color: #f54242;
color: #fff;
border-radius: 0.625rem;
padding: 0 0.625rem;
font-size: 0.75rem;
}
.verification .inputBox .getcodeImg {
display: inline-block;
height: 1.25rem;
line-height: 1.25rem;
flex: 1;
}
.verification .bottomBox {
padding-top: 2.5rem;
padding-bottom: 1rem;
display: flex;
justify-content: space-around;
}
.verification .bottomBox .btn1,
.verification .bottomBox .btn2 {
width: 6rem;
height: 2rem;
line-height: 2rem;
text-align: center;
color: #fff;
font-size: 1rem;
border-radius: 1.234rem;
}
.verification .bottomBox .btn1 {
background: #bcbcbc;
}
.verification .bottomBox .btn2 {
background: #f71515;
}
.noData {
width: 100vw;
height: 100vh;
padding: 2rem;
background: #f7f7f7;
display: flex;
flex-direction: column;
align-items: center;
}
.noData .noData_imgs {
width: 100%;
margin: 0;
}
.noData .text {
padding: 1rem 0;
color: #999;
font-size: 1rem;
}
.noData .btn {
width: 16rem;
height: 2.5rem;
line-height: 2.5rem;
border-radius: 2rem;
font-size: 1rem;
background-image: -webkit-linear-gradient(bottom, #ff8a66, #ff6260, #ff6260);
color: #fff;
text-align: center;
}
.live-box {
height: 1.438rem;
line-height: 1.438rem;
position: absolute;
top: 5rem;
right: 1rem;
background-color: #ff5757;
border-radius: 0.875rem;
overflow: hidden;
color: #fff;
z-index: 10;
display: flex;
padding-left: 0.5rem;
}
.live-box .live-box-text {
padding: 0 0.875rem;
}
.live-box .wave {
position: relative;
}
.live-box .wave view {
width: 2px;
height: 5px;
bottom: 5px;
position: absolute;
background: #fff;
-webkit-animation: bodong 0.5s infinite ease;
}
.live-box .wave view:first-child {
left: 0;
-webkit-animation-delay: 0.3s;
}
.live-box .wave view:nth-child(2) {
left: 5px;
-webkit-animation-delay: 0.4s;
}
.live-box .wave view:nth-child(3) {
left: 10px;
-webkit-animation-delay: 0.6s;
}
@-webkit-keyframes bodong {
0% {
height: 2px;
background: bule;
}
30% {
height: 5px;
background: bule;
}
60% {
height: 8px;
background: bule;
}
80% {
height: 12px;
background: bule;
}
100% {
height: 5px;
background: bule;
}
}
.advertising-Box {
position: absolute;
left: 16rpx;
top: 188rpx;
z-index: 99;
}
.advertising-Box .advertising-Box-child {
width: 120rpx;
height: 120rpx;
position: relative;
}
.advertising-Box .advertising-Box-child image {
width: 100%;
height: 100%;
object-fit: contain;
}
.advertising-Box .advertising-Box-child .icon-adsystem_icon_cancle {
position: absolute;
top: -28rpx;
right: -32rpx;
color: #fff;
padding: 8rpx;
}
.advertising-Box .member-look-ads {
margin-bottom: 24rpx;
}
.cell-slot-box {
text-align: center;
}
.cell-slot-box {
display: flex;
flex-direction: column;
align-items: center;
font-size: 10px;
margin-left: 20rpx;
}
.cell-slot-box .icon-fontclass-dianzan {
font-size: 18px;
}
.cell-slot-box .slot-active-color {
color: #f15353;
}
.topTxt .van-tabs__scroll {
background-color: transparent;
}
.topTxt .van-tab {
color: #fff;
opacity: 0.8;
padding: 0 10px;
}
.member-name {
text-align: left;
text-indent: 20rpx;
font-size: 16px;
font-weight: bold;
color: #fff;
padding-top: 28rpx;
}
.playWorks-bg {
background: #000;
}
.integral-71249-box {
width: 765rpx;
height: 822rpx;
padding-top: 243rpx;
border-radius: 16rpx;
background: url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/integral-71249-box-bg.png);
background-repeat: no-repeat;
background-size: contain;
}
.integral-71249-box .integral-71249-box-title {
height: 98rpx;
line-height: 150%;
text-align: center;
font-size: 50rpx;
font-weight: bold;
color: #fff2c7;
}
.integral-71249-box .integral-71249-box-desc {
margin-top: 83rpx;
text-align: center;
padding:0 126rpx;
font-size: 46rpx;
color: #e46b00;
}
.integral-71249-box .integral-71249-box-num {
margin-top: 10rpx;
text-align: center;
font-size: 60rpx;
color: #ee1717;
}
.integral-71249-box .integral-71249-box-button {
display: flex;
align-items: center;
justify-content: center;
width: 320rpx;
height: 96rpx;
margin: 64rpx auto 0;
padding-bottom: 10rpx;
font-size: 38rpx;
color: #fff;
background: url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/integral-71249-box-button-bg.png);
background-repeat: no-repeat;
background-size: cover;
}