shop_h5/pages/live/index.scss

1002 lines
16 KiB
SCSS
Raw Normal View History

2025-12-11 15:38:52 +08:00
.flex1{
display: flex;
align-items: center;
justify-content: center;
}
.flex2{
display: flex;
align-items: center;
justify-content: space-between;
}
.whole{
width: 100%;
height: 100vh;
overflow: hidden;
background-color: #333;
}
#player-container-id, #video-content-box{
width: 100%;
height: 100vh;
position: relative;
z-index: 2;
}
.video-js{
width: 100% !important;
height: 100vh;
}
.vjs-tech{
width: 100%;
height: 100%;
}
.topBox{
position: fixed;
left: 0;
padding: 0 0 0 15px;
box-sizing: border-box;
top: 20px;
width: 100%;
color: #fff;
font-size: 12px;
display: flex;
align-items: center;
justify-content: space-between;
z-index: 20;
.cover{
display: flex;
align-items: center;
padding: 4px 10px 4px 4px;
border-radius: 30px;
background-color: rgba(255, 255, 255, 0.2);
}
.rank{
display: flex;
align-items: center;
padding: 4px 10px;
border-radius: 30px 0 0 30px;
background-color: rgba(255, 255, 255, 0.2);
}
.backBox{
border-radius: 60rpx;
background-color: rgba(255, 255, 255, 0.8);
height: 60rpx;
box-sizing: border-box;
margin-right: 20rpx;
color: #333;
.back{
width: 60rpx;
height: 100%;
}
.home{
font-size: 26rpx;
display: flex;
align-items: center;
padding: 0 24rpx 0 20rpx;
white-space: nowrap;
border-left: 1px solid #eee;
text{
margin-left: 4rpx;
}
}
}
}
.stbox{
position: absolute;
z-index: 2;
left: 0;
top: 0;
width: 100%;
height: 100vh;
overflow: hidden;
.img{
width: 100%;
height: 100%;
object-fit: cover;
}
.box{
background-color: rgba(0, 0, 0, 0.5);
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding-bottom: 150px;
box-sizing: border-box;
.tit{
color: #fff;
font-size: 28px;
margin: 20px 0;
}
.time{
color: #fff;
font-size: 22px;
margin-bottom: 20px;
}
.text{
color: #fff;
font-size: 15px;
margin-top: 20px;
}
}
}
.bagBox{
position: fixed;
top: 50%;
left: 30rpx;
width: 40px;
height: 40px;
z-index: 10;
image{
width: 100%;
height: 100%;
}
.box{
position: absolute;
bottom: 0;
background-color: rgba(0, 0, 0, 0.4);
width: 100%;
text-align: center;
padding: 4px 0;
border-radius: 0 0 6px 6px;
}
}
::v-deep .bagBox {
.u-count-down__text {
color: #fff !important;
font-size: 20rpx !important;
display: block;
line-height: 1;
}
}
::v-deep .bleBox {
.u-count-down__text {
color: #953315 !important;
font-size: 32rpx !important;
display: block;
line-height: 32px;
}
}
.bleBox{
height: 375px;
text-align: center;
background: linear-gradient(90deg, #FFF2E2 0%, #FBDFDC 100%);
font-weight: 600;
border-radius: 10px 10px 0 0;
.title{
width: 200px;
height: 32px;
margin: 0 auto;
position: relative;
top: -7px;
background: url('https://ct-upimg.yx090.com/ju8hn6/shop/image/2025/08/07/3dzaDXUtPj89yczFHHNySfYREUc8DvMYAhOjRVKC.png') no-repeat;
}
.tit{
font-size: 36rpx;
color: #953315;
margin-top: 30px;
}
.text{
font-size: 14px;
color: #953315;
margin-top: 10px;
}
image{
width: 76px;
height: 76px;
margin-top: 33px;
}
.txt{
font-size: 24rpx;
color: #953315;
margin-top: 20px;
}
.btn{
width: 260px;
height: 54px;
border-radius: 60px;
background: #FF3545;
margin: 10px auto 0;
color: #fff;
&.hui{
background: #FDF9ED;
color: #EC6C2B;
}
}
.desc{
font-size: 24rpx;
color: #953315;
margin-top: 10px;
}
}
.failBox{
height: 375px;
text-align: center;
background: #FDE8DF;
font-weight: 600;
border-radius: 10px 10px 0 0;
.img{
width: 100%;
position: absolute;
top: -15px;
left: 0;
}
.title{
font-size: 52rpx;
color: #929292;
padding: 130px 0 90px;
}
.btn{
width: 260px;
height: 54px;
border-radius: 60px;
margin: 10px auto 0;
background: #FDF9ED;
color: #EC6C2B;
font-size: 30rpx;
}
.desc{
font-size: 24rpx;
color: #953315;
margin-top: 20px;
}
}
.lotBox{
height: 375px;
text-align: center;
background: #FDE8DF;
font-weight: 600;
border-radius: 10px 10px 0 0;
.img{
width: 100%;
position: absolute;
top: -15px;
left: 0;
}
.title{
font-size: 52rpx;
color: #953315;
padding-top: 40px;
}
.box{
height: 180px;
.score{
font-size: 72rpx;
color: #FF3545;
text{
font-size: 28rpx;
color: #953315;
}
}
.BBox{
.itm{
text-align: center;
padding: 40rpx 60rpx;
image{
width: 60px;
height: 60px;
border-radius: 10rpx;
}
.tit{
line-height: 50rpx;
font-size: 28rpx;
font-weight: 600;
}
}
.dec{
text-align: center;
font-size: 24rpx;
color: #f90;
}
}
.couBox{
padding: 0 30rpx;
margin-top: 40rpx;
width: 80%;
.itm{
padding: 32rpx 24rpx 32rpx 0;
display: flex;
align-items: center;
background-color: #FFF8F1;
position: relative;
border-radius: 10rpx;
border: 1px solid #F14939;
&::before{
position: absolute;
left: 80px;
top: -2rpx;
width: 28rpx;
height: 14rpx;
margin-left: -14rpx;
content: '';
background-color: #FDE8DF;
border: 1px solid #F14939;
border-top: none;
border-radius: 0 0 14rpx 14rpx;
z-index: 2;
box-sizing: border-box;
}
&::after{
position: absolute;
left: 80px;
bottom: -2rpx;
width: 28rpx;
height: 14rpx;
margin-left: -14rpx;
content: '';
background-color: #FDE8DF;
border: 1rpx solid #F14939;
border-bottom: none;
border-radius: 14rpx 14rpx 0 0;
z-index: 2;
box-sizing: border-box;
}
.sign{
font-weight: 600;
font-size: 22rpx;
color: #F14939;
width: 80px;
height: 100%;
border-right: 2rpx dashed rgba(241,73,57,0.5);
box-sizing: border-box;
text-align: center;
.money{
font-size: 36rpx;
}
.num{
margin-bottom: 10rpx;
}
}
.mid{
flex: 1;
font-size: 30rpx;
color: #333;
padding-left: 24rpx;
text-align: left;
.text{
font-weight: 600;
}
.time{
font-size: 24rpx;
font-weight: 500;
color: #666;
}
}
}
}
}
.btn{
width: 260px;
height: 54px;
border-radius: 60px;
background: #FDF9ED;
margin: 10px auto 0;
color: #EC6C2B;
font-size: 30rpx;
}
.desc{
font-size: 24rpx;
color: #953315;
margin-top: 20px;
}
}
.playBox{
height: 375px;
text-align: center;
background: linear-gradient(90deg, #FFF2E2 0%, #FBDFDC 100%);
font-weight: 600;
border-radius: 10px 10px 0 0;
.title{
display: flex;
align-items: center;
height: 50px;
padding: 0 15px;
.close{
width: 30px;
height: 30px;
}
text{
color: #953315;
font-size: 28rpx;
margin-left: 15px;
}
}
.box{
height: 305px;
width: 82%;
margin: 0 auto;
background-color: #fff;
border-radius: 6px;
padding: 0 15px;
overflow: auto;
.row{
padding: 12px 0;
border-bottom: 1rpx solid #f2f2f2;
font-weight: 500;
font-size: 26rpx;
.right{
flex: 1;
text-align: right;
padding-right: 5px;
}
.name{
color: #953315;
font-weight: 600;
display: flex;
align-items: center;
.img{
width: 30px;
height: 30px;
border-radius: 50%;
}
}
.time{
font-size: 24rpx;
color: #888;
text-align: right;
}
}
}
}
.spBox{
width: 200rpx;
background-color: #fff;
border-radius: 10rpx;
padding: 10rpx;
position: fixed;
box-sizing: border-box;
right: 24rpx;
bottom: 150rpx;
z-index: 10;
transition: all 0.5s;
transform: scale(0);
transform-origin: right bottom;
opacity: 0;
&.fadeIn{
transform: scale(1);
opacity: 1;
}
&.fadeOut{
transform: scale(0);
opacity: 0;
}
.face_img{
position: relative;
.img{
width: 100%;
height: 180rpx;
object-fit: cover;
}
.close{
position: absolute;
right: 0;
top: 0;
width: 40rpx;
height: 40rpx;
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
background-color: rgba(0, 0, 0, 0.4);
border-radius: 50%;
}
}
.tit{
font-size: 24rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin: 10rpx;
}
.price{
display: flex;
align-items: end;
color: #F14939;
margin-bottom: 10rpx;
font-size: 32rpx;
font-weight: 600;
.icon{
font-size: 26rpx;
}
}
.btn{
color: #fff;
height: 50rpx;
border-radius: 30rpx;
background-color: #F14939;
font-weight: 600;
font-size: 24rpx;
}
}
.btmBox{
width: 100%;
position: fixed;
z-index: 10;
padding: 0 24rpx;
box-sizing: border-box;
left: 0;
bottom: 20px;
.inpBox{
width: calc(100% - 110px);
height: 38px;
background: rgba(0, 0, 0, 0.5);
border-radius: 38px;
position: relative;
box-sizing: border-box;
display: flex;
align-items: center;
.inpt{
height: 100%;
flex: 1;
color: #fff;
font-size: 28rpx;
padding: 0 20rpx;
}
.more{
height: 38px;
width: 38px;
box-sizing: border-box;
border-left: 1px solid rgba(255, 255, 255, 0.2);
text{
color: #fff;
}
}
}
.iconBox{
width: 90px;
.icon{
width: 38px;
height: 38px;
border-radius: 32px;
background-color: rgba(0, 0, 0, 0.5);
.img{
width: 22px;
height: 22px;
}
}
}
}
.msgBox{
width: 50%;
position: fixed;
z-index: 10;
box-sizing: border-box;
left: 24rpx;
bottom: 80px;
color: #fff;
max-height: 300rpx;
overflow: auto;
.row{
max-width: 100%;
width: fit-content;
padding: 14rpx 20rpx;
font-size: 24rpx;
margin-bottom: 10rpx;
border-radius: 40rpx;
background-color: rgba(0, 0, 0, 0.4);
word-break: break-word;
text{
color: #64E0F0;
}
}
}
.topTitle{
font-size: 30rpx;
color: #303030;
padding: 24rpx;
box-sizing: border-box;
.iconBox{
display: flex;
align-items: center;
margin-right: 50px;
.icon{
display: flex;
align-items: center;
margin-left: 15px;
font-size: 14px;
}
}
}
.listbox{
height: 65vh;
overflow: auto;
background: #fff;
}
.rankbox{
.row{
padding: 12rpx 24rpx;
font-size: 28rpx;
box-sizing: border-box;
.box{
display: flex;
align-items: center;
}
.sort{
width: 20px;
height: 20px;
background-color: #888;
color: #fff;
font-size: 22rpx;
border-radius: 50%;
margin-right: 10rpx;
&.sort0{
background-color: #F55151;
}
&.sort1{
background-color: #DBB222;
}
&.sort2{
background-color: #C6945F;
}
}
}
}
.loadbox{
padding: 30rpx 0;
text-align: center;
color: #666;
}
.topname{
padding: 24rpx;
width: 100%;
display: flex;
align-items: center;
box-sizing: border-box;
background: #e5e5e5;
.logo{
height: 100%;
border-radius: 50%;
}
.box{
padding-left: 14rpx;
flex: 1;
.name{
font-size: 28rpx;
color: #333;
line-height: 1;
}
.desc{
font-size: 24rpx;
color: #f00;
}
}
}
.couponbox{
position: relative;
.coupon-box {
padding: 0 24rpx;
border-top: 20rpx solid #f2f2f2;
position: relative;
.cannot{
width: 52px;
height: 52px;
background-repeat: no-repeat;
background-size: 678px 612px;
position: absolute;
right: 0;
top: 0;
&.one{
background-position: -480px -30px;
}
&.two{
background-position: -404px -30px;
}
&.three{
background-size: 100%;
background-image: url('https://ct-upimg.yx090.com/ju8hn6/shop/image/2025/05/24/BynRrxe4AY1gSAYipl8Xd2oc6mOptTvClqZRPicv.png');
}
}
.tag{
position: absolute;
top: 0;
left: 0;
}
.oneBox{
display: flex;
align-items: center;
padding: 40rpx 0;
.coupon-left{
width: 190rpx;
height: 100%;
border-right: 2rpx dashed #f0f0f0;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.sign{
font-size: 36rpx;
}
.money{
font-size: 42rpx;
}
.title{
font-size: 28rpx;
padding: 10rpx 16rpx 0;
}
}
.coupon-right{
width: calc(100% - 190rpx);
padding: 0 20rpx;
.text{
font-size: 32rpx;
margin-bottom: 10px;
font-weight: 500;
padding-right: 20rpx;
&.chang{
font-size: 32rpx;
}
}
.time{
font-size: 24rpx;
color: #98989f;
}
.tips{
font-size: 24rpx;
color: #999;
margin-top: 8rpx;
}
}
}
.twoBox{
display: flex;
justify-content: flex-end;
padding: 20rpx 24rpx;
border-top: 1rpx solid #f2f2f2;
.coupon-btn{
width: 140rpx;
height: 50rpx;
background: #F14939;
font-size: 24rpx;
border-radius: 10rpx;
color: #ffffff;
text-align: center;
line-height: 50rpx;
margin-left: 20rpx;
}
}
}
}
.textColor {
color: #333333;
}
.textColor1 {
color: #F14939;
}
.textColor2 {
color: #98989f;
}
.red_label{
margin-top: 10rpx;
.red_col{
font-size: 22rpx;
color: #F14939;
padding: 4rpx 10rpx;
background: #FFF2F2;
border: 1px solid #F14939;
display: inline-block;
border-radius: 6rpx;
&.red_col1{
border-right: none;
}
&.red_col2{
border-left: 1px dashed #F14939;
}
}
}
.morebox{
padding-bottom: 20px;
display: flex;
flex-wrap: wrap;
.row{
width: 25%;
text-align: center;
font-size: 26rpx;
flex-direction: column;
margin: 10px 0;
color: #555;
.icon{
width: 100%;
height: 20px;
margin-bottom: 10px;
}
}
}
.groupBox{
.item{
display: flex;
background-color: #fff;
border-radius: 10rpx;
padding: 20rpx;
box-sizing: border-box;
.faceImg{
position: relative;
margin-right: 20rpx;
width: 180rpx;
height: 180rpx;
.image {
width: 100%;
height: 100%;
border-radius: 10rpx;
}
.out{
position: absolute;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
top: 0;
left: 0;
.out_img{
width: 100rpx;
height: 100rpx;
}
}
.zhibo{
font-size: 24rpx;
position: absolute;
left: 0;
bottom: 0;
width: 100%;
padding: 4px;
text-align: center;
background-color: #F14939;
color: #fff;
box-sizing: border-box;
border-radius: 0 0 10rpx 10rpx;
.iconfont{
font-size: 12px;
}
}
}
.info{
flex: 1;
border-bottom: 1px solid #F6F6F6;
min-height: 180rpx;
padding-bottom: 24rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
.name {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
white-space: break-spaces;
font-size: 28rpx;
line-height: 40rpx;
}
.desc{
color: #BF9E6B;
margin-bottom: 10rpx;
font-size: 24rpx;
}
.price{
font-size: 32rpx;
color: #F14939;
.cart{
width: 50rpx;
height: 50rpx;
border-radius: 50%;
background: #F14939;
}
}
}
}
}
.dialogbox{
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100vh;
z-index: 199;
display: flex;
align-items: center;
justify-content: center;
background-color: rgba(0, 0, 0, 0.5);
.rect{
width: 300px;
position: relative;
.img{
width: 100%;
vertical-align: bottom;
display: block;
}
.box{
position: absolute;
bottom: 46px;
left: 67px;
width: 170px;
color: #fff;
.coupon{
display: flex;
height: 57px;
align-items: center;
margin-bottom: 18px;
.left{
width: 70px;
text-align: center;
color: #F14939;
font-size: 28rpx;
.title{
font-size: 22rpx;
}
.sign{
text{
font-size: 24rpx;
}
}
}
.right{
font-size: 26rpx;
color: #444;
padding-left: 10px;
border-left: 1px dashed #e3a6a0;
}
}
.desc{
font-size: 24rpx;
text-align: center;
}
.btn{
width: 116px;
margin: 0 auto;
height: 30px;
border-radius: 30px;
font-size: 28rpx;
}
}
.close{
position: absolute;
bottom: 0;
left: 50%;
margin-left: -13px;
}
}
}
.birth{
background-image: linear-gradient(90deg, #FBBA65, #F44B4D);
border-radius: 4px;
align-items: center;
display: inline-flex;
color: #fff;
font-size: 24rpx;
justify-content: center;
padding: 2px 5px;
width: -webkit-max-content;
width: -moz-max-content;
width: max-content;
line-height: 1;
}
.solid{
margin: 0 10rpx 10rpx 0;
&.red{
color: #F14939;
border: 1rpx solid #F14939;
}
}
.icon-youhuiquan{
color: #F14939;
}
.minitag{
font-size: 22rpx;
color: #fff;
background-color: #999;
display: inline-block;
padding: 3px 5px;
line-height: 1;
border-radius: 3px;
}