mpVideo.scss
2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.video-ctnr {
height: 500rpx;
position: relative;
.pic-swiper{
width: 100%;
height: 100%;
.pic-swiper-item{
display: flex;
align-items: center;
position: unset;
}
}
.num-wrap{
height: 40rpx;
line-height: 40rpx;
background: rgba(255,255,255,0.3);
padding: 0 15rpx;
border-radius: 20rpx;
text-align: center;
top: 20rpx;
right: 20rpx;
position: absolute;
color: #fff;
}
.pic-wrap {
display: flex;
align-items: center;
background-color: #000;
position: relative;
}
.video-item {
height: 100%;
width: 100%;
}
}
.prod{
width: 436rpx;
height: 208rpx;
border-radius: 16rpx;
position: fixed;
left: 24rpx;
bottom: 200rpx;
z-index: 2;
background-color: #fff;
.title{
background-image: linear-gradient(-88deg, #FFBDC2 8%, #FFD7E2 98%);
height: 44rpx;
border-radius: 16rpx 16rpx 0 0;
line-height: 44rpx;
padding-left: 15rpx;
color: #FF535E;
font-size: 20rpx;
}
.info{
padding: 12rpx;
display: flex;
.img{
height: 140rpx;
width: 140rpx;
margin-right: 16rpx;
border-radius: 8rpx;
}
.detail{
flex: 1;
flex-shrink: 0;
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
.name{
font-size: 18rpx;
height: 55rpx;
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: break-word;
white-space: normal !important;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.price{
font-size: 26rpx;
color: #EC4B0F;
margin-bottom: 4rpx;
}
.real-price{
font-size: 18rpx;
text-decoration: line-through;
}
.btn{
position: absolute;
width: 100rpx;
line-height: 40rpx;
text-align: center;
color: #fff;
height: 40rpx;
font-size: 20rpx;
background-image: linear-gradient(-88deg, #FF1261 8%, #FF5C5D 98%);
border-radius: 32rpx;
bottom: 0;
right: 0;
}
}
}
}