goodsVideo.scss
2.99 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
106
107
/* packageShopmall/packageMall/pages/goodsVideo/goodsVideo.wxss */
.bar-text {
font-weight: 600;
font-size: 34rpx;
color: #fff;
}
.nav-func-icon {
width: 44rpx;
height: 44rpx;
position: absolute;
left: 16rpx;
top: 50%;
transform: translateY(-50%);
}
.video-ctnr{
height: 100vh;
position: relative;
overflow: hidden;
.my-video{
height: 100%;
width: 100%;
}
.content-ctnr{
position: absolute;
bottom: 278rpx;
left: 24rpx;
z-index: 2;
}
.goods-ctnr{
position: relative;
width: 436rpx;
height: 208rpx;
background-color: #fff;
border-radius: 16rpx;
.title{
background-image: linear-gradient(-88deg, #FFBDC2 8%, #FFD7E2 98%);
height: 44rpx;
line-height: 44rpx;
font-size: 20rpx;
color: #FF3C5E;
padding: 0 20rpx;
border-radius: 16rpx 16rpx 0 0;
}
.goods-wrap{
display: flex;
padding: 12rpx;
.goods-img{
width: 140rpx;
height: 140rpx;
flex-shrink: 0;
border-radius: 12rpx;
}
.goods-info{
flex: 1;
margin-left: 12rpx;
position: relative;
.name{
width: 260rpx;
height: 28rpx;
font-weight: 400;
font-size: 20rpx;
color: #0A0D14;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}
.new-price{
font-weight: 600;
font-size: 26rpx;
color: #FF6038;
height: 36rpx;
line-height: 36rpx;
margin-top: 46rpx;
}
.old-price{
font-weight: 400;
font-size: 20rpx;
color: #3F444D;
// margin-top: 4rpx;
text-decoration: line-through;
}
.buy-btn{
position: absolute;
right: 0;
bottom: 0;
width: 100rpx;
line-height: 40rpx;
height: 40rpx;
background-image: linear-gradient(-88deg, #FF1261 8%, #FF5C5D 98%);
border-radius: 32rpx;
font-size: 20rpx;
color: #FFFFFF;
text-align: center;
}
}
}
}
.desc{
color: #fff;
margin-top: 18rpx;
font-weight: 500;
font-size: 24rpx;
line-height: 36rpx;
text-shadow: 0 2rpx 8rpx #00000080;
}
}